Skip to content

Commit

Permalink
[Cherry-Pick] Fix requirements.txt (#9756)
Browse files Browse the repository at this point in the history
* fix requirments.txt for py38

* update
  • Loading branch information
DrownFish19 authored Jan 8, 2025
1 parent 9982539 commit bd9fe73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ data
wget
huggingface_hub>=0.19.2
tiktoken
tokenizers>=0.21,<0.22
tokenizers<0.21
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jinja2
regex
numpy<=1.26.4
tiktoken
tokenizers>=0.21,<0.22
tokenizers<0.21
1 change: 1 addition & 0 deletions scripts/unit_test/ci_unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ install_requirements() {
python -m pip config --user set global.trusted-host pip.baidu-int.com
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install tokenizers>=0.21,<0.22 # update tokenizers for transformers
python -m pip install -r tests/requirements.txt
python -m pip install -r paddlenlp/experimental/autonlp/requirements.txt
python -m pip uninstall paddlepaddle paddlepaddle_gpu -y
Expand Down

0 comments on commit bd9fe73

Please sign in to comment.