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

Enable pathways workloads for v6e benchmarks #1040

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sadikneipp
Copy link
Collaborator

Minimal changes to ensure pathways can share the benchmarking infrastructure.

Changes:

  1. Make xpk directory configurable
  2. Add pathways overrides ensuring defaults maintain previous function
  3. Using additional_pw_proxy_argsto ensure XLA flags curated by maxtext are passed to the pathways proxy server. See Add custom pw proxy args support xpk#249

@sadikneipp sadikneipp changed the title enable pathways workloads Enable pathways workloads for v6e benchmarks Nov 15, 2024
Copy link
Collaborator

@RoshaniN RoshaniN left a comment

Choose a reason for hiding this comment

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

Thanks Sadi!

):
config_tuning_params = ''
for key, value in model.tuning_params.items():
config_tuning_params += f'{key}={value} '

install_libtpu_cmd = ''
if libtpu_type == LibTpuType.NIGHTLY:
if use_pathways:
pass
Copy link
Collaborator

Choose a reason for hiding this comment

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

For future - Should we perhaps give users a message that we won't be running Pathways with nightly Libtpu?

if use_pathways:
pathways_specific_flags = (
' --use-pathways'
f' --additional_pw_proxy_args={reformat_xla_flags_for_xpk(model.xla_flags)}'
Copy link
Collaborator

@RoshaniN RoshaniN Nov 15, 2024

Choose a reason for hiding this comment

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

I think you need hyphens instead of underscores here in "--additional_pw_proxy_args" to be consistent with rest of the parsed args in XPK.

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