[QUESTION] When will multimodal evaluation support pipeline parallelism ? #1244
Replies: 1 comment
-
|
This is a good question, and the answer mostly comes down to architecture limitations rather than a missing feature toggle. 🚫 Why pipeline parallelism is currently not supported in multimodal evaluationIn logging.getLogger(__name__).warning(
"Models using pipeline parallelism are not supported yet."
)exists because the current multimodal inference stack assumes:
Pipeline parallelism breaks this assumption because it introduces:
Multimodal models (like InternVL2 / LLaVA-style stacks) currently fuse vision encoder + projector + LLM in a way that is not yet pipeline-stage partition friendly.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In currently, multimodal evaluation does not support pipeline parallelism, refer to
Megatron-LM/examples/multimodal/run_text_generation.py
Line 944 in db7d37b
In some multimodals such as InternVL2-Llama3-76B, its vision model has 25 attention heads which does not support tensor parallelism, so it needs pipeline parallelism to evaluation. so i want to ask when will multimodal evaluation support pipeline parallelism ?
thank.
Beta Was this translation helpful? Give feedback.
All reactions