File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -411,8 +411,6 @@ jobs:
411
411
pip install -U "huggingface_hub[cli]"
412
412
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
413
413
pip install accelerate sentencepiece
414
- # TODO(guangyang): Switch to use released transformers library after all required patches are included
415
- pip install "git+https://github.com/huggingface/transformers.git@6cc4dfe3f1e8d421c6d6351388e06e9b123cbfe1"
416
414
pip list
417
415
echo "::endgroup::"
418
416
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ pip install "$(dirname "$0")/../../../third-party/ao"
16
16
# Install tiktoken for tokenizer
17
17
pip install lm_eval==0.4.5
18
18
pip install tiktoken blobfile
19
+ # Restore numpy if >= 2.0
20
+ pip install " numpy<2.0"
19
21
20
22
# Call the install helper for further setup
21
23
python examples/models/llama/install_requirement_helper.py
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def python_is_compatible():
137
137
"timm==1.0.7" ,
138
138
f"torchaudio==2.5.0.{ NIGHTLY_VERSION } " if USE_PYTORCH_NIGHTLY else "torchaudio" ,
139
139
"torchsr==1.0.4" ,
140
- "transformers==4.42.4 " ,
140
+ "transformers==4.46.1 " ,
141
141
]
142
142
143
143
# pip packages needed for development.
You can’t perform that action at this time.
0 commit comments