We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ed90a commit e3bef60Copy full SHA for e3bef60
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