Skip to content

Commit 881015c

Browse files
pin torch for ort training
1 parent 458355d commit 881015c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_onnxruntime_training.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
TORCH_CUDA_ARCH_LIST: "5.0 6.0 7.0 7.5 8.0 8.6 9.0+PTX"
4949
run: |
5050
pip install --upgrade pip
51-
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
51+
pip install --no-cache-dir "torch<2.6" torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
5252
pip install --no-cache-dir torch-ort onnxruntime-training && python -m torch_ort.configure
5353
pip install --no-cache-dir evaluate absl-py rouge_score seqeval sacrebleu nltk scikit-learn
5454
pip install .[tests,onnxruntime-training]

0 commit comments

Comments
 (0)