#Update 3.4 bricked my app

18 messages · Page 1 of 1 (latest)

karmic tundra
#

Hello, after updating to 3.4 my app bricked and I cannot get it to work, this is the error I'm getting

little sinew
#

command line gives me one 'small' error?
ERROR - patchmatch failed to load or compile (Command 'make clean && make' returned non-zero exit status 2.).

royal niche
#

Try resetting your web UI

little sinew
royal niche
#

Settings -> reset web UI

little sinew
# royal niche Settings -> reset web UI

File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/invokeai/app/services/invocation_processor/invocation_processor_default.py", line 104, in __process
outputs = invocation.invoke_internal(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/invokeai/app/invocations/baseinvocation.py", line 591, in invoke_internal
output = self.invoke(context)
^^^^^^^^^^^^^^^^^^^^
File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/invokeai/app/invocations/latent.py", line 750, in invoke
num_inference_steps, timesteps, init_timestep = self.init_scheduler(
^^^^^^^^^^^^^^^^^^^^
File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/invokeai/app/invocations/latent.py", line 613, in init_scheduler
scheduler.set_timesteps(steps, device=device)
File "/Users/intermatrixnaut/invokeai/.venv/lib/python3.11/site-packages/diffusers/schedulers/scheduling_lms_discrete.py", line 282, in set_timesteps
self.timesteps = torch.from_numpy(timesteps).to(device=device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

[2023-11-16 18:31:45,089]::[InvokeAI]::ERROR --> Error while invoking:
Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

royal niche
#

That might fix OPs error but yours will need patchmatch installed likely

#

There’s parchmatch installation instructions in the docs

little sinew
#

all this is because of the patchmatch?

little sinew
royal niche
#

Your error is because of a bug with the scheduler - lower your step count or change the scheduler

little sinew
#

yeah, it didn't like LMS Karras, 26 steps, I got it back to DDIM at 20

little sinew
#

the "brew install opencv" is updating, thanks

karmic tundra
#

So I have no option the reach the settings

royal niche
#

Try updating to 3.4.0post1