Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 679676685
- Loading branch information