SShortSingh.
Back to feed

SlimWise prunes MoE experts only during decoding, nearly doubling throughput

0
·1 views

Mixture-of-Experts inference often stalls on expert traffic during batched decoding, which limits latency gains. SlimWise addresses this by pruning experts solely in the decode phase while reusing the full-model KV cache built during prefill. On Qwen3.6-35B-A3B, the approach raises decode throughput by up to 1.81 times at 50 percent expert pruning, with only minimal accuracy loss. Because the cache format is unchanged, the runtime can switch weight masks between phases without costly data conversion, and the gains were shown on two MoE backbones and three pruning criteria. Scalability to larger models and more aggressive pruning ratios remains untested, and the lightweight distillation step adds a modest training requirement.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Builds Local AI Tool to Extract Invoice Details and Draft Payment Reminders

A developer has built Smart Invoice Assistant, a small web app that uses a locally running AI model to pull key details from invoices. The tool extracts the client name, invoice number, amount, currency, and due date from pasted invoice text. It can also generate polite payment reminder drafts that users can copy for later use. The app runs on Node.js with the Ollama service and the open-weight Qwen 2.5 3B model on the user's own machine, rather than relying on a paid external AI API. The project is an early local-only version, and the developer plans to add PDF upload, invoice history, and better error handling.

0
ProgrammingDEV Community ·

Firefox on Mac: How It Differs from Safari and Chrome

A guide outlines how Firefox on macOS compares with Safari and Chrome. Safari offers tighter integration with iCloud Keychain, macOS proxy settings, Apple Watch unlock, and a more polished Reader Mode. Firefox matches Safari on Picture-in-Picture and dark mode, and it still supports Manifest V2 extensions, which permit fuller ad blocking than Chrome's shift to MV3. Firefox runs natively on Apple Silicon and can be installed from mozilla.org or Homebrew, with memory use generally lower than Chrome. The article also notes that switching browsers requires moving passwords out of Keychain or using a cross-platform password manager, and that Firefox containers and session management offer features Safari lacks.

0
ProgrammingDEV Community ·

Open-Source Invoice Assistant Runs AI Locally to Manage Freelancer Expenses

A developer has built InvoiceMate AI, a local-first assistant that helps freelancers, developers, consultants, and small business owners manage invoices and receipts. The tool uses local OCR and an open-weight language model via Ollama to extract vendor names, dates, totals, taxes, and categories without paid API requests. Extracted data is checked by validation logic and reviewed by the user before being saved to local SQLite storage. The project, built with React, TypeScript, Python, and FastAPI, is designed to work offline after initial setup and is open to community contributions on GitHub.

0
ProgrammingDEV Community ·

AI agent's model comparison experiment flawed by unverified runtime model identity

An AI agent set out to test whether a different model would understand its decision-making document the same way. The second reader, running on a model from another company, matched four of seven questions and all five protected values. However, the reader could not confirm its actual runtime model, relying instead on an outdated name in its setup file. The reader also saw extra lines because its search pulled in terms from other sections, so the result cannot isolate the model as the cause. The author concludes the result is one unconfirmed sample and that the model variable was never measured.