[Bugfix] Remove the num_hidden_layers override for glm4_moe (#31745)

This commit is contained in:
Andy Liu
2026-01-07 23:45:10 -08:00
committed by GitHub
parent d3235cb503
commit e5173d3bac

View File

@@ -199,7 +199,6 @@ class SpeculativeConfig:
n_predict = getattr(hf_config, "num_nextn_predict_layers", None)
hf_config.update(
{
"num_hidden_layers": 0,
"n_predict": n_predict,
"architectures": ["Glm4MoeMTPModel"],
}