Skip to content

Use jax-transform based sow - #5556

Open
samanklesaria wants to merge 1 commit into
google:mainfrom
samanklesaria:new_sow
Open

Use jax-transform based sow#5556
samanklesaria wants to merge 1 commit into
google:mainfrom
samanklesaria:new_sow

Conversation

@samanklesaria

@samanklesaria samanklesaria commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

This PR swaps out the old sow implementation (which required the types/ shapes of variables we sowed to to change) with one written as a pure jax transform. Only variable mutation using ref is supported within the transform, as that's all that's needed if we already have sow. Closes #5538

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@samanklesaria
samanklesaria force-pushed the new_sow branch 3 times, most recently from 22e7b7e to 62275c3 Compare August 21, 2026 16:19
Comment thread flax/nnx/module.py Outdated
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.

Jax-Transform based Sow Implementation

2 participants