Fix Transformers backend FP8 MoE and remove some boilerplate (#46820)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -1562,7 +1562,6 @@ class Gemma4ForCausalLM(
|
||||
)
|
||||
|
||||
# --- MixtureOfExperts protocol ---
|
||||
self.expert_weights: list[list[torch.Tensor]] = []
|
||||
self.moe_layers: list[nn.Module] = []
|
||||
example_moe: Gemma4MoE | None = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user