fix: set activation global scale in fused router test

This commit is contained in:
2026-06-01 06:50:41 +00:00
parent 2abb4a19d9
commit db07d17a62

View File

@@ -43,7 +43,7 @@ def test_fused_router():
gate_lin.gsb = None
gate_lin.gs = [1.0] # default global scale
gate_lin.ws2 = [ws2_val]
gate_lin._activation_global_scale = None # set at runtime
gate_lin._activation_global_scale = 1.0 # default
gate_lin.finalize_weights()
# e_bias