We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba6195 commit c373345Copy full SHA for c373345
src/compressed_tensors/transform/utils/hadamard.py
@@ -90,8 +90,8 @@ def _get_known_divisor(
90
) -> Optional[torch.Tensor]:
91
"""
92
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.
+ be of of size `k` such that `n / k` is a power of two. Return None if no such
+ matrix exists.
95
96
Note: This function reopens the safetensors file every time it is called.
97
This is inefficient, but inconsequential because hadamards are typically
0 commit comments