Skip to content

Commit 8bf65f1

Browse files
authored
remove requirements-dev.txt (#3147)
1 parent e98380b commit 8bf65f1

File tree

7 files changed

+9
-33
lines changed

7 files changed

+9
-33
lines changed

.github/workflows/ce-build-images.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

requirements-dev.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

scripts/dependence/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/regression/ci_model_unittest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/unit_test/ci_unittest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

tests/requirements.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
parameterized
2-
sentencepiece
3-
regex
42
torch>=2.1
5-
fast_dataindex
63
sacremoses
74
pydantic
8-
modelscope
95
hyperopt
106
h5py
117
deploy
128
ray
139
loguru==0.6.0
1410
data
1511
wget
16-
huggingface_hub>=0.19.2
17-
protobuf==3.20.2
1812
pytest-retry
1913
gradio
20-
paddleslim
2114
codecov-cli
2215
allure-pytest
2316
bce-python-sdk==0.8.74
2417
pytest==8.1.1
2518
pytest-cov
2619
pytest-xdist
27-
pytest-timeout
20+
pytest-timeout
21+
paddleocr
22+
pre-commit
23+
wandb
24+
swanlab
25+
tensorboard
26+
tensorboardX

0 commit comments

Comments
 (0)