File tree Expand file tree Collapse file tree 1 file changed +13
-26
lines changed
Expand file tree Collapse file tree 1 file changed +13
-26
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build_release :
15+ runs-on : ${{ matrix.os }}
1516 strategy :
1617 matrix :
17- include :
18- - os : linux.g5.12xlarge.nvidia.gpu
19- python-version : 3.9
20- python-tag : " py39"
21- cuda-tag : " cu124"
22- - os : linux.g5.12xlarge.nvidia.gpu
23- python-version : ' 3.10'
24- python-tag : " py310"
25- cuda-tag : " cu124"
26- - os : linux.g5.12xlarge.nvidia.gpu
27- python-version : ' 3.11'
28- python-tag : " py311"
29- cuda-tag : " cu124"
30- - os : linux.g5.12xlarge.nvidia.gpu
31- python-version : ' 3.12'
32- python-tag : " py312"
33- cuda-tag : " cu124"
34- uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
35- with :
36- runner : ${{ matrix.os }}
37- timeout : 30
38- script : |
18+ os : [linux.4xlarge.nvidia.gpu]
19+ python-version : [3.9, "3.10", "3.11", "3.12"]
20+ cuda-tag : ["cu124"]
21+ steps :
22+ - name : Push to PyPI
23+ env :
24+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
25+ OFFICIAL_RELEASE : 1
26+ uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
27+ run : |
3928 ldd --version
4029 conda create -y --name build_binary python=${{ matrix.python-version }}
4130 conda info
6352 conda run -n build_binary \
6453 python -m twine upload \
6554 --username __token__ \
66- --password ${{ secrets. PYPI_TOKEN }} \
55+ --password "$ PYPI_TOKEN" \
6756 --skip-existing \
6857 dist/torchrec-*.whl
69- env :
70- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
71-
58+
You can’t perform that action at this time.
0 commit comments