Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cblmemo committed Aug 9, 2024
1 parent c8503f7 commit 4bcf866
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,9 @@ def _retry_zones(
assert to_provision.region == region.name, (to_provision,
region)
num_nodes = handle.launched_nodes
# Some clouds, like RunPod, only support exposing ports during
# launch. For those clouds, we pass the ports to open in the
# `bulk_provision` to expose the ports during provisioning.
ports_to_open_on_launch = (
list(resources_utils.port_ranges_to_set(to_provision.ports))
if to_provision.cloud.OPEN_PORTS_VERSION <=
Expand Down

0 comments on commit 4bcf866

Please sign in to comment.