Skip to content

Commit 3cdd398

Browse files
HaiShawmerrymercy
authored andcommitted
Fix refactor error - fp8.py (sgl-project#5106)
Co-authored-by: Lianmin Zheng <[email protected]>
1 parent 82d034d commit 3cdd398

File tree

1 file changed

+1
-1
lines changed
  • python/sglang/srt/layers/quantization

1 file changed

+1
-1
lines changed

python/sglang/srt/layers/quantization/fp8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def process_weights_hip_int4(self, layer: Module):
860860
layer.w13_weight_scale1[expert_id] *= max_w13_scales[expert_id]
861861
layer.w2_weight_scale1[expert_id] *= layer.w2_weight_scale[expert_id]
862862

863-
def process_weights_hip_scale_padding(self, layer: Module, padding_size: int):
863+
def process_weights_hip_scale_padding(self, layer: Module):
864864
from sglang.srt.layers.moe.fused_moe_triton.fused_moe import (
865865
padding_size, # Avoid circular import
866866
)

0 commit comments

Comments
 (0)