Automatic dispatch for SR and optimizers
Created by: gcarleo
Ideally, we should have automatic dispatch for (at least) the correct SR version needed for a given backend, so that JaxSr is automatically instantiated when dealing with a Jax machine etc