Update README.md
Browse files
README.md
CHANGED
@@ -58,7 +58,7 @@ model_id = "deinferno/LCM_Dreamshaper_v7-openvino"
|
|
58 |
scheduler = LCMScheduler.from_pretrained(model_id, subfolder = "scheduler")
|
59 |
|
60 |
# Use "compile = True" if you don't plan to reshape and recompile model after loading
|
61 |
-
# Don't forget to
|
62 |
pipe = OVLatentConsistencyModelPipeline.from_pretrained(model_id, scheduler = scheduler, compile = False, ov_config = {"CACHE_DIR":""})
|
63 |
|
64 |
prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
|
|
|
58 |
scheduler = LCMScheduler.from_pretrained(model_id, subfolder = "scheduler")
|
59 |
|
60 |
# Use "compile = True" if you don't plan to reshape and recompile model after loading
|
61 |
+
# Don't forget to disable OpenVino cache via "ov_config = {"CACHE_DIR":""}" because optimum won't use it anyway and it will stay as dead weight in your RAM when loading pipeline again
|
62 |
pipe = OVLatentConsistencyModelPipeline.from_pretrained(model_id, scheduler = scheduler, compile = False, ov_config = {"CACHE_DIR":""})
|
63 |
|
64 |
prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
|