dstack-presets

Create and manage dstack presets for agent-driven model inference optimization.

2.2k|256|Updated Jan 4, 2022
One-click install
npx skills add https://github.com/dstackai/dstack --skill dstack-presets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dstack-presets
Source: https://github.com/dstackai/dstack/tree/main/skills/dstack-presets
Command: npx skills add https://github.com/dstackai/dstack --skill dstack-presets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finding an optimized inference configuration for a model requires manual benchmarking across hardware and serving settings. This Skill guides the creation and management of dstack presets, which capture the serving configuration, benchmark results, and verified hardware in a portable format.

Core Features & Use Cases

  • Preset Creation: Build presets that record the serving configuration, achieved benchmark, and exact hardware a result was verified on.
  • Preset Management: Watch optimization sessions, list, export, and delete presets using dstack preset CLI commands.
  • Use Case: An ML engineer wants to optimize inference for a new model on specific GPUs. They create a preset, let agents iterate on the serving configuration, then export the verified preset to deploy on any cloud, Kubernetes cluster, or bare-metal fleet.

Quick Start

Ask the assistant to create a dstack preset to optimize inference for your model on your target hardware.

Frequently Asked Questions about dstack-presets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a dstack preset for model inference optimization?

Create a preset by defining the serving configuration and letting agents iterate on it to reach an optimized benchmark. The preset records the final configuration, the benchmark achieved, and the exact hardware it was verified on.

How do I manage existing dstack presets?

Use the dstack preset CLI commands to watch active optimization sessions, list existing presets, export them for deployment, and delete presets you no longer need.

Can I deploy a dstack preset to Kubernetes or bare-metal servers?

Yes, presets use a portable format that deploys the verified serving configuration to any cloud, Kubernetes cluster, or bare-metal fleet supported by dstack backends.

When should I use a preset instead of a dstack service?

Use a preset only when you want to create or manage an inference optimization configuration. For deploying or serving a model directly, use a dstack service instead, as presets are not meant for serving.

What information does a dstack preset store?

A preset stores the serving configuration that produced the optimization result, the benchmark it reached, and the exact hardware the result was verified on, making it reproducible across environments.