# Training using multiple GPUs

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-using-multiple-gpus%2F1279%3E%5C
**Category:** Beginners\
**Created:** [September 28, 2020, 3:23pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-using-multiple-gpus%2F1279 "2020-09-28T15:23:45Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![ashish-ram](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ashish-ram/32/19497_2.png) [@ashish-ram](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fashish-ram)%5C
**Post date:** [September 14, 2023, 3:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-using-multiple-gpus%2F1279%2F17 "2023-09-14T15:08:25Z")

</div>

Hi @sgugger,

Is there is any special parameter that needs to be passed to the Trainer class to work with multi-GPU?  
Please have a look at [Not able to scale Trainer code to single node multi GPU - 🤗Transformers - Hugging Face Forums](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnot-able-to-scale-trainer-code-to-single-node-multi-gpu%2F55025)

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-using-multiple-gpus%2F1279)._
