CUDA kernel optimization agent powered by OpenEvolve
Project description
EvoKernel
CUDA kernel optimization agent powered by OpenEvolve.
Quick Start
# Install as CLI tool (requires Python 3.10-3.13)
pipx install evokernel
# or with uv
uv tool install evokernel
# Setup Modal (GPU evaluator)
modal setup
# Configure OpenRouter API key
evokernel setup
# Run in any project directory
evokernel
Development Install
git clone https://github.com/haladir-ai/EvoKernel.git
cd EvoKernel
uv tool install .
Usage
Just run evokernel in a directory with CUDA kernels and chat with the agent:
> optimize my_kernel.cu
> check status
> show the best result
> apply changes
Current Features
- Speedup optimization: Maximizes kernel throughput via evolutionary search
- EVOLVE markers: Define which code regions to optimize
- Modal GPU evaluation: Compile and benchmark on cloud A100 (default)
- Local GPU evaluation: Run benchmarks on your own GPU (for codebases with dependencies)
- LLM ensemble: Uses Gemini, Claude, GPT via OpenRouter
Evaluator Modes
| Mode | Use Case |
|---|---|
modal (default) |
Self-contained kernels, no local GPU needed |
local |
Kernels with custom headers/dependencies |
Roadmap (Not Yet Implemented)
- Memory optimization goal: Minimize memory usage instead of speedup
- Target hardware selection: Optimize for specific GPUs (A100, H100, V100)
- Energy efficiency goal: Minimize power consumption
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evokernel-0.6.0.tar.gz.
File metadata
- Download URL: evokernel-0.6.0.tar.gz
- Upload date:
- Size: 821.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c79983eec1efb8ced336852636d8b56c2e0c224189a76ba38274ffd1d50fc011
|
|
| MD5 |
de392cdb6ec7f4087e0281cf2ac6a1d8
|
|
| BLAKE2b-256 |
5d62e14f25ab250e4d71c2847639fb6c126cff544f7fa21fde91aaff83e7ad07
|
Provenance
The following attestation bundles were made for evokernel-0.6.0.tar.gz:
Publisher:
publish.yml on haladir-ai/EvoKernel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evokernel-0.6.0.tar.gz -
Subject digest:
c79983eec1efb8ced336852636d8b56c2e0c224189a76ba38274ffd1d50fc011 - Sigstore transparency entry: 798846869
- Sigstore integration time:
-
Permalink:
haladir-ai/EvoKernel@cbbbe36ca140435f55da25fcfdddb7f3d9afa29c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/haladir-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cbbbe36ca140435f55da25fcfdddb7f3d9afa29c -
Trigger Event:
release
-
Statement type:
File details
Details for the file evokernel-0.6.0-py3-none-any.whl.
File metadata
- Download URL: evokernel-0.6.0-py3-none-any.whl
- Upload date:
- Size: 947.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3303e61643aceaa95b56a3e02e2ebfdc819ceac2e5c15c7e1970e85bc84e4cb0
|
|
| MD5 |
207f95b558fde07adfc05ccf51e71705
|
|
| BLAKE2b-256 |
f3ca5dbe0eed563566f9828e3b9980886610d777ca8c066a71312d751b7cf0bd
|
Provenance
The following attestation bundles were made for evokernel-0.6.0-py3-none-any.whl:
Publisher:
publish.yml on haladir-ai/EvoKernel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evokernel-0.6.0-py3-none-any.whl -
Subject digest:
3303e61643aceaa95b56a3e02e2ebfdc819ceac2e5c15c7e1970e85bc84e4cb0 - Sigstore transparency entry: 798846872
- Sigstore integration time:
-
Permalink:
haladir-ai/EvoKernel@cbbbe36ca140435f55da25fcfdddb7f3d9afa29c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/haladir-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cbbbe36ca140435f55da25fcfdddb7f3d9afa29c -
Trigger Event:
release
-
Statement type: