Skip to content

Commit

Permalink
Cleanup diff
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Jul 24, 2023
1 parent 0e6db4f commit c65323c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/ctranslate2/specs/model_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def _quantize(spec, name, value):
return

key = _split_scope(name)[-1]

scale = None
is_quantizable = hasattr(spec, "%s_scale" % key)
is_convertible = value.dtype in ("float32", "float16", "bfloat16")
Expand Down

0 comments on commit c65323c

Please sign in to comment.