From d48187d282150d59057feb357222e5d4e54f2527 Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Fri, 20 Dec 2024 15:57:01 -0800 Subject: [PATCH] Update [ghstack-poisoned] --- scripts/estimate/estimation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/estimate/estimation.py b/scripts/estimate/estimation.py index 09b1ce4f..c4d1e9c9 100644 --- a/scripts/estimate/estimation.py +++ b/scripts/estimate/estimation.py @@ -70,7 +70,7 @@ def estimate_memory(job_config: JobConfig): tp=job_config.training.tensor_parallel_degree, pp=job_config.experimental.pipeline_parallel_degree, world_size=world_size, - enable_loss_parallel=job_config.training.enable_loss_parallel, + enable_loss_parallel=not job_config.training.disable_loss_parallel, ) device = torch.device(f"cuda:{int(os.environ['LOCAL_RANK'])}")