Alexintosh/Frankengine
C++/CUDA inference engine for serving Inkling-2-Mini on NVIDIA Blackwell
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Frankengine is a native C++/CUDA runtime specialized for Inkling-2-Mini, a 30B-A3.6B Looped MoE. ingine-serve exposes an OpenAI-compatible HTTP API with SSE streaming. The engine handles prompt prefill in chunks and can use the separate DFlash2 drafter to propose tokens for target-model verification. BatchDFlash2 combines batched speculation with AngelSpec D-cut and single-pass exact rejection sampling without a logits buffer. Exact rejection sampling is a decoding property, not a guarantee that an FP8 preset is bit-exact.
The native build in engine/native targets specific Blackwell architectures. B200/B300 have a tcgen05 UMMA path for operations including FP8 GEMM and batched MoE. Single-GPU builds can omit the communication layer; distributed builds add the vendored tp_comm transport. Dual DGX Spark uses TP=2 over RoCEv2, while the B200/B300 path supports tensor-parallel configurations up to TP=8 over NVLS/P2P.
Key Capabilities & Differentiators
Frankengine offers FP8 presets and a bit-exact PICO12 + CERT_HEAD path. Context capacity, vision, and batching depend on the launcher profile: selected DGX Spark and B200/B300 configurations reach 1,048,576 tokens for a solo request, while RTX 5090 presets default to vision off. On one RTX PRO 6000, the ALL 73 single-stream benchmark records 410.4 tok/s in FP8 and 385.1 tok/s in exact mode; both pass the 30/30 quality guard.
The RTX PRO 6000 batch benchmark reports 3,602 tok/s aggregate at 64 streams and 5,812 tok/s at 128 streams, both at 1,024-token context. These are short-context batch figures, not single-user rates or throughput at maximum context. For interactive or long-context serving, evaluate prefill and per-stream decode separately rather than sizing from the batch roofline.
Trade-offs & Limitations
Choose Frankengine for a fixed model and supported hardware, not as a general-purpose inference backend. Its specialization lets you tune precision, KV cache layout, and tensor parallelism around Inkling-2-Mini. Compared with the hosted OpenAI API, it keeps inference on infrastructure you operate but makes GPU provisioning, networking, and capacity planning your responsibility. OpenAI-compatible transport reduces client changes; it does not establish feature parity.
On RTX PRO 6000, the fast preset uses 54.6 GiB versus 76.2 GiB for exact mode. The FP8 preset passes the benchmark quality guard, but that is not evidence of numerical equivalence for other prompts. Choose the precision and context preset against your own quality requirements, then test VRAM headroom and per-stream performance under the expected concurrency.
Hardware & Deployment Guide
Build on Linux (x86_64 or aarch64) with a supported Blackwell GPU, NVIDIA driver 580+, CUDA Toolkit 13.0+, CMake 3.28+, and GCC 12+. The download workflow uses Python 3.10+ and the Hugging Face hf CLI for the base model and pinned DFlash2 drafter, totaling 21.2 GB. Build ingine-serve for service and ingine-bench, ingine-batch-bench, and ingine-validate for local qualification.
The hardware launchers bind to http://127.0.0.1:8834/v1 by default. Use DRY_RUN=1 to inspect resolved options and scripts/test_launchers.sh to check profiles offline. For dual Spark, configure the worker, rendezvous IP, and model paths for both nodes in scripts/local.sh. There are no published releases; for reproducible deployments, pin the engine commit alongside the model revisions and rerun qualification before upgrading.
tp_comm for two-node DGX Spark over RoCEv2 and B200/B300 tensor parallelism over NVLS/P2P.DRY_RUN=1 to inspect resolved commands, and ingine-validate for validation.Teams with supported Blackwell hardware that have chosen Inkling-2-Mini and need local long-context or batched serving through an OpenAI-compatible endpoint.
You need multiple model families, non-Blackwell deployment, full OpenAI API feature parity, or a managed service without GPU operations.
Quick Start & Installation
git clone https://github.com/Alexintosh/Frankengine.git && cd Frankengine hf download thinkingmachines/Inkling-2-Mini --local-dir models/Inkling-2-Mini hf download incoai/Inkling-2-Mini-DFlash2 \ --revision 4f9088ea66c21f2b99ed657d1941c306b03e84d2 \ --local-dir models/Inkling-2-Mini-DFlash2
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Frankengine ★ | 19 | +18 | C++ | Apache-2.0 | C++/CUDA inference engine for serving Inkling-2-Mini on NVIDIA Blackwell |
| OmniRoute | 92.2k | +1.4k | TypeScript | MIT | Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback |
| freellmapi | 62.1k | +2.7k | TypeScript | MIT | Self-hosted LLM gateway for routing across free tiers and custom endpoints |
| bifrost | 10.2k | +125 | Go | Apache-2.0 | Self-hosted Go gateway for routing and governing multi-provider LLM traffic |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Alexintosh/Frankengine.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Frankengine
How do I connect an existing client, and what changes with two DGX Spark nodes?
http://127.0.0.1:8834/v1 and validate your request fields and SSE handling before cutover. On a two-node DGX Spark setup, serve_tp2.sh syncs the binary to the worker and forwards runtime settings to both ranks; tp_comm carries the RoCEv2 traffic.Can I run it on a 32 GB RTX 5090 without giving up batching?
mixed offers 128K solo context plus 16×4K batch slots; batch64 budgets 28.0 GiB for 64×1K slots using Q4 KV and FP8 rings. The exact preset is single-stream at 128K with BF16 KV. All four RTX 5090 profiles default to vision off. You still need Linux, driver 580 or newer, and CUDA Toolkit 13.0 or newer.Can I use Frankengine commercially or redistribute a packaged deployment?
NOTICE for vendored dependencies. Self-hosting keeps inference on infrastructure you operate; it does not itself establish compliance with your data-handling or access-control requirements.When should I choose Frankengine over the hosted OpenAI API?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy