From f1188d1031c7ac869903e7e661a35bb08aabff2a Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Mon, 12 Aug 2024 20:35:09 +0900 Subject: [PATCH] Try to fix builds for Triton Inference Server on GitHub Actions --- .github/actions/deploy-ubuntu/action.yml | 2 +- .github/workflows/tritonserver.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/deploy-ubuntu/action.yml b/.github/actions/deploy-ubuntu/action.yml index 6988ab856e..12b373492a 100644 --- a/.github/actions/deploy-ubuntu/action.yml +++ b/.github/actions/deploy-ubuntu/action.yml @@ -24,7 +24,7 @@ runs: $SUDO fallocate -l 4GB /swapfile $SUDO chmod 600 /swapfile $SUDO mkswap /swapfile - $SUDO swapon /swapfile + $SUDO swapon /swapfile || true mkdir -p .ccache echo "max_size = 2.0G" > .ccache/ccache.conf diff --git a/.github/workflows/tritonserver.yml b/.github/workflows/tritonserver.yml index 5ef65a09ab..e6a22679cd 100644 --- a/.github/workflows/tritonserver.yml +++ b/.github/workflows/tritonserver.yml @@ -19,6 +19,6 @@ env: jobs: linux-x86_64: runs-on: ubuntu-20.04 - container: nvcr.io/nvidia/tritonserver:24.07-py3 + container: nvcr.io/nvidia/tritonserver:24.07-py3-min steps: - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions