You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use optax.MultiSteps on a data-parallel setup with shard_map, I am getting the following error:
NotImplementedError: No replication rule for cond. As a workaround, pass the `check_rep=False` argument to `shard_map`. To get this fixed, open an issue at https://github.com/google/jax/issues
Yeah, should be easy! (In the sense of: "We choose to go to the Moon implement cond rules in this decade, not because they are easy, but because they are hard we thought they would be easy")
Description
When trying to use optax.MultiSteps on a data-parallel setup with shard_map, I am getting the following error:
A simple example can be found below:
Disabling multi-step makes the error go away.
System info (python version, jaxlib version, accelerator, etc.)
The text was updated successfully, but these errors were encountered: