mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs: remove most references to autoimport
There's still a few references in `WEB.md` but this doc is very outdated and needs to be totally redone. It's hard to just remove the references without redoing a lot more. Will need to follow up revising this doc.
This commit is contained in:
parent
73c326680a
commit
49a647ad00
@ -840,22 +840,6 @@ and directories at regular intervals when the size of the cache
|
|||||||
exceeds the value specified in Invoke's `convert_cache` configuration
|
exceeds the value specified in Invoke's `convert_cache` configuration
|
||||||
variable.
|
variable.
|
||||||
|
|
||||||
#### List[str]=installer.scan_directory(scan_dir: Path, install: bool)
|
|
||||||
|
|
||||||
This method will recursively scan the directory indicated in
|
|
||||||
`scan_dir` for new models and either install them in the models
|
|
||||||
directory or register them in place, depending on the setting of
|
|
||||||
`install` (default False).
|
|
||||||
|
|
||||||
The return value is the list of keys of the new installed/registered
|
|
||||||
models.
|
|
||||||
|
|
||||||
#### installer.sync_to_config()
|
|
||||||
|
|
||||||
This method synchronizes models in the models directory and autoimport
|
|
||||||
directory to those in the `ModelConfigRecordService` database. New
|
|
||||||
models are registered and orphan models are unregistered.
|
|
||||||
|
|
||||||
#### installer.start(invoker)
|
#### installer.start(invoker)
|
||||||
|
|
||||||
The `start` method is called by the API intialization routines when
|
The `start` method is called by the API intialization routines when
|
||||||
|
@ -137,15 +137,7 @@ Most common algorithms are supported, like `md5`, `sha256`, and `sha512`. These
|
|||||||
|
|
||||||
#### Path Settings
|
#### Path Settings
|
||||||
|
|
||||||
These options set the paths of various directories and files used by
|
These options set the paths of various directories and files used by InvokeAI. Any user-defined paths should be absolute paths.
|
||||||
InvokeAI. Relative paths are interpreted relative to the root directory, so
|
|
||||||
if root is `/home/fred/invokeai` and the path is
|
|
||||||
`autoimport/main`, then the corresponding directory will be located at
|
|
||||||
`/home/fred/invokeai/autoimport/main`.
|
|
||||||
|
|
||||||
Note that the autoimport directory will be searched recursively,
|
|
||||||
allowing you to organize the models into folders and subfolders in any
|
|
||||||
way you wish.
|
|
||||||
|
|
||||||
#### Logging
|
#### Logging
|
||||||
|
|
||||||
|
@ -20,10 +20,7 @@ are applied to generate imagery. LoRAs may be supplied with a
|
|||||||
simply apply their effect without being triggered.
|
simply apply their effect without being triggered.
|
||||||
|
|
||||||
LoRAs are typically stored in .safetensors files, which are the most
|
LoRAs are typically stored in .safetensors files, which are the most
|
||||||
secure way to store and transmit these types of weights. You may
|
secure way to store and transmit these types of weights.
|
||||||
install any number of `.safetensors` LoRA files simply by copying them
|
|
||||||
into the `autoimport/lora` directory of the corresponding InvokeAI models
|
|
||||||
directory (usually `invokeai` in your home directory).
|
|
||||||
|
|
||||||
To use these when generating, open the LoRA menu item in the options
|
To use these when generating, open the LoRA menu item in the options
|
||||||
panel, select the LoRAs you want to apply and ensure that they have
|
panel, select the LoRAs you want to apply and ensure that they have
|
||||||
|
@ -45,11 +45,3 @@ In this situation, you may need to provide some additional information to identi
|
|||||||
Say you have a repo ID `monster-labs/control_v1p_sd15_qrcode_monster`, and the model you want is inside the `v2` subfolder.
|
Say you have a repo ID `monster-labs/control_v1p_sd15_qrcode_monster`, and the model you want is inside the `v2` subfolder.
|
||||||
|
|
||||||
Add `:v2` to the repo ID and use that when installing the model: `monster-labs/control_v1p_sd15_qrcode_monster:v2`
|
Add `:v2` to the repo ID and use that when installing the model: `monster-labs/control_v1p_sd15_qrcode_monster:v2`
|
||||||
|
|
||||||
## Autoimport
|
|
||||||
|
|
||||||
In the InvokeAI root directory you will find an `autoimport` directory. On startup, any models in this directory will be installed and copied into the Invoke-managed models directory.
|
|
||||||
|
|
||||||
The location of the autoimport directories are controlled by settings in `invokeai.yaml`. See [Configuration](../features/CONFIGURATION.md).
|
|
||||||
|
|
||||||
[set up in the config file]: ../features/CONFIGURATION.md#model-marketplace-api-keys
|
|
||||||
|
Loading…
Reference in New Issue
Block a user