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
I am trying to run the example at https://github.com/NVIDIA/Megatron-LM/tree/main/examples/multimodal.
But I found that once I set the pipeline --pipeline-model-parallel-size to be larger than 1, I will get the error message: File "/workspace/megatron-lm/megatron/core/models/gpt/gpt_model.py", line 219, in forward rotary_seq_len = self.rotary_pos_emb.get_rotary_seq_len( File "/workspace/megatron-lm/megatron/core/models/common/embeddings/rotary_pos_embedding.py", line 173, in get_rotary_seq_len rotary_seq_len = transformer_input.size(0) AttributeError: 'NoneType' object has no attribute 'size'
This discussion was converted from issue #1220 on October 23, 2024 21:04.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to run the example at https://github.com/NVIDIA/Megatron-LM/tree/main/examples/multimodal.
But I found that once I set the pipeline
--pipeline-model-parallel-size
to be larger than 1, I will get the error message:File "/workspace/megatron-lm/megatron/core/models/gpt/gpt_model.py", line 219, in forward rotary_seq_len = self.rotary_pos_emb.get_rotary_seq_len( File "/workspace/megatron-lm/megatron/core/models/common/embeddings/rotary_pos_embedding.py", line 173, in get_rotary_seq_len rotary_seq_len = transformer_input.size(0) AttributeError: 'NoneType' object has no attribute 'size'
Beta Was this translation helpful? Give feedback.
All reactions