We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
atol
rtol
1 parent 85f4421 commit 22c5be2Copy full SHA for 22c5be2
1 file changed
tests/test_mm.py
@@ -12,11 +12,11 @@ def generate_arguments():
12
13
for dtype in (torch.float32, torch.float16):
14
if dtype is torch.float32:
15
- atol = 0.05
16
- rtol = 0.05
+ atol = 0.001
+ rtol = 0.001
17
else:
18
- atol = 0.025
19
- rtol = 0.025
+ atol = 0.01
+ rtol = 0.01
20
21
def generate_random_size():
22
return random.randint(1, 1024)
0 commit comments