mirror of
https://github.com/pharmapsychotic/clip-interrogator-ext.git
synced 2026-03-13 01:09:59 +00:00
.
This commit is contained in:
@@ -25,8 +25,8 @@ def load(clip_model_name):
|
||||
print(f" detected < 12GB VRAM, using low VRAM mode")
|
||||
|
||||
config = Config(device=devices.get_optimal_device(), clip_model_name=clip_model_name)
|
||||
config.cache_path = 'models/clip-interrogator'
|
||||
if low_vram:
|
||||
config.cache_path = 'models/clip-interrogator'
|
||||
config.blip_model_type = 'base'
|
||||
config.blip_offload = True
|
||||
config.chunk_size = 1024
|
||||
|
||||
Reference in New Issue
Block a user