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:
@@ -886,7 +886,6 @@ class NemotronHForCausalLM(
|
||||
|
||||
# Set MoE hyperparameters
|
||||
if self.model.has_moe:
|
||||
self.expert_weights = []
|
||||
self.num_expert_groups = config.n_group
|
||||
|
||||
self.moe_layers = []
|
||||
|
||||
Reference in New Issue
Block a user