You’ll have to force the accelerator to run on CPU.
accelerator = Accelerator(cpu=True)
should do the trick.