-
Notifications
You must be signed in to change notification settings - Fork 295
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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)}' |
There was a problem hiding this comment.
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.
Minimal changes to ensure pathways can share the benchmarking infrastructure.
Changes:
additional_pw_proxy_args
to ensure XLA flags curated by maxtext are passed to the pathways proxy server. See Add custom pw proxy args support xpk#249