Skip to content

Frustrating couple of issues #67

@dm3rd

Description

@dm3rd

I haven't updated in a few months or something, so when the max vram option got added I decided to update.

with a fresh download and settings file I got two issues.

when using the option to send gen info from the gallery it freezes up the ui and pops up a warning about slowing down etc.
sending info to txt2img and upscale seems fine,
sending to img2img and any2video causes the 'slow down'
sending to imgedit provides the below error
i'm on firefox and windows 10

Traceback (most recent call last):
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\queueing.py", line 867, in process_events
    response = await route_utils.call_process_api(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Ben\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\profiling.py", line 209, in trace_phase
    yield
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\route_utils.py", line 374, in call_process_api
    output = await app.get_blocks().process_api(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Ben\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 222, in __aexit__
    await self.gen.athrow(typ, value, traceback)
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\profiling.py", line 209, in trace_phase
    yield
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\blocks.py", line 2192, in process_api
    data = await self.postprocess_data(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\blocks.py", line 1955, in postprocess_data
    prediction_value = await anyio.to_thread.run_sync(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2518, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1002, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\sdcppwebui\sd.cpp-webui\venv\Lib\site-packages\gradio\components\gallery.py", line 251, in postprocess
    raise ValueError(
ValueError: The `value` passed into `gr.Gallery` must be a list of images or videos, or list of (media, caption) tuples.

another issue I came across the 'offload to cpu' options casues an instant gen fail.
but using the new max vram option mostly bypasses it. not sure if thats the ui or sd.cpp issue.
EDIT:: after some more testing seems the max vram isn't doing as much as I had hoped.

the only other issue i've come across is that the quantization setting is saved but doesn't get used when loading the ui.
I also have to set it to what I need as it's always default

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions