Replies: 1 comment 6 replies
-
|
Hi, please add |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edit 2:
Now when re-running koboldcpp I do (via script): 1) end w-browser (ff) 2) end kobold 3) clear ~/.cache, ~/.mozilla, /tmp.
And sometimes for same image parameters (10 steps, 512x512) I see image generated (once even w/out "offload to CPU"), sometimes OutOfDeviceMemory. I'm puzzled. Maybe it's some system glitches, I see also "Firefox: unable to connect to ibus" and keyboard do not work in Firefox and sometimes in other apps (file manager), I've restarted Window Manager (Cinnamon) - keyboard started to work fine then soon - again not everywhere.
Edit:
Seems the issue below is at least partly caused by data from previous koboldcpp run(s). After I've deleted files from /tmp and user's cash I didn't see the issue (I probably have to do that after each program exit - how to exit properly? I use
Ctlr-Corpkill).--
I'm new to AI generation, koboldcpp works on my laptop in CPU mode more or less, I'm learning. Now I try to use my NVIDIA 4Gb GPU via vulkan option. For TTS in GPU option with 200Mb model I saw no difference in CPU loads in vulkan vs. CPU option. Does in use GPU...?
Now trying image gen, initially I've noted almost no CPU load with vulkan, but then noted that in several seconds in terminal koboldcpp exits with 'OutOfDeviceMemory'. Why? I run in terminal:
koboldcpp-linux-x64 --usevulkan 1 --sdoffloadcpu --launch --showgui --sdmodel /path/Deliberate_v2.safetensors, then in GUI check correctness on "Image Gen" tab, e.g.offload cpucheckmark then launch, simple prompt for generation, see image placeholder, but in in terminal error after several seconds.https://huggingface.co/leejet/Z-Image-Turbo-GGUF gives an example of 3.1Gb model run on 4Gb:
sd.exe --diffusion-model z_image_turbo-Q3_K.gguf --vae ae.safetensors --llm Qwen3-4B-Instruct-2507-Q4_K_M.gguf -p "...photograph..." --cfg-scale 1.0 -v --offload-to-cpu --diffusion-fa -H 1024 -W 512And with models from above code ( z_image_turbo etc., though I use z_image_turbo-Q4 3.7Gb) I'm now getting "DeviceLostError".
Beta Was this translation helpful? Give feedback.
All reactions