#No such file or directory: v1-inference.yaml (Windows vs Linux error?)

3 messages · Page 1 of 1 (latest)

sharp parrot
#

I'm running 3.0.1rc1. I just added the SDXL base model and switched to it. When I click "Invoke", I get this error:

[2023-07-26 18:50:10,833]::[InvokeAI]::ERROR --> Error while invoking:
[Errno 2] No such file or directory: '/home/dude/invokeai3/configs\\stable-diffusion\\v1-inference.yaml'

The file actually exists, but the "\\" seem Windows-style paths, and do not work on Linux. How can I fix this?

sharp parrot
#

Well okay, I changed the back slashes in models.yaml to normal slashes, and now I get

File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'ModuleList' object has no attribute '1'

sharp parrot
#

Full error:

INFO:     127.0.0.1:51076 - "POST /api/v1/sessions/ HTTP/1.1" 200 OK
INFO:     127.0.0.1:51076 - "PUT /api/v1/sessions/8e391450-9eb8-43a7-8aa4-274b5c3e42a5/invoke?all=true HTTP/1.1" 202 Accepted
[2023-07-26 20:00:41,862]::[InvokeAI]::INFO --> Converting /home/dude/models/sdxl1/sd_xl_base_1.0.safetensors to diffusers format
[2023-07-26 20:00:42,809]::[InvokeAI]::ERROR --> Traceback (most recent call last):
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/processor.py", line 90, in __process
    outputs = invocation.invoke(
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/invocations/compel.py", line 353, in invoke
    c1, c1_pooled, ec1 = self.run_clip_compel(context, self.clip, self.prompt, False)
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/invocations/compel.py", line 243, in run_clip_compel
    tokenizer_info = context.services.model_manager.get_model(
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/app/services/model_manager_service.py", line 360, in get_model
    model_info = self.mgr.get_model(
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/backend/model_management/model_manager.py", line 474, in get_model
    model_path = model_class.convert_if_required(
  File "/home/dude/invokeai3/.venv/lib/python3.10/site-packages/invokeai/backend/model_management/models/sdxl.py", line 120, in convert_if_required
    return _convert_ckpt_and_cache(