Not necessarily, but you would have to check e.g. the memory requirements and see if you could fit a similar batch size in your setup, as the model convergence (or training hyperparamters) might be sensitive it the batch size.