Skip to content

Commit

Permalink
try with faster docker
Browse files Browse the repository at this point in the history
ghstack-source-id: 81c78f4fd3fa776f4cbc8ac8d1a13f9b43e06749
Pull Request resolved: #329
  • Loading branch information
wconstab committed May 15, 2024
1 parent f223f9d commit e411018
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/unit_test_4gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@ jobs:
gpu-arch-type: cuda
gpu-arch-version: "12.1"
# This image is faster to clone than the default, but it lacks CC needed by triton
# docker-image: "pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime"
# (1m25s vs 2m37s)
docker-image: "pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime"
repository: "pytorch/torchtitan"
upload-artifact: "outputs"
# conda create -n "test" python=3.10
# conda activate test
script: |
conda install -y -q git clang clangxx
export CC=clang
export CXX=clangxx
pip config --user set global.progress_bar off
pip install --upgrade pip
python -m pip install --force-reinstall --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
python -m pip install -r requirements.txt
python -m pip install -r dev-requirements.txt
python -m pip install git
python -m pip install git+https://github.com/pytorch/pippy
python ./test_runner.py artifacts-to-be-uploaded
# upload-coverage:
Expand Down

0 comments on commit e411018

Please sign in to comment.