mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
dfcf38be91
- Implement new model loader and modify invocations and embeddings - Finish implementation loaders for all models currently supported by InvokeAI. - Move lora, textual_inversion, and model patching support into backend/embeddings. - Restore support for model cache statistics collection (a little ugly, needs work). - Fixed up invocations that load and patch models. - Move seamless and silencewarnings utils into better location
13 lines
391 B
Python
13 lines
391 B
Python
"""Base class for LoRA and Textual Inversion models.
|
|
|
|
The EmbeddingRaw class is the base class of LoRAModelRaw and TextualInversionModelRaw,
|
|
and is used for type checking of calls to the model patcher.
|
|
|
|
The use of "Raw" here is a historical artifact, and carried forward in
|
|
order to avoid confusion.
|
|
"""
|
|
|
|
|
|
class EmbeddingModelRaw:
|
|
"""Base class for LoRA and Textual Inversion models."""
|