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 6ba836c commit d74f02cCopy full SHA for d74f02c
genesis/__init__.py
@@ -17,6 +17,11 @@
17
18
try:
19
import torch
20
+
21
+ if tuple(map(int, torch.__version__.split(".")[:2])) < (2, 8):
22
+ raise ImportError(
23
+ "'torch<2.8.0' is not supported. Please update pytorch manually: https://pytorch.org/get-started/locally/"
24
+ )
25
except ImportError as e:
26
raise ImportError(
27
"'torch' module not available. Please install pytorch manually: https://pytorch.org/get-started/locally/"
0 commit comments