fix: resolve fp8 for mixtral (#1290)

This commit is contained in:
Yineng Zhang
2024-09-02 00:29:06 +10:00
committed by GitHub
parent 32a4141d5a
commit 9b0805242e

View File

@@ -362,7 +362,7 @@ class MixtralForCausalLM(nn.Module):
weight_loader(
param,
loaded_weight,
weight_name,
name,
shard_id=shard_id,
expert_id=expert_id,
)