Skip to content

Commit

Permalink
Fix TPU VM pod stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Dec 30, 2023
1 parent 708d069 commit 925a35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/clouds/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class GCP(clouds.Cloud):
def _unsupported_features_for_resources(
cls, resources: 'resources.Resources'
) -> Dict[clouds.CloudImplementationFeatures, str]:
if tpu_utils.is_tpu_vm_pod(resources):
if gcp_utils.is_tpu_vm_pod(resources):
return {
clouds.CloudImplementationFeatures.STOP: (
'TPU VM pods cannot be stopped. Please refer to: https://cloud.google.com/tpu/docs/managing-tpus-tpu-vm#stopping_your_resources'
Expand Down

0 comments on commit 925a35a

Please sign in to comment.