AI & ML
DataKernelBench: Can LLMs Optimize Database Queries on GPUs?
arXiv cs.DB0 views
arXiv:2608.25061v3 Announce Type: replace-cross Abstract: GPUs increasingly accelerate database systems, but query-specific peak performance still often relies on hand-written kernels. Existing LLM kernel benchmarks focus on machine learning operators, leaving irregular, heterogeneous, data-movement-heavy database-style operators untested. We introduce DataKernelBench, which translates SQL into validated PyTorch TorchPlan programs and evaluates LLMs that optimize either the core tensor-bounded snippet or the full query in CUDA or Triton through execution-guided repair. Across ten proprietary and open-weight models on TPC-H SF10 with an H100 GPU, the strongest full-query CUDA configuration achieves $2.11\times$ speedup over the TorchPlan baseline at full pass rate. We find that higher-performing implementations commonly use kernel fusion and execution-strategy changes, stronger models benefit most from full-query specialization, and workload context matters more than hardware context. To handle data larger than GPU memory, we extend TorchPlan with Dask-cuDF for on-demand partition loading on TPC-H SF100 with four H100 GPUs, achieving $2.54\times$ speedup. Project page: https://kerneldf.github.io/datakernelbench
Source:https://arxiv.org/abs/2608.25061PreviousNeuro-Relational Programs: Unifying Queries and Neural Computation over Structured DataNextThe N+1 Query Problem — "It works locally, but is extremely slow in production"
Related posts
What is AI?
0dev.to AI
Cara Mengelola Grup Telegram dengan Bot AI Gratis: Solusi Lengkap untuk Pengembang & Pemilik Grup
0dev.to AI
Neuron-Derived Video Model Goes Public, But the Claim Needs Scrutiny
0dev.to AI
VITI Special Report: The Official Enterprise Process Theater Bingo Card
0dev.to DevOps
"Show HN: Statewright – Visual state machines that make AI agents reliable"
0dev.to DevOps

OpenAI launches the Grid Protectors Program, a US effort for its future data center campuses to reduce electricity demand when the grid is under strain (OpenAI)
0Techmeme