Skip to content

Commit 6cf9b15

Browse files
committed
Fix test
1 parent 614f33e commit 6cf9b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/quantization/quantize_/workflows/intx/test_intx_unpacked_to_int8_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_add(self):
5555
device = "cpu"
5656
a = torch.nn.Embedding(128, 256, dtype=dtype, device=device)
5757
b = torch.nn.Embedding(128, 256, dtype=dtype, device=device)
58-
a_orig = a.clone()
58+
a_orig = copy.deepcopy(a)
5959
sum = a.weight + b.weight
6060

6161
quantize_(a, self.config)

0 commit comments

Comments
 (0)