What problem does it solve? Writing high-performance CUDA kernels for diffusion models and LLMs requires deep knowledge of GPU architectures, memory hierarchies, and framework-specific integration pitfalls, and this Skill provides the patterns, templates, and benchmarking tools to do it correctly. ## Core Features & Use Cases - Kernel Development Guidance: Provides vectorized memory access patterns, warp shuffle reductions, and architecture-specific optimization guides for H100, A100, and T4 GPUs. - Framework Integration: Includes minimal working examples for injecting custom kernels into diffusers pipelines (LTX-Video, Stable Diffusion, FLUX) and transformers models (LLaMA, Mistral, Qwen), plus HuggingFace Kernels Hub loading via get_kernel. - Benchmarking: Ships end-to-end video generation benchmarks and isolated RMSNorm micro-benchmarks comparing custom kernels against PyTorch baselines. - Use Case: Patch all RMSNorm modules in an LTX-Video pipeline with a vectorized CUDA kernel achieving 2.67x speedup over PyTorch, then benchmark the end-to-end generation latency against baseline and torch.compile configurations. ## Quick Start Ask the AI to patch the RMSNorm modules in an LTX-Video diffusers pipeline with the custom CUDA kernel and run the benchmark script comparing optimized versus baseline performance.