Skip to main content

A catalog of GPU pricing for different cloud providers

Project description

Easy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, and LambdaLabs. The catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptable instances).

Usage

import gpuhunt

items = gpuhunt.query(
    min_memory=16,
    min_cpu=8,
    min_gpu_count=1,
    max_price=1.0,
)

print(*items, sep="\n")

List of all available filters:

  • provider: name of the provider to filter by. If not specified, all providers will be used. One or many
  • min_cpu: minimum number of CPUs
  • max_cpu: maximum number of CPUs
  • min_memory: minimum amount of RAM in GB
  • max_memory: maximum amount of RAM in GB
  • min_gpu_count: minimum number of GPUs
  • max_gpu_count: maximum number of GPUs
  • gpu_name: name of the GPU to filter by. If not specified, all GPUs will be used. One or many
  • min_gpu_memory: minimum amount of GPU VRAM in GB for each GPU
  • max_gpu_memory: maximum amount of GPU VRAM in GB for each GPU
  • min_total_gpu_memory: minimum amount of GPU VRAM in GB for all GPUs combined
  • max_total_gpu_memory: maximum amount of GPU VRAM in GB for all GPUs combined
  • min_disk_size: currently not in use
  • max_disk_size: currently not in use
  • min_price: minimum price per hour in USD
  • max_price: maximum price per hour in USD
  • min_compute_capability: minimum compute capability of the GPU
  • max_compute_capability: maximum compute capability of the GPU
  • spot: if False, only ondemand offers will be returned. If True, only spot offers will be returned

Advanced usage

from gpuhunt import Catalog

catalog = Catalog()
catalog.load(version="20230831")
items = catalog.query()

print(*items, sep="\n")

Supported providers

  • AWS
  • Azure
  • GCP
  • LambdaLabs
  • TensorDock

See also

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpuhunt-0.0.1rc4.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpuhunt-0.0.1rc4-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file gpuhunt-0.0.1rc4.tar.gz.

File metadata

  • Download URL: gpuhunt-0.0.1rc4.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for gpuhunt-0.0.1rc4.tar.gz
Algorithm Hash digest
SHA256 3047e157fbd3aaabf1a36e813faf1508a82cab89dd70cc64286126ddc55f6eac
MD5 00efb555edffcf7a06378e6800bec502
BLAKE2b-256 9370751fab03e505526a5ba041fd143a7e4ff49af8838ed17634ec94e2408c8c

See more details on using hashes here.

File details

Details for the file gpuhunt-0.0.1rc4-py3-none-any.whl.

File metadata

  • Download URL: gpuhunt-0.0.1rc4-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for gpuhunt-0.0.1rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 31f15dceeded5c250192999cddc8584fa5fcafae114f7cb5aa61832c14d7ce09
MD5 cc81d77c5290a5eda23bb0bcb0f7010c
BLAKE2b-256 f1c2989b0fac39964d0f478ef9ae2956694516ca340bacd15be0fea28c6293cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page