This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,10 @@ jobs:
6868 run : |
6969 cd C:\workspace\nitro-tensorrt-llm; powershell -Command "python .\scripts\build_wheel.py -a '${{ matrix.cuda_arch }}' --trt_root 'C:\workspace\TensorRT-9.2.0.5\'"
7070
71- - name : Build nitro
71+ - name : Compress
7272 shell : powershell
7373 run : |
74- cd C:\workspace\nitro-tensorrt-llm\cpp\build
75- powershell -Command "cmake .. -DCMAKE_CUDA_ARCHITECTURES='${{ matrix.cuda_arch }}' -DTRT_LIB_DIR='C:/workspace/TensorRT-9.2.0.5/lib' -DTRT_INCLUDE_DIR='C:/workspace/TensorRT-9.2.0.5/include' -DBUILD_NITRO=ON -DCMAKE_CUDA_COMPILER='C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2/bin/nvcc.exe' -DENABLE_MULTI_DEVICE=0 -G Ninja"
76- powershell -Command "cmake --build . --parallel 2 --config Release"
77- tar -czvf python.tar.gz .\build\*.whl
74+ tar.exe -czvf .\python.tar.gz C:\workspace\nitro-tensorrt-llm\build\*.whl
7875
7976 - uses : actions/upload-release-asset@v1.0.1
8077 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Extract tag name without v prefix
1717 id : get_version
18- run : echo "VERSION=${GITHUB_REF#refs/tags/windows-v }" >> $GITHUB_ENV && echo "::set-output name=version::${GITHUB_REF#refs/tags/windows-v }"
18+ run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV && echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
1919 env :
2020 GITHUB_REF : ${{ github.ref }}
2121 - name : Create Draft Release
6363 command : |
6464 cd C:\workspace\nitro-tensorrt-llm\cpp\tensorrt_llm\nitro; powershell -Command cmake -S ./nitro_deps -B ./build_deps/nitro_deps; powershell -Command cmake --build ./build_deps/nitro_deps --config Release
6565
66- - name : Build Python
67- shell : powershell
68- run : |
69- cd C:\workspace\nitro-tensorrt-llm; powershell -Command "python .\scripts\build_wheel.py -a '${{ matrix.cuda_arch }}' --trt_root 'C:\workspace\TensorRT-9.2.0.5\'"
70-
7166 - name : Build nitro
7267 shell : powershell
7368 run : |
9994 with :
10095 upload_url : ${{ needs.create-draft-release.outputs.upload_url }}
10196 asset_path : ./nitro.tar.gz
102- asset_name : nitro-${{ needs.create-draft-release.outputs.version }}-win- amd64-tensorrt-llm-${{ matrix.cuda_arch_name }}.tar.gz
97+ asset_name : nitro-${{ needs.create-draft-release.outputs.version }}-amd64-tensorrt-llm-${{ matrix.cuda_arch_name }}.tar.gz
10398 asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments