4167 enhance bundle run logic#4168
Conversation
merge master
merge master
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
run logicrun logic
|
/build |
|
Hi @wyli , I updated the PR according to your comments, could you please help review it again? Thanks in advance. |
|
/black |
|
/build |
ericspod
left a comment
There was a problem hiding this comment.
Looks good to me, this is more general.
|
Hi @ericspod , Thanks for your review, a typical multi-gpu example can be: "training": [
"$dist.init_process_group(backend='nccl')",
"$torch.cuda.set_device(@device)",
"$monai.utils.set_determinism(seed=123)",
"$@train#trainer.run()",
"$dist.destroy_process_group()"
]Currently, we use python Thanks. |
Yes we should use list also because statements might be duplicated. |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/build |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/build |
* [DLMED] enhance CLI runner_id Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize config logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix list order Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]>
Fixes #4167 .
Description
This PR enhanced the execution logic of bundler
run.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.