autokernel icon indicating copy to clipboard operation
autokernel copied to clipboard

Autoresearch for GPU kernels. Give it any PyTorch model, go to sleep, wake up to optimized Triton kernels.

Results autokernel issues
Sort by recently updated
recently updated
newest added

https://github.com/RightNow-AI/autokernel/blob/78435821cc3d5756ba6ee1785c397f6d8fa8c90d/kernels/fused_mlp.py#L92 Here's a minimal reproduction of this bug, using fused_mlp.py as an example: ```python import triton import triton.language as tl from triton.backends.compiler import GPUTarget from triton.compiler import ASTSource @triton.jit def...

## Motivation Diffusion and multimodal transformer models commonly execute closely related memory-bound patterns that go beyond standalone LayerNorm/RMSNorm: ```python updated = residual + gate * update normalized = layer_norm_or_rms_norm(updated, weight,...

### Description In `orchestrate.py`, `cmd_record()` computes `time_spent_minutes` for each kernel using `state["started_at"]` -- the timestamp when **Phase B began** (the entire optimization run): ```python # orchestrate.py line 534-546 (current upstream)...

## Problem `profile.py` writes `shape_info` as raw PyTorch profiler format (e.g. `[[4096, 4096], [4096, 4096]]` from `str(evt.input_shapes)`), but `extract.py`'s `parse_shape_info()` only handles `key=value` format like `M=4096, N=4096, K=4096`. This causes...

Hello! I downloaded and followed the quick-start guide to benchmark the default matmul kernel, and it fails on fp32. Here is the output. Any thoughts on what might be the...

As commented on LinkedIn, I'm working on an MLX port of this project - mainly to speed up the local models that I'm running. My prior work regarding the MLX/ANE...

Thanks for this repo. It is very useful. But one thing, do we need to add support for tensor parallelism? As it changes the input shapes to the kernels. Actually...

As I understand it there's currently no support for any quants. I think it would be really cool to eventually have support for a type of quant so we can...

Hello folks, I am Sayak, part of the [Kernels team](https://huggingface.co/docs/kernels/en/index) at Hugging Face. Great work here. Actually, we previously worked on a guided agent to do kernels for a video...

Right now `profiler.py` does a single workflow to identify bottlenecks 1. [**temporal breakdown**](https://hta.readthedocs.io/en/latest/source/features/temporal_breakdown.html): where the GPU is spending time for a given job. followed by 2. **kernel classification** to pinpoint...