Skip to content

Commit

Permalink
Change cudo to online provider (#51)
Browse files Browse the repository at this point in the history
* Change cudo to online provider

---------

Co-authored-by: Bihan  Rana <[email protected]>
  • Loading branch information
Bihan and Bihan Rana authored Mar 14, 2024
1 parent 5efb46d commit fa01142
Show file tree
Hide file tree
Showing 5 changed files with 473 additions and 486 deletions.
4 changes: 2 additions & 2 deletions src/gpuhunt/_internal/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
logger = logging.getLogger(__name__)
version_url = "https://dstack-gpu-pricing.s3.eu-west-1.amazonaws.com/v1/version"
catalog_url = "https://dstack-gpu-pricing.s3.eu-west-1.amazonaws.com/v1/{version}/catalog.zip"
OFFLINE_PROVIDERS = ["aws", "azure", "cudo", "datacrunch", "gcp", "lambdalabs", "nebius"]
ONLINE_PROVIDERS = ["tensordock", "vastai"]
OFFLINE_PROVIDERS = ["aws", "azure", "datacrunch", "gcp", "lambdalabs", "nebius"]
ONLINE_PROVIDERS = ["cudo", "tensordock", "vastai"]
RELOAD_INTERVAL = 4 * 60 * 60 # 4 hours


Expand Down
1 change: 1 addition & 0 deletions src/gpuhunt/_internal/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def default_catalog() -> Catalog:
for module, provider in [
("gpuhunt.providers.tensordock", "TensorDockProvider"),
("gpuhunt.providers.vastai", "VastAIProvider"),
("gpuhunt.providers.cudo", "CudoProvider"),
]:
try:
module = importlib.import_module(module)
Expand Down
Loading

0 comments on commit fa01142

Please sign in to comment.