openxla/tokamax
소개
Tokamax: GPU 및 TPU 커널 라이브러리.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +5
- in 15 days
- +15
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTokamax
Tokamax is a library of custom accelerator kernels. It provides highly optimized implementations of key operators, including mixture-of-experts building blocks like grouped matrix multiplication and token gathers/scatters, attention variants like paged attention, splash attention, gated deltanet, Kimi delta attention and multiheaded latent attention, and TopK computation. The operator portfolio will evolve over time to support the latest OSS models running on the latest hardware accelerators, including Google TPUs and NVIDIA GPUs. The library also provides foundational infrastructure to simplify kernel authoring, maintenance, and deployment; for example, features like autotuning, low-overhead benchmarking, and so on.
Tokamax kernels are typically built on top of JAX and Pallas, but also expose native PyTorch APIs on TPUs for developer convenience.
Documentation
Detailed documentation can be found at openxla.org/tokamax, including a list of supported ops on different hardware accelerators, benchmarking infrastructure, and autotuning.
Getting Started
Installation
The latest Tokamax PyPI release:
pip install -U tokamax
The latest bleeding edge version from Github, with no stability guarantees:
pip install git+https://github.com/openxla/tokamax.git
Usage Examples
Please see the Colab notebooks here for usage examples.
Contributing
Please see documentation on how to contribute and our code style guide.
관련 프로젝트 살펴보기
불러오는 중…