dstackai

dstack-presets

此技能用于创建和管理dstack预设,打包模型推理优化配置、基准测试结果和硬件规格。用户明确要求创建预设或通过dstack preset命令管理现有预设时使用。

dstackai 2,288 271 更新于 2个月前
GitHub

安装

npx skillscat add dstackai/dstack/dstack-presets

通过 SkillsCat registry 安装。

技能简介

此技能用于创建和管理dstack预设,打包模型推理优化配置、基准测试结果和硬件规格。用户明确要求创建预设或通过dstack preset命令管理现有预设时使用。

SKILL.md

dstack Presets

Use /dstack for CLI commands, YAML fields, apply behavior, fleets, and other
dstack syntax. This skill covers creating and managing presets.

Overview

Presets offer two things: a toolkit that streamlines model inference optimization using agents, and a portable format that deploys the final preset to any cloud, Kubernetes cluster, or bare-metal fleet. A preset holds the serving configuration that produced the result, the benchmark it reached, and the exact hardware it was verified on.

Presets are used for three kinds of work: finding an optimized baseline, optimizing through patching source code, and supporting new hardware.

When to use this skill:

  • The user explicitly asks to create a preset, or to optimize model inference via a preset
  • Managing already created presets: watching sessions, listing, exporting, and deleting them via dstack preset commands

When NOT to use this skill:

  • Deploying or serving a model: use a service instead (see the dstack skill)

How to use presets

Follow the presets documentation.

Configuration reference | CLI reference