Skip to content

Commit 0aca8b1

Browse files
committed
forcing compile=False
1 parent c62da51 commit 0aca8b1

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

pina/trainer.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,19 @@ def __init__(
111111

112112
# checking compilation and automatic batching
113113
# compile disambled for windows and py>=3.14
114-
if (
115-
compile is None
116-
or sys.platform == "win32"
117-
or sys.version_info >= (3, 14)
118-
):
119-
compile = False
120-
raise KeyError
121-
warnings.warn(
122-
"Compilation is disabled for Python 3.14+. "
123-
"Compilation is also disabled for Windows 3.2.",
124-
UserWarning,
125-
)
114+
compile = False
115+
# if (
116+
# compile is None
117+
# or sys.platform == "win32"
118+
# or sys.version_info >= (3, 14)
119+
# ):
120+
# compile = False
121+
# raise KeyError
122+
# warnings.warn(
123+
# "Compilation is disabled for Python 3.14+. "
124+
# "Compilation is also disabled for Windows 3.2.",
125+
# UserWarning,
126+
# )
126127

127128
repeat = repeat if repeat is not None else False
128129

0 commit comments

Comments
 (0)