Skip to content

Conversation

@theFong
Copy link
Member

@theFong theFong commented Jan 11, 2026

Introduces a new brev gpu-search command (also aliased as brev gpu,
brev gpus, and brev gpu-list) that allows users to search and filter
GPU instance types from the Brev API. Features include:

  • Filter by GPU name (case-insensitive partial match)
  • Filter by minimum VRAM per GPU (in GB)
  • Filter by minimum total VRAM (GPU count * VRAM)
  • Filter by minimum GPU compute capability (e.g., 8.0 for Ampere)
  • Sort by price, gpu-count, vram, total-vram, vcpu, type, or capability
  • Support for ascending/descending sort order

The command displays results in a formatted table showing instance type,
GPU name, count, VRAM per GPU, total VRAM, compute capability, vCPUs,
and hourly price.

Includes comprehensive unit tests for filtering, sorting, and data
processing functionality.

Introduces a new `brev gpu-search` command (also aliased as `brev gpu`,
`brev gpus`, and `brev gpu-list`) that allows users to search and filter
GPU instance types from the Brev API. Features include:

- Filter by GPU name (case-insensitive partial match)
- Filter by minimum VRAM per GPU (in GB)
- Filter by minimum total VRAM (GPU count * VRAM)
- Filter by minimum GPU compute capability (e.g., 8.0 for Ampere)
- Sort by price, gpu-count, vram, total-vram, vcpu, type, or capability
- Support for ascending/descending sort order

The command displays results in a formatted table showing instance type,
GPU name, count, VRAM per GPU, total VRAM, compute capability, vCPUs,
and hourly price.

Includes comprehensive unit tests for filtering, sorting, and data
processing functionality.
@theFong theFong requested a review from a team as a code owner January 11, 2026 06:39
@theFong theFong closed this Jan 11, 2026
@theFong theFong reopened this Jan 11, 2026
theFong and others added 4 commits January 10, 2026 23:14
Add capability mappings for:
- RTXPro6000 (12.0), B200 and RTX5090 (10.0 Blackwell)
- RTX6000Ada, RTX4000Ada (8.9 Ada Lovelace)
- A6000, A5000, A4000 (8.6 Ampere)
- RTX6000 (7.5 Turing)
- M60 (5.2 Maxwell)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Only show NVIDIA GPUs (exclude AMD Radeon, Intel Gaudi, etc.)
since compute capability is NVIDIA-specific.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This command allows creating GPU instances with automatic retry across
multiple instance types. Key features:

- Accept instance types from --type flag or piped from 'brev gpus'
- Create multiple instances with --count flag
- Parallel creation attempts with --parallel flag
- Automatic cleanup of extra instances beyond requested count
- Detached mode to not wait for instances to be ready

Usage examples:
  brev gpu-create --name my-instance --type g5.xlarge
  brev gpus --min-vram 24 | brev gpu-create --name my-instance
  brev gpus --gpu-name A100 | brev gpu-create --name cluster --count 3 --parallel 5
@theFong theFong force-pushed the claude/gpu-create-retry-command-6JSva branch 2 times, most recently from 6b6a408 to e18fc25 Compare January 12, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants