flax icon indicating copy to clipboard operation
flax copied to clipboard

[WIP] Require `transform_metadata` when variables have sharding annotation

Open IvyZX opened this issue 1 year ago • 0 comments

Goal: to force user to input a transform_metadata if they do transform upon annotated variables.

Todo: Can we auto-infer the transform axis name from the annotated variables and only throw errors when not? Would that be more clever than requiring it always?

IvyZX avatar Sep 10 '24 22:09 IvyZX