Cuda Kernels

Provides guidance for writing and benchmarking optimized CUDA kernels for NVIDIA GPUs (H100, A100, T4) targeting HuggingFace diffusers and transformers libraries. Supports models like LTX-Video, Stable Diffusion, LLaMA, Mistral, and Qwen. Includes integration with HuggingFace Kernels Hub (get_kernel) for loading pre-compiled kernels. Includes benchmarking scripts to compare kernel performance against baseline implementations. Use for kernel types: attention, rmsnorm, rope, adaln, geglu, benchmark, transformers, diffusers, huggingface-kernels, get_kernel.

drunkcoding Updated

File contents

drunkcoding/AgentSkillsArxiv/tree/main/skills/huggingface-kernels/cuda-kernels commit e0bbc237df

Frequently asked questions

npx skillmds@latest add drunkcoding/cuda-kernels