Setting specific device for Trainer

Hi I am experiencing the same issue when using setfit is there any solution?