Refactor code to allow one-sided preconditioning to save compute Also allows preconditioning embedding layers (requires bit more work to support right preconditioner only)
Refactor code to allow one-sided preconditioning to save compute
Also allows preconditioning embedding layers (requires bit more work to support right preconditioner only)

PiperOrigin-RevId: 461963126

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research