Skip to content

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

@snippet-bot
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

@Thoughtseize1 Thoughtseize1 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 2, 2024
@Thoughtseize1 Thoughtseize1 marked this pull request as ready for review December 2, 2024 12:46
@Thoughtseize1 Thoughtseize1 requested review from a team as code owners December 2, 2024 12:46
@Thoughtseize1 Thoughtseize1 merged commit d9b2f9c into main Dec 2, 2024
2 checks passed
@Thoughtseize1 Thoughtseize1 deleted the tpu-create-spot branch December 2, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants