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

[RFC] Deprecate ti.cc backend in favor of TiRT & its C API? #7629

Closed
ailzhang opened this issue Mar 22, 2023 · 1 comment
Closed

[RFC] Deprecate ti.cc backend in favor of TiRT & its C API? #7629

ailzhang opened this issue Mar 22, 2023 · 1 comment
Labels

Comments

@ailzhang
Copy link
Contributor

What's ti.cc backend?

It's a backend that generates taichi kernels into C source files and then execute. It was the recommended way to deploy taichi kernels in an environment without Python.

Why are we thinking about deprecating it?

  1. Taichi has converged to LLVM IR (for CPU/CUDA/AMD) and SPIR-V IR (for vulkan/metal/opengl/gles) as codegen targets and maintaining a separate C-source codegen has been pretty hard given the limited bandwidth we have. We weren't able to keep up the feature parity between ti.cc and other backends.
  2. We believe TiRT along with its C API can fulfill the deployment needs where ti.cc was necessary, especially when it comes to using GPU resources (ti.cc runs purely on CPU). We've completed TiRT support for vulkan/opengl/metal backend and cpu/cuda support are experimental.

What's next?

Please let us know about your thoughts! Especially if you need ti.cc for a particular use case that TiRT cannot replace, please shout out loudly and we're happy to learn about it!
We're going to propose deprecating ti.cc backend in v1.5 release note to collect more feedback from users, and if everything goes well it'll be deprecated in v1.6 and removed around v1.7 (roughly mid 2023).

@ailzhang ailzhang added the RFC label Mar 22, 2023
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Mar 22, 2023
ailzhang added a commit that referenced this issue Mar 25, 2023
Issue: #7629 

### Brief Summary
Adding notice to v1.5 release first to collect user feedback.
@jim19930609 jim19930609 moved this from Untriaged to In Progress in Taichi Lang Mar 31, 2023
@ailzhang
Copy link
Contributor Author

ailzhang commented May 6, 2023

Closing as it's removed in #7836

@ailzhang ailzhang closed this as completed May 6, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Taichi Lang May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant