A Python-embedded DSL for writing high-performance ML kernels that compile to efficient GPU code. Version 1.1.0, actively developed under PyTorch. Monthly releases.
pip install helionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic kernel definition using helion's DSL, launched with CUDA grid syntax.
Define kernels as top-level functions only.
Use helion.Tensor[float, 1] for 1D, etc.
Avoid creating temporary helion.Tensor inside kernel loops; preallocate and reuse.
Pass grid as (N,) or (N, M) tuple; not [N].
Update 'import hello' to 'import helion'.