Skip to content

Commit

Permalink
Make pip install torch quiet
Browse files Browse the repository at this point in the history
ghstack-source-id: 55302fd52dd6ee452c795e89170d0b1299218c87
Pull Request resolved: pytorch#342
  • Loading branch information
wconstab committed May 17, 2024
1 parent 6ed5237 commit 2dca85e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unit_test_4gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
conda activate "${CONDA_ENV}"
pip config --user set global.progress_bar off
python -m pip install --force-reinstall --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
mkdir artifacts-to-be-uploaded
python ./test_runner.py artifacts-to-be-uploaded
2 changes: 2 additions & 0 deletions .github/workflows/unit_test_cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ jobs:
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
conda activate "${CONDA_ENV}"
pip config --user set global.progress_bar off
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
pytest test --cov=. --cov-report=xml --durations=20 -vv

0 comments on commit 2dca85e

Please sign in to comment.