Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion python/sglang/srt/layers/quantization/marlin_utils_fp8.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def apply_fp8_marlin_linear(
a=reshaped_x,
c=None,
b_q_weight=weight,
b_bias=bias,
b_scales=weight_scale,
global_scale=None,
b_zeros=None,
Expand All @@ -77,6 +76,9 @@ def apply_fp8_marlin_linear(
use_fp32_reduce=use_fp32_reduce,
)

if bias is not None:
output.add_(bias)

return output.reshape(out_shape)


Expand Down
Loading