From 63e1d9ea1a435b05100d1ef57485bef026a4e5e9 Mon Sep 17 00:00:00 2001 From: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:57:26 -0500 Subject: [PATCH] Update default temporary dir path from `/tmp` to `/home/tmp` This should avoid physical memory restrictions set in place for `tmpfs` (aka `/tmp`) that prevent us from utilzing more than 50% of the available physical memory on our EBS. Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com> --- .github/workflows/e2e-nvidia-l4-x1.yml | 2 ++ .github/workflows/e2e-nvidia-l40s-x4.yml | 4 ++++ .github/workflows/e2e-nvidia-t4-x1.yml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/e2e-nvidia-l4-x1.yml b/.github/workflows/e2e-nvidia-l4-x1.yml index 3fa89948..c342159a 100644 --- a/.github/workflows/e2e-nvidia-l4-x1.yml +++ b/.github/workflows/e2e-nvidia-l4-x1.yml @@ -26,6 +26,7 @@ concurrency: env: LC_ALL: en_US.UTF-8 + TMPDIR: /home/tmp defaults: run: @@ -81,6 +82,7 @@ jobs: - name: Install Packages run: | cat /etc/os-release + mkdir -p "${TMPDIR}" sudo dnf install -y gcc gcc-c++ make git python3.11 python3.11-devel - name: Checkout instructlab/instructlab diff --git a/.github/workflows/e2e-nvidia-l40s-x4.yml b/.github/workflows/e2e-nvidia-l40s-x4.yml index 9b16ac69..78b2f986 100644 --- a/.github/workflows/e2e-nvidia-l40s-x4.yml +++ b/.github/workflows/e2e-nvidia-l40s-x4.yml @@ -12,6 +12,9 @@ on: required: true default: 'main' +env: + TMPDIR: /home/tmp + jobs: start-large-ec2-runner: runs-on: ubuntu-latest @@ -57,6 +60,7 @@ jobs: - name: Install Packages run: | cat /etc/os-release + mkdir -p "${TMPDIR}" sudo dnf install -y gcc gcc-c++ make git python3.11 python3.11-devel - name: Checkout instructlab/instructlab diff --git a/.github/workflows/e2e-nvidia-t4-x1.yml b/.github/workflows/e2e-nvidia-t4-x1.yml index beb8dc63..4a69d440 100644 --- a/.github/workflows/e2e-nvidia-t4-x1.yml +++ b/.github/workflows/e2e-nvidia-t4-x1.yml @@ -26,6 +26,7 @@ concurrency: env: LC_ALL: en_US.UTF-8 + TMPDIR: /home/tmp defaults: run: @@ -81,6 +82,7 @@ jobs: - name: Install Packages run: | cat /etc/os-release + mkdir -p "${TMPDIR}" sudo dnf install -y gcc gcc-c++ make git python3.11 python3.11-devel - name: Checkout instructlab/instructlab