File tree Expand file tree Collapse file tree 7 files changed +9
-33
lines changed
Expand file tree Collapse file tree 7 files changed +9
-33
lines changed Original file line number Diff line number Diff line change 7676 COPY PaddleFormers/ /tmp/paddleformers/
7777 WORKDIR /tmp/paddleformers
7878 RUN python -m pip install -r requirements.txt --progress-bar off
79- RUN python -m pip install -r requirements-dev.txt --progress-bar off
8079 RUN python -m pip install -r tests/requirements.txt --progress-bar off
8180 RUN python setup.py bdist_wheel
8281 RUN python -m pip install dist/*.whl --progress-bar off
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ install:
6464 echo " Unknown CUDA version." ; \
6565 fi ; \
6666 echo " Using pip source: $$ PADDLE_SOURCE" ; \
67- pip install -r requirements-dev .txt \
67+ pip install -r tests/ requirements.txt \
6868 pip install -r requirements.txt --extra-index-url " $$ PADDLE_SOURCE" ; \
6969 pre-commit install
7070
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ paddleformers_build (){
5454 rm -rf paddleformers.egg-info/
5555
5656 python -m pip install -r requirements.txt
57- python -m pip install -r requirements-dev .txt
57+ python -m pip install -r tests/ requirements.txt \
5858 python setup.py bdist_wheel
5959 python -m pip install --ignore-installed dist/p**** .whl --force-reinstall --no-dependencies
6060 python -c " import paddleformers; print('paddleformers commit:',paddleformers.version.commit)" >> ${log_path} /commit_info.txt
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ install_requirements() {
2828 python -m pip config --user set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
2929 python -m pip config --user set global.trusted-host pypi.tuna.tsinghua.edu.cn
3030 python -m pip uninstall paddlepaddle paddlepaddle_gpu paddlefleet -y
31- python -m pip install -r requirements-dev.txt
3231 # python -m pip install --no-cache-dir ${paddle} --no-dependencies --progress-bar off
3332 python setup.py bdist_wheel > /dev/null
3433 uv pip install dist/p**** .whl --system --prerelease=allow -i https://pypi.tuna.tsinghua.edu.cn/simple --extra-index-url https://www.paddlepaddle.org.cn/packages/nightly/cu126/ --index-strategy unsafe-best-match
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ install_requirements() {
3838 python -m pip config --user set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
3939 python -m pip config --user set global.trusted-host pypi.tuna.tsinghua.edu.cn
4040 python -m pip uninstall paddlepaddle paddlepaddle_gpu paddlefleet -y
41- python -m pip install -r requirements-dev.txt
4241 # python -m pip install --no-cache-dir ${paddle} --no-dependencies --progress-bar off
4342 python setup.py bdist_wheel > /dev/null
4443 uv pip install dist/p**** .whl --system --prerelease=allow -i https://pypi.tuna.tsinghua.edu.cn/simple --extra-index-url https://www.paddlepaddle.org.cn/packages/nightly/cu126/ --index-strategy unsafe-best-match
Original file line number Diff line number Diff line change 11parameterized
2- sentencepiece
3- regex
42torch >= 2.1
5- fast_dataindex
63sacremoses
74pydantic
8- modelscope
95hyperopt
106h5py
117deploy
128ray
139loguru == 0.6.0
1410data
1511wget
16- huggingface_hub >= 0.19.2
17- protobuf == 3.20.2
1812pytest-retry
1913gradio
20- paddleslim
2114codecov-cli
2215allure-pytest
2316bce-python-sdk == 0.8.74
2417pytest == 8.1.1
2518pytest-cov
2619pytest-xdist
27- pytest-timeout
20+ pytest-timeout
21+ paddleocr
22+ pre-commit
23+ wandb
24+ swanlab
25+ tensorboard
26+ tensorboardX
You can’t perform that action at this time.
0 commit comments