A newer version of the Gradio SDK is available: 6.12.0
metadata
title: Kernel Writer
aemoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
Kernel Writer
CUDA kernel optimization
Run locally
pip install -r requirements.txt
python app.py
OpenEnv API is served at /reset, /step, /state, and the Gradio UI is at /ui.
Hugging Face Space setup
Set the OpenAI key in Space Settings → Variables and secrets as:
OPENAI_API_KEY
Optional:
MODEL_NAME(default:gpt-5.4)API_BASE_URL(default:https://api.openai.com/v1)
Submission validation
Use the validator script with the runtime URL:
chmod +x scripts/validate-submission.sh
./scripts/validate-submission.sh https://aaloksan-kernel.hf.space .