mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
add tokenizers to explict requirements
This commit is contained in:
@@ -22,6 +22,7 @@ Note: Release pending `diffusers==0.24`
|
||||
- **Model merge**
|
||||
- add sd-xl rebasin support, thanks @AI-Casanova
|
||||
- **General**
|
||||
- further UI optimizations for **mobile devices**, thanks @iDeNoh
|
||||
- log level defaults to info for console and debug for log file
|
||||
- better prompt display in process tab
|
||||
- increase maximum lora cache values
|
||||
|
||||
@@ -20,7 +20,7 @@ import tomesd
|
||||
from transformers import logging as transformers_logging
|
||||
import ldm.modules.midas as midas
|
||||
from ldm.util import instantiate_from_config
|
||||
from modules import paths, shared, shared_items, shared_state, modelloader, devices, script_callbacks, sd_vae, sd_disable_initialization, errors, hashes, sd_models_config, sd_models_compile, sd_hijack_inpainting
|
||||
from modules import paths, shared, shared_items, shared_state, modelloader, devices, script_callbacks, sd_vae, errors, hashes, sd_models_config, sd_models_compile, sd_hijack_inpainting
|
||||
from modules.timer import Timer
|
||||
from modules.memstats import memory_stats
|
||||
from modules.paths import models_path, script_path
|
||||
@@ -637,7 +637,7 @@ def detect_pipeline(f: str, op: str = 'model', warning=True):
|
||||
else:
|
||||
guess = 'Stable Diffusion'
|
||||
# guess by name
|
||||
if 'LCM_' in f or 'LCM-' in f:
|
||||
if 'LCM_' in f or 'LCM-' or '_LCM' or '-LCM' in f.upper():
|
||||
if shared.backend == shared.Backend.ORIGINAL:
|
||||
warn(f'Model detected as LCM model, but attempting to load using backend=original: {op}={f} size={size} MB')
|
||||
guess = 'Latent Consistency Model'
|
||||
|
||||
@@ -61,6 +61,7 @@ numba==0.57.1
|
||||
pandas==1.5.3
|
||||
protobuf==3.20.3
|
||||
pytorch_lightning==1.9.4
|
||||
tokenizers==0.15.0
|
||||
transformers==4.35.2
|
||||
tomesd==0.1.3
|
||||
urllib3==1.26.15
|
||||
|
||||
Reference in New Issue
Block a user