diff --git a/README.md b/README.md index c3506982..210bb7d0 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ To support the development of radiance: [Patreon](https://patreon.com/StillDeadC | 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 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` | +| NVIDIA-Nemotron-3.5-Bolt-74B-A9B w4a8: 4-bit experts, FP8 trunk, NVIDIA's LiLiCorr drafter, vision, two cards | `nemotron-3.5-bolt-74b-w4a8.rad` (43 GiB) | [download](https://huggingface.co/keptn/nemotron-3.5-bolt-74b-w4a8) | `nemotron-3.5-bolt-74b-w4a8.yaml` | +| NVIDIA-Nemotron-3.5-Bolt-74B-A9B FP8, NVIDIA's LiLiCorr drafter, vision, four cards | `nemotron-3.5-bolt-74b-fp8.rad` (73 GiB) | [download](https://huggingface.co/keptn/nemotron-3.5-bolt-74b-fp8) | `nemotron-3.5-bolt-74b-fp8.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/nemotron-3.5-bolt-74b-fp8.yaml b/deploy/compose/nemotron-3.5-bolt-74b-fp8.yaml new file mode 100644 index 00000000..a4ae04f3 --- /dev/null +++ b/deploy/compose/nemotron-3.5-bolt-74b-fp8.yaml @@ -0,0 +1,22 @@ +# NVIDIA-Nemotron-3.5-Bolt-74B-A9B on four cards: every linear and routed expert block FP8, NVIDIA's +# LiLiCorr drafter and the C-RADIO vision tower. Converted with data/recipes/nemotron74-fp8.recipe +# and the drafter, or downloaded from https://huggingface.co/keptn/nemotron-3.5-bolt-74b-fp8. +# Thinking is switched per request (chat_template_kwargs). +# +# --tp 4: each rank replicates one of the two KV heads, the trunk's and the drafter's. LiLiCorr +# proposes 7 tokens in one block pass, its trained block of 8 less the anchor. The KV cache stays +# bf16. 8 sequences of up to 65536 tokens; --max-model-len 262144 --max-num-seqs 2 serves the whole +# context. +# +# On 4x R9700 at 215 W, BetterBench 0.6.1 with thinking off: 248 tok/s single-stream, 407 tok/s +# aggregate at 4 users, and 6074 tok/s prefill at 24k tokens. +name: radiance-nemotron-3.5-bolt-74b-fp8 +services: + radiance: + extends: { file: common.yaml, service: radiance } + container_name: radiance-nemotron-3.5-bolt-74b-fp8 + command: > + --model /models/nemotron-3.5-bolt-74b-fp8.rad + --host :: --port ${PORT:-8000} --api-key-env RADIANCE_API_KEY + --tp 4 --max-num-seqs 8 --max-model-len 65536 --max-num-batched-tokens 8192 + --num-speculative-tokens 7 diff --git a/deploy/compose/nemotron-3.5-bolt-74b-w4a8.yaml b/deploy/compose/nemotron-3.5-bolt-74b-w4a8.yaml new file mode 100644 index 00000000..a0b32144 --- /dev/null +++ b/deploy/compose/nemotron-3.5-bolt-74b-w4a8.yaml @@ -0,0 +1,23 @@ +# NVIDIA-Nemotron-3.5-Bolt-74B-A9B on two cards: the routed experts as 4-bit codebook codes at E4M3 +# scales per 64 weights (w4nl64a8h, round to nearest), every other linear block FP8, NVIDIA's +# LiLiCorr drafter and the C-RADIO vision tower. Converted with +# data/recipes/nemotron74-w4nl64-gptq.recipe (CALIB an empty directory) and the drafter, or +# downloaded from https://huggingface.co/keptn/nemotron-3.5-bolt-74b-w4a8. Thinking is switched per +# request (chat_template_kwargs). +# +# LiLiCorr proposes 7 tokens in one block pass, its trained block of 8 less the anchor. The KV cache +# stays bf16. 8 sequences of up to 65536 tokens; --max-model-len 262144 --max-num-seqs 2 serves the +# whole context. +# +# On 2x R9700 at 215 W, BetterBench 0.6.1 with thinking off: 207 tok/s single-stream, 351 tok/s +# aggregate at 4 users, and 5272 tok/s prefill at 24k tokens. +name: radiance-nemotron-3.5-bolt-74b-w4a8 +services: + radiance: + extends: { file: common.yaml, service: radiance } + container_name: radiance-nemotron-3.5-bolt-74b-w4a8 + command: > + --model /models/nemotron-3.5-bolt-74b-w4a8.rad + --host :: --port ${PORT:-8000} --api-key-env RADIANCE_API_KEY + --tp 2 --max-num-seqs 8 --max-model-len 65536 --max-num-batched-tokens 8192 + --num-speculative-tokens 7 diff --git a/docs/DOCKER.md b/docs/DOCKER.md index e5e99fd1..5191af01 100644 --- a/docs/DOCKER.md +++ b/docs/DOCKER.md @@ -154,6 +154,8 @@ the cards the engine runs on. | `nemotron-3.5-bolt-e4b-bf16.yaml` | `nemotron-3.5-bolt-e4b-bf16.rad` | NVIDIA-Nemotron-3.5-Bolt-E4B (Gemma 4 E4B) in bf16 with NVIDIA's DFlash drafter, the vision tower in pinned host memory, on one card | | `nemotron-3.5-bolt-e4b-i8g.yaml` | `nemotron-3.5-bolt-e4b-i8g.rad` | The same with the trunk at int8 (i8a8) | | `nemotron-3.5-bolt-e4b-a4.yaml` | `nemotron-3.5-bolt-e4b-a4.rad` | The same with the feed-forward at four bits (GPTQ), attention and layers 19-23 at i8a8 | +| `nemotron-3.5-bolt-74b-w4a8.yaml` | `nemotron-3.5-bolt-74b-w4a8.rad` | NVIDIA-Nemotron-3.5-Bolt-74B-A9B with four-bit experts and a block-FP8 trunk, NVIDIA's LiLiCorr drafter, vision, on two cards | +| `nemotron-3.5-bolt-74b-fp8.yaml` | `nemotron-3.5-bolt-74b-fp8.rad` | NVIDIA-Nemotron-3.5-Bolt-74B-A9B in block FP8 with NVIDIA's LiLiCorr drafter, vision, on four cards | | `translategemma-27b.yaml` | `translategemma-27b-mxfp4-gptq.rad` | TranslateGemma 27B MXFP4 with its chat template (`gemma3.jinja`) | | `glm53-flash.yaml` | `glm53-flash-mxfp4.rad` | GLM-5.3-Flash, MXFP4 experts and block-FP8 attention, on eight cards | | `minicpm5-2b.yaml` | `minicpm5-2b-fp8.rad` | MiniCPM5-2B FP8 with its DSpark drafter |