Skip to content

Commit 249323c

Browse files
committed
cite nja sloane
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent 310fe6d commit 249323c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compressed_tensors/transform/utils/hadamard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def random_hadamard_matrix(
7575
in that this supports non powers of 2 and random seeds
7676
7777
Adapated from https://github.com/facebookresearch/SpinQuant/blob/main/utils/hadamard_utils.py # noqa: E501
78+
Known matrices were retrieved from N. J. A. Sloane's Library of Hadamard Matrices http://www.neilsloane.com/hadamard/ # noqa: E501
7879
7980
:param size: The dimension of the hamadard matrix
8081
:param gen: Optional generator random values

0 commit comments

Comments
 (0)