Skip to content

Commit

Permalink
fix pscpu benchmark (PaddlePaddle#977)
Browse files Browse the repository at this point in the history
* fix wide_deep gpups error when run in py>3.7

* set FLAGS_dynamic_static_unified_comm=False when psgpu

* [windows] bug fixs trainer divide-zero-bug

* add lightgcn and transformer_conv pglbox

* add centos PDC images for pglbox

* fix pscpu benchmark
  • Loading branch information
fightfat authored Jan 30, 2024
1 parent 849925f commit 2967014
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_tipc/configs/dnn/train_infer_python.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================train_params===========================
model_name:dnn
python:python3.7
python:python
gpu_list:0
runner.use_gpu:True|False
auto_cast:False
Expand Down
2 changes: 1 addition & 1 deletion test_tipc/configs/wide_deep/train_infer_python.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================train_params===========================
model_name:wide_deep
python:python3.7
python:python
gpu_list:0
runner.use_gpu:True|False
auto_cast:False
Expand Down
3 changes: 3 additions & 0 deletions test_tipc/test_train_inference_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ if [ ${MODE} = "benchmark_train" ]; then
export PADDLE_GLOO_FS_UGI=$gloo_fs_ugi
export PADDLE_GLOO_FS_PATH=$gloo_fs_path

cd ../
${python} -m pip install paddlepaddle*.whl -U
cd -
CONFIG=$cpu_config_value
SC="tools/static_ps_trainer.py -m "
BATCH="-o runner.train_batch_size="$train_batch_value
Expand Down

0 comments on commit 2967014

Please sign in to comment.