We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fa95a commit 56005d2Copy full SHA for 56005d2
accelerator/hpu_accelerator.py
@@ -23,6 +23,8 @@ def __init__(self):
23
import habana_frameworks.torch.hpu as hpu
24
self.hpu = hpu
25
torch.use_deterministic_algorithms(True)
26
+ # TODO: remove this WA when memory mapping break is resolved.
27
+ torch.utils.deterministic.fill_uninitialized_memory = False
28
except ImportError as e:
29
raise ValueError(
30
f"HPU_Accelerator requires habana_frameworks.torch.hpu, which is not installed on this system.")
0 commit comments