Add initial support for gpt-oss (#8824)

This commit is contained in:
Ying Sheng
2025-08-05 13:42:01 -07:00
committed by GitHub
parent 556e4143f0
commit c1d2061f97
12 changed files with 1595 additions and 47 deletions

View File

@@ -1191,11 +1191,6 @@ class RowParallelLinear(LinearBase):
else self.weight_loader
),
)
if not reduce_results and (bias and not skip_bias_add):
raise ValueError(
"When not reduce the results, adding bias to the "
"results can lead to incorrect results"
)
if bias:
self.bias = Parameter(torch.empty(self.output_size, dtype=params_dtype))