You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a series of taichi kernels in a for loop. 63 of these loops run before I run into this error.
RuntimeError: [snode_tree_buffer_manager.cpp:taichi::lang::SNodeTreeBufferManager::allocate@44] LLVM backend supports up to 512 snode trees
To Reproduce
Unfortunately my code is quite long.
Log/Screenshots
Please post the full log of the program (instead of just a few lines around the error message, unless the log is > 1000 lines). This will help us diagnose what's happening. For example:
[E 09/22/23 14:00:00.722 16516] [snode_tree_buffer_manager.cpp:taichi::lang::SNodeTreeBufferManager::allocate@44] LLVM backend supports up to 512 snode trees
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.3\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.3\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.3\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:\Users\krhee\PycharmProjects\shade-engine\main.py", line 121, in <module>
system_new_basis_orthogonal, system_2d_orthogonal, a_orthogonal = change_basis_to_2d_plane(
File "C:\Users\krhee\PycharmProjects\shade-engine\controllers\change_basis.py", line 89, in change_basis_to_2d_plane
a = change_basis()
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\kernel_impl.py", line 974, in wrapped
return primal(*args, **kwargs)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\kernel_impl.py", line 905, in __call__
key = self.ensure_compiled(*args)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\kernel_impl.py", line 873, in ensure_compiled
self.materialize(key=key, args=args, arg_features=arg_features)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\kernel_impl.py", line 560, in materialize
self.runtime.materialize()
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\impl.py", line 459, in materialize
self.materialize_root_fb(not self.materialized)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\lang\impl.py", line 394, in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\_snode\fields_builder.py", line 170, in finalize
return self._finalize(raise_warning, compile_only=False)
File "C:\Users\krhee\PycharmProjects\shade-engine\venv\lib\site-packages\taichi\_snode\fields_builder.py", line 182, in _finalize
return SNodeTree(_ti_core.finalize_snode_tree(_snode_registry, self.ptr, impl.get_runtime().prog, compile_only))
RuntimeError: [snode_tree_buffer_manager.cpp:taichi::lang::SNodeTreeBufferManager::allocate@44] LLVM backend supports up to 512 snode trees
$ python my_sample_code.py
ti.init(
arch=arch, # compiled for which architecture
default_fp=ti.float32, # default float precision
device_memory_fraction=0.9
)
[Taichi] version 1.6.0
...
Additional comments
If possible, please also consider attaching the output of command ti diagnose. This produces the detailed environment information and hopefully helps us diagnose faster.
If you have local commits (e.g. compile fixes before you reproduce the bug), please make sure you first make a PR to fix the build errors and then report the bug.
Describe the bug
I am running a series of taichi kernels in a for loop. 63 of these loops run before I run into this error.
RuntimeError: [snode_tree_buffer_manager.cpp:taichi::lang::SNodeTreeBufferManager::allocate@44] LLVM backend supports up to 512 snode trees
To Reproduce
Unfortunately my code is quite long.
Log/Screenshots
Please post the full log of the program (instead of just a few lines around the error message, unless the log is > 1000 lines). This will help us diagnose what's happening. For example:
Additional comments
If possible, please also consider attaching the output of command
ti diagnose
. This produces the detailed environment information and hopefully helps us diagnose faster.If you have local commits (e.g. compile fixes before you reproduce the bug), please make sure you first make a PR to fix the build errors and then report the bug.
The text was updated successfully, but these errors were encountered: