From a0f9eb29c01760f72c96b151417a12a618aa48af Mon Sep 17 00:00:00 2001 From: keptn42 Date: Sun, 1 Nov 2026 09:18:16 +0000 Subject: [PATCH] deploy/compose: Ling-3.0-flash-Sante w4a8 on two cards --- README.md | 2 +- .../ling-3.0-flash-sante-w4a8-tp2.yaml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 deploy/compose/ling-3.0-flash-sante-w4a8-tp2.yaml diff --git a/README.md b/README.md index 27e481f6..f25173ec 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ To support the development of radiance: [Patreon](https://patreon.com/StillDeadC | NVIDIA-Nemotron-3.5-Bolt-E4B bf16 (Gemma 4 E4B), NVIDIA's DFlash drafter, vision, audio | `nemotron-3.5-bolt-e4b-bf16.rad` (17 GiB) | [download](https://huggingface.co/keptn/nemotron-3.5-bolt-e4b-bf16) | `nemotron-3.5-bolt-e4b-bf16.yaml` | | NVIDIA-Nemotron-3.5-Bolt-E4B int8 (i8a8, Gemma 4 E4B), NVIDIA's DFlash drafter, vision, audio | `nemotron-3.5-bolt-e4b-i8g.rad` (13 GiB) | [download](https://huggingface.co/keptn/nemotron-3.5-bolt-e4b-i8g) | `nemotron-3.5-bolt-e4b-i8g.yaml` | | NVIDIA-Nemotron-3.5-Bolt-E4B 4-bit (int4 feed-forward, GPTQ, Gemma 4 E4B), NVIDIA's DFlash drafter, vision, audio | `nemotron-3.5-bolt-e4b-a4.rad` (12 GiB) | [download](https://huggingface.co/keptn/nemotron-3.5-bolt-e4b-a4) | `nemotron-3.5-bolt-e4b-a4.yaml` | -| Ling-3.0-flash-Sante w4a8: 4-bit experts (GPTQ), MTP, four cards | `ling-3.0-flash-sante-w4a8.rad` (66 GiB) | [download](https://huggingface.co/keptn/ling-3.0-flash-sante-w4a8) | `ling-3.0-flash-sante-w4a8.yaml` | +| Ling-3.0-flash-Sante w4a8: 4-bit experts (GPTQ), MTP, four or two cards | `ling-3.0-flash-sante-w4a8.rad` (66 GiB) | [download](https://huggingface.co/keptn/ling-3.0-flash-sante-w4a8) | `ling-3.0-flash-sante-w4a8.yaml`, `ling-3.0-flash-sante-w4a8-tp2.yaml` | | Qwen-Image 2.1 FP8: text to image and image edits | `qwen-image-2.1-fp8.rad` (16 GiB) | [download](https://huggingface.co/StillDeadcode/radiance-qwen-image-2.1-fp8) | `qwen-image-2.1.yaml` | | Qwen-Image 2.1 Turbo FP8: the same in 8 steps | `qwen-image-2.1-turbo-fp8.rad` (16 GiB) | [download](https://huggingface.co/StillDeadcode/radiance-qwen-image-2.1-turbo-fp8) | `qwen-image-2.1-turbo.yaml` | | Krea 2 Turbo FP8: text to image, one card | `krea-2-turbo-fp8.rad` (16 GiB) | [download](https://huggingface.co/StillDeadcode/krea-2-turbo-radiance-fp8) | `krea-2-turbo.yaml` | diff --git a/deploy/compose/ling-3.0-flash-sante-w4a8-tp2.yaml b/deploy/compose/ling-3.0-flash-sante-w4a8-tp2.yaml new file mode 100644 index 00000000..b2c0b31f --- /dev/null +++ b/deploy/compose/ling-3.0-flash-sante-w4a8-tp2.yaml @@ -0,0 +1,20 @@ +# Ling-3.0-flash-Sante w4a8 on two cards: the same file as ling-3.0-flash-sante-w4a8.yaml. Two cards do +# not hold all 66 GiB, so part of the routed experts stay in pinned host memory (expert_tiered, 16 GiB +# a rank; the host needs about 40 GiB free RAM). With --max-model-len 262144 the cache holds +# 1,048,592 tokens: four full-length sessions. +# +# On 2x R9700 at 215 W, BetterBench with thinking off: 157 tok/s single-stream and 249 tok/s aggregate +# at 4 users. Prefill reads the whole cache for each query row, so it slows with depth: 4,800 tok/s at +# 2k, 1,230 at 24k, 650 at 47k. +name: radiance-ling-3.0-flash-sante-w4a8-tp2 +services: + radiance: + extends: { file: common.yaml, service: radiance } + container_name: radiance-ling-3.0-flash-sante-w4a8-tp2 + command: > + --model /models/ling-3.0-flash-sante-w4a8.rad + --host :: --port ${PORT:-8000} --api-key-env RADIANCE_API_KEY + --tp 2 --placement expert_tiered --host-pool-mib 16384 + --max-num-seqs 4 --max-model-len 262144 --kv-cache-dtype bf16 + --max-num-batched-tokens 2048 --num-speculative-tokens 3 + --temp 1.0 --top-p 0.95