跳到正文
TakoAPI
返回技能列表

homelab-cluster

由 mlesnews 提供

DevOps & Cloud
609下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Manage multi-tier AI inference clusters for homelabs.

描述

该技能的功能

Manages multi-tier AI inference clusters for homelab environments. Covers health monitoring across GPU and CPU nodes, MoE-based request routing, automatic recovery for downed nodes, and model deployment via Ollama and llama.cpp. Includes GPU memory planning, Docker volume strategies, and a unified LiteLLM API gateway.

Consolidates health checks, failover routing, and node recovery into one workflow instead of managing each Ollama or llama.cpp instance separately.

何时使用

  • Routing coding tasks to a dedicated coder model on the local GPU node
  • Recovering a remote Docker Desktop crash without manual intervention
  • Planning which quantized models fit within 24GB VRAM across a cluster
  • Restarting GPU containers sequentially to avoid CUDA initialization deadlocks
  • Exposing all cluster models through a single OpenAI-compatible endpoint

示例工作流

输入

User asks: route this code review request to the best available model

智能体
  1. 1

    Classify the prompt as a 'code' task

  2. 2

    Query the health endpoint for the designated coder model node

  3. 3

    If healthy, return the coder model endpoint; if degraded, check fallback tier

  4. 4

    Select next-best available model from health results

  5. 5

    Return the chosen model endpoint and tier metadata to the caller

输出

Request routed to remote/mark-i running Qwen2.5-Coder-7B at full GPU capacity

前置要求

  • SSH access credentials stored in a vault (e.g., Azure Key Vault or HashiCorp Vault) for remote node recovery

安装

clawhub install mlesnews/homelab-cluster

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接