Skip to content

Conversation

@bzantium
Copy link
Contributor

@bzantium bzantium commented Dec 31, 2025

Summary

Synchronizes grain/python/experimental.py with grain/experimental.py by updating it to re-export from the top-level module.

Changes

  • Updated grain/python/experimental.py to use from grain.experimental import * instead of manually maintaining a separate import list
  • This ensures both files always export the same experimental APIs

Motivations

This synchronization is critical because downstream libraries (e.g., MaxText) often rely on patterns like import grain.python as grain. If the exports in grain/python/experimental.py lag behind grain/experimental.py, users accessing grain via the python subpackage miss out on new experimental features or face unexpected import errors.

resolved: #1180


📚 Documentation preview 📚: https://google-grain--1181.org.readthedocs.build/

Signed-off-by: bzantium <ryumin93@gmail.com>
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.

Synchronize grain/python/experimental.py with grain/experimental.py

1 participant