does it work with cpu too? #309
-
hello, i would like to use it but my amd gpu is low in vram [2gb] so i was thinking to use it with cpu |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Hello, how are you? What graphics card are you using? I'm using an ASRock RX 550 with 2GB of VRAM, 16GB of RAM, an i5 2400, and I'm using version 1.6.0 of automatic 1111 by lshqqytiger/stable-diffusion-webui-directml, with a resolution of 512px width x 712px height, 20 steps, and the Sampling method: DPM++ 2M Karras. I'm getting results like | 20/20 [02:28<00:00, 7.45s/it]. |
Beta Was this translation helpful? Give feedback.
-
Look Amin456789, I'm sharing an image I created with the following settings, model: anything-v4.5-pruned-fp16.ckpt [f773383dbc], Sampling steps: 20, Sampling method: DPM++ 2M Karras, resolution of 512px width x 712px height, Seed: 1111729883, prompt: 1girl, Negative Prompt: badhandv4 easynegative verybadimagenegative_v1.3, CFG Scale: 7, obtaining: | 20/20 [02:28<00:00, 7.45s/it]. |
Beta Was this translation helpful? Give feedback.
-
@Amin456789, Good morning, I'd be happy to share with you my arguments and configurations that I use: @echo off set PYTHON= call webui.bat I'll also share my settings for the automatic 1111: in Settings, Optimizations. I also recommend disabling hardware acceleration in the browser you're using and any other programs that might be using your GPU's VRAM or graphic processing. I also recommend using FP16 models. Typically, these models will have a weight of 1.98GB and occupy less VRAM. If you have limited RAM, I recommend using virtual memory, preferably from an SSD. However, if you don't have one, you can use it from an HDD. |
Beta Was this translation helpful? Give feedback.
-
Hello @Amin456789, I hope this is useful. Feel free to reach out if you need anything; I'll be happy to assist you. I hope you share your tests; I'll be glad to see that it worked for you. I also want to share another tip with you. If you notice that your images lack detail or appear blurry, and you can't increase the resolution, you can use the Ultimate SD Upscale extension in the img2img section with the following configuration: Sampling steps: 20, Sampling method: DPM++ 2M Karras, Denoising strength: 0.5, Target size type: Scale from image size: 1.5, Upscaler: ESRGAN_4x, |
Beta Was this translation helpful? Give feedback.
-
thank u for ur time friend, but it didn't work for me, it seems id doesn't use my amd gpu [im using laptop with 2 gpus] i tried many thing i saw on internet but it didn't work. it could be driver issue as its older than maybe ur gpu or something else thanks again friend |
Beta Was this translation helpful? Give feedback.
@Amin456789, Good morning, I'd be happy to share with you my arguments and configurations that I use:
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --autolaunch --lowvram --upcast-sampling --disable-nan-check --ckpt-dir 'F:\stable-diffusion-webui-directml-master\models\Stable-diffusion' --lora-dir 'F:\stable-diffusion-webui-directml-master\models\Lora' --embeddings-dir 'F:\stable-diffusion-webui-directml-master\embeddings'
call webui.bat
I'll also share my settings for the automatic 1111: in Settings, Optimizations.
I also recommend disabling hardware acceleration in the browser you're using and any other programs that might be using your GPU's VRAM or graphic process…