Skip to content

Improve xpk workflows #43

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

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Improve xpk workflows #43

merged 1 commit into from
Jan 21, 2025

Conversation

tengyifei
Copy link
Collaborator

@tengyifei tengyifei commented Jan 18, 2025

Tick off some of #33 with this change. We add a tp command that will be automatically placed in the user's $PATH when installing the repo. It has two verbs:

  • tp use [...]: sets the XPK cluster/project/zone and profile/xla dump GCS directory once for all future commands.
  • tp run [...]: runs a python script on the XPK cluster

In the future, we'll be able to extend more utilities anchoring off the tp CLI. For example, we could add a tp log that follows the log of a workload, or a tp bisect that determines the software version corresponding to a regression.

Tick off some of #33
with this change. We add a `tp` command that will be automatically placed
in the user's $PATH when installing the repo. It has two verbs:

- tp use [...]: sets the XPK cluster/project/zone and profile/xla dump
  GCS directory once for all future commands.
- tp run [...]: runs a python script on the XPK cluster

In the future, we could add utilities anchoring off the `tp` CLI. For
example, we could add a `tp log` that follows the log of a workload, or
a `tp bisect` that determines the software version corresponding to a
regression.
@tengyifei tengyifei requested review from qihqi and bhavya01 January 18, 2025 20:34
Copy link
Collaborator

@qihqi qihqi left a comment

Choose a reason for hiding this comment

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

Nice!

@qihqi qihqi merged commit 6e93dda into main Jan 21, 2025
6 checks passed
@tengyifei tengyifei deleted the yifeit/xpk-improve branch January 26, 2025 07:10
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.

2 participants