Name | gpuhunt JSON |
Version |
0.0.9
JSON |
| download |
home_page | None |
Summary | A catalog of GPU pricing for different cloud providers |
upload_time | 2024-05-13 08:28:25 |
maintainer | None |
docs_url | None |
author | dstack GmbH |
requires_python | >=3.8 |
license | None |
keywords |
gpu
cloud
pricing
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![](https://img.shields.io/pypi/v/gpuhunt)](https://pypi.org/project/gpuhunt/)
Easy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, etc.
The catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptible instances).
## Usage
```python
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`: minimum disk size in GB (not fully supported)
* `max_disk_size`: maximum disk size in GB (not fully supported)
* `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
```python
from gpuhunt import Catalog
catalog = Catalog()
catalog.load(version="20240508")
items = catalog.query()
print(*items, sep="\n")
```
## Supported providers
* AWS
* Azure
* Cudo Compute
* DataCrunch
* GCP
* LambdaLabs
* OCI
* RunPod
* TensorDock
* Vast AI
## See also
* [dstack](https://github.com/dstackai/dstack)
Raw data
{
"_id": null,
"home_page": null,
"name": "gpuhunt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "gpu, cloud, pricing",
"author": "dstack GmbH",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/f6/f3/266628dbaea8b3ed1a115c155bf6c58d4228921c1c77fd391db033b895cf/gpuhunt-0.0.9.tar.gz",
"platform": null,
"description": "[![](https://img.shields.io/pypi/v/gpuhunt)](https://pypi.org/project/gpuhunt/)\n\nEasy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, etc.\nThe catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptible instances).\n\n## Usage\n\n```python\nimport gpuhunt\n\nitems = gpuhunt.query(\n min_memory=16,\n min_cpu=8,\n min_gpu_count=1,\n max_price=1.0,\n)\n\nprint(*items, sep=\"\\n\")\n```\n\nList of all available filters:\n\n* `provider`: name of the provider to filter by. If not specified, all providers will be used. One or many\n* `min_cpu`: minimum number of CPUs\n* `max_cpu`: maximum number of CPUs\n* `min_memory`: minimum amount of RAM in GB\n* `max_memory`: maximum amount of RAM in GB\n* `min_gpu_count`: minimum number of GPUs\n* `max_gpu_count`: maximum number of GPUs\n* `gpu_name`: name of the GPU to filter by. If not specified, all GPUs will be used. One or many\n* `min_gpu_memory`: minimum amount of GPU VRAM in GB for each GPU\n* `max_gpu_memory`: maximum amount of GPU VRAM in GB for each GPU\n* `min_total_gpu_memory`: minimum amount of GPU VRAM in GB for all GPUs combined\n* `max_total_gpu_memory`: maximum amount of GPU VRAM in GB for all GPUs combined\n* `min_disk_size`: minimum disk size in GB (not fully supported)\n* `max_disk_size`: maximum disk size in GB (not fully supported)\n* `min_price`: minimum price per hour in USD\n* `max_price`: maximum price per hour in USD\n* `min_compute_capability`: minimum compute capability of the GPU\n* `max_compute_capability`: maximum compute capability of the GPU\n* `spot`: if `False`, only ondemand offers will be returned. If `True`, only spot offers will be returned\n\n## Advanced usage\n\n```python\nfrom gpuhunt import Catalog\n\ncatalog = Catalog()\ncatalog.load(version=\"20240508\")\nitems = catalog.query()\n\nprint(*items, sep=\"\\n\")\n```\n\n## Supported providers\n\n* AWS\n* Azure\n* Cudo Compute\n* DataCrunch\n* GCP\n* LambdaLabs\n* OCI\n* RunPod\n* TensorDock\n* Vast AI\n\n## See also\n\n* [dstack](https://github.com/dstackai/dstack)\n",
"bugtrack_url": null,
"license": null,
"summary": "A catalog of GPU pricing for different cloud providers",
"version": "0.0.9",
"project_urls": {
"GitHub": "https://github.com/dstackai/gpuhunt",
"Issues": "https://github.com/dstackai/gpuhunt/issues"
},
"split_keywords": [
"gpu",
" cloud",
" pricing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b8d2b4a3fc42980f9be974bdb0e47d697f36e61f00fef7b4b9d6b485048a382c",
"md5": "728d32e6c263199c6ed573e49e2d1307",
"sha256": "d59d200b432c96e632bcb58edae41d0587e462cb25059b4c1f2d6c5f4f1317e1"
},
"downloads": -1,
"filename": "gpuhunt-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "728d32e6c263199c6ed573e49e2d1307",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 59485,
"upload_time": "2024-05-13T08:28:23",
"upload_time_iso_8601": "2024-05-13T08:28:23.706029Z",
"url": "https://files.pythonhosted.org/packages/b8/d2/b4a3fc42980f9be974bdb0e47d697f36e61f00fef7b4b9d6b485048a382c/gpuhunt-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f6f3266628dbaea8b3ed1a115c155bf6c58d4228921c1c77fd391db033b895cf",
"md5": "0edbd755af2e94d1720740919eb48dab",
"sha256": "63c795ad347cade781d86348dec72a80afcaf6ef9e765377702d6e7ca4e979be"
},
"downloads": -1,
"filename": "gpuhunt-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "0edbd755af2e94d1720740919eb48dab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 45566,
"upload_time": "2024-05-13T08:28:25",
"upload_time_iso_8601": "2024-05-13T08:28:25.687567Z",
"url": "https://files.pythonhosted.org/packages/f6/f3/266628dbaea8b3ed1a115c155bf6c58d4228921c1c77fd391db033b895cf/gpuhunt-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-13 08:28:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dstackai",
"github_project": "gpuhunt",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gpuhunt"
}