We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591dcf4 commit 0056de8Copy full SHA for 0056de8
pysrc/juliacall/__init__.py
@@ -58,9 +58,9 @@ def init():
58
# importing pytorch before juliacall sometimes causes segfaults. TODO: remove
59
if "torch" in sys.modules:
60
warnings.warn(
61
- "`torch` was loaded before the juliacall. This may cause a segfault. "
62
- "To avoid this, import `juliacall` *before* importing `torch`. "
63
- "For updates, see https://github.com/pytorch/pytorch/issues/78829"
+ "torch was imported before juliacall. This may cause a segfault. "
+ "To avoid this, import juliacall before importing torch. "
+ "For updates, see https://github.com/pytorch/pytorch/issues/78829."
64
)
65
66
def option(name, default=None, xkey=None, envkey=None):
0 commit comments