# GS-Taichi
[Taichi](https://github.com/taichi-dev/taichi) was forked in June 2025. This repository (or gs-taichi) is now a fully independent project with no intention of maintaining backward compatibility with the original taichi. Whilst the repo largely resembles upstream for now, we have made the following changes:
- revamped continuous integration, to run using recent python versions (up to 3.13), recent mac os x versions (up to 15), and to run reliably (at least 95% of runs with correct code succeed)
- added dataclasses.dataclass structs:
- work with both ndarrays and fields (cf ti.struct (field only), ti.dataclass (field only), ti.data_oriented (field only), argpack (ndarray only))
- can be passed into child `ti.func`tions (cf argpack)
- does not affect kernel runtime speed (kernels see only the underlying arrays, no indirection is added within the kernel layer)
- removed GUI/GGUI
- upgraded supported OS and Python versions (eg added support for Python 3.13)
Planned features:
- reduce warm cache launch latency
- (maybe) add launch args caching, to reduce launch latency
- make dataclasses.dataclass nestable
Planned pruning:
- remove argpack
- remove ti CLI
- remove OpenGL (please use Vulkan)
- remove mobile device support (Android etc)
- remove support for NVidia GPUs earlier than sm_60/Pascal
# What is gs-taichi?
GS-Taichi is a high performance multi-platform compiler, targeted at physics simulations. It compiles Python code into parallelizable kernels that can run on:
- NVidia GPUs, using CUDA
- Vulkan-compatible GPUs, using SPIR-V
- Mac Metal GPUs
- x86 and arm64 CPUs
GS-Taichi supports automatic differentiation. GS-Taichi lets you build fully fused GPU kernels, using Python.
[Genesis simulator](https://genesis-world.readthedocs.io/en/latest/)'s best-in-class performance can be largely attributed to Taichi, its underlying GPU acceleration framework for Python. Given how critical is this component, we decided to fork Taichi and build our own very framework from there, so that from now on, we are free to drive its development in the direction that best supports the continuous improvement of Genesis simulator.
# Installation
## Prerequisites
- Python 3.10-3.13
- Mac OS 14, 15, Windows, or Ubuntu 22.04-24.04 or compatible
## Procedure
```
pip install gs-taichi
```
(For how to build from source, see our CI build scripts, e.g. [linux build scripts](.github/workflows/scripts_new/linux_x86/) )
# Documentation
- [docs](docs/lang/articles)
- [API reference](https://ideal-adventure-2n6lpyw.pages.github.io/taichi.html)
# Something is broken!
- [Create an issue](https://github.com/Genesis-Embodied-AI/taichi/issues/new/choose)
# Acknowledgements
- The original [Taichi](https://github.com/taichi-dev/taichi) was developed with love by many contributors over many years. For the full list of contributors and credits, see [Original taichi contributors](https://github.com/taichi-dev/taichi?tab=readme-ov-file#contributing)
Raw data
{
"_id": null,
"home_page": "https://github.com/Genesis-Embedded-AI/taichi",
"name": "gstaichi",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "graphics, simulation",
"author": "Taichi developers",
"author_email": null,
"download_url": null,
"platform": null,
"description": "# GS-Taichi\n\n[Taichi](https://github.com/taichi-dev/taichi) was forked in June 2025. This repository (or gs-taichi) is now a fully independent project with no intention of maintaining backward compatibility with the original taichi. Whilst the repo largely resembles upstream for now, we have made the following changes:\n- revamped continuous integration, to run using recent python versions (up to 3.13), recent mac os x versions (up to 15), and to run reliably (at least 95% of runs with correct code succeed)\n- added dataclasses.dataclass structs:\n - work with both ndarrays and fields (cf ti.struct (field only), ti.dataclass (field only), ti.data_oriented (field only), argpack (ndarray only))\n - can be passed into child `ti.func`tions (cf argpack)\n - does not affect kernel runtime speed (kernels see only the underlying arrays, no indirection is added within the kernel layer)\n- removed GUI/GGUI\n- upgraded supported OS and Python versions (eg added support for Python 3.13)\n\nPlanned features:\n- reduce warm cache launch latency\n- (maybe) add launch args caching, to reduce launch latency\n- make dataclasses.dataclass nestable\n\nPlanned pruning:\n- remove argpack\n- remove ti CLI\n- remove OpenGL (please use Vulkan)\n- remove mobile device support (Android etc)\n- remove support for NVidia GPUs earlier than sm_60/Pascal\n\n# What is gs-taichi?\n\nGS-Taichi is a high performance multi-platform compiler, targeted at physics simulations. It compiles Python code into parallelizable kernels that can run on:\n- NVidia GPUs, using CUDA\n- Vulkan-compatible GPUs, using SPIR-V\n- Mac Metal GPUs\n- x86 and arm64 CPUs\n\nGS-Taichi supports automatic differentiation. GS-Taichi lets you build fully fused GPU kernels, using Python.\n\n[Genesis simulator](https://genesis-world.readthedocs.io/en/latest/)'s best-in-class performance can be largely attributed to Taichi, its underlying GPU acceleration framework for Python. Given how critical is this component, we decided to fork Taichi and build our own very framework from there, so that from now on, we are free to drive its development in the direction that best supports the continuous improvement of Genesis simulator.\n\n# Installation\n## Prerequisites\n- Python 3.10-3.13\n- Mac OS 14, 15, Windows, or Ubuntu 22.04-24.04 or compatible\n\n## Procedure\n```\npip install gs-taichi\n```\n\n(For how to build from source, see our CI build scripts, e.g. [linux build scripts](.github/workflows/scripts_new/linux_x86/) )\n\n# Documentation\n\n- [docs](docs/lang/articles)\n- [API reference](https://ideal-adventure-2n6lpyw.pages.github.io/taichi.html)\n\n# Something is broken!\n\n- [Create an issue](https://github.com/Genesis-Embodied-AI/taichi/issues/new/choose)\n\n# Acknowledgements\n\n- The original [Taichi](https://github.com/taichi-dev/taichi) was developed with love by many contributors over many years. For the full list of contributors and credits, see [Original taichi contributors](https://github.com/taichi-dev/taichi?tab=readme-ov-file#contributing)\n",
"bugtrack_url": null,
"license": "Apache Software License (http://www.apache.org/licenses/LICENSE-2.0)",
"summary": "The Taichi Programming Language",
"version": "0.1.20.dev0",
"project_urls": {
"Homepage": "https://github.com/Genesis-Embedded-AI/taichi"
},
"split_keywords": [
"graphics",
" simulation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2f5f9db944ff9afb4d5cb9e083bea1ffaaab125df7c8b23996b7b5ca459e9299",
"md5": "9b0fef6f75621f732dfe1bdd9ee8c07b",
"sha256": "3c27ce20bd6712c64f482a70e86daf85079ed9bdfecce5597883de9349572fe3"
},
"downloads": -1,
"filename": "gstaichi-0.1.20.dev0-cp310-cp310-macosx_15_0_arm64.whl",
"has_sig": false,
"md5_digest": "9b0fef6f75621f732dfe1bdd9ee8c07b",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "<4.0,>=3.10",
"size": 50162360,
"upload_time": "2025-07-27T19:49:32",
"upload_time_iso_8601": "2025-07-27T19:49:32.006011Z",
"url": "https://files.pythonhosted.org/packages/2f/5f/9db944ff9afb4d5cb9e083bea1ffaaab125df7c8b23996b7b5ca459e9299/gstaichi-0.1.20.dev0-cp310-cp310-macosx_15_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3efdf948ebd2e6f4b80a6c1d7c3b4b9d2874e7392b7444f5d24bc4bc13d576d3",
"md5": "2cefb3e089d0583b8dd37215d29de0a1",
"sha256": "575e4c41bde18f95704303a340d7ca10dd732183acc5fa6ce11450f3b6e8a8ad"
},
"downloads": -1,
"filename": "gstaichi-0.1.20.dev0-cp310-cp310-manylinux2014_x86_64.manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "2cefb3e089d0583b8dd37215d29de0a1",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "<4.0,>=3.10",
"size": 49853457,
"upload_time": "2025-07-27T19:58:24",
"upload_time_iso_8601": "2025-07-27T19:58:24.935994Z",
"url": "https://files.pythonhosted.org/packages/3e/fd/f948ebd2e6f4b80a6c1d7c3b4b9d2874e7392b7444f5d24bc4bc13d576d3/gstaichi-0.1.20.dev0-cp310-cp310-manylinux2014_x86_64.manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a93eedbbe13d098edcef2a117e957bebdc881942a07fee765d96d712fc6d15f2",
"md5": "13b33cf95043f4af22d4ea43c10deaf0",
"sha256": "e9bb73416e9dc5acd92be55c2f5fdbde066dbc93a548be30ab47d363548fd0a6"
},
"downloads": -1,
"filename": "gstaichi-0.1.20.dev0-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "13b33cf95043f4af22d4ea43c10deaf0",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "<4.0,>=3.10",
"size": 74454992,
"upload_time": "2025-07-27T19:57:54",
"upload_time_iso_8601": "2025-07-27T19:57:54.921176Z",
"url": "https://files.pythonhosted.org/packages/a9/3e/edbbe13d098edcef2a117e957bebdc881942a07fee765d96d712fc6d15f2/gstaichi-0.1.20.dev0-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-27 19:49:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Genesis-Embedded-AI",
"github_project": "taichi",
"github_not_found": true,
"lcname": "gstaichi"
}