File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1818 BUILD_CONFIGURATION : Release
1919
2020 # Python version to embed.
21- PYTHON_MINOR : 8
22- PYTHON_PATCH : 19
21+ PYTHON_MINOR : 11
22+ PYTHON_PATCH : 14
2323 # Python version to use for building.
24- PYTHON_PATCH_SYS : 10
24+ PYTHON_PATCH_SYS : 9
2525
2626permissions :
2727 contents : read
3232
3333 steps :
3434 - name : Checkout Repo
35- uses : actions/checkout@v4
35+ uses : actions/checkout@v5
3636
3737 - name : Cache Commit SHA
3838 id : vars
4141 # run: echo ${{steps.vars.outputs.sha_short}}
4242
4343 - name : Add Python to PATH
44- uses : actions/setup-python@v5
44+ uses : actions/setup-python@v6
4545 with :
4646 python-version : 3.${{env.PYTHON_MINOR}}.${{env.PYTHON_PATCH_SYS}}
4747
6161 - name : Embed PyTorch
6262 run : |
6363 cd .\pkgs\py-amp
64+ .\python.exe -m pip uninstall torch torchvision torchaudio
6465 .\python.exe -m pip install numpy==1.19.3
65- .\python.exe -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
66+ .\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu130
6667 .\python.exe -m pip install opencv-python sk-video imageio
6768 - name : NuGet Restore
6869 run : nuget restore ${{env.SOLUTION_FILE_PATH}}
You can’t perform that action at this time.
0 commit comments