Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/pytorchsim_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,16 @@ jobs:
name: Run test_scheduler
runs-on: ubuntu-latest
steps:
- name: Free up disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: false

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -647,8 +657,17 @@ jobs:
- name: Run test_scheduler.py
run: |
echo "Running test_scheduler.py"
# test_scheduler compiles resnet18 + EncoderBlock and launches each
# twice, so per-kernel RISC-V ELFs, objdump dumps and gem5 m5out dirs
# accumulate and overflow the small github-hosted root volume.
# Redirect those artifacts to the larger /mnt scratch disk (~70G).
sudo mkdir -p /mnt/togout /mnt/togtmp
sudo chmod 777 /mnt/togout /mnt/togtmp
docker run --rm \
-e TOGSIM_CONFIG="${{ inputs.togsim_config }}" \
-e TMPDIR=/tmp \
-v /mnt/togout:/workspace/PyTorchSim/outputs \
-v /mnt/togtmp:/tmp \
${{ inputs.image_name }} python3 PyTorchSim/tests/system/test_scheduler.py

test_llama:
Expand Down
Loading