Skip to main content
Defragment machines
This is a host command, used for managing machines you are renting out on Vast.ai.

Usage

vastai defragment machines IDs

Arguments

IDs
integer
required
ids of machines

Description

Defragment some of your machines. This will rearrange GPU assignments to try and make more multi-gpu offers available.

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)