PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

Any Distributed train config in Paddlex cli

Open mumutu66 opened this issue 10 months ago • 6 comments
trafficstars

Checklist:

描述问题

how to pass distributed train config from paddlex cli which can transform config like https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/distributed/launch_en.html

paddlex cli is convenient but I cannot find anywhere how to pass distributed config since only -o -p -c is supported. so how to by-pass args to dedicated module e.g

#input  -o -c -p is config generate section   other args is by-pass section
python main.py  -m paddle.distributed.launch --master x.x.x.x --server_num=1 --trainer_num=1 --nnodes 1  -c config.yaml -o Global.mode=train   -o Global.dataset_dir=/ ...

#generate 
python -m paddle.distributed.launch --master x.x.x.x --server_num=1 --trainer_num=1 --nnodes 1 train.py -c temp/temp.yml 

复现

  1. 您是否已经正常运行我们提供的教程

  2. 您是否在教程的基础上修改代码内容?还请您提供运行的代码

  3. 您使用的数据集是?

  4. 请提供您出现的报错信息及相关log

环境

  1. 请提供您使用的PaddlePaddle和PaddleX的版本号

  2. 请提供您使用的操作系统信息,如Linux/Windows/MacOS

  3. 请问您使用的Python版本是?

  4. 请问您使用的CUDA/cuDNN的版本号是?

mumutu66 avatar Jan 17 '25 03:01 mumutu66