Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

b12928

The use of __restrict__ in CUDA vectorized flash attention helpers causes incorrect memory access ordering when using PDL (Pipeline Dependency Logic), leading to data races and performance issues such as reduced draft acceptance in Gemma-4 MTP with F8_E4M3 KV cache. The fix involves replacing __restrict__ with GGML_CUDA_RESTRICT to ensure proper dependency synchronization, resolving the issue without requiring disabling PDL.

Show HN: Bg-be-gone – Cut out people, pets and anime art, all on your own PC

bg-be-gone is an app I built initially with the goal of removing the background from my spouse's pictures in FFXIV, but then I really got interested in the ML side of this!That led me down the rabbit-hole of learning about BiRefNet and alternatives, and eventually I also stumbled into Facebook (now Meta's) segment-anything (SAM).I've been using this pretty heavily for background removal, but one thing that most freemium BG removal tools (or bucket-fill magic wand without some feathering/etc) is getting nice outlines of cartoons/anime.Using BiRefNet general, there's not really this issue!I then had to deal with the fact that BiRefNet tries to infer a subject in images. Normally. But there could be multiple.Well, they handle that, but they don't handle if you wanna crop out just one, or focus on something non-obvious.Then I remembered that my iPhone used to allow me to hold on an object in an image and it'd get a segment. Found out that uses their version of SAM. Implemented it myself.This thing's so awesome! There's so many things I built on top of it with Claude which allow me to give the model a hand! We ended up with a very nice experience where we can fix the model's mistakes and do some pretty amazing crops of subjects on very convoluted images.The thing is, this is not like touching up with the wand in PhotoShop. I use a brush, but it snaps to edges based on what the model infers, so the outlines DON'T LOOK LIKE SHIT!! It's amazing!Anyway. It also supports GIFs, WebP, batches, etc! I think it's pretty awesome and I'm happy and proud with it! I'd love if it helped anybody! Comments URL: https://news.ycombinator.com/item?id=50711166 Points: 1 # Comments: 0

b12830

A fix has been implemented to allow tool calls within reasoning blocks for K2 Horizon models, ensuring that tool calls are properly recognized and executed even when they appear inside thinking segments. The parser now ends the reasoning phase upon detecting a tool call marker (`<ifm|tool_calls>`), preventing loss of the tool call. This resolves issue #32972 and follows the same pattern used in prior fixes for Gemma4 and Ministral-3.

b12754

The update addresses several issues in the ggml-openvino backend, including fixing write-back for in-place nodes in op-test graphs, improving partial in-place FILL buffer handling, enhancing softplus precision for large negative inputs, refining GPU KV rounding for decode batches to reduce performance loss, maintaining a static head axis in 4-D KV cache, and adjusting code formatting for consistency.

b12686

The update addresses a bug where prompt cache lookups were being skipped in the server, by moving the lookup logic into server_slot_sched::select() to ensure the plan determines cache updates. The functions find_better() and has_better() are now const, and find_better() also returns the common prefix, eliminating redundant computations in load().

b12659

The update includes multiple fixes and enhancements for the ggml-openvino backend, such as improved handling of dynamic dimensions, corrected buffer management, optimized graph translation, and better support for models like Qwen3.5, Qwen3.6, and Ling-3.0-tiny. It also addresses issues with zero points in quantized weights, memory leaks, and incorrect behavior in GATED_DELTA_NET and attention operations. New diagnostic features and environment variables are added, along with updated documentation and release binaries for various platforms including Linux, Windows, macOS, Android, and others.

b12668

The update adds support for BF16 and F32 precision for src1 in MUL_MAT and MUL_MAT_ID operations on the Metal backend, including new kernels for legacy devices without the tensor API, improved matrix type derivation using value_type helpers, and enhanced handling of MoE down projection via a temporary environment variable. Testing confirms performance improvements on M5 Ultra and M2 Ultra devices.

b12671

The Metal concat kernel was optimized by batching rows per threadgroup and copying contiguous elements in 4-element chunks, improving memory bandwidth utilization. However, further optimizations including function constant specialization and row-batch dispatch were reverted due to performance regressions on certain shapes, particularly when already at memory bandwidth limits. The final change retains only the vectorized copy and returns to the original dispatch for better overall performance across diverse hardware configurations.

Release v5.24.0

Hugging Face Transformers v5.24.0 introduces several new models including Inkling 2 Mini, Apertus 1.5, WavTokenizer, Dory, HY4-VL, Omnilingual ASR, Lara Mini, SarvamMLA, SarvamMoE, and EXAONE. The release features a major breaking change renaming `past_key_values` and `cache_params` to `cache` across the library, standardizing cache handling. Multimodal models now return shared output classes instead of model-specific ones. Additional updates include improvements to generation, continuous batching, chat templates, pipelines, vision and audio processing, quantization, parallelization, exporters, and numerous bug fixes.

b12549

The llama.cpp v1.25.49 release includes fixes for Inkling 2 attention mask handling, making the relative-position input a hybrid iswa input, enabling optional expert weight scale and final logit softcap, and improving KV rows mask generation for hybrid iswa memory. The update also standardizes code formatting in inkling2.cpp and ensures compatibility across multiple platforms including macOS, Linux, Windows, Android, and openEuler.

b12552

The update includes fixes for OpenVINO CI, optimizations for model recompiles in the prefill stage, improvements to output handling during model reuse, and support for f16 SCALE and f16/bf16 TRI operations. It also addresses issues with static-shape views in MoE layers, enhances SSM_SCAN build checks, and adds Falcon-H1 to the list of validated OpenVINO models with noted limitations.

b12563

The update addresses a precision issue in CUDA's per-expert fallback path where the MUL_MAT_ID operation was not properly preserving precision due to an unset operation type. The fix sets the operation to GGML_OP_MUL_MAT and reverts an earlier change that forced fp32 output, ensuring consistent precision handling across quantized matrix multiplication paths. This resolves issues with overflow to infinity in fp16 when results exceed 65504, particularly affecting models using IQ1_M weights with large batches.

b12535

The Vulkan backend in llama.cpp has been updated to implement stream-k MUL_MAT, which splits data chunks of 256 K elements evenly across all SMs. Workgroups that finish a tile write to the destination, while others write to scratch, with a resolve shader similar to split-k. The feature is implemented for scalar+cm1+cm2 but currently enabled only for cm2. A simple heuristic is used for enabling on coopmat2 due to large tile size, though tuning for other tile sizes is not planned for NVIDIA devices.

b12480

The Llama UI design system, including tokens, surfaces, fonts, and base components, has been moved from a temporary repository to ui/lib/ui, where it is now published as @ggml-org/llama-ui. Llama Chat now imports all UI elements—including model components, constants, enums, and helpers—from this centralized library, eliminating duplicate code. The update includes updated branding with Llama Sans and Llama Mono fonts, improved submenu rendering, enhanced elevation for chat form elements, and integration with the llama-brand package for colors and logo. The UI is now consistently applied across the application, with builds and deployment configurations adjusted accordingly.

v1.20.0

Dify 1.20.0 introduces support for exporting traces to any OpenTelemetry collector, enables malware scanning of uploaded knowledge files, adds real-time Agent tool activity visibility in Chatflows, and allows automation via personal access tokens. New Human-in-the-Loop (HITL) features integrate approvals into messaging tools like Slack and Teams, while configuration changes include updated defaults for security and integration settings. The release also includes database migrations, improved performance, and bug fixes related to file handling, authentication, and worker stability.

b12475

The Llama Chat UI has been upgraded to SvelteKit 3, integrating its built-in service worker for improved update detection and offline functionality. The migration includes updates to Vite 8, TypeScript 6, Storybook 10, and ESLint 10, along with the replacement of deprecated packages and resolution of npm audit issues through dependency overrides, including pinning minimatch to version 11.0.5 to address a security vulnerability. Changes also align with current Svelte patterns, such as using $state instead of stores and adopting new syntax for actions and class bindings.

b12362

The latest release of llama.cpp (b12362) includes optimizations for grammar matching through left factoring, improved handling of character class boundaries, prevention of infinite expansion, and enhanced code clarity with ASCII comments and deduplicated logic. It reverts prior changes related to AST refactoring and alternative limits, while introducing shared immutable rules and removing performance benchmarks. The release supports multiple platforms including macOS, Linux, Windows, Android, and iOS, with various backend options such as CUDA, Vulkan, ROCm, OpenVINO, and SYCL.

n8n@1.123.93

The n8n 1.123.93 update addresses a bug in the core system by limiting the number of resume attempts for waiting and queued executions, improving stability and preventing potential infinite retry loops.

n8n@2.48.0

The n8n 2.48.0 release addresses multiple bugs, including fixes for AI builder, compression node, core functionality, editor improvements, and RabbitMQ node issues. New features include enhanced assistant models, Microsoft Work IQ OAuth2 credential support, app bindings UI, migration report enhancements, and improved user experience elements like chat message unification and credential modal restrictions.

n8n@3.2.0

The n8n 3.2.0 release introduces several bug fixes addressing issues in AI Builder, core functionality, editor UI, and node-specific behaviors, including improved handling of JSON, XML, CSV, and YAML responses, enhanced security through expanded IP blocking, and better error reporting. New features include support for Microsoft Work IQ OAuth2 credentials, a new App bindings UI, and updated default Assistant models. The release also reverts some previous changes due to compatibility or stability concerns.