Avoid passing concrete argument to jax.remat
#5121
Merged
concrete argument to jax.remat
#5121