Practical overview
When it fits
Use FlyDSL when developing GPU kernels and you want to express layouts, tiling and data movement in Python on an MLIR-based compilation path. ROCm is required for GPU execution, tests and benchmarks.
Who it is for
- GPU and machine-learning systems developers authoring kernels in Python.
- Developers exploring layout algebra, tiling, partitioning and data movement for GPU workloads.
- FlyDSL contributors who need to build its C++ dialects, compiler passes and Python bindings from source.
Documented uses
- Describe kernel layouts, tiling and partitioning in a Python DSL.
- Represent data movement and kernel structure at a high level.
- Compile Python-authored kernels through the Fly dialect and export compiled specializations as linkable C objects.
- Study or adapt examples such as vector addition, tiled copy and tiled matrix multiplication.
Requirements & limits
The README documents installation through `python -m pip install flydsl`.
- Python 3.10 or later is required by the documented setup.
- ROCm is required to execute kernels, run tests and benchmark; the README reports testing on ROCm 6.x and 7.x.
- A separate MLIR Python wheel is not required for the documented package because MLIR Python bindings are included with the package or build artifacts.
- Building from source adds CMake 3.20 or later, a C++17 compiler and Python dependencies; it is described for project development or custom MLIR/LLVM builds.
- The repository gives AMD GPU targets and Linux/ROCm versions, but says hardware coverage varies by CI runner and revision.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the FlyDSL Python package
Install the package and check that Python can import it.
Before you start
- Python 3.10 or later
- pip
Steps
Run the command below.
python -m pip install flydslRun the command below to check the import.
python -c "import flydsl; print('FlyDSL installed')"
Expected outcome
The package is installed and the import check prints a confirmation message.
Guide limitations
- ROCm is required for GPU execution, tests and benchmarks; installation and import alone do not establish GPU execution readiness.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026
- Original website title
- ROCm/FlyDSL · Official homepage title · retained in its source language

