https://github.com/jamesnulliu/vsc-python-project-template
A Template of Python Project in Visual Studio Code with Github Actions CI/CD (Especially for PyTorch based Deeplearning Projects).
https://github.com/jamesnulliu/vsc-python-project-template
Last synced: 5 months ago
JSON representation
A Template of Python Project in Visual Studio Code with Github Actions CI/CD (Especially for PyTorch based Deeplearning Projects).
- Host: GitHub
- URL: https://github.com/jamesnulliu/vsc-python-project-template
- Owner: jamesnulliu
- License: mit
- Created: 2024-11-10T06:04:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-12T02:17:38.000Z (over 1 year ago)
- Last Synced: 2025-02-10T09:18:07.454Z (over 1 year ago)
- Language: CMake
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VSC-Python-Project-Template
A Template of Python Project in Visual Studio Code with Github Actions CI/CD (Especially for PyTorch based Deeplearning Projects).
## How to Build
Create a new conda environment:
```bash
$ uv venv -p 3.12
$ source .venv/bin/activate
```
Install `simple_py`:
```bash
$ uv install -v .
```
`torch.ops.simple_py.vector_add` will be available after installation; See [test.py](test/test.py) for usage.
## How to Test
```bash
python test/test.py
```