roastduck/FreeTensor

A language and compiler for irregular tensor programs.

38
/ 100
Emerging

Compiles Python-defined loop-based tensor programs to optimized native code while supporting dynamic shapes and explicit user-directed transformations (parallelization, loop restructuring, memory optimization). Generates CUDA or OpenMP-parallelized code and provides reverse-mode automatic differentiation. The compiler leverages an AST-based IR with visitor/mutator patterns for both user-specified schedules and automatic optimization passes.

152 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 12 / 25

How are scores calculated?

Stars

152

Forks

12

Language

C++

License

Apache-2.0

Last pushed

Nov 29, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/roastduck/FreeTensor"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.