The open-source project xarray-sql demonstrates how to automatically derive high-performance FlashAttention CUDA kernels from standard SQL queries by pivoting multi-dimensional array datasets into relational tables. The tool aims to simplify accelerator programming and improve maintainability by separating the logical layers of tensor programs from their physical implementations.
CUDA kernel
CUDA 内核
Core parallel computation functions executed on NVIDIA GPUs
Curated Intelligence
Rank-One Model Editing (ROME) attacks corrupt model outputs by rewriting weights directly in GPU memory via malicious Python modules, leaving disk files unchanged. Because these attacks bypass process spawning and network activity, traditional host-based security tools like EDR and ADR fail to detect them. Stealthium proposes a new detection method that correlates CUDA kernel launches with their originating call stacks to identify such memory-level tampering.
Hugging Face released an agent skill enabling coding agents like Claude and Codex to generate production-ready CUDA kernels. The tool successfully achieved end-to-end integration and performance speedups in diffusers and transformers pipelines.
In 2017, OpenAI released and open-sourced Block-sparse GPU kernels to enhance deep learning efficiency by optimizing block-sparse matrix operations. The tool provides high-performance implementations for specific hardware architectures, supporting PyTorch and TensorFlow, serving as a foundational infrastructure for early exploration of model sparsification acceleration.