Skip to content

Commit c373345

Browse files
committed
fix docstring
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent 1ba6195 commit c373345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compressed_tensors/transform/utils/hadamard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def _get_known_divisor(
9090
) -> Optional[torch.Tensor]:
9191
"""
9292
Fetch a known hadamard matrix from the given file path. The returned matrix will
93-
be of of size `k` such that `n` divides `d` and `n / d` is a power of two. Return
94-
None if no such matrix exists.
93+
be of of size `k` such that `n / k` is a power of two. Return None if no such
94+
matrix exists.
9595
9696
Note: This function reopens the safetensors file every time it is called.
9797
This is inefficient, but inconsequential because hadamards are typically

0 commit comments

Comments
 (0)