made root note address individually testable

This commit is contained in:
William Falcon 2019-07-24 18:57:42 -04:00
parent 750fefac0c
commit f58c83b399
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def test_amp_gpu_ddp_slurm_managed():
# test root model address
assert trainer.resolve_root_node_address('abc') == 'abc'
assert trainer.resolve_root_node_address('abc[23]') == 'abc23'
assert trainer.resolve_root_node_address('abc[23-24]') == 'abc24'
assert trainer.resolve_root_node_address('abc[23-24]') == 'abc23'
assert trainer.resolve_root_node_address('abc[23-24, 45-40, 40]') == 'abc23'
# test model loading