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 12
12
13
13
jobs :
14
14
build_release :
15
+ runs-on : ${{ matrix.os }}
15
16
strategy :
16
17
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 : |
39
28
ldd --version
40
29
conda create -y --name build_binary python=${{ matrix.python-version }}
41
30
conda info
63
52
conda run -n build_binary \
64
53
python -m twine upload \
65
54
--username __token__ \
66
- --password ${{ secrets. PYPI_TOKEN }} \
55
+ --password "$ PYPI_TOKEN" \
67
56
--skip-existing \
68
57
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