Skip to content

[bug]: !load_model does not work with --root #1546

@damian0815

Description

@damian0815

Is there an existing issue for this?

  • I have searched the existing issues

OS

macOS

GPU

mps

VRAM

No response

What happened?

Not sure if this is already fixed, but when adding a new model to a subfolder of the --root dir and then trying to use !import_model, autocompletion does not work on the CLI and the model won't load.

>> Initialization file /Users/damian/.invokeai found. Loading...
>> InvokeAI runtime directory is "/Users/damian/Documents/invokeai"
...
invoke> !import_model models/ldm/stable-diffusion-v2/768-v-ema.ckpt
** models/ldm/stable-diffusion-v2/768-v-ema.ckpt: file not found

directory contents:

damian@Damians-mac-mini stable-diffusion % ls /Users/damian/Documents/invokeai/models/ldm/stable-diffusion-v2/
512-base-ema.ckpt	768-v-ema.ckpt

.invokeai:

damian@Damians-mac-mini stable-diffusion % cat ~/.invokeai
# InvokeAI initialization file
# Put frequently-used startup commands here, one or more per line
# Examples:
# --web --host=0.0.0.0
# --steps 20
# -Ak_euler_a -C10.0
--root /Users/damian/Documents/invokeai

Screenshots

No response

Additional context

No response

Contact Details

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions