Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to load and lunch module artifact archive file *.tcm in python? #8610

Open
shangdibufashi opened this issue Dec 20, 2024 · 0 comments
Open
Labels
question Question on using Taichi

Comments

@shangdibufashi
Copy link

AOT is a useful feature which can run Taichi programs in C++ applications.

But i cant find a way to lunch tcm file in python in the doc: https://docs.taichi-lang.org/api/taichi/aot/

Why the tcm file needed to be lunched in python?

We're using Nuitka to ship our python application. Unluckily, Taichi JIT is not supported by Nuitka, see Compile python module with taichi code and JIT.

AOT is a good solution for now, but all of the Taichi JIT code which compiled and exported as *.tcm file needs to be rewrite via c++, and then compiled as python shared lib, then integrated into Python again.
As right now, there is no Taichi Python api found for load tcm directly in the doc: https://docs.taichi-lang.org/api/taichi/aot/, this is really inefficient

@shangdibufashi shangdibufashi added the question Question on using Taichi label Dec 20, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant