Skip to content

Commit e506df2

Browse files
mergennachinfacebook-github-bot
authored andcommitted
Fix lint errors (#2701)
Summary: When #2691 landed, it commented out bunch of print lines, which triggered a lint warning (unused variable). Pull Request resolved: #2701 https://github.com/pytorch/executorch/actions/runs/8444809723/job/23131006488 Reviewed By: guangy10 Differential Revision: D55402192 fbshipit-source-id: 903a905dc9270a1eae6e1125f9110ead37e6d811
1 parent a37efd3 commit e506df2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/models/llama2/quantize.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,6 @@ def create_quantized_state_dict(self):
514514
for fqn, mod in self.mod.named_modules():
515515
if isinstance(mod, torch.nn.Linear):
516516
assert not mod.bias
517-
out_features = mod.out_features
518517
in_features = mod.in_features
519518
# print("in features:", in_features, " out features:", out_features)
520519
# assert out_features % 8 == 0, "require out_features % 8 == 0"

0 commit comments

Comments
 (0)