mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-08 11:57:36 +08:00
Add AutoencoderKL to the list of models that opt-out of partial loading.
This commit is contained in:
parent
f9e899a6ba
commit
609ed06265
@ -6,6 +6,7 @@ from typing import Dict, List, Optional
|
||||
|
||||
import psutil
|
||||
import torch
|
||||
from diffusers.models.autoencoders.autoencoder_kl import AutoencoderKL
|
||||
|
||||
from invokeai.backend.flux.ip_adapter.xlabs_ip_adapter_flux import XlabsIpAdapterFlux
|
||||
from invokeai.backend.flux.modules.autoencoder import AutoEncoder
|
||||
@ -156,6 +157,7 @@ class ModelCache:
|
||||
AutoEncoder,
|
||||
# XLabsIPAdapterFlux is a wrapper around two models that are called directly.
|
||||
XlabsIpAdapterFlux,
|
||||
AutoencoderKL,
|
||||
)
|
||||
|
||||
# Wrap model.
|
||||
|
Loading…
Reference in New Issue
Block a user