dev-python/flydsl
Python DSL and MLIR compiler for AMD GPU kernels
-
flydsl-0.5.4-* ~amd64python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 debug
View
Download
Browse License: Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Overlay: stuff -
flydsl-0.5.2-* ~amd64python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 debug
View
Download
Browse License: Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Overlay: stuff -
flydsl-0.5.0-* ~amd64python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 debug
View
Download
Browse License: Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Overlay: stuff
ChangeLog
commit d986b8a05c0f0656731ea334394713af42f17cac
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 11:32:21 2026 +0100
dev-python/flydsl: add 0.5.4
Upstream release lowering the math ops that MathToLLVM gets wrong to
OCML and keeping strict register pins on one register across loops.
The LLVM pin, its patch order and the dlpack gitlink are unchanged;
only the schedule-bank-and-gpr patch is revised. The new
MLIRMathToROCDL link comes from the private MLIR build.
commit 6569373121297c3265fda05441d8a090c73a5263
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 06:38:39 2026 +0100
dev-python/flydsl: drop 0.4.1
Keep the last three releases and 0.3.1, which sci-libs/aotriton pins.
commit 87f6ac3735ab7f70db6eb9b2786fb529ff025504
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 06:38:34 2026 +0100
dev-python/flydsl: add 0.5.2
Upstream release. The LLVM pin, its patch set and the dlpack gitlink
are unchanged. Since 0.5.1 FlyDSL links GPU code objects with LLD in
process when the LLVM install provides LLD's CMake package, and
otherwise quietly spawns ld.lld; the ebuild now points LLD_DIR at the
private build and dies if the package is missing.
0.5.1 also bundles AMDGCN device bitcode into the Python package
whenever configure finds it under ROCM_PATH or /opt/rocm. The ebuild
turns that search off, so the package does not carry a copy that goes
stale against dev-libs/rocm-device-libs; the installed toolkit tree
already links the system bitcode, which FlyDSL falls back to.
commit 8699d48caacf0ec22499213815b6db62bd5b4fe6
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Nov 6 13:31:39 2026 +0100
dev-python/flydsl: add 0.5.0
Same LLVM pin, patch list and dlpack gitlink as 0.4.2. The new CMake
is Windows support plus a build-time digest of the native libraries,
which the JIT cache uses only as a key; the new ROCm SDK lookup is
Windows-only too, so the build interface carries over.
commit c465ab3f60549f690c8e4c043391107b853c927a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Nov 3 10:37:26 2026 +0100
dev-python/flydsl: add 0.4.2
Same LLVM pin, with four more required LLVM patches applied in
upstream's order. The configure step now fails unless MLIR's Python3_
and Python_ detections agree, so pass -DPython_EXECUTABLE alongside
-DPython3_EXECUTABLE.
commit c3604b06592fc605813350777b24f5dabbbb8bd3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Oct 28 19:45:41 2026 +0100
dev-python/flydsl: add 0.4.1
0.4.1 pins upstream llvm-project instead of the ROCm LLVM fork, together
with the required patches it ships in thirdparty/llvm-extensions; apply
them in the order its build-info lists. 0.3.1 stays for sci-libs/aotriton,
which pins it with the fork.
commit a0d2ea054f5ebb3f2c35bf3d9d895d85f1f402df
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Sep 26 15:00:46 2026 +0200
dev-python/flydsl: new package
FlyDSL is AMD's Python DSL and MLIR compiler for GPU kernels. aotriton
0.14.2b compiles part of its flash-attention kernels with it and pins
v0.3.1 built against a ROCm LLVM fork commit, refusing to build
otherwise: FlyDSL built against upstream LLVM miscompiles register
spills, which yields wrong kernels rather than a failed build. That
LLVM is built privately here (MLIR and lld only, X86 and AMDGPU) and
linked statically into the MLIR bindings; the installed version
records the commit as +llvm<sha12> so aotriton can check it.
MLIR at that commit asks for nanobind 2.x, so the build uses the
2.12.0 sdist upstream's recipe pins instead of the system nanobind 3.
MLIR links code objects with <ROCm root>/llvm/bin/ld.lld and reads
<ROCm root>/amdgcn/bitcode. /usr/lib/flydsl/rocm provides that layout
with the lld and llvm-readelf of the same LLVM and the system device
bitcode, and is compiled in as the fallback when ROCM_PATH is unset.
torch is an optfeature: upstream declares no dependencies, and
aotriton's build stubs it.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 11:32:21 2026 +0100
dev-python/flydsl: add 0.5.4
Upstream release lowering the math ops that MathToLLVM gets wrong to
OCML and keeping strict register pins on one register across loops.
The LLVM pin, its patch order and the dlpack gitlink are unchanged;
only the schedule-bank-and-gpr patch is revised. The new
MLIRMathToROCDL link comes from the private MLIR build.
commit 6569373121297c3265fda05441d8a090c73a5263
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 06:38:39 2026 +0100
dev-python/flydsl: drop 0.4.1
Keep the last three releases and 0.3.1, which sci-libs/aotriton pins.
commit 87f6ac3735ab7f70db6eb9b2786fb529ff025504
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Nov 23 06:38:34 2026 +0100
dev-python/flydsl: add 0.5.2
Upstream release. The LLVM pin, its patch set and the dlpack gitlink
are unchanged. Since 0.5.1 FlyDSL links GPU code objects with LLD in
process when the LLVM install provides LLD's CMake package, and
otherwise quietly spawns ld.lld; the ebuild now points LLD_DIR at the
private build and dies if the package is missing.
0.5.1 also bundles AMDGCN device bitcode into the Python package
whenever configure finds it under ROCM_PATH or /opt/rocm. The ebuild
turns that search off, so the package does not carry a copy that goes
stale against dev-libs/rocm-device-libs; the installed toolkit tree
already links the system bitcode, which FlyDSL falls back to.
commit 8699d48caacf0ec22499213815b6db62bd5b4fe6
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Nov 6 13:31:39 2026 +0100
dev-python/flydsl: add 0.5.0
Same LLVM pin, patch list and dlpack gitlink as 0.4.2. The new CMake
is Windows support plus a build-time digest of the native libraries,
which the JIT cache uses only as a key; the new ROCm SDK lookup is
Windows-only too, so the build interface carries over.
commit c465ab3f60549f690c8e4c043391107b853c927a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Nov 3 10:37:26 2026 +0100
dev-python/flydsl: add 0.4.2
Same LLVM pin, with four more required LLVM patches applied in
upstream's order. The configure step now fails unless MLIR's Python3_
and Python_ detections agree, so pass -DPython_EXECUTABLE alongside
-DPython3_EXECUTABLE.
commit c3604b06592fc605813350777b24f5dabbbb8bd3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Oct 28 19:45:41 2026 +0100
dev-python/flydsl: add 0.4.1
0.4.1 pins upstream llvm-project instead of the ROCm LLVM fork, together
with the required patches it ships in thirdparty/llvm-extensions; apply
them in the order its build-info lists. 0.3.1 stays for sci-libs/aotriton,
which pins it with the fork.
commit a0d2ea054f5ebb3f2c35bf3d9d895d85f1f402df
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Sep 26 15:00:46 2026 +0200
dev-python/flydsl: new package
FlyDSL is AMD's Python DSL and MLIR compiler for GPU kernels. aotriton
0.14.2b compiles part of its flash-attention kernels with it and pins
v0.3.1 built against a ROCm LLVM fork commit, refusing to build
otherwise: FlyDSL built against upstream LLVM miscompiles register
spills, which yields wrong kernels rather than a failed build. That
LLVM is built privately here (MLIR and lld only, X86 and AMDGPU) and
linked statically into the MLIR bindings; the installed version
records the commit as +llvm<sha12> so aotriton can check it.
MLIR at that commit asks for nanobind 2.x, so the build uses the
2.12.0 sdist upstream's recipe pins instead of the system nanobind 3.
MLIR links code objects with <ROCm root>/llvm/bin/ld.lld and reads
<ROCm root>/amdgcn/bitcode. /usr/lib/flydsl/rocm provides that layout
with the lld and llvm-readelf of the same LLVM and the system device
bitcode, and is compiled in as the fallback when ROCM_PATH is unset.
torch is an optfeature: upstream declares no dependencies, and
aotriton's build stubs it.

