We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8ed90a + e3bef60 commit 75445b5Copy full SHA for 75445b5
1 file changed
tests/conftest.py
@@ -5,6 +5,11 @@
5
import torch
6
7
8
+def pytest_configure():
9
+ torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
10
+ torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
11
+
12
13
def pytest_collectstart(collector):
14
if isinstance(collector, pytest.Module):
15
_set_random_seed(_hash(collector.name))
0 commit comments