Transonic documentation
Transonic is a pure Python package (requiring Python >= 3.9) to easily accelerate modern Python-Numpy code with different accelerators (currently Cython, Pythran and Numba, but potentially later Cupy, PyTorch, JAX, Weld, Pyccel, etc…).
The accelerators are not hard dependencies of Transonic: Python code using Transonic run fine without any accelerators installed (of course without speedup)!
API Reference
Here is presented the organization of the package and the documentation of the modules, classes and functions.
User runtime API for the ahead-of-time compilation |
|
Code analyses |
|
Backends for different accelerators |
|
Use Pythran to create extensions |
|
Configuration |
|
Utilities for the setup.py files |
|
Cached JIT compilation |
|
Logging |
|
Minimalist MPI module |
|
Command line transonic |
|
Compute function signatures |
|
Create Pythran signatures from type hints |
|
Internal utilities |