{"slug": "zml-llmd-2026-12-0", "title": "zml/llmd 2026.12.0", "summary": "Zml/llmd 2026.12.0 adds Day 0 support for Qwen4-35B-A3B on NVIDIA, AMD, Intel and Apple GPUs, plus Amazon Ergo on NVIDIA and AMD GPUs three days after its release, and Google's MedGemma-2 medical model family. The release also adds native speculative decoding for Hy4 Flash and Qwen4 via the --speculative-drafter-model=native flag, a CuTe paged attention kernel for NVIDIA H100 (SM90) that zml reports is 4.1× to 30.9× faster than the generic kernel, and OpenAI Responses, Anthropic Messages and Ollama API compatibility so tools like Codex CLI, Claude Code and OpenCode can point at a local llmd server. Amazon Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters and a 1M-token context window.", "body_md": "We are pleased to announce the release of `zml/llmd 2026.12.0`. This week brings Qwen 4, Amazon Ergo, native speculative\ndecoding for Hy4 Flash, and support for OpenAI Responses, Anthropic Messages, and Ollama APIs.\n\n# Qwen4-35B-A3B\n\nWe added Day 0 support for Qwen4-35B-A3B on NVIDIA, AMD, Intel and Apple GPUs. You can run both the [BF16 checkpoint](https://huggingface.co/Qwen/Qwen4-35B-A3B) and the [FP8 checkpoint](https://huggingface.co/Qwen/Qwen4-35B-A3B-FP8) with zml/llmd.\n\nYou can also pass `--speculative-drafter-model=native` to enable speculative decoding with Qwen4’s native multi-token prediction (MTP) module.\n\n# Amazon Ergo\n\nThis release brings [Amazon Ergo](https://huggingface.co/Amazon-FMR/Ergo) to zml/llmd on NVIDIA and AMD GPUs, 3 days after its release.\n\nAmazon Ergo is a frontier open-weights model for software engineering and agentic workflows. Ergo is designed to tackle complex, long-running tasks while being fast and cost efficient. Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters and a 1M-token context window.\n\nWe did not spend much time on Ergo’s performance but we figure let’s release it and let the community play with it. We will be happy to hear your feedback.\n\n# MedGemma-2\n\nWe’re also adding [MedGemma-2](https://huggingface.co/google/medgemma-2-26B-A4B-it), Google’s family of models for medical applications.\n\nMedGemma is a collection of Gemma variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications.\n\n# Hy4 Flash gets native speculative decoding\n\nLast week, [we brought Hy4 Flash to zml/llmd](https://zml.ai/posts/llmd-2026.11.4/#hy4-flash). This week, you can turn on its built-in DFly2 drafter.\nPass `--speculative-drafter-model=native` when serving `tencent/Hy4-flash`. DFly2 shares the target model’s KV cache\nand drafts tokens for it to verify.\n\n# Faster paged attention on H100\n\nThis release adds a [CuTe paged attention kernel for NVIDIA H100 (SM90)](https://github.com/zml/zml/pull/1187). On H100, the new kernel is 4.1× to 30.9× faster than the generic kernel, depending on head dimension and the number of tokens.\n\n| Context (tokens) | Head dimension | Generic kernel | SM90 kernel | Speedup | \n|---|---|---|---|---|\n| 1,024 | 256 | 856 µs | 211 µs | 4.1× | \n| 1,024 | 512 | 1,488 µs | 200 µs | 7.4× | \n| 8,192 | 256 | 5,320 µs | 356 µs | 14.9× | \n| 8,192 | 512 | 9,778 µs | 316 µs | 30.9× | \n\n# OpenAI Responses API\n\nApplications that use the OpenAI Responses API can now send requests to `POST /v1/responses` on a local zml/llmd server.\n\nWith `Qwen/Qwen4-35B-A3B-FP8` running on port 8000, you can point Codex CLI directly at llmd for this session:\n\n```\ncodex -m Qwen/Qwen4-35B-A3B-FP8 \\\n    -c 'model_provider=\"llmd\"' \\\n    -c 'model_providers.llmd={name=\"llmd\",base_url=\"http://localhost:8000/v1\",wire_api=\"responses\"}'\n```\n\n# Anthropic Messages API\n\nzml/llmd now accepts Anthropic Messages requests at `POST /v1/messages`.\n\nTo use Claude Code with the same model, point it at the server root. Claude Code adds `/v1/messages` to the URL.\nFor a local server with authentication disabled, `local` serves as a placeholder token.\n\n```\nANTHROPIC_BASE_URL=http://localhost:8000 ANTHROPIC_AUTH_TOKEN=local \\\n    claude --model Qwen/Qwen4-35B-A3B-FP8\n```\n\n# Ollama API\n\nOllama clients can use `POST /api/chat` for conversations and `POST /api/generate` for prompt completion.\nThey can also list models through `/api/tags`, inspect a model through `/api/show`, and query `/api/version`.\n\nWith the Ollama CLI and OpenCode installed, point the launcher at llmd and select the model you’re already serving:\n\n```\nOLLAMA_HOST=http://localhost:8000 ollama launch opencode --model Qwen/Qwen4-35B-A3B-FP8\n```\n\nThe launcher configures OpenCode to send chat requests to llmd’s OpenAI-compatible endpoint. [Ollama’s OpenCode guide](https://docs.ollama.com/integrations/opencode)\n\n# Try it today\n\n**NVIDIA**\n\n```\ndocker run -p 8000:8000 --shm-size=256GB --gpus=all -e HF_TOKEN -it zmlai/llmd:cuda \\\n    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \\\n    --speculative-drafter-model=native\n```\n\n**AMD**\n\n```\ndocker run -p 8000:8000 --shm-size=256GB --device=/dev/kfd --device=/dev/dri -e HF_TOKEN -it \\\n    zmlai/llmd:rocm \\\n    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \\\n    --speculative-drafter-model=native\n```\n\n**Intel**\n\n```\ndocker run -p 8000:8000 --device=/dev/dri -e HF_TOKEN -it zmlai/llmd:oneapi \\\n    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \\\n    --speculative-drafter-model=native\n```\n\n**Google TPU**\n\n```\ndocker run --net=host --privileged -e HF_TOKEN -it zmlai/llmd:tpu \\\n    --model=hf://Qwen/Qwen3.8-27B\n```\n\n**Apple Metal**\n\n```\nbrew install zml/zml/llmd\nllmd --model=hf://Qwen/Qwen4-35B-A3B-FP8 --speculative-drafter-model=native\n```\n\n", "url": "https://wpnews.pro/news/zml-llmd-2026-12-0", "canonical_source": "https://zml.ai/posts/llmd-2026.12.0/", "published_at": "2026-12-04 08:00:00+00:00", "updated_at": "2026-12-05 00:15:41.416568+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-infrastructure", "ai-tools", "developer-tools"], "entities": ["zml/llmd", "Qwen4-35B-A3B", "Amazon Ergo", "MedGemma-2", "Hy4 Flash", "NVIDIA H100", "OpenAI Responses API", "Anthropic Messages API"], "also_reported_by": [], "takeaway": "Pass --speculative-drafter-model=native to enable built-in drafters for Qwen4-35B-A3B and Hy4 Flash, and on H100 the new SM90 CuTe paged attention kernel cuts attention time from 9,778 µs to 316 µs at 8,192 tokens with head dimension 512.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/zml-llmd-2026-12-0", "markdown": "https://wpnews.pro/news/zml-llmd-2026-12-0.md", "text": "https://wpnews.pro/news/zml-llmd-2026-12-0.txt", "jsonld": "https://wpnews.pro/news/zml-llmd-2026-12-0.jsonld"}}