@@ -43,74 +43,72 @@ jobs:
43
43
- name : Build wheel
44
44
run : |
45
45
chown -R $CI_UID:$CI_GID "$GITHUB_WORKSPACE"
46
- version="$(cat version.txt)"
47
46
docker run --rm -t \
48
47
-v "$CI_RUNNER_CACHE_DIR":/ci-cache \
49
48
-v "$GITHUB_WORKSPACE":/app \
50
49
-e FLASHINFER_CI_PYTHON_VERSION=${{ matrix.python }} \
51
50
-e FLASHINFER_CI_CUDA_VERSION=${{ matrix.cuda }} \
52
51
-e FLASHINFER_CI_TORCH_VERSION=${{ matrix.torch }} \
53
- -e FLASHINFER_BUILD_VERSION=$version \
54
52
-e TORCH_CUDA_ARCH_LIST="$TORCH_CUDA_ARCH_LIST" \
55
53
-e MAX_JOBS=128 \
56
54
--user $CI_UID:$CI_GID \
57
55
pytorch/manylinux-builder:cuda${{ matrix.cuda }} \
58
56
bash /app/scripts/run-ci-build-wheel.sh
59
57
timeout-minutes : 120
60
- - run : du -h python/ dist/*
58
+ - run : du -h dist/*
61
59
62
60
- uses : actions/upload-artifact@v4
63
61
with :
64
62
name : wheel-cuda${{ matrix.cuda }}-torch${{ matrix.torch }}-python${{ matrix.python }}
65
- path : python/ dist/*
63
+ path : dist/*
66
64
67
65
release :
68
66
needs : build
69
67
runs-on : [self-hosted]
70
68
steps :
71
69
- uses : actions/download-artifact@v4
72
70
with :
73
- path : python/ dist/
71
+ path : dist/
74
72
merge-multiple : true
75
73
pattern : wheel-*
76
74
77
- - run : ls -lah python/ dist/
75
+ - run : ls -lah dist/
78
76
79
77
- uses : softprops/action-gh-release@v1
80
78
with :
81
79
tag_name : ${{ inputs.tag_name }}
82
80
files : |
83
- python/ dist/flashinfer*cp38*.whl
81
+ dist/flashinfer*cp38*.whl
84
82
85
83
- uses : softprops/action-gh-release@v1
86
84
with :
87
85
tag_name : ${{ inputs.tag_name }}
88
86
files : |
89
- python/ dist/flashinfer*cp39*.whl
87
+ dist/flashinfer*cp39*.whl
90
88
91
89
- uses : softprops/action-gh-release@v1
92
90
with :
93
91
tag_name : ${{ inputs.tag_name }}
94
92
files : |
95
- python/ dist/flashinfer*cp310*.whl
93
+ dist/flashinfer*cp310*.whl
96
94
97
95
- uses : softprops/action-gh-release@v1
98
96
with :
99
97
tag_name : ${{ inputs.tag_name }}
100
98
files : |
101
- python/ dist/flashinfer*cp311*.whl
99
+ dist/flashinfer*cp311*.whl
102
100
103
101
- uses : softprops/action-gh-release@v1
104
102
with :
105
103
tag_name : ${{ inputs.tag_name }}
106
104
files : |
107
- python/ dist/flashinfer*cp312*.whl
105
+ dist/flashinfer*cp312*.whl
108
106
109
107
- uses : softprops/action-gh-release@v1
110
108
with :
111
109
tag_name : ${{ inputs.tag_name }}
112
110
files : |
113
- python/ dist/flashinfer-*.tar.gz
111
+ dist/flashinfer-*.tar.gz
114
112
115
113
- name : Clone wheel index
116
114
run : git clone https://oauth2:${WHL_TOKEN}@github.com/flashinfer-ai/whl.git flashinfer-whl
0 commit comments