Skip to content

Commit

Permalink
fix all_regions
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jan 7, 2024
1 parent 5bbfc3d commit 1859101
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions sky/clouds/service_catalog/runpod_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,15 @@ def get_region_zones_for_instance_type(instance_type: str,


def list_accelerators(
gpus_only: bool,
name_filter: Optional[str],
region_filter: Optional[str],
quantity_filter: Optional[int],
case_sensitive: bool = True
gpus_only: bool,
name_filter: Optional[str],
region_filter: Optional[str],
quantity_filter: Optional[int],
case_sensitive: bool = True,
all_regions: bool = False,
) -> Dict[str, List[common.InstanceTypeInfo]]:
"""Returns all instance types in RunPod offering GPUs."""
return common.list_accelerators_impl('RunPodCloud', _df, gpus_only,
name_filter, region_filter,
quantity_filter, case_sensitive)
quantity_filter, case_sensitive,
all_regions)

0 comments on commit 1859101

Please sign in to comment.