Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Dec 11, 2024
1 parent 55e737c commit d382049
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,11 @@ def compress(
weight_zp
and names_to_scheme.get(name[: -(len(weight_zp_suffix))])[0].symmetric
):
print("skipping zp")
continue
elif (
input_zp
and names_to_scheme.get(name[: -(len(input_zp_suffix))])[1].symmetric
):
print("skipping input zp")
continue
elif name.endswith("g_idx") and torch.any(value <= -1):
continue
Expand Down

0 comments on commit d382049

Please sign in to comment.