Skip to content

Conversation

@oulgen
Copy link

@oulgen oulgen commented Oct 19, 2025

Helion is a Python-embedded domain-specific language (DSL) for authoring machine learning kernels, designed to compile down to Triton.

https://github.com/pytorch/helion

I mostly followed the Triton example, please let me know if there's more I need to do or anything I missed.

compiler-explorer PR: compiler-explorer/compiler-explorer#8206

Copy link
Member

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to test this locally with bin/ce_install install helion or similar. There's some directories we try to install to (/opt/compiler-explorer) but if you can't make them, then there's CLI flags to set the destination.

@@ -0,0 +1,15 @@
compilers:
triton:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be helion

Helion is a Python-embedded domain-specific language (DSL) for authoring
machine learning kernels, designed to compile down to Triton.

https://github.com/pytorch/helion
@oulgen
Copy link
Author

oulgen commented Oct 25, 2025

Thanks @mattgodbolt

I've run

(py312) ➜  compiler-explorer-infra git:(helion) ./bin/ce_install install helion     
warning: `VIRTUAL_ENV=/home/oulgen/py312` does not match the project environment path `.venv` and will be ignored; use `--active` to target the active environment instead
2025-10-25 11:15:35,656 lib.ce_install  INFO     Creating thread pool with 8 workers
Installing compilers/helion 0.2.0
2025-10-25 11:15:36,813 compilers/helion 0.2.0 INFO     Installing required dependee S3TarballInstallable(compilers/python 3.12.1, python-3.12.1)
2025-10-25 11:15:37,148 lib.installation_context INFO     Fetching https://s3.amazonaws.com/compiler-explorer/opt/python-3.12.1.tar.xz (21902224 bytes)
2025-10-25 11:15:38,707 lib.installation_context INFO     100% of https://s3.amazonaws.com/compiler-explorer/opt/python-3.12.1.tar.xz
2025-10-25 11:15:38,708 lib.installation_context INFO     Piping to tar Jxf -
2025-10-25 11:15:39,086 lib.installation_context INFO     Moving from staging (/opt/compiler-explorer/staging/df3e98b4-4438-435f-8da3-ceddf5e25d37/python-3.12.1) to final destination (/opt/compiler-explorer/python-3.12.1)

[notice] A new release of pip is available: 23.2.1 -> 25.3
[notice] To update, run: /opt/compiler-explorer/staging/f3e804f0-72d8-42a8-bf71-4412d22378e3/helion/v0.2.0/bin/python3.12 -m pip install --upgrade pip
2025-10-25 11:17:31,262 lib.installation_context INFO     Moving from staging (/opt/compiler-explorer/staging/f3e804f0-72d8-42a8-bf71-4412d22378e3/helion/v0.2.0) to final destination (/opt/compiler-explorer/helion/v0.2.0)
2025-10-25 11:17:34,959 lib.ce_install  INFO     compilers/helion 0.2.0 installed OK
1 packages installed OK, 0 skipped, and 0 failed installation

and was successfully able to install.

I tried to run the GH action: https://github.com/compiler-explorer/infra/actions/workflows/bespoke-build.yaml but I dont seem to have permissions. Is there anything else you'd like me to do on this PR?

@oulgen
Copy link
Author

oulgen commented Oct 25, 2025

I've also updated the corresponding compiler-explorer PR: compiler-explorer/compiler-explorer#8206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants