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 brand new to Taichi trying to see if we can optimize some of our processing code. It seems that you can't import numba and taichi at the same time as the following script:
import taichi as ti
ti.init(arch=ti.cpu)
import numba as nb
fails with assertion error:
% python tmp/testTaichi.py
[Taichi] version 1.1.3, llvm 10.0.0, commit 1262a70a, osx, python 3.9.6
[Taichi] Starting on arch=x64
Assertion failed: (findOption(Name) == Values.size() && "Option already exists!"), function addLiteralOption, file /Users/th3charlie/dev/taichi-exp/llvm/include/llvm/Support/CommandLine.h, line 853.
Is it expected?
I'm also surprised to see another user name in traceback as I am not th3charlie user on my laptop :)
/Users/th3charlie/dev/taichi-exp/llvm/include/llvm/Support/CommandLine.h, line 853
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am brand new to
Taichi
trying to see if we can optimize some of our processing code. It seems that you can't importnumba
andtaichi
at the same time as the following script:fails with assertion error:
Is it expected?
I'm also surprised to see another user name in traceback as I am not
th3charlie
user on my laptop :)/Users/th3charlie/dev/taichi-exp/llvm/include/llvm/Support/CommandLine.h, line 853
Beta Was this translation helpful? Give feedback.
All reactions