[BugFix][EPD]Fix Qwen3VLMoe encoder-only AttributeError (#25759)
This commit is contained in:
@@ -235,6 +235,7 @@ class Qwen3VLMoeForConditionalGeneration(Qwen3VLForConditionalGeneration):
|
|||||||
if (
|
if (
|
||||||
"visual" not in name
|
"visual" not in name
|
||||||
and layer_id is not None
|
and layer_id is not None
|
||||||
|
and hasattr(self, "model")
|
||||||
and hasattr(self.model, "start_layer")
|
and hasattr(self.model, "start_layer")
|
||||||
and (
|
and (
|
||||||
layer_id < self.model.start_layer
|
layer_id < self.model.start_layer
|
||||||
|
|||||||
Reference in New Issue
Block a user