From 8049936e66d98e07da740793af8a58b84ef9d455 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Thu, 30 Oct 2025 03:02:30 +0300 Subject: [PATCH] hy3 set cache dir --- pipelines/model_hyimage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipelines/model_hyimage.py b/pipelines/model_hyimage.py index 644295d0f..a2c13663d 100644 --- a/pipelines/model_hyimage.py +++ b/pipelines/model_hyimage.py @@ -53,6 +53,7 @@ def load_hyimage3(checkpoint_info, diffusers_load_config={}): # pylint: disable= load_args, quant_args = model_quant.get_dit_args(diffusers_load_config, module='Model', device_map=True, allow_quant=allow_quant) pipe = transformers.AutoModelForCausalLM.from_pretrained( repo_id, + cache_dir=shared.opts.diffusers_dir, trust_remote_code=True, attn_implementation="sdpa", moe_impl="eager",