mirror of https://github.com/InternLM/InternLM
fix the moe_loss_coeff bug
parent
8c7d868f01
commit
92a31732f9
|
@ -532,6 +532,7 @@ class PipelineScheduler(BaseScheduler):
|
||||||
return_tensors,
|
return_tensors,
|
||||||
return_output_label=return_output_label,
|
return_output_label=return_output_label,
|
||||||
accum_loss=accum_loss,
|
accum_loss=accum_loss,
|
||||||
|
moe_loss_coeff=moe_loss_coeff,
|
||||||
)
|
)
|
||||||
|
|
||||||
if gpc.is_last_rank(ParallelMode.PIPELINE):
|
if gpc.is_last_rank(ParallelMode.PIPELINE):
|
||||||
|
|
Loading…
Reference in New Issue