# How can I maximize speed on Lambda GPU instances?

**URL:** https://deeptalk.lambda.ai/t/how-can-i-maximize-speed-on-lambda-gpu-instances/4426
**Category:** Technical Help
**Created:** [December 9, 2024, 5:21am UTC](https://deeptalk.lambda.ai/t/how-can-i-maximize-speed-on-lambda-gpu-instances/4426 "2024-12-09T05:21:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Justin6626](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@Justin6626](https://deeptalk.lambda.ai/u/Justin6626)
#### Post date: [December 9, 2024, 5:21am UTC](https://deeptalk.lambda.ai/t/how-can-i-maximize-speed-on-lambda-gpu-instances/4426/1 "2024-12-09T05:21:36Z")

</div>

I am trying to train a reinforcement learning model in Pytorch. I tried a GH200 instance earlier, and now I am trying an 8xH100 instance, and I am finding it unexpectedly slow. Are there any techniques that I can use to take better advantage of the GPU’s capabilities? I am wondering particularly if there are any changes I can make to the environmental variables, or special Pytorch techniques that I should use.

---

<div class="post-metadata">

### Author: ![cody\_b](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cody\_b](https://deeptalk.lambda.ai/u/cody_b)
#### Post date: [December 10, 2024, 9:39pm UTC](https://deeptalk.lambda.ai/t/how-can-i-maximize-speed-on-lambda-gpu-instances/4426/2 "2024-12-10T21:39:34Z")

</div>

Can you specify in greater detail what you mean by the training is slow? If you have log files, that might help with troubleshooting the issue.
