Skip to content

Commit

Permalink
Change cudo to online provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Bihan Rana authored and Bihan Rana committed Mar 12, 2024
1 parent 5efb46d commit 92bf37c
Show file tree
Hide file tree
Showing 5 changed files with 355 additions and 477 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 92bf37c

Please sign in to comment.