Profile replicated router without TP group
This commit is contained in:
@@ -115,6 +115,7 @@ def main() -> None:
|
||||
bias=False,
|
||||
quant_config=None,
|
||||
prefix="model.layers.0.mlp.gate",
|
||||
disable_tp=True,
|
||||
).to(device=device, dtype=torch.bfloat16)
|
||||
gate.weight.data.uniform_(-0.01, 0.01)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user