AGENT SKILL

openllm

Guides OpenLLM installation, model catalog management, local OpenAI-compatible serving, BentoCloud deployment, and operational troubleshooting for self-hosted LLM workflows.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
openllm
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Guides OpenLLM installation, model catalog management, local OpenAI-compatible serving, BentoCloud deployment, and operational troubleshooting for self-hosted LLM workflows.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

OpenLLM Repo Skill

Use this skill when a task asks about OpenLLM or about running open-source LLMs through an OpenAI-compatible local server, terminal chat, custom model repositories, or BentoCloud deployment with the openllm CLI.

OpenLLM is a Typer-based Python CLI. Its public entry point is openllm, and the package distribution is openllm.

Fast install and import check

For ordinary use, install the package from PyPI:

python -m pip install openllm
openllm --help
openllm --version

For a source checkout, use an editable install in an isolated environment:

python -m pip install -e .
python -c "import openllm; print(openllm.__name__)"
openllm --help

Read references/repo-provenance.md before deciding whether this generated skill matches a different checkout or needs refresh.

Route by task

Task or signal Read next
Start an LLM server, use /chat, call the OpenAI-compatible /v1 API, use openllm serve, openllm run, or openllm hello sub-skills/local-serving/SKILL.md
List models, inspect a model, update/add/remove model repositories, parse custom repo URLs, or debug missing model catalog entries sub-skills/model-repositories/SKILL.md
Deploy a model to BentoCloud with openllm deploy, choose an instance type, pass --env, or debug BentoCloud login/context/config sub-skills/cloud-deployment/SKILL.md
Diagnose install/import, GPU/resource detection, per-model dependency venvs, cache locations, cleanup commands, or analytics opt-out sub-skills/environment-maintenance/SKILL.md
Need a one-page root command map references/cli-overview.md
Cross-cutting install, network, credentials, hardware, or cache failures references/troubleshooting.md

Core CLI families

openllm hello                 # interactive starter that updates model repos and suggests run/serve/deploy
openllm serve MODEL[:VERSION] # local OpenAI-compatible server and browser chat UI
openllm run MODEL[:VERSION]   # local server plus terminal chat loop
openllm deploy MODEL[:VERSION]# deploy to BentoCloud
openllm model list|get        # inspect available Bentos/models
openllm repo list|add|remove|update|default
openllm clean ...             # remove model, repo, venv, or config caches; some commands are destructive

OpenLLM model serving is model-specific: full serving may require a model repository cache, model downloads, per-Bento dependencies, Hugging Face credentials for gated models, and enough GPU/CPU resources. Use this skill's dry-run helpers and troubleshooting references before starting long-running downloads or deployments.

Safe bundled helpers

  • Run scripts/check_openllm_install.py to check Python importability, distribution version, CLI availability, and optional NVIDIA GPU visibility without starting a model.
  • Use sub-skill scripts for workflow-specific dry runs, command planning, local catalog inspection, and resource estimation.

Boundaries

This is an operating skill for using OpenLLM as a package and CLI. It is not a guide to editing OpenLLM's release automation, pushing tags, or mutating the original repository. Do not run cleanup, deployment, repository cloning, or model download commands unless the user explicitly asks for that side effect and understands the credentials/network/storage implications.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351