diff --git a/python/paddle_fl/paddle_fl/examples/submitter_demo/conf.txt b/python/paddle_fl/paddle_fl/examples/submitter_demo/conf.txt deleted file mode 100644 index ec3fdc87c22c13eed4cc46cf322009799504cca6..0000000000000000000000000000000000000000 --- a/python/paddle_fl/paddle_fl/examples/submitter_demo/conf.txt +++ /dev/null @@ -1,23 +0,0 @@ -# commonly configured -task_name=test_fl_job_submit_jingqinghe -hdfs_output=/user/feed/mlarch/sequence_generator/dongdaxiang/job_44 -train_cmd=python dist_trainer.py -#monitor_cmd=python system_monitor_app.py 10 100 -monitor_cmd= -#train_cmd=python test_hadoop.py - -hdfs_path=afs://xingtian.afs.baidu.com:9902 -ugi=your_fs_name, your_ugi -hdfs_output=/user/feed/mlarch/sequence_generator/dongdaxiang/job_44 -worker_nodes=2 -server_nodes=1 -hadoop_home=/home/jingqinghe/hadoop-xingtian/hadoop -hpc_home=/home/jingqinghe/mpi_feed4/smart_client -package_path=./package -priority=high -#queue name -queue=paddle-dev-amd -server=yq01-hpc-lvliang01-smart-master.dmop.baidu.com - -python_tar=./python.tar.gz -wheel=./paddlepaddle-0.0.0-cp27-cp27mu-linux_x86_64.whl diff --git a/python/paddle_fl/paddle_fl/examples/submitter_demo/config.txt b/python/paddle_fl/paddle_fl/examples/submitter_demo/config.txt new file mode 100644 index 0000000000000000000000000000000000000000..9fbfb2899fd48888eac0c28abec8d054b897f772 --- /dev/null +++ b/python/paddle_fl/paddle_fl/examples/submitter_demo/config.txt @@ -0,0 +1,22 @@ +# commonly configured +task_name=test_name +hdfs_output=/path/to/your/output/file +train_cmd=python dist_trainer.py +#monitor_cmd=python system_monitor_app.py 10 100 +monitor_cmd= +#train_cmd=python test_hadoop.py + +hdfs_path=/site/of/hdfs +ugi=your_fs_name, your_ugi +worker_nodes=2 +server_nodes=1 +hadoop_home=/local/path/to/your/hadoop +hpc_home=/local/path/to/your/hpc +package_path=./package +priority=high +#queue name +queue=queue_name +server=/site/of/mpi/server + +python_tar=/path/to/your/executable/python +wheel=/path/to/paddle/installation/package diff --git a/python/paddle_fl/paddle_fl/examples/submitter_demo/run.sh b/python/paddle_fl/paddle_fl/examples/submitter_demo/run.sh index 13e1ce2acf254208f62360cd25632b7f458d8390..de2ff73616188b92a88ddbfac57df560d84ea134 100644 --- a/python/paddle_fl/paddle_fl/examples/submitter_demo/run.sh +++ b/python/paddle_fl/paddle_fl/examples/submitter_demo/run.sh @@ -1,2 +1,2 @@ tar -xf python.tar.gz -python/bin/python scheduler_client.py conf.txt +python/bin/python scheduler_client.py config.txt