Taichi (太极) is a programming language designed for high-performance computer graphics. It is deeply embedded in Python, and its just-in-time compiler offloads compute-intensive tasks to multi-core CPUs and massively parallel GPUs.
Advanced features of Taichi include spatially sparse computing and differentiable programming [examples].
python3 -m pip install taichi # Latest version: 0.5.14
Supported OS: Windows, Linux, Mac OS X; Python: 3.6, 3.7, 3.8; Backends: x64 CPUs, CUDA, Apple Metal.
Please build from source for other configurations (e.g., you need the experimental OpenGL backend or your CPU is ARM).
Note:
- Starting April 13 2020 (v0.5.12), we release the Python package
taichi
instead oftaichi-nightly
. This PyPI package has CPU, CUDA 10 and Metal support. - On Ubuntu 19.04+, please
sudo apt install libtinfo5
. - On Windows, please install Microsoft Visual C++ Redistributable if you haven't.
- [All releases] [Change log]
Linux (CUDA) | OS X (10.14+) | Windows | Documentation | |
---|---|---|---|---|
Build | ||||
PyPI |
The Taichi project was created by Yuanming Hu (yuanming-hu). Significant contributions are made by:
- Ye Kuang (k-ye) (Apple Metal backend)
- 彭于斌 (archibate) (OpenGL Compute Shader backend)
- Mingkuan Xu (xumingkuan) (IR optimization & standardization)
Kenneth Lozes (KLozes) and Yu Fang (squarefk) have also made notable contributions. [List of all contributors]
We welcome feedback and comments. If you would like to contribute to Taichi, please check out our Contributor Guidelines.
If you use Taichi in your research, please cite our papers: