Skip to content

Commit ba849f9

Browse files
committed
Require 'taichi>=1.7.4'.
1 parent 64515f4 commit ba849f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

genesis/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ def init(
211211
with redirect_stdout(_ti_outputs):
212212
ti.init(
213213
arch=ti_arch,
214-
# Debug mode was buggy and causing segfault prior to v1.7.4
215214
# Add a (hidden) mechanism to forceable disable taichi debug mode as it is still a bit experimental
216-
debug=debug and ti.__version__ >= (1, 7, 4) and (os.environ.get("TI_DEBUG") != "0"),
215+
debug=debug and (os.environ.get("TI_DEBUG") != "0"),
217216
check_out_of_bound=debug,
218217
# force_scalarize_matrix=True for speeding up kernel compilation
219218
# Turning off 'force_scalarize_matrix' is causing numerical instabilities ('nan') on MacOS

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ readme = "README.md"
1010
requires-python = ">=3.10,<3.14"
1111
dependencies = [
1212
"psutil",
13-
"taichi >= 1.7.2",
13+
# Taichi debug mode has been fixed in 1.7.4
14+
"taichi >= 1.7.4",
1415
"pydantic >= 2.7.1",
1516
"numpy >= 1.26.4",
1617
"trimesh",

0 commit comments

Comments
 (0)