能力标签
🛠
AI工具

骆驼

基于 Rust · 开源免费,本地部署,数据完全自主可控
英文名:Camelid
⭐ 94 Stars 🍴 12 Forks 💻 Rust 📄 MIT 🏷 AI 8.0分
8.0AI 综合评分
inferencellmrust
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:骆驼 是一款优质的AI工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

骆驼 是一款基于 Rust 的开源工具,在 GitHub 上收获 0k+ Star,是inference、llm、rust领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
骆驼 依赖 Rust 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Rust 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 骆驼 的版本更新,及时通知重要功能变化。

📋 工具概览

骆驼 是一款基于 Rust 开发的开源工具,专注于 inference、llm、rust 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 94
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.0 分
工具类型
AI工具
Forks
12

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

骆驼 是一款基于 Rust 开发的开源工具,专注于 inference、llm、rust 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install camelid

# 方式二:从源码编译
git clone https://github.com/timtoole02/Camelid
cd Camelid
cargo build --release
# 二进制在 ./target/release/camelid
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
camelid --help

# 基本运行
camelid [options] <input>

# 详细使用说明请查阅文档
# https://github.com/timtoole02/Camelid
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# camelid 配置说明
# 查看配置选项
camelid --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export CAMELID_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 40/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

Install

Two ways to run Camelid — both use the same engine and the same models. Pick what fits:

🪟 Camelid Desktop⚙️ Camelid engine
**What it is**A native Windows appThe prebuilt camelid binary
**Best for**Just chatting on your own PC — the easy buttonSharing on a network, the API, scripting
**How you chat**A native window (no browser, no terminal)In your **browser**, or a **server** others connect to
**Install**Double-click the signed installerUnzip and run camelid.exe
**Runs on**WindowsWindows · macOS · Linux

The desktop app simply wraps the same engine in a native window — same models, same support gate, same GPU acceleration. If you just want to chat, get the desktop app. If you want to share it or use the API, get the engine.

Build from source on Windows (x86_64, MSVC)

Windows x86_64-pc-windows-msvc is a tracked platform (see COMPATIBILITY.md → Platform support). Most users should grab the prebuilt signed Windows download in Install above (GPU acceleration included); build from source only if you want to modify Camelid. Prerequisites: the MSVC toolchain (Visual Studio Build Tools with the C++ workload — not MinGW), Rust via rustup with the x86_64-pc-windows-msvc host, and Node.js for the embedded web UI. Then, in PowerShell:

cd frontend; npm ci; npm run build; cd ..   # bundles the web UI
cargo build --release                       # embeds it into the binary
.\target\release\camelid.exe pull tinyllama # the baseline supported row
.\target\release\camelid.exe serve --model models\tinyllama-1.1b-chat-v1.0.Q8_0.gguf

The server behaves exactly as on the other platforms (listens on 127.0.0.1:8181, same OpenAI-style API + web UI). The TinyLlama 1.1B Chat Q8_0 baseline gate is verified on Windows with the same parity evidence as macOS/Ubuntu.

GPU (NVIDIA/CUDA) on Windows. cargo build --release --features cuda adds a CUDA backend with a GPU-resident decode engine (weights uploaded once, single-shot GPU prefill, on-device greedy/temperature sampling) implemented from scratch in NVRTC kernels — no vendored llama.cpp. It auto-engages when a CUDA device is present. The dense Qwen3 Q8_0 rows (0.6B / 1.7B / 4B / 8B Instruct, thinking-disabled ChatML) are validated on it: GPU decode + single-shot prefill are token-AND-text-identical to the camelid cpu_reference (transitively llama.cpp 9632) at 1/5/50 generated tokens, greedy. Gemma 4 E4B-It Q8_0 also runs on this CUDA lane (enabled with CAMELID_GEMMA4_CUDA), greedy-parity with the CPU Gemma4Runtime oracle via the in-tree gate (gemma4_cuda_matches_cpu_greedy); it has no committed evidence bundle yet, so it stays experimental beyond the recorded GPU. /api/capabilities reports the live path (selected_backend=cuda_resident_q8_runtime, cuda_resident_active=true). Validated on an RTX 3060 Laptop (6 GB), driver 576.83, CUDA 12.9; 0.6B/1.7B/4B are fully VRAM-resident and 8B runs via automatic VRAM+host-RAM layer offload. Results are GPU/driver/CUDA-version specific (f32 reduction order is GPU-specific), so the lane stays experimental beyond the recorded GPU; the CPU path remains the default and correctness reference. See COMPATIBILITY.mdWindows CUDA and the qa/evidence-bundles/qwen3-*-windows-cuda-resident-parity-* bundles. Building the feature needs the CUDA Toolkit (12.x; libraries loaded at runtime); running it needs an NVIDIA GPU + driver.

Get a model. Camelid validates specific Q8_0 rows (most GGUFs on the web are other quantizations and fail closed), so pull fetches a known-good one into ./models:

./target/release/camelid pull              # list the supported models
./target/release/camelid pull llama32_3b   # download Llama 3.2 3B Instruct Q8_0

Serve it (pull prints the exact command to run; the model is in ./models):

./target/release/camelid serve \
  --model models/Llama-3.2-3B-Instruct-Q8_0.gguf \
  --threads 4

The server listens on 127.0.0.1:8181 and opens the chat UI in your browser automatically (pass --no-open to disable). The same address serves the OpenAI-style API. List the loaded model (its id comes from the GGUF metadata):

curl -s http://127.0.0.1:8181/v1/models

Chat (replace the model id with the one returned above; add "stream": true for SSE):

curl -s http://127.0.0.1:8181/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Llama 3.2 3B Instruct",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}],
    "max_tokens": 64,
    "temperature": 0
  }'

The web frontend is served by the binary itself at the same address — no extra step. For hot-reloading frontend development, run the Vite dev server separately (it proxies to a running camelid serve):

cd frontend && npm ci && npm run dev

---

Quickstart

Already have a binary from Install? Skip to "Get a model" below. To build from source instead — the web UI is compiled into the binary, so build the frontend first and it gets embedded (one binary, no separate Node process at runtime):

(cd frontend && npm ci && npm run build)   # bundles the web UI
cargo build --release                       # embeds it into the binary

Supported models

Support is per exact model row (a specific GGUF at a specific quantization), each backed by committed evidence. Anything not listed fails closed.

Model rowQuantServe laneEvidence
TinyLlama 1.1B ChatQ8_0single-nodeCurrent verified gate
Llama 3.2 1B InstructQ8_0single-nodeExact-row + bounded context 512→8192
Llama 3.2 3B InstructQ8_0single-nodeExact-row smoke + API/WebUI + bounded context
Llama 3 8B InstructQ8_0single-nodeExact-row + bounded context 512→2048
Mistral 7B Instruct v0.3Q8_0single-nodeExact-row smoke + bounded context 512→8192 + GPU/CPU parity
**Qwen3 1.7B**Q8_0single-node (CPU + CUDA)Exact-row ChatML (thinking-disabled) — token+text parity at 1/5/50 tokens + API smoke; macOS GPU-resident decode+prefill validated to a 15,373-token context (vs llama.cpp); **Windows CUDA GPU-resident decode+prefill** parity (== cpu_reference/llama.cpp at 1/5/50, RTX 3060 Laptop); thinking mode opt-in (leading-trace parity)
**Qwen3 0.6B**Q8_0single-node (CPU + CUDA)Exact-row ChatML (thinking-disabled) — token+text parity at 1/5/50 tokens (explicit head_dim path); **Windows CUDA GPU-resident** parity (== cpu_reference/llama.cpp); thinking mode opt-in (leading-trace parity, 6–126-token envelope)
**Qwen3 4B**Q8_0single-node (CPU + CUDA)Exact-row ChatML (thinking-disabled) — token+text parity at 1/5/50 on confident prompts (explicit head_dim); one probe is a documented first-token near-tie; **Windows CUDA GPU-resident** parity (== cpu_reference/llama.cpp); thinking mode opt-in (leading-trace parity, 35–235-token envelope)
**Qwen3 8B**Q8_0single-node (CPU + CUDA)Exact-row ChatML (thinking-disabled) — token+text parity at 1/5/50 tokens (untied embeddings); on the macOS GPU-resident decode+prefill path; **Windows CUDA** via VRAM+host-RAM offload (16/36 layers resident on a 6 GB card, parity == cpu_reference/llama.cpp at 1/5/50); thinking mode opt-in (template-shape byte parity + host-bounded leading-trace)
**Gemma 4 E2B-It**Q8_0single-node (CPU + Metal)5/5 greedy parity (CPU + Metal) vs pinned llama.cpp 5d56eff
**Gemma 4 E4B-It**Q8_0single-node (CPU + Metal); CUDA experimental5/5 greedy parity (CPU + Metal) vs the pinned reference. **Windows NVIDIA CUDA** decode is **experimental** — first-token argmax matches the CPU oracle (in-tree gate, RTX 3060 Laptop); not token-for-token gated, no committed evidence bundle yet
**Gemma 4 12B-It**Q8_0two-Mac distributed**Active validation** (two-Mac distributed ONLY, not promoted): distributed output == single-node + 3/5 full-budget vs the pinned reference + serve/WebUI smoke
**Gemma 4 26B-A4B-It QAT**Q4_0 (128-expert MoE)two-Mac distributed**Active validation** (two-Mac distributed ONLY, not promoted): 2/5 full-budget + 3/5 frontiers vs the pinned reference + serve/WebUI smoke
**DiffusionGemma 26B-A4B-It**Q4_K_Msingle-node (CPU; experimental CUDA)**Experimental** — bit-exact through the full chat path (Phases 0–6) vs the pinned reference (Apple Silicon); now also builds and runs on **Windows x86_64 (MSVC)**, pure-Rust (no C/C++). Run via camelid diffusion-gemma-chat (--max-steps N bounds the denoise). CPU multi-step is slow; experimental GPU offload (--features cuda) is in progress
Fails closed (by design): Mixtral-8x7B v0.1 (validation-in-progress, one-token runtime only); other Qwen3 sizes (14B/32B), base variants, Qwen3-MoE (A3B), and full-trace Qwen3 thinking-mode token-parity (thinking is available opt-in with leading-trace parity); Gemma 4 26B-A4B Q8_0 (26.9 GB) and 31B (over the 2×16 GB envelope); Gemma 4 MTP/drafter rows; DiffusionGemma 26B-A4B on the autoregressive engine (a discrete block-diffusion model cannot run an AR forward — the AR engine fails closed and redirects to the dedicated diffusion-gemma-chat lane, which is supported; see below); multimodal input; and all other quantizations in v0.1.
🎯 aiskill88 AI 点评 A 级 2026-06-25

高性能本地AI推理工具

⚡ 核心功能

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

Camelid是一个Rust-native的本地推理后端
💡 AI Skill Hub 点评

总体来看,骆驼 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 骆驼
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 Camelid
Topics inferencellmrust
GitHub https://github.com/timtoole02/Camelid
License MIT
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/timtoole02/Camelid

收录时间:2026-06-25 · 更新时间:2026-06-25 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →