We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9a59b commit b9e9abdCopy full SHA for b9e9abd
examples/models/llama/source_transformation/pre_quantization.py
@@ -44,7 +44,7 @@ def replacement_fn(child: torch.nn.Module) -> torch.nn.Module:
44
# pyre-fixme[6]: For 2nd argument expected `int` but got `Union[Module,
45
# Tensor]`.
46
child.out_features,
47
- bias=False,
+ bias=child.bias is not None,
48
device=child.weight.device,
49
groupsize=group_size,
50
precision=precision,
0 commit comments