You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, the input arguments (arg0_1 and arg2_1, which correspond to input activations and weights) live in cuda:{rank}, while the output tensor (buf0) lives in cuda:0 regardless of the actual ranks.
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
Your current environment
The output of `python collect_env.py`
🐛 Describe the bug
Got the error message when using tp_size=4:
Importantly, the bug doesn't happen when the torch.compile cache is not used.
The error raises at the first torch.compile-generated op for the embedding layer:
Here, the input arguments (
arg0_1
andarg2_1
, which correspond to input activations and weights) live incuda:{rank}
, while the output tensor (buf0
) lives incuda:0
regardless of the actual ranks.Before submitting a new issue...
The text was updated successfully, but these errors were encountered: