@@ -129,12 +129,14 @@ Require Megatron-LM-FL env
129129
1301303. Start the distributed training job:
131131 ` ` ` sh
132- python run.py --config-path ./examples/qwen3/conf --config-name train action=run
132+ flagscale train qwen3 --config ./examples/qwen3/conf/train.yaml
133+ # or
134+ flagscale train qwen3 -c ./examples/qwen3/conf/train.yaml
133135 ` ` `
134136
1351374. Stop the distributed training job:
136138 ` ` ` sh
137- python run.py --config-path ./examples/ qwen3/conf --config-name train action= stop
139+ flagscale train qwen3 --stop
138140 ` ` `
139141
140142
@@ -169,7 +171,9 @@ Require vLLM-FL env
169171
1701723. Start inference:
171173 ` ` ` sh
172- python run.py --config-path ./examples/qwen3/conf --config-name inference_fl action=run
174+ flagscale inference qwen3 --config ./examples/qwen3/conf/inference_fl.yaml
175+ # or
176+ flagscale inference qwen3 -c ./examples/qwen3/conf/inference_fl.yaml
173177 ` ` `
174178
175179# ## Serve
@@ -214,12 +218,14 @@ Require vLLM-FL env
214218
2152193. Start the server:
216220 ` ` ` sh
217- python run.py --config-path ./examples/qwen3/conf --config-name serve action=run
221+ flagscale serve qwen3 --config ./examples/qwen3/conf/serve.yaml
222+ # or
223+ flagscale serve qwen3 -c ./examples/qwen3/conf/serve.yaml
218224 ` ` `
219225
2202264. Stop the server:
221227 ` ` ` sh
222- python run.py --config-path ./examples/ qwen3/conf --config-name serve action= stop
228+ flagscale serve qwen3 --stop
223229 ` ` `
224230
225231# ## RL
@@ -272,13 +278,15 @@ Require verl-FL env
272278
2732794. Start rl:
274280 ` ` ` sh
275- python run.py --config-path ./examples/qwen3/conf --config-name rl action=run
281+ flagscale rl qwen3 --config ./examples/qwen3/conf/rl.yaml
282+ # or
283+ flagscale rl qwen3 -c ./examples/qwen3/conf/rl.yaml
276284 ` ` `
277285You can check the output in your experiment directory.
278286
2792875. Stop rl:
280288 ` ` ` sh
281- python run.py --config-path ./examples/ qwen3/conf --config-name rl action= stop
289+ flagscale rl qwen3 --stop
282290 ` ` `
283291 or force to stop ray cluster.
284292 ` ` ` sh
0 commit comments