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

In a previous change, we throw an error if we encounter an unknown sharding when saving shardings for instructions. However, this ingored the fact that we deliberately replace some module parameter/root shardings with unknown sharding objects. This CL makes the condition tigher so we only throw an error when we encounter unknown sharding objects intended for shard_as or shard_like annotations, which was the original intention anyway. #17723

Merged
merged 1 commit into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. In a previous change, we throw an error if we encounter an unknown sh…

    …arding when saving shardings for instructions. However, this ingored the fact that we deliberately replace some module parameter/root shardings with unknown sharding objects. This CL makes the condition tigher so we only throw an error when we encounter unknown sharding objects intended for shard_as or shard_like annotations, which was the original intention anyway.
    
    PiperOrigin-RevId: 679734540
    Google-ML-Automation committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a36265a View commit details
    Browse the repository at this point in the history