AI Skill Hub 强烈推荐:whichllm AI技能包 是一款优质的AI工具。AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
帮助用户快速发现在自己硬件上运行最佳的开源大语言模型。提供性能基准测试、自动安装、跨平台支持(含苹果芯片优化)。适合想本地部署LLM的开发者和研究人员。
whichllm AI技能包 是一款基于 Python 开发的开源工具,专注于 LLM测评、本地部署、性能基准 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
帮助用户快速发现在自己硬件上运行最佳的开源大语言模型。提供性能基准测试、自动安装、跨平台支持(含苹果芯片优化)。适合想本地部署LLM的开发者和研究人员。
whichllm AI技能包 是一款基于 Python 开发的开源工具,专注于 LLM测评、本地部署、性能基准 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install whichllm
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install whichllm
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Andyyyy64/whichllm
cd whichllm
pip install -e .
# 验证安装
python -c "import whichllm; print('安装成功')"
# 命令行使用
whichllm --help
# 基本用法
whichllm input_file -o output_file
# Python 代码中调用
import whichllm
# 示例
result = whichllm.process("input")
print(result)
# whichllm 配置文件示例(config.yml) app: name: "whichllm" debug: false log_level: "INFO" # 运行时指定配置文件 whichllm --config config.yml # 或通过环境变量配置 export WHICHLLM_API_KEY="your-key" export WHICHLLM_OUTPUT_DIR="./output"
Find the best local LLM that actually runs on your hardware.
Auto-detects your GPU/CPU/RAM and ranks the top models from HuggingFace that fit your system.
whichllm run downloads and starts a chat session instantlywhichllm snippet prints ready-to-run Python for any modelwhichllm --gpu "RTX 4090"whichllm plan "llama 3 70b"whichllm --jsonnvidia-ml-py (included by default)Run the recommendation command once, with no project setup.
uvx whichllm@latest
Simulate a GPU before you buy hardware.
uvx whichllm@latest --gpu "RTX 4090"
Install it when you use it often.
uv tool install whichllm
uv tool upgrade whichllm # update an existing install
Other install paths.
brew install andyyyy64/whichllm/whichllm
pip install whichllm
```bash
```
After install, run whichllm directly. For one-off runs, replace whichllm with uvx whichllm@latest.
```bash
1. Model fetching — Fetches popular models from HuggingFace API: - Text-generation (downloads + recently updated) - GGUF-filtered (separate query for coverage) - Vision models (image-text-to-text) when --profile vision or any 2. Benchmark sources — Current tier (LiveBench, Artificial Analysis Index, Aider) merged live when reachable, plus a curated multimodal / vision index; frozen tier (Open LLM Leaderboard v2, Chatbot Arena ELO). Tiers have separate caps and lineage-aware recency demotion so stale leaderboards stop over-rewarding older generations. 3. Benchmark evidence — Five resolution levels, increasingly discounted: - direct — Exact model ID match - variant — Suffix-stripped or -Instruct variant - base_model — Base model from cardData - line_interp — Size-aware interpolation within model family - self_reported — Uploader-claimed eval (heavily discounted)
Inheritance is rejected when a model's params diverge more than 2× from its family's dominant member, catching draft / MTP / abliterated forks that share a family_id with a much larger base. 4. Cache — ~/.cache/whichllm/: - models.json — 6h TTL - benchmark.json — 24h TTL
whichllm upgrade "RTX 4090" "RTX 5090" "H100"
whichllm upgrade "RTX 4090" "RTX 5090" "H100" whichllm upgrade "Apple M4 Max" --top 5
实用的本地LLM筛选工具,自动化基准测试降低选型成本。代码活跃,生态友好,特别适合苹果用户。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,whichllm AI技能包 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | whichllm |
| 原始描述 | 开源AI工具:Find the local LLM that actually runs and performs best on your hardware. Ranked。⭐839 · Python |
| Topics | LLM测评本地部署性能基准硬件优化命令行工具 |
| GitHub | https://github.com/Andyyyy64/whichllm |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。