space-nuko / a1111-stable-diffusion-webui-vram-estimator

Show estimated VRAM usage for generation configs
MIT License
107 stars 11 forks source link

Is this extension can not use in a AMD GPU? #3

Open wolfyangfeng opened 1 year ago

wolfyangfeng commented 1 year ago

when I run this extension,it just trackback error"AttributeError: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats' ".

I ran the webui in windows10,with directml.

sjdevries commented 1 year ago

I am currently running the benchmarks on my 5700XT.

I am running stable-diffusion using pytorch 1.13.1+rocm5.2, and not using the directml fork. I am also running on Linux and not windows.

LittleLizzie24 commented 1 year ago

This doesnt work for me on windows directml either

iiOxygen commented 1 year ago

working fine on directml with a 5700 XT

the command lines I use: set COMMANDLINE_ARGS= --opt-split-attention --precision autocast --no-half-vae --opt-channelslast --no-download-sd-model --opt-sdp-no-mem-attention --lowvram --upcast-sampling --skip-torch-cuda-test --disable-nan-check --enable-insecure-extension-access --autolaunch --api --cors-allow-origins http://localhost:5173

(some commands may be redundant, but if it works, it works)