# Why is Trainer only using 1 (not 4) GPUs?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-trainer-only-using-1-not-4-gpus%2F18667%3E%5C
**Category:** Beginners\
**Created:** [June 2, 2022, 8:05pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-trainer-only-using-1-not-4-gpus%2F18667 "2022-06-02T20:05:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![drscotthawley](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/drscotthawley/32/62161_2.png) [@drscotthawley](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdrscotthawley)%5C
**Post date:** [June 2, 2022, 9:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-trainer-only-using-1-not-4-gpus%2F18667%2F2 "2022-06-02T21:08:27Z")

</div>

Tried taking a look at `accelerate` example notebook for SimpleNLP, but it crashes with SIGSEV for me:

> [@Simple NLP Example not working](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsimple-nlp-example-not-working%2F9913%2F7)%3A
>
> I too am seeing the SIGSEV error when I run the Simple NLP example on an A100 pod: --------------------------------------------------------------------------- ProcessExitedException Traceback (most recent call last) Input In [25], in \<cell line: 3\>() 1 from accelerate import notebook\_launcher ----\> 3 notebook\_launcher(training\_function, num\_processes=4) File ~/envs/wav2vec/lib/python3.9/site-packages/accelerate/launchers.py:129, in notebook\_launcher(function, args, num…

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-trainer-only-using-1-not-4-gpus%2F18667)._
