Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: TPU Create with spot #12705

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: TPU Create with spot #12705

wants to merge 1 commit into from

Conversation

Thoughtseize1
Copy link
Contributor

@Thoughtseize1 Thoughtseize1 commented Oct 17, 2024

Description

Checklist

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Oct 17, 2024
@Thoughtseize1
Copy link
Contributor Author

Thoughtseize1 commented Oct 17, 2024

There is an issue here:

Right now I cannot create TPU with spot parameter because library is not updated yet.
Here are the current versions of libraries that we need to use for guaranteeing a spot on TPU.

class SchedulingConfig(proto.Message):
    r"""Sets the scheduling options for this node.

    Attributes:
        preemptible (bool):
            Defines whether the node is preemptible.
        reserved (bool):
            Whether the node is created under a
            reservation.
    """

    preemptible: bool = proto.Field(
        proto.BOOL,
        number=1,
    )
    reserved: bool = proto.Field(
        proto.BOOL,
        number=2,
    )

Here’s available only 2 options right now:

@m-strzelczyk

Copy link

snippet-bot bot commented Nov 14, 2024

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Indicates a pull request not ready for merge, due to either quality or timing. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants