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 0d8a556 commit 619cc91Copy full SHA for 619cc91
src/lightning/fabric/__init__.py
@@ -2,6 +2,7 @@
2
3
import logging
4
import os
5
+import sys
6
7
from lightning_utilities.core.imports import package_available
8
@@ -26,6 +27,10 @@
26
27
# https://github.com/pytorch/pytorch/issues/83973
28
os.environ["PYTORCH_NVML_BASED_CUDA_CHECK"] = "1"
29
30
+# see https://github.com/pytorch/pytorch/issues/139990
31
+if sys.platform == "win32":
32
+ os.environ["USE_LIBUV"] = "0"
33
+
34
35
from lightning.fabric.fabric import Fabric # noqa: E402
36
from lightning.fabric.utilities.seed import seed_everything # noqa: E402
0 commit comments