Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion torchtitan/distributed/tensor_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def maybe_enable_async_tp(job_config: JobConfig, tp_mesh: DeviceMesh):
return

if not (job_config.compile.enable and "model" in job_config.compile.components):
raise RuntimeError("Async TP requires --training.compile")
raise RuntimeError(
"Async TP requires 'model' in --compile.components and --compile.enable"
)

from torch.distributed._symmetric_memory import enable_symm_mem_for_group

Expand Down
Loading