Skip to content

Commit 662feb1

Browse files
authored
[dist]pip requirements-dev.txt (#8258)
* pip requirements-dev.txt * fix
1 parent 62d5609 commit 662feb1

File tree

10 files changed

+10
-3
lines changed

10 files changed

+10
-3
lines changed

scripts/distribute/run_ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ install_paddlenlp(){
5050
python -m pip uninstall paddlenlp -y
5151
rm -rf build/ && rm -rf paddlenlp.egg-info/ && rm -rf dist/
5252
python -m pip install --ignore-installed -r requirements.txt
53+
python -m pip install --ignore-installed -r requirements-dev.txt
5354
python setup.py install
5455
python setup.py build_ext
5556
python setup.py bdist_wheel

scripts/regression/run_ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ nlp_build (){
5555
rm -rf dist/
5656

5757
python -m pip install -r requirements.txt
58+
python -m pip install -r requirements-dev.txt
5859
python setup.py bdist_wheel
5960
# python -m pip install --ignore-installed dist/p****.whl
6061
}

tests/test_tipc/auto_tuner/llama_finetune/benchmark_common/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16-
pip install regex
16+
python -m pip install -r ../requirements-dev.txt
1717

1818
cd ../llm/
1919
rm -rf data

tests/test_tipc/auto_tuner/llama_pretrain/benchmark_common/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16+
python -m pip install -r ../requirements-dev.txt
1617

1718
# install fused_ln custom ops
1819
cd ../model_zoo/gpt-3/external_ops/

tests/test_tipc/dygraph/ft/benchmark_common/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16-
pip install regex
16+
python -m pip install -r ../requirements-dev.txt
1717

1818
cd ../llm
1919

tests/test_tipc/dygraph/hybrid_parallelism/ce_gpt/benchmark_common/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# limitations under the License.
2727

2828
python -m pip install -r ../requirements.txt
29-
python -m pip install regex
29+
python -m pip install -r ../requirements-dev.txt
3030
# get data
3131
cd ../llm/gpt-3
3232
rm -rf data

tests/test_tipc/dygraph/hybrid_parallelism/llama/benchmark_common/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16+
python -m pip install -r ../requirements-dev.txt
1617

1718
# install fused_ln custom ops
1819
cd ../model_zoo/gpt-3/external_ops/

tests/test_tipc/dygraph/hybrid_parallelism/llama2/benchmark_common/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16+
python -m pip install -r ../requirements-dev.txt
1617

1718
# install fused_ln custom ops
1819
cd ../model_zoo/gpt-3/external_ops/

tests/test_tipc/dygraph/hybrid_parallelism/qwen/benchmark_common/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
python -m pip install -r ../requirements.txt
16+
python -m pip install -r ../requirements-dev.txt
1617

1718
python -m pip install tiktoken
1819

tests/test_tipc/llm/prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
cd ..
1616
sed -i -e "s/paddlepaddle/#paddlepaddle/g" requirements-dev.txt
17+
sed -i -e "s/pip install paddlepaddle/#pip install paddlepaddle/g" Makefile
1718

1819
make install
1920

0 commit comments

Comments
 (0)