Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Tensor-Parallel-PyTorch

Launch multi-process with torchrun

torchrun --nnodes=1 --nproc-per-node=2 test_torch_dtensor_tp.py

Potential issue

  • Perfomrance w/o no SHM based all-reduce
  • MQA/GQA support
  • odd ranks support.

All-reduce jit trace test case

Help

  • trace_mode 0 for jit 1 for torch.compile
  • TORCH_COMPILE_DEBUG=1 to see the log of torch.compile

torchrun --nnodes=1 --nproc-per-node=2 test_allreduce_jit_trace.py --trace_mode 0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages