tobi/dgx-station-autoresearch
Rust/CUDA inference for low-latency, long-context DeepSeek on one fixed GB300 host
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
The Rust 2024 Cargo workspace separates checkpoint loading (ds-weights), CPU Engram lookup (ds-engram), native SM103a CUDA kernels (ds-cuda), and inference orchestration (ds-engine) from the frontend, server, CLI, and benchmark crates. ds-arena::BumpArena and ds-cuda::PinnedArena reset per-step staging and metadata in constant time. The Rust frontend emits prompt tokens directly and parses streamed DSML tool calls incrementally; the HTTP server uses Monoio's thread-per-core io_uring model.
The memory design treats GB300 HBM3e and ATS-coherent Grace memory as two tiers connected over NVLink-C2C. Hot experts and frequently accessed KV prefixes stay in HBM, while colder experts and overflow KV use Grace memory. An expert pointer table allows placement to change between steps, and a free-list allocator plus reference-counted snapshots supports prefix reuse. Extensibility is at the provider-code level: there is no hardware abstraction layer or runtime selection among alternate GPU configurations.
Key Capabilities & Differentiators
The implemented provider targets deepseek-ai/DeepSeek-V4.1-Flash-1017. It serves the 475.24 GiB checkpoint across the two memory tiers, preserving native MXFP4/FP8 weights and BF16/FP32 KV. The engine supports a virtual 1,048,576-token KV window per stream, but usable output length is bounded by the space left after the input. The server exposes /v1/responses and /v1/chat/completions with SSE or JSON, plus /v1/models, /health, and vLLM-compatible /metrics. It also cancels work on client disconnect and supports reloads.
On the recorded multi-turn Pi coding benchmark, ds serve reached 383.9–434.1 tok/s on accurate decode versus 253.6 tok/s for native vLLM, with end-to-end times of 77.9 s versus 89.0 s; both runs passed. A separate 200-question MMLU-Pro run at concurrency four scored 168/200 versus 169/200, at 131.9 versus 81.2 tok/s per stream. Those figures characterize the tested model, settings, hardware, and workloads, not arbitrary traffic.
Trade-offs & Limitations
This is a targeted alternative to vLLM, not a general replacement. On the measured setup, ds serve booted in 5 s versus about 250 s for vLLM. Disk-ordered safetensors packing, NVMe lookahead, lazy expert packing, and persistent tuning caches reduce startup work; CUDA graph capture can be deferred to idle periods and interrupted by incoming requests. The speedup is not uniform: vLLM reached 23,757 tok/s on cold 15k-token prefill, compared with 21,468–22,834 tok/s for ds serve with a warm filesystem.
The specialization makes sense when the documented host and checkpoint are fixed. Changing the GPU, memory topology, or model means provider engineering rather than editing a config file. Compared with the hosted OpenAI API, self-hosting keeps inference on infrastructure you control but shifts capacity planning, service operations, and data protection to your team. The Cargo workspace declares Apache-2.0, while the repository license is listed as unspecified; confirm source and checkpoint terms separately before commercial deployment or redistribution.
Hardware & Deployment Guide
Build from the repository root with the pinned Rust 1.100.0 toolchain and CUDA 13.2 at /usr/local/cuda, targeting sm_103a. just build creates release binaries; just install replaces the installed ds CLI. Manually obtain or reuse the Hugging Face snapshot and link it at ./models/deepseek-4.1-flash-1017. The checkpoint entry must be a symlink, and ds resolves it from the repository root; there is no automatic download or model-path override. Even ds serve --engine mock requires the local tokenizer.
After checking free HBM and coordinating with operators of any live inference services, start ds serve --engine gb300 on the default port 8002. The process enforces the fixed GB300 UUID and ATS modality before CUDA initialization and does not use the display GPU for inference. By default, query, chat, exec, and pi reuse a healthy local server or load the model in-process if none is found. For integration tests, query --url fails if the specified endpoint is unavailable instead of starting a local load. No GitHub release is listed, so identify reproducible deployments by the source revision you test.
Teams on the exact supported GB300 host serving DeepSeek-V4.1-Flash-1017 for interactive or concurrent coding agents with long, shared prefixes.
You need portable GPU support, multiple production model providers, or a managed service without local capacity and operations work.
Quick Start & Installation
curl -fsSL https://YOUR-SERVER/pi.sh | bash # Later, from any project: pi-local
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| dgx-station-autoresearch ★ | 175 | +11 | Rust | — | Rust/CUDA inference for low-latency, long-context DeepSeek on one fixed GB300 ho |
| 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/tobi/dgx-station-autoresearch.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about dgx-station-autoresearch
How do I connect an existing OpenAI-style client?
/v1/responses or /v1/chat/completions endpoint. Both support SSE streaming and non-streaming JSON. Use /v1/models to check the exposed model IDs, then test your actual tool-call, streaming, and usage-reporting paths. Compatibility with these routes does not establish parity with the full OpenAI API.Will another Blackwell GPU work if it has enough VRAM?
What should I verify before commercial self-hosting or redistribution?
When should I choose this over vLLM or the OpenAI API?
ds serve decoded at 383.9–434.1 tok/s versus 253.6 tok/s for native vLLM, while vLLM led cold prefill. Choose ds if that exact host and checkpoint are your deployment target and your workload benefits from lower decode latency. Evaluate vLLM if model or hardware choice matters, or the hosted OpenAI API if you want to avoid model-serving operations and can send data to an external provider.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