Ember Engine
A standalone, zero-dependency Windows CUDA inference server for Ember-2-Mini (Inkling-2-Mini). OpenAI-compatible API, IQ4_NL DFlash2 speculative decoding, static 128K context on a 16 GB GPU, and 0.3s native vision with zero permanent VRAM overhead.
Source code & Releases: https://github.com/Kryzern/ember-engine
Optional: Ember-2-Mini.gguf runs in llama.cpp as well. Ember is just a faster path on NVIDIA cards.
Speed & 16 GB Fit
Same 14.0 GB GGUF on an RTX 5070 Ti (16 GB Windows), single stream:
Ember (IQ4_NL DFlash2) |
llama.cpp (b12681) |
|
|---|---|---|
| Decode (structured code, Python + tests) | 197 tok/s (2.9ร) | 68 tok/s |
| Decode (creative 3D, Three.js scene) | 113 tok/s | 68 tok/s |
| Cold prefill (3K / 12K / 50K tokens) | 2,100 / 1,980 / 1,480 tok/s | N/A |
| Context on 16 GB Windows | 128K static (0 VRAM spill) | partial offload |
Native Vision (Q8_0 mmproj, 800ร450) |
0.31 s, 0 MiB permanent VRAM | 3.57 s (BF16 CPU) |
Prefill is exact (output does not depend on prefill chunk width). Vision weights (330 MiB) stay in pinned host RAM and borrow the idle prefill scratch arena during encoding, so vision adds 0 MiB permanent VRAM and costs 0 tok/s during generation.
Quick start (Windows)
- Download
ember-serve.exeandember.batfrom this repo. - Download
Ember-2-Mini.gguf,dflash2-Inkling-2-Mini-IQ4_NL.gguf(required), andmmproj-Inkling-2-Mini-Q8_0.gguf(optional, for vision) fromKryzern/Ember-2-Mini-GGUFinto the same folder. - Run
ember.bat. It starts an OpenAI-compatible server onhttp://127.0.0.1:19124/v1at 128K context and enables vision automatically ifmmprojis present. - Point any OpenAI client (Pi, Open WebUI, Continue, curl) at
http://127.0.0.1:19124/v1.
Requirements: NVIDIA driver with CUDA 13 support, 16 GB+ VRAM. No CUDA toolkit or external DLLs required.
| GPU generation | Status |
|---|---|
RTX 50 series (Blackwell, sm_120a) |
Tuned and tested |
RTX 40 series (Ada, sm_89) |
Native cubins built in and verified statically (untested on hardware, please report results) |
RTX 30 series (Ampere, sm_86) |
Native cubins built in and verified statically (untested on hardware; long-context attention is slower due to software FP8) |
CLI flags
ember-serve --model Ember-2-Mini.gguf ^
--draft dflash2-Inkling-2-Mini-IQ4_NL.gguf --draft-k 7 ^
--mmproj mmproj-Inkling-2-Mini-Q8_0.gguf ^
--max-context 131072 --prefill-width 256 ^
serve --port 19124 --bind 127.0.0.1
--prefill-width 512up to 64K context;256at 128K (ember.batpicks this automatically).set EMBER_DRAFT_HOST=1(optional): moves the210 MiBdrafter weights to pinned host RAM if you have lots of Chrome tabs / desktop apps open on a 16 GB card.--thinking-budget N(optional): closes the thinking block afterNtokens and forces an answer.
See KNOWN_ISSUES.md (the drafter file is currently required for long prompts).

