mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
fix machete pre quant (#4295)
This commit is contained in:
@@ -129,6 +129,7 @@ class LinearBase(nn.Layer):
|
||||
self.with_bias = with_bias
|
||||
self.add_bias = add_bias
|
||||
self.prefix = prefix
|
||||
self.is_quantized = fd_config.model_config.is_quantized
|
||||
# key
|
||||
if weight_key:
|
||||
self.weight_key = f"{prefix}.{weight_key}"
|
||||
|
Reference in New Issue
Block a user