Skip to content

Commit 253df57

Browse files
committed
reduce diff
Signed-off-by: Kyle Sayers <[email protected]>
1 parent 13cb9e3 commit 253df57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compressed_tensors/transform/factory/hadamard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def forward(self, value: Tensor) -> Tensor:
107107

108108
return (
109109
apply_transform_weight(
110-
weight.to(dtype=self._precision),
110+
weight.to(self._precision),
111111
value.to(self._precision),
112112
self.args.location,
113113
self.module_type,

src/compressed_tensors/transform/factory/matrix_multiply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __init__(
9595

9696
def forward(self, value: Tensor) -> Parameter:
9797
return apply_transform_weight(
98-
self.weight.to(dtype=self._precision),
98+
self.weight.to(self._precision),
9999
value.to(self._precision),
100100
self.args.location,
101101
self.module_type,

0 commit comments

Comments
 (0)