Don't compile vision encoder for Transformers backend (#30518)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -495,9 +495,10 @@ class CompilationConfig:
|
||||
If empty list [], no ops are excluded (suitable for full cudagraphs)."""
|
||||
compile_mm_encoder: bool = False
|
||||
"""Whether or not to compile the multimodal encoder.
|
||||
Currently, this only works for `Qwen2_5_vl` and `mLLaMa4` models
|
||||
on selected platforms. Disabled by default until more models
|
||||
are supported/tested to work."""
|
||||
Currently, this only works for `Qwen2_5_vl` and `mLLaMa4` models on selected
|
||||
platforms. It may also work for models loaded with the Transformers modeling backend
|
||||
if the encoder is compilable. Disabled by default until more models are
|
||||
supported/tested to work."""
|
||||
|
||||
# Vision encoder CUDA graph
|
||||
cudagraph_mm_encoder: bool = False
|
||||
|
||||
Reference in New Issue
Block a user