Skip to content

Commit cd6499e

Browse files
authored
debug installing torch for Thunder (#2072)
1 parent f28eced commit cd6499e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.azure/gpu-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ jobs:
6363
6464
- script: |
6565
pip install --upgrade pip
66-
pip install '.[extra,test]' cffi -U
66+
pip install '.[extra,test]' "torch==${TORCH_VERSION}" cffi -U
6767
displayName: "Install package & dependencies"
6868
6969
- script: |
7070
set -e
7171
pip uninstall -y torchvision torchaudio
72-
pip install '.[compiler]'
72+
pip install '.[compiler,extra,test]' "torch==${TORCH_VERSION}"
7373
python -c "from thunder.executors import nvfuser_available ; assert nvfuser_available(), 'nvFuser is missing!'"
7474
python -c "from thunder.executors.triton_utils import triton_version ; assert triton_version() is not None, 'triton is missing!'"
7575
condition: eq(variables['dependency'], 'compiler')
@@ -98,7 +98,7 @@ jobs:
9898
- bash: |
9999
pip uninstall -y lightning-thunder
100100
# install thunder from source, so that, thunder.tests will be available
101-
pip install -U "lightning-thunder[test] @ git+https://github.com/Lightning-AI/lightning-thunder.git"
101+
pip install -U "lightning-thunder[test] @ git+https://github.com/Lightning-AI/lightning-thunder.git" "torch==${TORCH_VERSION}"
102102
displayName: "Re-install Thunder [main branch]"
103103
condition: eq(variables['dependency'], 'compiler')
104104

0 commit comments

Comments
 (0)