File tree Expand file tree Collapse file tree 11 files changed +44
-0
lines changed
legacy/model_zoo/gpt-3/benchmarks/test_tipc/gpt
data_parallel/benchmark_common
finetune/benchmark_common
hybrid_parallel/benchmark_common
sequence_parallel/benchmark_common
sharding/benchmark_common
auto_amp/benchmark_common
auto_parallel/benchmark_common
new_exec_pp_pir/benchmark_common
new_exec_pp/benchmark_common Expand file tree Collapse file tree 11 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get ckpt
1721cd ../
1822rm -rf ckpt
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ cp ../requirements.txt ../requirements_nlp.txt
16+ sed -i ' /paddlenlp/d' ../requirements.txt
1517python -m pip install -r ../requirements.txt
18+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
19+ python -m pip install -r ../requirements_nlp.txt
1620# get data
1721cd ../
1822rm -rf data
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16+ cp ../requirements.txt ../requirements_nlp.txt
17+ sed -i ' /paddlenlp/d' ../requirements.txt
1618python -m pip install -r ../requirements.txt
19+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
20+ python -m pip install -r ../requirements_nlp.txt
1721# get data
1822cd ../ || return
1923rm -rf data
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16+ cp ../requirements.txt ../requirements_nlp.txt
17+ sed -i ' /paddlenlp/d' ../requirements.txt
1618python -m pip install -r ../requirements.txt
19+ sed -i ' /paddlenlp/!d' ../requirements_nlp.txt
20+ python -m pip install -r ../requirements_nlp.txt
1721# get data
1822cd ../ || return
1923rm -rf data
Original file line number Diff line number Diff line change @@ -1790,7 +1790,11 @@ function before_hook_for_gpt() {
17901790 export https_proxy=${proxy}
17911791 if [[ $FLAGS_install_deps == 0 ]]; then
17921792 echo -e " \033[31m ---- Install requirements for GPT auto cases \033[0m"
1793+ cp requirements.txt requirements_nlp.txt
1794+ sed -i ' /paddlenlp/d' requirements.txt
17931795 python -m pip install -r requirements.txt --force-reinstall
1796+ sed -i ' /paddlenlp/!d' requirements_nlp.txt
1797+ python -m pip install -r requirements_nlp.txt
17941798 python -m pip install -r $root_path /requirements.txt
17951799 python -m pip install -r $root_path /requirements-dev.txt
17961800 python -m pip install --no-cache-dir https://paddlenlp.bj.bcebos.com/wheels/paddlenlp-ci-py3-none-any.whl --force-reinstall --no-dependencies
You canβt perform that action at this time.
0 commit comments