Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit af3f57e

Browse files
authored
remove unuse task in CI (#18)
Co-authored-by: Hien To <tominhhien97@gmail.com>
1 parent 6eb936b commit af3f57e

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/python-windows-build-release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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/')

.github/workflows/windows-build-release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
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
@@ -63,11 +63,6 @@ jobs:
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: |
@@ -99,5 +94,5 @@ jobs:
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

0 commit comments

Comments
 (0)