Trainer class with Accelerate

Does Trainer class contains the accelerate class. How do we pass the number of GPUs?

hi @diaafayed72
Have you seen this?

How many GPU(s) should be used for distributed training?

is one of the questions from the accelerate config command.

The Trainer class does not exist in this link.

This link implements Accelerate class with training loop