We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57e7cc commit 1321113Copy full SHA for 1321113
src/dstack/_internal/core/backends/gcp/compute.py
@@ -411,10 +411,8 @@ def create_placement_group(
411
name=placement_group.name,
412
region=placement_group.configuration.region,
413
group_placement_policy=compute_v1.ResourcePolicyGroupPlacementPolicy(
414
- # GCP documents only collocation="COLLOCATED"
415
- # but collocation="AS_COMPACT" actually places VMs on the same host
416
- # and improves networking performance. Discovered with Gemini.
417
- collocation="AS_COMPACT",
+ availability_domain_count=1,
+ collocation="COLLOCATED",
418
),
419
)
420
self.resource_policies_client.insert(
0 commit comments