Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/dstack/_internal/core/backends/base/offers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
SUPPORTED_GPUHUNT_FLAGS = [
"oci-spot",
"lambda-arm",
"gcp-a4",
]


Expand Down
4 changes: 2 additions & 2 deletions src/dstack/_internal/core/backends/gcp/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,8 @@ def _has_gpu_quota(quotas: Dict[str, float], resources: Resources) -> bool:
gpu = resources.gpus[0]
if _is_tpu(gpu.name):
return True
if gpu.name == "H100":
# H100 and H100_MEGA quotas are not returned by `regions_client.list`
if gpu.name in ["B200", "H100"]:
# B200, H100 and H100_MEGA quotas are not returned by `regions_client.list`
return True
quota_name = f"NVIDIA_{gpu.name}_GPUS"
if gpu.name == "A100" and gpu.memory_mib == 80 * 1024:
Expand Down
2 changes: 2 additions & 0 deletions src/dstack/_internal/core/backends/gcp/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
DSTACK_GATEWAY_TAG = "dstack-gateway-instance"

supported_accelerators = [
{"accelerator_name": "nvidia-b200", "gpu_name": "B200", "memory_mb": 1024 * 180},
{"accelerator_name": "nvidia-a100-80gb", "gpu_name": "A100", "memory_mb": 1024 * 80},
{"accelerator_name": "nvidia-tesla-a100", "gpu_name": "A100", "memory_mb": 1024 * 40},
{"accelerator_name": "nvidia-l4", "gpu_name": "L4", "memory_mb": 1024 * 24},
Expand Down Expand Up @@ -476,5 +477,6 @@ def instance_type_supports_persistent_disk(instance_type_name: str) -> bool:
"n4-",
"h3-",
"v6e",
"a4-",
]
)
2 changes: 2 additions & 0 deletions src/dstack/_internal/server/background/tasks/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ def get_provisioning_timeout(backend_type: BackendType, instance_type_name: str)
return timedelta(minutes=20)
if backend_type == BackendType.VULTR and instance_type_name.startswith("vbm"):
return timedelta(minutes=55)
if backend_type == BackendType.GCP and instance_type_name == "a4-highgpu-8g":
return timedelta(minutes=16)
return timedelta(minutes=10)
Loading