[utils] correct cpu memory used and capacity in the context of multi-process (#726)

This commit is contained in:
Jiarui Fang
2022-04-12 14:57:54 +08:00
committed by GitHub
parent 7db3ccc79b
commit 53cb584808
17 changed files with 52 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ from colossalai.engine.gradient_handler import MoeGradientHandler
from colossalai.context import MOE_CONTEXT
from colossalai.testing import assert_equal_in_group
from tests.test_zero_data_parallel.common import CONFIG, check_sharded_model_params
from tests.test_zero.common import CONFIG, check_sharded_model_params
from tests.test_moe.test_moe_zero_init import MoeModel