arena memory

Estimate GPU memory, or solve one setting against a card.

Usage

arena memory [OPTIONS] COMMAND [ARGS]...

arena memory estimate

Size MANIFEST (a training manifest path) against a GPU.

Run settings come from the manifest; name the device with --gpu (a GPU type from arena resources list) or --device-gb. MANIFEST - reads stdin. Arena runs the estimate, so this needs a login.

Usage

arena memory estimate [OPTIONS] MANIFEST

Options

--gpu <gpu>

Training GPU: a GPU type from arena resources list such as ‘h100-80’, or a name such as ‘NVIDIA L4’.

--device-gb <device_gb>

Training GPU memory in GiB, for a GPU the catalogue does not know.

--num-gpus <num_gpus>

GPUs on the node the run gets. Needed when the run picks tensor_parallel_size or max_num_seqs from it.

--json

Emit the full estimate as JSON instead of the report.

--no-color

Plain glyphs instead of colour (also honours NO_COLOR).

Arguments

MANIFEST

Required argument

arena memory solve

Solve max_model_len for MANIFEST: the largest context that still fits, given everything else.

Arena runs the solve for models in its catalog, so this needs a login.

Usage

arena memory solve [OPTIONS] {max_model_len} MANIFEST

Options

--gpu <gpu>

GPU: a GPU type from arena resources list such as ‘h100-80’, or a name such as ‘NVIDIA L4’.

--device-gb <device_gb>

GPU memory in GiB, for a GPU the catalogue does not know.

--num-gpus <num_gpus>

GPUs on the node the run gets. Needed when the run picks tensor_parallel_size or max_num_seqs from it.

--hi <hi>

Search ceiling; also capped at the checkpoint’s RoPE limit.

--json

Emit the solve result as JSON instead of the report.

--no-color

Plain glyphs instead of colour (also honours NO_COLOR).

Arguments

FIELD

Required argument

MANIFEST

Required argument