A Template of Python Project in Visual Studio Code with Github Actions CI/CD (Especially for PyTorch based Deeplearning Projects).
Create a new conda environment:
conda create -n pytemplate python=3.12
conda activate pytemplateInstall example_package:
pip3 install --no-build-isolation .torch.ops.example_package.vector_add will be available after installation; See test.py for usage.
conda activate pytemplate
python test/test.py