Token导航 LogoToken导航TokenDH.com
运维敏感数据clawhub未标认证来源可访问clear审计提醒

tandemn-tuna串联金枪鱼

Agent Skill

tandemn-tuna 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,255

周安装

664

GitHub Stars

公开资料未说明

下载量

5,259
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tandemn-tuna(串联金枪鱼)
来源仓库:https://github.com/choprahetarth/tandemn-tuna
安装命令:
openclaw skills install tandemn-tuna
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tandemn-tuna

简介

tandemn-tuna 支持在多种云平台部署 GPU 上的 LLM 模型。

  • 可比较不同服务商定价并在 Modal、RunPod 等平台启动 vLLM。
  • 适合需要灵活部署与成本优化的推理服务场景。
  • 使用前需准备云账户凭证与区域配置。tandemn-tuna 属于运维类 Skill,可作为该场景下的辅助能力补充。
  • 注意现货实例存在中断风险,应有回退方案。

SKILL.md

name
tandemn-tuna
description
Deploy and serve LLM models on GPU. Compare GPU pricing. Launch vLLM on Modal, RunPod, Cerebrium, Cloud Run, Baseten, or Azure with spot instance fallback. OpenAI-compatible inference endpoint.
version
0.0.1
metadata
openclaw
requires
bins
anyBins
env
[]
emoji
\F41F
homepage
https://github.com/Tandemn-Labs/tandemn-tuna
install
package
tandemn-tuna
bins
[tuna]

Tuna — Deploy and Serve LLM Models on GPU Infrastructure

Tuna is a hybrid GPU inference orchestrator. It lets you deploy, serve, and manage LLM models (Llama, Qwen, Mistral, DeepSeek, Gemma, and any HuggingFace model) on serverless GPUs from Modal, RunPod, Cerebrium, Google Cloud Run, Baseten, or Azure Container Apps, with optional spot instance fallback on AWS via SkyPilot. Every deployment gets an OpenAI-compatible /v1/chat/completions endpoint.

The key idea: serverless GPUs handle requests immediately (fast cold start, pay-per-second) while a cheaper spot GPU boots in the background. Once spot is ready, traffic shifts there. If spot gets preempted, traffic falls back to serverless automatically. This gives you 3–5x cost savings over pure serverless with zero downtime.

Quick Start — Deploy a Model in 3 Commands

# 1. Install tuna
uv pip install tandemn-tuna

# 2. Deploy a model (auto-picks cheapest serverless provider for the GPU)
tuna deploy --model Qwen/Qwen3-0.6B --gpu L4 --service-name my-llm

# 3. Query your endpoint (shown in deploy output)
curl http://<router-ip>:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "Qwen/Qwen3-0.6B", "messages": [{"role": "user", "content": "Hello!"}]}'

For serverless-only (no spot, no AWS needed):

tuna deploy --model Qwen/Qwen3-0.6B --gpu L4 --serverless-only

All Commands

tuna deploy — Launch a model on GPU

Deploy a model across serverless + spot infrastructure. This is the main command.

tuna deploy --model <HuggingFace-model-ID> --gpu <GPU> [options]

Required arguments:

  • --model — HuggingFace model ID (e.g., Qwen/Qwen3-0.6B, meta-llama/Llama-3-70b)
  • --gpu — GPU type (e.g., T4, L4, L40S, A100, H100, B200)

Common options:

  • --service-name — Name for the deployment (auto-generated if omitted)
  • --serverless-provider — Force a specific provider: modal, runpod, cloudrun, baseten, azure, cerebrium (default: cheapest available)
  • --serverless-only — Serverless only, no spot backend or router (no AWS needed)
  • --gpu-count — Number of GPUs (default: 1)
  • --tp-size — Tensor parallel size (default: 1)
  • --max-model-len — Max sequence length (default: 4096)
  • --spots-cloud — Cloud for spot GPUs: aws or azure (default: aws)
  • --region — Cloud region for spot instances
  • --concurrency — Override serverless concurrency limit
  • --no-scale-to-zero — Keep at least 1 spot replica running
  • --public — Make endpoint publicly accessible (no auth)
  • --scaling-policy — Path to YAML with scaling parameters

Provider-specific options:

  • --gcp-project, --gcp-region — For Cloud Run
  • --azure-subscription, --azure-resource-group, --azure-region, --azure-environment — For Azure

Examples:

# Deploy Llama 3 on Modal with hybrid spot
tuna deploy --model meta-llama/Llama-3-8b --gpu A100 --serverless-provider modal

# Deploy on RunPod, serverless-only
tuna deploy --model mistralai/Mistral-7B-Instruct-v0.3 --gpu L40S --serverless-provider runpod --serverless-only

# Deploy on Azure with an existing environment
tuna deploy --model Qwen/Qwen3-0.6B --gpu T4 --serverless-provider azure --azure-environment my-env

# Deploy a large model with tensor parallelism
tuna deploy --model meta-llama/Llama-3-70b --gpu H100 --gpu-count 4 --tp-size 4

tuna show-gpus — Compare GPU Prices Across Providers

Show GPU pricing from all serverless providers, optionally including spot prices.

tuna show-gpus [--gpu <GPU>] [--provider <provider>] [--spot]

Examples:

# Show all GPU prices across all providers
tuna show-gpus

# Show H100 pricing specifically
tuna show-gpus --gpu H100

# Show Modal's prices only
tuna show-gpus --provider modal

# Include AWS spot prices for comparison
tuna show-gpus --spot

tuna check — Validate Provider Setup (Preflight)

Run preflight checks to verify credentials, CLIs, and quotas for a provider before deploying.

tuna check --provider <provider> [--gpu <GPU>]

Examples:

# Check Modal setup
tuna check --provider modal

# Check Azure with specific GPU
tuna check --provider azure --gpu T4 --azure-subscription <id> --azure-resource-group <rg>

tuna status — Check Deployment Status

tuna status --service-name <name>

tuna cost — Show Cost Savings Dashboard

tuna cost --service-name <name>

tuna list — List All Deployments

tuna list [--status active|destroyed|failed]

tuna destroy — Tear Down a Deployment

# Destroy a specific deployment
tuna destroy --service-name <name>

# Destroy all deployments
tuna destroy --all

Provider Setup Guide

Each serverless provider needs its own credentials. Run tuna check --provider <name> to verify setup.

Modal

pip install modal  # or: uv pip install tandemn-tuna[modal]
modal token new    # opens browser to authenticate

No environment variables needed — token is stored in Modal's config.

RunPod

export RUNPOD_API_KEY="your-api-key"

Get your API key from the RunPod console.

Google Cloud Run

pip install google-cloud-run  # or: uv pip install tandemn-tuna[cloudrun]
gcloud auth login
gcloud auth application-default login

Optionally set GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_REGION, or pass --gcp-project and --gcp-region.

Baseten

pip install truss  # or: uv pip install tandemn-tuna[baseten]
export BASETEN_API_KEY="your-api-key"
truss login --api-key $BASETEN_API_KEY

Azure Container Apps

pip install azure-mgmt-appcontainers azure-identity  # or: uv pip install tandemn-tuna[azure]
az login
az provider register --namespace Microsoft.App
az provider register --namespace Microsoft.OperationalInsights

Pass --azure-subscription, --azure-resource-group, and --azure-region on deploy, or set AZURE_SUBSCRIPTION_ID, AZURE_RESOURCE_GROUP, AZURE_REGION env vars. First deploy creates a GPU environment (~30 min); subsequent deploys reuse it (~2 min). Use --azure-environment to specify an existing environment.

Cerebrium

pip install cerebrium  # or: uv pip install tandemn-tuna[cerebrium]
cerebrium login
export CEREBRIUM_API_KEY="your-api-key"

Note: Hobby plan gives T4, A10, L4, L40S. A100 and H100 require Enterprise.

Spot GPUs (AWS via SkyPilot)

Spot is included automatically in hybrid deploys. Just configure AWS:

aws configure  # set access key, secret key, region

Use --serverless-only to skip spot if you don't have AWS set up.

Common Scenarios

When the user wants to deploy a model for quick testing: Use --serverless-only to skip spot setup. Pick a small GPU like L4 or T4. Example:

tuna deploy --model Qwen/Qwen3-0.6B --gpu L4 --serverless-only

When the user wants the cheapest deployment: First run tuna show-gpus --spot to compare serverless and spot prices. Then deploy with hybrid mode (the default) to get spot savings. The auto provider selector already picks the cheapest serverless option for the chosen GPU.

When the user wants to compare GPU prices:

tuna show-gpus
tuna show-gpus --gpu A100
tuna show-gpus --spot  # includes AWS spot prices

When the user asks "which providers support H100?" or a specific GPU:

tuna show-gpus --gpu H100

When the user wants to deploy on a specific provider: Use --serverless-provider <name>. Run tuna check --provider <name> first to verify credentials.

When the user wants to deploy a large model (70B+): Use multiple GPUs with tensor parallelism:

tuna deploy --model meta-llama/Llama-3-70b --gpu H100 --gpu-count 4 --tp-size 4

When the user wants to check if their setup is ready:

tuna check --provider modal
tuna check --provider runpod

When the user wants to see what's currently deployed:

tuna list
tuna list --status active

When the user wants to tear down everything:

tuna destroy --all

Supported GPUs

All GPU types that tuna supports across its providers:

GPUVRAMArchitectureAvailable On
T416 GBTuringModal, RunPod, Baseten, Azure, Cerebrium, Spot
A1024 GBAmpereCerebrium
A10G24 GBAmpereModal, Baseten, Spot
A400016 GBAmpereRunPod
A500024 GBAmpereRunPod
RTX 409024 GBAdaRunPod
L424 GBAdaModal, RunPod, Cloud Run, Baseten, Cerebrium, Spot
A4048 GBAmpereRunPod
A600048 GBAmpereRunPod
L4048 GBAdaRunPod
L40S48 GBAdaModal, RunPod, Cerebrium, Spot
A100 (40 GB)40 GBAmpereModal, Cerebrium, Spot
A100 (80 GB)80 GBAmpereModal, RunPod, Azure, Baseten, Cerebrium, Spot
H10080 GBHopperModal, RunPod, Baseten, Cerebrium, Spot
H200141 GBHopperSpot
B200192 GBBlackwellModal, Baseten
RTX PRO 600032 GBBlackwellCloud Run

Use tuna show-gpus for current pricing across all providers.

Error Handling

Preflight check fails (tuna check): The output tells you exactly what's wrong — missing CLI tool, expired credentials, unregistered provider, insufficient quota. Fix the reported issue and re-run tuna check.

Deploy fails:

  1. Run tuna check --provider <provider> --gpu <gpu> to validate the environment
  2. Add -v for verbose logs: tuna deploy -v ...
  3. Check tuna status --service-name <name> for deployment state

Spot instance not available: Spot GPUs depend on cloud availability. If spot fails to launch, the serverless backend keeps serving — no downtime. Try a different region with --region, or use --serverless-only.

"No provider supports GPU X": Run tuna show-gpus --gpu <GPU> to see which providers offer that GPU. Not all GPUs are available on all providers.

Azure environment takes too long: First Azure deploy creates a GPU environment (~30 min). Subsequent deploys reuse it (~2 min). Use --azure-environment to specify an existing one.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.17%
按下载量换算4,689

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills