We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c91290 commit c35b81fCopy full SHA for c35b81f
1 file changed
tuning/sft_trainer.py
@@ -168,7 +168,7 @@ def train(
168
"Trainer should not perform packing when using `--padding_free`"
169
)
170
171
- if fast_moe_config is not None:
+ if fast_moe_config is not None and fast_moe_config.fast_moe is not None:
172
# Checking for unsupported modules with Scatter MoE for LoRA
173
# Only raise an error for `all-linear`
174
restricted_modules = ["all-linear"]
0 commit comments