Live data from Hacker News

Use pytorch2+cu118 with ADA hardware for 50%+ speedup

gpux.ai

1–10 of 38 posts

Re: Use pytorch2+cu118 with ADA hardware for 50%+ speedup

#6
post #2

I accidentally stumbled upon this and did not expect such a speedup. It seems anything less than cu118 does not properly support the RTX4090 (or H100). Bumping to cuda12.2 with pytorch2.0.1+cu118 made my SDXL go 50% faster and ESRGAN 80% faster on the 4090.

Good find!

Re: Use pytorch2+cu118 with ADA hardware for 50%+ speedup

#7
post #2

I accidentally stumbled upon this and did not expect such a speedup. It seems anything less than cu118 does not properly support the RTX4090 (or H100). Bumping to cuda12.2 with pytorch2.0.1+cu118 made my SDXL go 50% faster and ESRGAN 80% faster on the 4090.

You can also run PyTorch cu121 nightly builds,

These also allow `torch.compile` to function properly with dynamic input, which should net another 30%+ boost to SD.

Re: Use pytorch2+cu118 with ADA hardware for 50%+ speedup

#9
post #4

wow if those benchmarks are true that is amazing to read.

Its true. I've been installing nightly builds of pytorch for months specifically to access this fix. Have been getting 40it/s outputting a 512x512 image on my 4090. Prior to the fix would get around 19it/s.
Post reply on HN