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 310fe6d commit 249323cCopy full SHA for 249323c
src/compressed_tensors/transform/utils/hadamard.py
@@ -75,6 +75,7 @@ def random_hadamard_matrix(
75
in that this supports non powers of 2 and random seeds
76
77
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
79
80
:param size: The dimension of the hamadard matrix
81
:param gen: Optional generator random values
0 commit comments