Skip to content

Commit 2ba9918

Browse files
committed
debug wheels dir issue
1 parent 1e3cf14 commit 2ba9918

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

.github/workflows/mlir-tensorrt-ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,16 @@ jobs:
194194
arch: x86_64
195195
github_runner: linux-amd64-gpu-h100-latest-1
196196

197-
mlir-tensorrt-wheel-tarball-release-aarch64:
198-
name: Release on aarch64
199-
needs:
200-
- format-check
201-
if: ${{ needs.format-check.outputs.channel == 'release' }}
202-
uses: ./.github/workflows/mlir-tensorrt-release.yml
203-
with:
204-
build-matrix: ${{ needs.format-check.outputs.matrix }}
205-
arch: aarch64
206-
github_runner: linux-arm64-gpu-l4-latest-1
197+
# mlir-tensorrt-wheel-tarball-release-aarch64:
198+
# name: Release on aarch64
199+
# needs:
200+
# - format-check
201+
# if: ${{ needs.format-check.outputs.channel == 'release' }}
202+
# uses: ./.github/workflows/mlir-tensorrt-release.yml
203+
# with:
204+
# build-matrix: ${{ needs.format-check.outputs.matrix }}
205+
# arch: aarch64
206+
# github_runner: linux-arm64-gpu-l4-latest-1
207207

208208
concurrency:
209209
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-mlir-tensorrt

.github/workflows/mlir-tensorrt-release.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,16 @@ jobs:
101101
export MTRT_TENSORRT_VERSION=${{ matrix.trt }}
102102
# TODO: remove this, once patch is in our rockylinux prebuilt image
103103
dnf install -yq patch
104-
# mlir-tensorrt-tools is not cuda, trt dependent, so we only build it once
105-
# mlir-tensorrt-compiler, mlir-tensorrt-runtime is built per cuda, trt version
106-
if [[ "${{ matrix.cuda }}" == "${{ env.LATEST_CUDA_VERSION }}" && "${{ matrix.trt }}" == "${{env.LATEST_TENSORRT_VERSION }}" ]]; then
107-
./build_tools/scripts/cicd-build-wheels.sh
108-
else
109-
PACKAGES="mlir_tensorrt_compiler mlir_tensorrt_runtime" \
110-
./build_tools/scripts/cicd-build-wheels.sh
111-
fi
104+
PACKAGES="mlir_tensorrt_tools" PYTHON_VERSIONS="3.12" ./build_tools/scripts/cicd-build-wheels.sh
105+
106+
# # mlir-tensorrt-tools is not cuda, trt dependent, so we only build it once
107+
# # mlir-tensorrt-compiler, mlir-tensorrt-runtime is built per cuda, trt version
108+
# if [[ "${{ matrix.cuda }}" == "${{ env.LATEST_CUDA_VERSION }}" && "${{ matrix.trt }}" == "${{env.LATEST_TENSORRT_VERSION }}" ]]; then
109+
# ./build_tools/scripts/cicd-build-wheels.sh
110+
# else
111+
# PACKAGES="mlir_tensorrt_compiler mlir_tensorrt_runtime" \
112+
# ./build_tools/scripts/cicd-build-wheels.sh
113+
# fi
112114
113115
# Save ccache when cache is not hit or cache was a fallback(cache-matched is not the same as the cache key)
114116
- name: Save CCache
@@ -144,8 +146,8 @@ jobs:
144146
uses: actions/upload-artifact@v4
145147
with:
146148
name: release-wheels-${{ inputs.arch }}-cu${{ matrix.cuda }}-trt${{ matrix.trt }}
147-
path: ${{ env.WHEELS_DIR }}
148-
if-no-files-found: error
149+
path: mlir-tensorrt/.wheels
150+
if-no-files-found: warn
149151

150152
concurrency:
151153
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-mlir-tensorrt-release-${{ inputs.arch }}

mlir-tensorrt/build_tools/scripts/cicd-build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ mkdir -p "${MLIR_TRT_BUILD_DIR}"
5454
export MLIR_TRT_INSTALL_DIR="${MLIR_TRT_INSTALL_DIR:-${REPO_ROOT}/install}"
5555
mkdir -p "${MLIR_TRT_INSTALL_DIR}"
5656
export WHEELS_DIR="${WHEELS_DIR:-${REPO_ROOT}/.wheels}"
57-
mkdir -p "${WHEELS_DIR}"
5857

5958
export MTRT_TENSORRT_VERSION="${MTRT_TENSORRT_VERSION:-10.13}"
6059

@@ -86,4 +85,5 @@ du -h -x -d 1 ${CPM_SOURCE_CACHE}
8685
echo "🔨🧪 Printing the size of the wheels directory"
8786
du -h -x -d 1 "${WHEELS_DIR}"
8887

89-
ls -lart "${WHEELS_DIR}"
88+
ls -lart "${WHEELS_DIR}"
89+
ls -lart mlir-tensorrt/.wheels

0 commit comments

Comments
 (0)