Skip to content

[SDY][MaxDiffusion][cleanup] Remove obsolete jax_use_shardy_partitioner=False updates in attention_flax.py - #522

Draft
mbohlool wants to merge 1 commit into
mainfrom
remove-shardy-opt-outs
Draft

mbohlool wants to merge 1 commit into
mainfrom
remove-shardy-opt-outs

Conversation

@mbohlool

Copy link
Copy Markdown
Collaborator

jax_use_shardy_partitioner is now a deprecated no-op in JAX because Shardy is always enabled.

…er=False updates in attention_flax.py

`jax_use_shardy_partitioner` is now a deprecated no-op in JAX because Shardy is always enabled.
@github-actions

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request removes the jax.config.update("jax_use_shardy_partitioner", False) configuration updates from both the __init__ and setup methods in src/maxdiffusion/models/attention_flax.py when the cudnn_flash_te attention kernel is used. I have no feedback to provide.

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.

1 participant