# maya-inkling-mini 在单张 RTX 3090 上运行 Inkling 2 Mini 推理引擎

- 原标题：maya-inkling-mini
- 类型：项目 · 创意
- 来源：GitHub
- 发布时间：2026-11-21
- 首次精选：2026-11-25 05:53
- 分级：值得看
- 是否付费：免费（公开仓库）
- 预估学习时长：未知
- 学习层级：深入
- 主题：[moe-model-architecture](<https://oplearnx.com/md/topics/moe-model-architecture.md>)（第 9 位）、[local-model-deployment](<https://oplearnx.com/md/topics/local-model-deployment.md>)（第 12 位）、[decoding-acceleration](<https://oplearnx.com/md/topics/decoding-acceleration.md>)（第 13 位）
- 原文链接：[https://github.com/alesha-pro/maya-inkling-mini](<https://github.com/alesha-pro/maya-inkling-mini>)
- 本站页面：[https://oplearnx.com/resources/pk\_50e4799acd29](<https://oplearnx.com/resources/pk_50e4799acd29>)

## 摘要

该项目是 Project Maya 的推理引擎 maya-ik2，把 Thinking Machines 的 26B 循环 MoE 模型 Inkling 2 Mini 全部专家放进 24 GB 显存运行。单卡普通解码约 126 至 128 tok/s，配合官方 DSpark 草稿模型在编辑任务上可到 212 tok/s，预填速度 2742 tok/s，支持最长 344K 上下文、图像和工具调用，也能在 8 GB 显卡上以约 41 tok/s 运行，支持 Linux、Windows、NVIDIA CUDA 与 AMD HIP。

## 热度

- 档位：有热度
- 7 天新增 star：+112
- 30 天新增 star：暂无数据
- Hacker News：没有
- 社区讨论：0 帖

## 项目信息

- 语言：Cuda
- 许可：MIT
- 最近提交：2026-11-24
- Star：193
- Fork：36

## 上手方式

```bash
git clone https://github.com/alesha-pro/maya-inkling-mini && cd maya-inkling-mini
pip install numpy jinja2 regex pyyaml tqdm requests pillow psutil "jsonschema>=4.18,<5" huggingface_hub

# the engine (NVIDIA CUDA; set CMAKE_CUDA_ARCHITECTURES to your GPU, e.g. 86, 89, 120)
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON \
  -DCMAKE_CUDA_ARCHITECTURES=86 -DSTRATA_BUILD_TESTS=OFF
cmake --build build -j 24 --target maya-ik2

# the image encoder (skip it for text only)
git clone --depth 1 -b b12590 https://github.com/ggml-org/llama.cpp third_party/llama.cpp-b12590
cmake -S tools/vision -B build-vision -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLAMA_DIR=third_party/llama.cpp-b12590
cmake --build build-vision -j 24 --target maya-vision

# the weights (17.6 GB), the drafter (0.6 GB) and the tokenizer files
hf download unsloth/Inkling-2-Mini-GGUF Inkling-2-Mini-UD-Q4_K_XL.gguf mmproj-BF16.gguf --local-dir models
hf download thinkingmachines/Inkling-2-Mini mtp.safetensors --local-dir models
python tools/strata_tokenizer.py --gguf models/Inkling-2-Mini-UD-Q4_K_XL.gguf --out ik2 \
  --chat-template tools/ik2/chat_template.jinja --check

python serve/server.py --engine maya --config docs/inkling2-mini/ik2-mini.json --host 127.0.0.1 --port 18000
```

摘自 [README](<https://github.com/alesha-pro/maya-inkling-mini/blob/main/README.md>)

## 推荐信源

- [Latent Space / AINews](<https://latent.space/p/ainews-jensen-is-back-and-openai-shows-its-pretraining-curve-joined-by-microsoft/>)（2026-11-24）

---
来源：LearnMap · 学径（https://oplearnx.com）
