Skip to content

Commit

Permalink
[mlir-tensorrt] NFC: update GitHub actions caching config for MLIR-TR…
Browse files Browse the repository at this point in the history
…T jobs (#430)

- Removes downloaded TRT binaries from the caching paths.
- Includes some NFC documentation changes to test the effects.
  • Loading branch information
christopherbate authored Dec 6, 2024
1 parent af3a5e1 commit 18990e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/mlir-tensorrt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ jobs:
${{ runner.os }}-mlir-tensorrt-cache-
path: |
${{ github.workspace }}/ccache
${{ github.workspace }}/.cache.cpm
${{ github.workspace }}/.cache.cpm/*
!${{ github.workspace }}/.cache.cpm/tensorrt
# Run LIT tests with TensorRT 10
- name: Run MLIR-TensorRT lit tests with TensorRT 10
Expand Down
8 changes: 2 additions & 6 deletions mlir-tensorrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ cmake --preset ninja-llvm
ninja -C build all

# Build and run tests
ninja -C build check-mlir-executor
ninja -C build check-mlir-tensorrt-dialect
ninja -C build check-mlir-tensorrt
ninja -C build check-all-mlir-tensorrt

# Build wheels (output in `build/wheels`)
ninja -C build mlir-tensorrt-all-wheels
Expand Down Expand Up @@ -101,9 +99,7 @@ cmake -B ./build/mlir-tensorrt -S . -G Ninja \
-DMLIR_DIR=build/llvm-project/lib/cmake/mlir \
-DCMAKE_PLATFORM_NO_VERSIONED_SONAME=ON
ninja -C build/mlir-tensorrt all
ninja -C build/mlir-tensorrt check-mlir-executor
ninja -C build/mlir-tensorrt check-mlir-tensorrt-dialect
ninja -C build/mlir-tensorrt check-mlir-tensorrt
ninja -C build/mlir-tensorrt check-all-mlir-tensorrt
```

3. Build Python binding wheels
Expand Down

0 comments on commit 18990e4

Please sign in to comment.