freenode

← digests

AI infrastructure bugs and kernel routing

AI & ML2026-09-12

Security reports on model loaders and backends led the day alongside performance-oriented proposals in PyTorch and llama.cpp. Several threads focused on cache correctness, kernel selection for decode shapes, and small feature additions for local serving and examples.

GGUF loader integer wrap on tensor size

A bug report against ggml-org/llama.cpp describes the GGUF loader accepting a tensor size that wraps to zero after padding. The single-message report frames this as an integer wrap in the size check that can allow malformed files through. Readers maintaining local GGUF tooling should note the potential for unexpected acceptance of invalid tensors.

Inductor NVGEMM swap_ab for small-M decode

A PyTorch pull request proposes that Inductor automatically route small-M decode shapes (M at most 64) to NVGEMM swap_ab kernels. The change aims to match performance behavior already used in vLLM and SGLang. Developers working on decode-heavy inference paths may care about the automatic enablement and its alignment with existing serving stacks.

ROCm KV state bleed on Strix Halo

An ollama issue reports that the ROCm backend on Strix Halo (gfx1151 iGPU) bleeds KV state across sequential requests. When prompts exceed the context window, a response can describe content from the previous request. Operators running multi-request workloads on that backend have a concrete correctness and isolation concern.

Caching for custom fake tensor kernels

A short PyTorch thread discusses a PR that enables caching for selected custom fake tensor kernels. The motivation is support for ExecuTorch replay scenarios. Contributors working on export and replay pipelines gain a narrower, targeted caching path.

SYCL graph record and replay in llama.cpp

A llama.cpp PR adds SYCL graph record and replay, ported from the CUDA path, with early discussion on basic tuning. The change expands graph capture options for SYCL users. Maintainers and backend developers tracking cross-API parity will find the port and open tuning questions relevant.

Auto-delete old Hugging Face model caches

A feature request asks llama.cpp to remove old Hugging Face model caches when models are updated. The single post seeks automatic cleanup of stale local artifacts. Users who repeatedly pull updated weights may care about reduced disk accumulation.

Manifest digest in ollama /api/chat

A contributor proposes including the served manifest digest in local /api/chat responses, with a tested patch against v0.34.0. The goal is more precise tracking of local artifacts. Operators who need exact identity of served models gain a small API extension for that purpose.

Optional COCO backend for detection examples

An external contributor offers an optional ultrafast COCO backend for object-detection examples in Hugging Face Transformers, contingent on TorchMetrics support and maintainer approval. The proposal stays limited to examples rather than core library paths. Maintainers of detection example code have a concrete implementation offer to evaluate.