How to run on CPU?

You’ll have to force the accelerator to run on CPU.

accelerator = Accelerator(cpu=True)

should do the trick.

1 Like