Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qwix/_src/providers/odml.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def _get_attributes(
}
if zp is not None:
# zero_point has to be int64 for ODML.
attributes['zero_point'] = np.asarray(zp, np.int64).flatten() # pyrefly: ignore[bad-typed-dict-key]
attributes['zero_point'] = np.asarray(zp, np.int64).flatten() # pyrefly: ignore[bad-assignment, bad-typed-dict-key]
if quantization_dim is not None:
attributes['quantization_dimension'] = quantization_dim # pyrefly: ignore[bad-typed-dict-key]
attributes['quantization_dimension'] = quantization_dim # pyrefly: ignore[bad-assignment, bad-typed-dict-key]
return attributes
Loading