Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
tianyu-l committed Dec 20, 2024
1 parent c08f351 commit d48187d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/estimate/estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])}")
Expand Down

0 comments on commit d48187d

Please sign in to comment.