Skip to content

Conversation

@quoctruong
Copy link
Collaborator

Also refactor the code into a separate function and add logic to check that only 1 service container is requesting for TPU's.

container.resources.limits['google.com/tpu']
) {
delete container.resources.limits['google.com/tpu']
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Let's also add a log for indicating the delete operation was finished successfully for debugging?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I don't see it's added yet. Maybe the latest commit hasn't been uploaded?

container.resources.limits['google.com/tpu']
) {
delete container.resources.limits['google.com/tpu']
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I don't see it's added yet. Maybe the latest commit hasn't been uploaded?

@quoctruong quoctruong merged commit f657bf1 into google-main Oct 1, 2025
2 checks passed
@quoctruong quoctruong deleted the quoct/tpu_2 branch October 1, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants