Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

Speed comparison between Torch + CUDA + xFormers versions and TensorRT vs xFormers for Stable Diffusion XL (SDXL)

🕑 Added 2023-12-10 19:57:18 +0000 UTC

Comments

Furkan Gözükara

great

Ec Jep

yes both - I have to update all of my tensorRT again but that is ok. Hopefully, I won't have to update again in awhile.

Furkan Gözükara

ok now working right?

Ec Jep

on my fresh install: now my settings are: version: v1.7.0  •  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: 6ce0161689 on my original SD install: I performed these steps with error above and it now works.. uninstalled torch from .bat commandline, installed pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121, and updated xformers from 0.0.23 to 0.0.23.post1, deleted tensorRT extension and reinstalled with your install .bat file and it works again latest config: version: v1.7.0-285-g15ec54dd  •  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: a58017353f

Ec Jep

basically I want to install the latest version of torch and xformers to get latest speed improvements. I was using tensorRT successfully and it really helps - I don't know how I missed the patreon update a few months ago..

Ec Jep

trying to do similar comparison and ran into torch update error. I was on xformers 0.0.20 and torch 2.0.1. I updated xformers to 0.0.23 with pip install xformers==0.0.23 and it also update torch to 2.1.1 After install I get this error "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" Any suggestions to how to perform these updates and ensure the proper dependencies? Thx


More Creators