[Quantization] Support Quark Dense + MoE FP8 & FP8 PTPC (#10485)
Co-authored-by: HAI <hixiao@gmail.com> Co-authored-by: kk <43161300+kkHuang-amd@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ class CompressedTensorsW8A8Fp8(CompressedTensorsScheme):
|
||||
|
||||
if _use_aiter:
|
||||
layer.weight = Parameter(
|
||||
shuffle_weight(weight, (16, 16)), requires_grad=False
|
||||
shuffle_weight(weight, (16, 16)).t(), requires_grad=False
|
||||
)
|
||||
else:
|
||||
layer.weight = Parameter(weight.t(), requires_grad=False)
|
||||
|
||||
Reference in New Issue
Block a user