Skip to content

Commit

Permalink
CI: prune dependency for benchmarks (#15879)
Browse files Browse the repository at this point in the history
* prune dependency for benchmarks
* drop
  • Loading branch information
Borda committed Dec 1, 2022
1 parent 1bc3a97 commit 993bd67
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .azure/gpu-benchmark.yml
Expand Up @@ -68,14 +68,7 @@ jobs:
pip list
displayName: 'Image info & NVIDIA'
- bash: |
python .actions/assistant.py requirements_prune_pkgs --packages [horovod,bagua,colossalai] --req_files [requirements/pytorch/strategies.txt]
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
python ./requirements/pytorch/adjust-versions.py requirements/pytorch/base.txt ${PYTORCH_VERSION}
displayName: 'Adjust dependencies'
- bash: pip install -e .[dev,strategies,examples] --find-links ${TORCH_URL}
- bash: pip install -e .[dev] --find-links ${TORCH_URL}
env:
PACKAGE_NAME: "pytorch"
FREEZE_REQUIREMENTS: "1"
Expand Down

0 comments on commit 993bd67

Please sign in to comment.