Skip to content

Commit

Permalink
try with faster docker
Browse files Browse the repository at this point in the history
ghstack-source-id: 54ec6d26596e5f2e8d1134ec8321aec105f9acaf
Pull Request resolved: #329
  • Loading branch information
wconstab committed May 15, 2024
1 parent 9c47cd7 commit b26b3af
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/unit_test_4gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ 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 create -n "test" python=3.10
conda activate test
conda install git
conda install -y -q git clang clangxx cxx-compiler
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
Expand Down

0 comments on commit b26b3af

Please sign in to comment.