跳到正文

正在自动登录…

← 返回项目列表

MiaAI-Lab/DeepSeek-v4.1-Flash-1017-2x-DGX-Sparks

模型本地部署模型接口服务

在双DGX Spark硬件上部署DeepSeek-V4.1-Flash-1017模型,提供OpenAI兼容API服务,支持长上下文、图像输入和工具调用。适用于需要高性能本地模型推理的开发者或研究团队。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/20 00:32:00 · 查看原文

值得看Shell应用与服务
累计 Stars
232
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/20 00:32:00

使用方式

通过命令行启动,使用OpenAI兼容API访问,支持文本、图像输入和工具调用。

查看 README 依据
leave `HEAD_NFS_SERVER` empty. Set `PREPARE=0` too: `scripts/prepare.sh` assumes a complete cache and would start downloading the 196 GiB checkpoint into a partial one. ## Quick start On the head: ```bash git clone https://github.com/MiaAI-Lab/DeepSeek-v4.1-Flash-1017-2x-DGX-Sparks.git cd DeepSeek-v4.1-Flash-1017-2x-DGX-Sparks cp scripts/local.sh.example scripts/local.sh # set WORKER=user@192.0.2.2 in it (and FABRIC_PEER, see below) DRY_RUN=1 ./start.sh # prints what it would do; changes and starts nothing ./start.sh ```
step and the server's log, runs a smoke test through both ranks, and prints `DeepSeek-V4.1-Flash-1017 is now LIVE! on port 8888` with the endpoint. Any OpenAI client works with `base_url = "http://<head-address>:8888/v1"` and the model `DeepSeek-V4.1-Flash-1017`. The model thinks before it answers unless a request turns thinking off, so give replies enough `max_tokens`. ```bash ./start.sh restart # restart both ranks, e.g. after changing a setting ./stop.sh # stop both ranks and free their GPU memory
部署要求

需要两台DGX Sparks或GB10系统(各128GB统一内存),直接ConnectX-7链路,Docker及NVIDIA容器运行时,以及足够的磁盘空间(头节点约505GB,工作节点约310GB)。

查看 README 依据
- **Two DGX Sparks** (or two GB10 systems with 128 GB unified memory), with nothing else large on them: the weights take ~98 GiB a Spark and rank 0 holds ~104 GiB on the GPU, so a Spark's memory is the limit, not its disk or its link. `start.sh` refuses to start unless `MIN_AVAIL_GIB` (109) is available on each Spark. A head that also runs a desktop and development tools (~6 GiB here) was left with ~3.1 GiB at the worst point of a 100K-token prompt at the full window and ~3.7 GiB at 524,288 tokens: give the head less to do, or lower `CONTEXT`.
- **The same GPU clock ceiling on both Sparks** (`nvidia-smi -lgc 0,2200`; check with `nvidia-smi -q -d CLOCK`). With TP=2 the ranks meet twice a layer, so the slower GPU sets the pace: one Spark found locked at 1,800 MHz cost about 3-6% of prefill and 3% of decode against 2,200 MHz on both (rigmark, same prompts; the GPUs peaked at 85 / 81 C and nothing throttled). - **A direct ConnectX-7 link:** a QSFP cable between the CX7 ports and an IPv4 address on each end in one private subnet
`ssh-copy-id user@<worker>`; check with `ssh -o BatchMode=yes user@<worker> true`. - Docker with the NVIDIA container runtime and your user in the `docker` group, on both Sparks; `git`, `python3` and the `hf` CLI (`pip install -U huggingface_hub`) on the head. - **Disk.** Head: ~505 GB (the checkpoint 196 GiB, Engram's tables ~203 GB, rank 0's weight file ~106 GB) plus ~25 GB for the image under Docker's root. Worker: ~310 GB (Engram's tables and rank 1's weight file) plus the image; the worker reads the checkpoint from the head over NFS.
已知限制

引擎已知限制:带图像的历史对话每次处理都冷启动,长提示词预填充期间其他流无法解码。

查看 README 依据
Known limits of the engine, from user reports (issues [#2](https://github.com/MiaAI-Lab/DeepSeek-v4.1-Flash-1017-2x-DGX-Sparks/issues/2) and [#3](https://github.com/MiaAI-Lab/DeepSeek-v4.1-Flash-1017-2x-DGX-Sparks/issues/3), read in `lanes.zig` and `lane_host.zig` of the pinned engine): a prompt that carries images runs whole and keeps nothing ("a kept state knows no images"), so every turn of a conversation with images in its history is cold (~90 s at 160K tokens in the report); and a prompt pass runs to completion inside its admission, so other streams

README

正在加载 README…

收录信息

仓库创建时间
2026/10/19 02:10:59
首次达标收录
2026/10/20 00:26:29
统计更新时间
2026/10/22 19:00:59

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.8 / 5

新颖度
3.7
实用价值
3.5
成熟度
4.3
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/10/20 00:26:29 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/21 21:54:27
许可证标识
Apache-2.0
Fork 数
40
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目