Buckets:

rtrm's picture
download
raw
213 kB
import{s as $f,o as yf,n as S}from"../chunks/scheduler.8c3d61f6.js";import{S as Mf,i as Tf,g as n,s as t,r as p,A as Df,h as s,f as i,c as r,j as b,u as _,x as f,k as w,y as o,a as x,v as u,d as h,t as g,w as L}from"../chunks/index.da70eac4.js";import{T as R}from"../chunks/Tip.1d9b8c37.js";import{D as $}from"../chunks/Docstring.567bc132.js";import{C as Cs}from"../chunks/CodeBlock.a9c4becf.js";import{E as Ss}from"../chunks/ExampleCodeBlock.15b54358.js";import{H as ne,E as Sf}from"../chunks/index.5d4ab994.js";function Cf(T){let a,v='To learn more about how to load LoRA weights, see the <a href="../../using-diffusers/loading_adapters#lora">LoRA</a> loading guide.';return{c(){a=n("p"),a.innerHTML=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-1fw6lx1"&&(a.innerHTML=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function kf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Af(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Pf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Rf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Hf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Vf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function If(T){let a,v="Examples:",l,c,M;return c=new Cs({props:{code:"JTIzJTIwQXNzdW1pbmclMjAlNjBwaXBlbGluZSU2MCUyMGlzJTIwYWxyZWFkeSUyMGxvYWRlZCUyMHdpdGglMjB0aGUlMjBMb1JBJTIwcGFyYW1ldGVycy4lMEFwaXBlbGluZS51bmxvYWRfbG9yYV93ZWlnaHRzKCklMEEuLi4=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Assuming `pipeline` is already loaded with the LoRA parameters.</span>\n<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline.unload_lora_weights()\n<span class="hljs-meta">&gt;&gt;&gt; </span>...',wrap:!1}}),{c(){a=n("p"),a.textContent=v,l=t(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=v),l=r(d),_(c.$$.fragment,d)},m(d,y){x(d,a,y),x(d,l,y),u(c,d,y),M=!0},p:S,i(d){M||(h(c.$$.fragment,d),M=!0)},o(d){g(c.$$.fragment,d),M=!1},d(d){d&&(i(a),i(l)),L(c,d)}}}function Uf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Xf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Ef(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Ff(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Nf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Wf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function qf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function zf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Bf(T){let a,v="We support loading original format HunyuanVideo LoRA checkpoints.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-gyrs6h"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function jf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Gf(T){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,M="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=t(),c=n("p"),c.textContent=M},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=r(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=M)},m(d,y){x(d,a,y),x(d,l,y),x(d,c,y)},p:S,d(d){d&&(i(a),i(l),i(c))}}}function Jf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Zf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Yf(T){let a,v="Example:",l,c,M;return c=new Cs({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBaW1wb3J0JTIwdG9yY2glMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJzdGFiaWxpdHlhaSUyRnN0YWJsZS1kaWZmdXNpb24teGwtYmFzZS0xLjAlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMEEpLnRvKCUyMmN1ZGElMjIpJTBBcGlwZWxpbmUubG9hZF9sb3JhX3dlaWdodHMoJTIybmVyaWpzJTJGcGl4ZWwtYXJ0LXhsJTIyJTJDJTIwd2VpZ2h0X25hbWUlM0QlMjJwaXhlbC1hcnQteGwuc2FmZXRlbnNvcnMlMjIlMkMlMjBhZGFwdGVyX25hbWUlM0QlMjJwaXhlbCUyMiklMEFwaXBlbGluZS5mdXNlX2xvcmEobG9yYV9zY2FsZSUzRDAuNyk=",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">import</span> torch
pipeline = DiffusionPipeline.from_pretrained(
<span class="hljs-string">&quot;stabilityai/stable-diffusion-xl-base-1.0&quot;</span>, torch_dtype=torch.float16
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
pipeline.load_lora_weights(<span class="hljs-string">&quot;nerijs/pixel-art-xl&quot;</span>, weight_name=<span class="hljs-string">&quot;pixel-art-xl.safetensors&quot;</span>, adapter_name=<span class="hljs-string">&quot;pixel&quot;</span>)
pipeline.fuse_lora(lora_scale=<span class="hljs-number">0.7</span>)`,wrap:!1}}),{c(){a=n("p"),a.textContent=v,l=t(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=v),l=r(d),_(c.$$.fragment,d)},m(d,y){x(d,a,y),x(d,l,y),u(c,d,y),M=!0},p:S,i(d){M||(h(c.$$.fragment,d),M=!0)},o(d){g(c.$$.fragment,d),M=!1},d(d){d&&(i(a),i(l)),L(c,d)}}}function Of(T){let a,v="Example:",l,c,M;return c=new Cs({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpZmZ1c2lvblBpcGVsaW5lJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBEaWZmdXNpb25QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIyc3RhYmlsaXR5YWklMkZzdGFibGUtZGlmZnVzaW9uLXhsLWJhc2UtMS4wJTIyJTJDJTBBKS50byglMjJjdWRhJTIyKSUwQXBpcGVsaW5lLmxvYWRfbG9yYV93ZWlnaHRzKCUyMkNpcm9OMjAyMiUyRnRveS1mYWNlJTIyJTJDJTIwd2VpZ2h0X25hbWUlM0QlMjJ0b3lfZmFjZV9zZHhsLnNhZmV0ZW5zb3JzJTIyJTJDJTIwYWRhcHRlcl9uYW1lJTNEJTIydG95JTIyKSUwQXBpcGVsaW5lLmdldF9hY3RpdmVfYWRhcHRlcnMoKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained(
<span class="hljs-string">&quot;stabilityai/stable-diffusion-xl-base-1.0&quot;</span>,
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
pipeline.load_lora_weights(<span class="hljs-string">&quot;CiroN2022/toy-face&quot;</span>, weight_name=<span class="hljs-string">&quot;toy_face_sdxl.safetensors&quot;</span>, adapter_name=<span class="hljs-string">&quot;toy&quot;</span>)
pipeline.get_active_adapters()`,wrap:!1}}),{c(){a=n("p"),a.textContent=v,l=t(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=v),l=r(d),_(c.$$.fragment,d)},m(d,y){x(d,a,y),x(d,l,y),u(c,d,y),M=!0},p:S,i(d){M||(h(c.$$.fragment,d),M=!0)},o(d){g(c.$$.fragment,d),M=!1},d(d){d&&(i(a),i(l)),L(c,d)}}}function Qf(T){let a,v="This is an experimental API.";return{c(){a=n("p"),a.textContent=v},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=v)},m(l,c){x(l,a,c)},p:S,d(l){l&&i(a)}}}function Kf(T){let a,v="Examples:",l,c,M;return c=new Cs({props:{code:"JTIzJTIwQXNzdW1pbmclMjAlNjBwaXBlbGluZSU2MCUyMGlzJTIwYWxyZWFkeSUyMGxvYWRlZCUyMHdpdGglMjB0aGUlMjBMb1JBJTIwcGFyYW1ldGVycy4lMEFwaXBlbGluZS51bmxvYWRfbG9yYV93ZWlnaHRzKCklMEEuLi4=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Assuming `pipeline` is already loaded with the LoRA parameters.</span>\n<span class="hljs-meta">&gt;&gt;&gt; </span>pipeline.unload_lora_weights()\n<span class="hljs-meta">&gt;&gt;&gt; </span>...',wrap:!1}}),{c(){a=n("p"),a.textContent=v,l=t(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=v),l=r(d),_(c.$$.fragment,d)},m(d,y){x(d,a,y),x(d,l,y),u(c,d,y),M=!0},p:S,i(d){M||(h(c.$$.fragment,d),M=!0)},o(d){g(c.$$.fragment,d),M=!1},d(d){d&&(i(a),i(l)),L(c,d)}}}function em(T){let a,v,l,c,M,d,y,Fl='LoRA is a fast and lightweight training method that inserts and trains a significantly smaller number of parameters instead of all the model parameters. This produces a smaller file (~100 MBs) and makes it easier to quickly train a model to learn a new concept. LoRA weights are typically loaded into the denoiser, text encoder or both. The denoiser usually corresponds to a UNet (<a href="/docs/diffusers/pr_11105/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>, for example) or a Transformer (<a href="/docs/diffusers/pr_11105/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a>, for example). There are several classes for loading LoRA weights:',An,No,Nl='<li><code>StableDiffusionLoraLoaderMixin</code> provides functions for loading and unloading, fusing and unfusing, enabling and disabling, and more functions for managing LoRA weights. This class can be used with any model.</li> <li><code>StableDiffusionXLLoraLoaderMixin</code> is a <a href="../../api/pipelines/stable_diffusion/stable_diffusion_xl">Stable Diffusion (SDXL)</a> version of the <code>StableDiffusionLoraLoaderMixin</code> class for loading and saving LoRA weights. It can only be used with the SDXL model.</li> <li><code>SD3LoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/blog/sd3" rel="nofollow">Stable Diffusion 3</a>.</li> <li><code>FluxLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux" rel="nofollow">Flux</a>.</li> <li><code>CogVideoXLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/cogvideox" rel="nofollow">CogVideoX</a>.</li> <li><code>Mochi1LoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/mochi" rel="nofollow">Mochi</a>.</li> <li><code>LTXVideoLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/ltx_video" rel="nofollow">LTX-Video</a>.</li> <li><code>SanaLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/sana" rel="nofollow">Sana</a>.</li> <li><code>HunyuanVideoLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/hunyuan_video" rel="nofollow">HunyuanVideo</a>.</li> <li><code>Lumina2LoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/lumina2" rel="nofollow">Lumina2</a>.</li> <li><code>AmusedLoraLoaderMixin</code> is for the <a href="/docs/diffusers/pr_11105/en/api/pipelines/amused#diffusers.AmusedPipeline">AmusedPipeline</a>.</li> <li><code>LoraBaseMixin</code> provides a base class with several utility methods to fuse, unfuse, unload, LoRAs and more.</li>',Pn,Ve,Rn,Wo,Hn,H,qo,ks,Pr,Wl=`Load LoRA layers into Stable Diffusion <a href="/docs/diffusers/pr_11105/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a> and
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModel" rel="nofollow"><code>CLIPTextModel</code></a>.`,As,Ie,zo,Ps,Rr,ql="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Rs,Ue,Bo,Hs,Hr,zl="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",Vs,B,jo,Is,Vr,Bl=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.unet</code> and
<code>self.text_encoder</code>.`,Us,Ir,jl="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Xs,Ur,Gl=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Es,Xr,Jl=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet">load_lora_into_unet()</a> for more details on how the state dict is
loaded into <code>self.unet</code>.`,Fs,Er,Zl=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder">load_lora_into_text_encoder()</a> for more details on how the state
dict is loaded into <code>self.text_encoder</code>.`,Ns,ie,Go,Ws,Fr,Yl="Return state dict for lora weights and the network alphas.",qs,Xe,zs,Ee,Jo,Bs,Nr,Ol="Save the LoRA parameters corresponding to the UNet and text encoder.",Vn,Zo,In,V,Yo,js,Wr,Ql=`Load LoRA layers into Stable Diffusion XL <a href="/docs/diffusers/pr_11105/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>,
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModel" rel="nofollow"><code>CLIPTextModel</code></a>, and
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModelWithProjection" rel="nofollow"><code>CLIPTextModelWithProjection</code></a>.`,Gs,Fe,Oo,Js,qr,Kl="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Zs,Ne,Qo,Ys,zr,ec="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",Os,j,Ko,Qs,Br,oc=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.unet</code> and
<code>self.text_encoder</code>.`,Ks,jr,tc="All kwargs are forwarded to <code>self.lora_state_dict</code>.",ei,Gr,rc=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,oi,Jr,ac=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet">load_lora_into_unet()</a> for more details on how the state dict is
loaded into <code>self.unet</code>.`,ti,Zr,nc=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder">load_lora_into_text_encoder()</a> for more details on how the state
dict is loaded into <code>self.text_encoder</code>.`,ri,de,et,ai,Yr,sc="Return state dict for lora weights and the network alphas.",ni,We,si,qe,ot,ii,Or,ic="Save the LoRA parameters corresponding to the UNet and text encoder.",Un,tt,Xn,C,rt,di,Qr,dc=`Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a>,
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModel" rel="nofollow"><code>CLIPTextModel</code></a>, and
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModelWithProjection" rel="nofollow"><code>CLIPTextModelWithProjection</code></a>.`,li,Kr,lc='Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',ci,ze,at,fi,ea,cc="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",mi,Be,nt,pi,oa,fc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",_i,Z,st,ui,ta,mc=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.unet</code> and
<code>self.text_encoder</code>.`,hi,ra,pc="All kwargs are forwarded to <code>self.lora_state_dict</code>.",gi,aa,_c=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Li,na,uc=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,xi,le,it,vi,sa,hc="Return state dict for lora weights and the network alphas.",bi,je,wi,Ge,dt,$i,ia,gc="Save the LoRA parameters corresponding to the UNet and text encoder.",yi,ce,lt,Mi,da,Lc=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,Ti,Je,En,ct,Fn,D,ft,Di,la,xc=`Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/flux_transformer#diffusers.FluxTransformer2DModel">FluxTransformer2DModel</a>,
<a href="https://huggingface.co/docs/transformers/model_doc/clip#transformers.CLIPTextModel" rel="nofollow"><code>CLIPTextModel</code></a>.`,Si,ca,vc='Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',Ci,Ze,mt,ki,fa,bc="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Ai,Ye,pt,Pi,ma,wc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Ri,Y,_t,Hi,pa,$c=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>.`,Vi,_a,yc="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Ii,ua,Mc=`See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Ui,ha,Tc=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Xi,fe,ut,Ei,ga,Dc="Return state dict for lora weights and the network alphas.",Fi,Oe,Ni,Qe,ht,Wi,La,Sc="Save the LoRA parameters corresponding to the UNet and text encoder.",qi,me,gt,zi,xa,Cc=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,Bi,Ke,ji,pe,Lt,Gi,va,kc="Unloads the LoRA parameters.",Ji,eo,Nn,xt,Wn,I,vt,Zi,ba,Ac='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/cogvideox_transformer3d#diffusers.CogVideoXTransformer3DModel">CogVideoXTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/cogvideox#diffusers.CogVideoXPipeline">CogVideoXPipeline</a>.',Yi,oo,bt,Oi,wa,Pc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Qi,to,wt,Ki,$a,Rc=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,ed,_e,$t,od,ya,Hc="Return state dict for lora weights and the network alphas.",td,ro,rd,ao,yt,ad,Ma,Vc="Save the LoRA parameters corresponding to the UNet and text encoder.",nd,ue,Mt,sd,Ta,Ic=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,id,no,qn,Tt,zn,U,Dt,dd,Da,Uc='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/mochi_transformer3d#diffusers.MochiTransformer3DModel">MochiTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/mochi#diffusers.MochiPipeline">MochiPipeline</a>.',ld,so,St,cd,Sa,Xc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",fd,io,Ct,md,Ca,Ec=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,pd,he,kt,_d,ka,Fc="Return state dict for lora weights and the network alphas.",ud,lo,hd,co,At,gd,Aa,Nc="Save the LoRA parameters corresponding to the UNet and text encoder.",Ld,ge,Pt,xd,Pa,Wc=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,vd,fo,Bn,Rt,jn,X,Ht,bd,Ra,qc='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/ltx_video_transformer3d#diffusers.LTXVideoTransformer3DModel">LTXVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/ltx_video#diffusers.LTXPipeline">LTXPipeline</a>.',wd,mo,Vt,$d,Ha,zc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",yd,po,It,Md,Va,Bc=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Td,Le,Ut,Dd,Ia,jc="Return state dict for lora weights and the network alphas.",Sd,_o,Cd,uo,Xt,kd,Ua,Gc="Save the LoRA parameters corresponding to the UNet and text encoder.",Ad,xe,Et,Pd,Xa,Jc=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,Rd,ho,Gn,Ft,Jn,E,Nt,Hd,Ea,Zc='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/sana_transformer2d#diffusers.SanaTransformer2DModel">SanaTransformer2DModel</a>. Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/sana#diffusers.SanaPipeline">SanaPipeline</a>.',Vd,go,Wt,Id,Fa,Yc="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Ud,Lo,qt,Xd,Na,Oc=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Ed,ve,zt,Fd,Wa,Qc="Return state dict for lora weights and the network alphas.",Nd,xo,Wd,vo,Bt,qd,qa,Kc="Save the LoRA parameters corresponding to the UNet and text encoder.",zd,be,jt,Bd,za,ef=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,jd,bo,Zn,Gt,Yn,F,Jt,Gd,Ba,of='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/hunyuan_video_transformer_3d#diffusers.HunyuanVideoTransformer3DModel">HunyuanVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11105/en/api/pipelines/hunyuan_video#diffusers.HunyuanVideoPipeline">HunyuanVideoPipeline</a>.',Jd,wo,Zt,Zd,ja,tf="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Yd,$o,Yt,Od,Ga,rf=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Qd,we,Ot,Kd,Ja,af="Return state dict for lora weights and the network alphas.",el,yo,ol,Mo,Qt,tl,Za,nf="Save the LoRA parameters corresponding to the UNet and text encoder.",rl,$e,Kt,al,Ya,sf=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,nl,To,On,er,Qn,N,or,sl,Oa,df='Load LoRA layers into <a href="/docs/diffusers/pr_11105/en/api/models/lumina2_transformer2d#diffusers.Lumina2Transformer2DModel">Lumina2Transformer2DModel</a>. Specific to <code>Lumina2Text2ImgPipeline</code>.',il,Do,tr,dl,Qa,lf="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",ll,So,rr,cl,Ka,cf=`Load LoRA weights specified in <code>pretrained_model_name_or_path_or_dict</code> into <code>self.transformer</code> and
<code>self.text_encoder</code>. All kwargs are forwarded to <code>self.lora_state_dict</code>. See
<a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is loaded.
See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,fl,ye,ar,ml,en,ff="Return state dict for lora weights and the network alphas.",pl,Co,_l,ko,nr,ul,on,mf="Save the LoRA parameters corresponding to the UNet and text encoder.",hl,Me,sr,gl,tn,pf=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,Ll,Ao,Kn,ir,es,Ce,dr,xl,Po,lr,vl,rn,_f="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",os,cr,ts,k,fr,bl,an,uf="Utility class for handling LoRAs.",wl,nn,mr,$l,se,pr,yl,sn,hf="Fuses the LoRA parameters into the original parameters of the corresponding blocks.",Ml,Ro,Tl,Ho,Dl,Te,_r,Sl,dn,gf="Gets the list of the current active adapters.",Cl,Vo,kl,Io,ur,Al,ln,Lf="Gets the current list of all available adapters in the pipeline.",Pl,Uo,hr,Rl,cn,xf=`Moves the LoRAs listed in <code>adapter_names</code> to a target device. Useful for offloading the LoRA to the CPU in case
you want to load multiple adapters and free some GPU memory.`,Hl,De,gr,Vl,fn,vf=`Reverses the effect of
<a href="https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseMixin.fuse_lora" rel="nofollow"><code>pipe.fuse_lora()</code></a>.`,Il,Xo,Ul,Se,Lr,Xl,mn,bf="Unloads the LoRA parameters.",El,Eo,rs,xr,as,kn,ns;return M=new ne({props:{title:"LoRA",local:"lora",headingTag:"h1"}}),Ve=new R({props:{$$slots:{default:[Cf]},$$scope:{ctx:T}}}),Wo=new ne({props:{title:"StableDiffusionLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionLoraLoaderMixin",headingTag:"h2"}}),qo=new $({props:{name:"class diffusers.loaders.StableDiffusionLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L71"}}),zo=new $({props:{name:"load_lora_into_text_encoder",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"text_encoder",val:""},{name:"prefix",val:" = None"},{name:"lora_scale",val:" = 1.0"},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The key should be prefixed with an
additional <code>text_encoder</code> to distinguish between unet lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>) &#x2014;
The text encoder model to load the LoRA layers into.`,name:"text_encoder"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.prefix",description:`<strong>prefix</strong> (<code>str</code>) &#x2014;
Expected prefix of the <code>text_encoder</code> in the <code>state_dict</code>.`,name:"prefix"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>) &#x2014;
How much to scale the output of the lora linear layer before it is added with the output of the regular
lora layer.`,name:"lora_scale"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L312"}}),Bo=new $({props:{name:"load_lora_into_unet",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"unet",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.unet",description:`<strong>unet</strong> (<code>UNet2DConditionModel</code>) &#x2014;
The UNet model to load the LoRA layers into.`,name:"unet"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L266"}}),jo=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L81"}}),Go=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict.weight_name",description:`<strong>weight_name</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014;
Name of the serialized state dict file.`,name:"weight_name"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L151"}}),Xe=new R({props:{warning:!0,$$slots:{default:[kf]},$$scope:{ctx:T}}}),Jo=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"unet_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_lora_layers",val:": typing.Dict[str, torch.nn.modules.module.Module] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.unet_lora_layers",description:`<strong>unet_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>unet</code>.`,name:"unet_lora_layers"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.text_encoder_lora_layers",description:`<strong>text_encoder_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_lora_layers"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L361"}}),Zo=new ne({props:{title:"StableDiffusionXLLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",headingTag:"h2"}}),Yo=new $({props:{name:"class diffusers.loaders.StableDiffusionXLLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L483"}}),Oo=new $({props:{name:"load_lora_into_text_encoder",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"text_encoder",val:""},{name:"prefix",val:" = None"},{name:"lora_scale",val:" = 1.0"},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The key should be prefixed with an
additional <code>text_encoder</code> to distinguish between unet lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>) &#x2014;
The text encoder model to load the LoRA layers into.`,name:"text_encoder"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.prefix",description:`<strong>prefix</strong> (<code>str</code>) &#x2014;
Expected prefix of the <code>text_encoder</code> in the <code>state_dict</code>.`,name:"prefix"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>) &#x2014;
How much to scale the output of the lora linear layer before it is added with the output of the regular
lora layer.`,name:"lora_scale"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L747"}}),Qo=new $({props:{name:"load_lora_into_unet",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"unet",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.unet",description:`<strong>unet</strong> (<code>UNet2DConditionModel</code>) &#x2014;
The UNet model to load the LoRA layers into.`,name:"unet"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L700"}}),Ko=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:": typing.Optional[str] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L494"}}),et=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.lora_state_dict.weight_name",description:`<strong>weight_name</strong> (<code>str</code>, <em>optional</em>, defaults to None) &#x2014;
Name of the serialized state dict file.`,name:"weight_name"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L584"}}),We=new R({props:{warning:!0,$$slots:{default:[Af]},$$scope:{ctx:T}}}),ot=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"unet_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_2_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.unet_lora_layers",description:`<strong>unet_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>unet</code>.`,name:"unet_lora_layers"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.text_encoder_lora_layers",description:`<strong>text_encoder_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_lora_layers"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.text_encoder_2_lora_layers",description:`<strong>text_encoder_2_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder_2</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_2_lora_layers"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L797"}}),tt=new ne({props:{title:"SD3LoraLoaderMixin",local:"diffusers.loaders.SD3LoraLoaderMixin",headingTag:"h2"}}),rt=new $({props:{name:"class diffusers.loaders.SD3LoraLoaderMixin",anchor:"diffusers.loaders.SD3LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L927"}}),at=new $({props:{name:"load_lora_into_text_encoder",anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"text_encoder",val:""},{name:"prefix",val:" = None"},{name:"lora_scale",val:" = 1.0"},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The key should be prefixed with an
additional <code>text_encoder</code> to distinguish between unet lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>) &#x2014;
The text encoder model to load the LoRA layers into.`,name:"text_encoder"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.prefix",description:`<strong>prefix</strong> (<code>str</code>) &#x2014;
Expected prefix of the <code>text_encoder</code> in the <code>state_dict</code>.`,name:"prefix"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>) &#x2014;
How much to scale the output of the lora linear layer before it is added with the output of the regular
lora layer.`,name:"lora_scale"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1148"}}),nt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>SD3Transformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1112"}}),st=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1037"}}),it=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L940"}}),je=new R({props:{warning:!0,$$slots:{default:[Pf]},$$scope:{ctx:T}}}),dt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_2_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.text_encoder_lora_layers",description:`<strong>text_encoder_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_lora_layers"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.text_encoder_2_lora_layers",description:`<strong>text_encoder_2_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder_2</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_2_lora_layers"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1198"}}),lt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.SD3LoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer', 'text_encoder', 'text_encoder_2']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SD3LoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.unfuse_lora.unfuse_text_encoder",description:`<strong>unfuse_text_encoder</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to unfuse the text encoder LoRA parameters. If the text encoder wasn&#x2019;t monkey-patched with the
LoRA parameters then it won&#x2019;t have any effect.`,name:"unfuse_text_encoder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1310"}}),Je=new R({props:{warning:!0,$$slots:{default:[Rf]},$$scope:{ctx:T}}}),ct=new ne({props:{title:"FluxLoraLoaderMixin",local:"diffusers.loaders.FluxLoraLoaderMixin",headingTag:"h2"}}),ft=new $({props:{name:"class diffusers.loaders.FluxLoraLoaderMixin",anchor:"diffusers.loaders.FluxLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1331"}}),mt=new $({props:{name:"load_lora_into_text_encoder",anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"text_encoder",val:""},{name:"prefix",val:" = None"},{name:"lora_scale",val:" = 1.0"},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The key should be prefixed with an
additional <code>text_encoder</code> to distinguish between unet lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.text_encoder",description:`<strong>text_encoder</strong> (<code>CLIPTextModel</code>) &#x2014;
The text encoder model to load the LoRA layers into.`,name:"text_encoder"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.prefix",description:`<strong>prefix</strong> (<code>str</code>) &#x2014;
Expected prefix of the <code>text_encoder</code> in the <code>state_dict</code>.`,name:"prefix"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>) &#x2014;
How much to scale the output of the lora linear layer before it is added with the output of the regular
lora layer.`,name:"lora_scale"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1686"}}),pt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>FluxTransformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1592"}}),_t=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
\`Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1478"}}),ut=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"return_alphas",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1344"}}),Oe=new R({props:{warning:!0,$$slots:{default:[Hf]},$$scope:{ctx:T}}}),ht=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"text_encoder_lora_layers",val:": typing.Dict[str, torch.nn.modules.module.Module] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.text_encoder_lora_layers",description:`<strong>text_encoder_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>text_encoder</code>. Must explicitly pass the text
encoder LoRA state dict because it comes from &#x1F917; Transformers.`,name:"text_encoder_lora_layers"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1736"}}),gt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.FluxLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer', 'text_encoder']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1851"}}),Ke=new R({props:{warning:!0,$$slots:{default:[Vf]},$$scope:{ctx:T}}}),Lt=new $({props:{name:"unload_lora_weights",anchor:"diffusers.loaders.FluxLoraLoaderMixin.unload_lora_weights",parameters:[{name:"reset_to_overwritten_params",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.FluxLoraLoaderMixin.unload_lora_weights.reset_to_overwritten_params",description:`<strong>reset_to_overwritten_params</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014; Whether to reset the LoRA-loaded modules
to their original params. Refer to the <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux" rel="nofollow">Flux
documentation</a> to learn more.`,name:"reset_to_overwritten_params"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L1872"}}),eo=new Ss({props:{anchor:"diffusers.loaders.FluxLoraLoaderMixin.unload_lora_weights.example",$$slots:{default:[If]},$$scope:{ctx:T}}}),xt=new ne({props:{title:"CogVideoXLoraLoaderMixin",local:"diffusers.loaders.CogVideoXLoraLoaderMixin",headingTag:"h2"}}),vt=new $({props:{name:"class diffusers.loaders.CogVideoXLoraLoaderMixin",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2287"}}),bt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>CogVideoXTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2443"}}),wt=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2393"}}),$t=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2295"}}),ro=new R({props:{warning:!0,$$slots:{default:[Uf]},$$scope:{ctx:T}}}),yt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2480"}}),Mt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2575"}}),no=new R({props:{warning:!0,$$slots:{default:[Xf]},$$scope:{ctx:T}}}),Tt=new ne({props:{title:"Mochi1LoraLoaderMixin",local:"diffusers.loaders.Mochi1LoraLoaderMixin",headingTag:"h2"}}),Dt=new $({props:{name:"class diffusers.loaders.Mochi1LoraLoaderMixin",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2593"}}),St=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>MochiTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2750"}}),Ct=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2700"}}),kt=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2601"}}),lo=new R({props:{warning:!0,$$slots:{default:[Ef]},$$scope:{ctx:T}}}),At=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2787"}}),Pt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2884"}}),fo=new R({props:{warning:!0,$$slots:{default:[Ff]},$$scope:{ctx:T}}}),Rt=new ne({props:{title:"LTXVideoLoraLoaderMixin",local:"diffusers.loaders.LTXVideoLoraLoaderMixin",headingTag:"h2"}}),Ht=new $({props:{name:"class diffusers.loaders.LTXVideoLoraLoaderMixin",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2902"}}),Vt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>LTXVideoTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3059"}}),It=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3009"}}),Ut=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2910"}}),_o=new R({props:{warning:!0,$$slots:{default:[Nf]},$$scope:{ctx:T}}}),Xt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3096"}}),Et=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3193"}}),ho=new R({props:{warning:!0,$$slots:{default:[Wf]},$$scope:{ctx:T}}}),Ft=new ne({props:{title:"SanaLoraLoaderMixin",local:"diffusers.loaders.SanaLoraLoaderMixin",headingTag:"h2"}}),Nt=new $({props:{name:"class diffusers.loaders.SanaLoraLoaderMixin",anchor:"diffusers.loaders.SanaLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3211"}}),Wt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>SanaTransformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3368"}}),qt=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3318"}}),zt=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3219"}}),xo=new R({props:{warning:!0,$$slots:{default:[qf]},$$scope:{ctx:T}}}),Bt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3405"}}),jt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.SanaLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.SanaLoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3502"}}),bo=new R({props:{warning:!0,$$slots:{default:[zf]},$$scope:{ctx:T}}}),Gt=new ne({props:{title:"HunyuanVideoLoraLoaderMixin",local:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",headingTag:"h2"}}),Jt=new $({props:{name:"class diffusers.loaders.HunyuanVideoLoraLoaderMixin",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3520"}}),Zt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>HunyuanVideoTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3680"}}),Yt=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3630"}}),Ot=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3528"}}),yo=new R({props:{warning:!0,$$slots:{default:[Bf]},$$scope:{ctx:T}}}),Qt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3717"}}),Kt=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3814"}}),To=new R({props:{warning:!0,$$slots:{default:[jf]},$$scope:{ctx:T}}}),er=new ne({props:{title:"Lumina2LoraLoaderMixin",local:"diffusers.loaders.Lumina2LoraLoaderMixin",headingTag:"h2"}}),or=new $({props:{name:"class diffusers.loaders.Lumina2LoraLoaderMixin",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3832"}}),tr=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>Lumina2Transformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3993"}}),rr=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_weights",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"adapter_name",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_weights.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_weights.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_weights.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11105/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3943"}}),ar=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict",parameters:[{name:"pretrained_model_name_or_path_or_dict",val:": typing.Union[str, typing.Dict[str, torch.Tensor]]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.pretrained_model_name_or_path_or_dict",description:`<strong>pretrained_model_name_or_path_or_dict</strong> (<code>str</code> or <code>os.PathLike</code> or <code>dict</code>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the model weights saved
with <a href="/docs/diffusers/pr_11105/en/api/models/overview#diffusers.ModelMixin.save_pretrained">ModelMixin.save_pretrained()</a>.</li>
<li>A <a href="https://pytorch.org/tutorials/beginner/saving_loading_models.html#what-is-a-state-dict" rel="nofollow">torch state
dict</a>.</li>
</ul>`,name:"pretrained_model_name_or_path_or_dict"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.local_files_only",description:`<strong>local_files_only</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.lora_state_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L3840"}}),Co=new R({props:{warning:!0,$$slots:{default:[Gf]},$$scope:{ctx:T}}}),nr=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"transformer_lora_layers",val:": typing.Dict[str, typing.Union[torch.nn.modules.module.Module, torch.Tensor]] = None"},{name:"is_main_process",val:": bool = True"},{name:"weight_name",val:": str = None"},{name:"save_function",val:": typing.Callable = None"},{name:"safe_serialization",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory to save LoRA parameters to. Will be created if it doesn&#x2019;t exist.`,name:"save_directory"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights.transformer_lora_layers",description:`<strong>transformer_lora_layers</strong> (<code>Dict[str, torch.nn.Module]</code> or <code>Dict[str, torch.Tensor]</code>) &#x2014;
State dict of the LoRA layers corresponding to the <code>transformer</code>.`,name:"transformer_lora_layers"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights.is_main_process",description:`<strong>is_main_process</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all processes. In this case, set <code>is_main_process=True</code> only on the main
process to avoid race conditions.`,name:"is_main_process"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights.save_function",description:`<strong>save_function</strong> (<code>Callable</code>) &#x2014;
The function to use to save the state dictionary. Useful during distributed training when you need to
replace <code>torch.save</code> with another method. Can be configured with the environment variable
<code>DIFFUSERS_SAVE_MODE</code>.`,name:"save_function"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.save_lora_weights.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to save the model using <code>safetensors</code> or the traditional PyTorch way with <code>pickle</code>.`,name:"safe_serialization"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L4030"}}),sr=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.unfuse_lora.unfuse_transformer",description:"<strong>unfuse_transformer</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_transformer"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L4127"}}),Ao=new R({props:{warning:!0,$$slots:{default:[Jf]},$$scope:{ctx:T}}}),ir=new ne({props:{title:"AmusedLoraLoaderMixin",local:"diffusers.loaders.AmusedLoraLoaderMixin",headingTag:"h2"}}),dr=new $({props:{name:"class diffusers.loaders.AmusedLoraLoaderMixin",anchor:"diffusers.loaders.AmusedLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2136"}}),lr=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer",parameters:[{name:"state_dict",val:""},{name:"network_alphas",val:""},{name:"transformer",val:""},{name:"adapter_name",val:" = None"},{name:"_pipeline",val:" = None"},{name:"low_cpu_mem_usage",val:" = False"}],parametersDescription:[{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.state_dict",description:`<strong>state_dict</strong> (<code>dict</code>) &#x2014;
A standard state dict containing the lora layer parameters. The keys can either be indexed directly
into the unet or prefixed with an additional <code>unet</code> which can be used to distinguish between text
encoder lora layers.`,name:"state_dict"},{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.network_alphas",description:`<strong>network_alphas</strong> (<code>Dict[str, float]</code>) &#x2014;
The value of the network alpha used for stable learning and preventing underflow. This value has the
same meaning as the <code>--network_alpha</code> option in the kohya-ss trainer script. Refer to <a href="https://github.com/darkstorm2150/sd-scripts/blob/main/docs/train_network_README-en.md#execute-learning" rel="nofollow">this
link</a>.`,name:"network_alphas"},{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>UVit2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.adapter_name",description:`<strong>adapter_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Adapter name to be used for referencing the loaded adapter model. If not specified, it will use
<code>default_{i}</code> where i is the total number of adapters being loaded.`,name:"adapter_name"},{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.low_cpu_mem_usage",description:`<strong>low_cpu_mem_usage</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Speed up model loading by only loading the pretrained LoRA weights and not initializing the random
weights.`,name:"low_cpu_mem_usage"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_pipeline.py#L2141"}}),cr=new ne({props:{title:"LoraBaseMixin",local:"diffusers.loaders.lora_base.LoraBaseMixin",headingTag:"h2"}}),fr=new $({props:{name:"class diffusers.loaders.lora_base.LoraBaseMixin",anchor:"diffusers.loaders.lora_base.LoraBaseMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L459"}}),mr=new $({props:{name:"delete_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.delete_adapters",parameters:[{name:"adapter_names",val:": typing.Union[typing.List[str], str]"}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.delete_adapters.Deletes",description:`<strong>Deletes</strong> the LoRA layers of <code>adapter_name</code> for the unet and text-encoder(s). &#x2014;
adapter_names (<code>Union[List[str], str]</code>):
The names of the adapter to delete. Can be a single string or a list of strings`,name:"Deletes"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L760"}}),pr=new $({props:{name:"fuse_lora",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora",parameters:[{name:"components",val:": typing.List[str] = []"},{name:"lora_scale",val:": float = 1.0"},{name:"safe_fusing",val:": bool = False"},{name:"adapter_names",val:": typing.Optional[typing.List[str]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.components",description:"<strong>components</strong> &#x2014; (<code>List[str]</code>): List of LoRA-injectable components to fuse the LoRAs into.",name:"components"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>, defaults to 1.0) &#x2014;
Controls how much to influence the outputs with the LoRA parameters.`,name:"lora_scale"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.safe_fusing",description:`<strong>safe_fusing</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to check fused weights for NaN values before fusing and if values are NaN not fusing them.`,name:"safe_fusing"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.adapter_names",description:`<strong>adapter_names</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
Adapter names to be used for fusing. If nothing is passed, all active adapters will be fused.`,name:"adapter_names"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L526"}}),Ro=new R({props:{warning:!0,$$slots:{default:[Zf]},$$scope:{ctx:T}}}),Ho=new Ss({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.example",$$slots:{default:[Yf]},$$scope:{ctx:T}}}),_r=new $({props:{name:"get_active_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_active_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L782"}}),Vo=new Ss({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_active_adapters.example",$$slots:{default:[Of]},$$scope:{ctx:T}}}),ur=new $({props:{name:"get_list_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_list_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L815"}}),hr=new $({props:{name:"set_lora_device",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device",parameters:[{name:"adapter_names",val:": typing.List[str]"},{name:"device",val:": typing.Union[torch.device, str, int]"}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device.adapter_names",description:`<strong>adapter_names</strong> (<code>List[str]</code>) &#x2014;
List of adapters to send device to.`,name:"adapter_names"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device.device",description:`<strong>device</strong> (<code>Union[torch.device, str, int]</code>) &#x2014;
Device to send the adapters to. Can be either a torch device, a str or an integer.`,name:"device"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L837"}}),gr=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = []"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.unfuse_unet",description:"<strong>unfuse_unet</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_unet"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.unfuse_text_encoder",description:`<strong>unfuse_text_encoder</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to unfuse the text encoder LoRA parameters. If the text encoder wasn&#x2019;t monkey-patched with the
LoRA parameters then it won&#x2019;t have any effect.`,name:"unfuse_text_encoder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L607"}}),Xo=new R({props:{warning:!0,$$slots:{default:[Qf]},$$scope:{ctx:T}}}),Lr=new $({props:{name:"unload_lora_weights",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unload_lora_weights",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11105/src/diffusers/loaders/lora_base.py#L503"}}),Eo=new Ss({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unload_lora_weights.example",$$slots:{default:[Kf]},$$scope:{ctx:T}}}),xr=new Sf({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/loaders/lora.md"}}),{c(){a=n("meta"),v=t(),l=n("p"),c=t(),p(M.$$.fragment),d=t(),y=n("p"),y.innerHTML=Fl,An=t(),No=n("ul"),No.innerHTML=Nl,Pn=t(),p(Ve.$$.fragment),Rn=t(),p(Wo.$$.fragment),Hn=t(),H=n("div"),p(qo.$$.fragment),ks=t(),Pr=n("p"),Pr.innerHTML=Wl,As=t(),Ie=n("div"),p(zo.$$.fragment),Ps=t(),Rr=n("p"),Rr.innerHTML=ql,Rs=t(),Ue=n("div"),p(Bo.$$.fragment),Hs=t(),Hr=n("p"),Hr.innerHTML=zl,Vs=t(),B=n("div"),p(jo.$$.fragment),Is=t(),Vr=n("p"),Vr.innerHTML=Bl,Us=t(),Ir=n("p"),Ir.innerHTML=jl,Xs=t(),Ur=n("p"),Ur.innerHTML=Gl,Es=t(),Xr=n("p"),Xr.innerHTML=Jl,Fs=t(),Er=n("p"),Er.innerHTML=Zl,Ns=t(),ie=n("div"),p(Go.$$.fragment),Ws=t(),Fr=n("p"),Fr.textContent=Yl,qs=t(),p(Xe.$$.fragment),zs=t(),Ee=n("div"),p(Jo.$$.fragment),Bs=t(),Nr=n("p"),Nr.textContent=Ol,Vn=t(),p(Zo.$$.fragment),In=t(),V=n("div"),p(Yo.$$.fragment),js=t(),Wr=n("p"),Wr.innerHTML=Ql,Gs=t(),Fe=n("div"),p(Oo.$$.fragment),Js=t(),qr=n("p"),qr.innerHTML=Kl,Zs=t(),Ne=n("div"),p(Qo.$$.fragment),Ys=t(),zr=n("p"),zr.innerHTML=ec,Os=t(),j=n("div"),p(Ko.$$.fragment),Qs=t(),Br=n("p"),Br.innerHTML=oc,Ks=t(),jr=n("p"),jr.innerHTML=tc,ei=t(),Gr=n("p"),Gr.innerHTML=rc,oi=t(),Jr=n("p"),Jr.innerHTML=ac,ti=t(),Zr=n("p"),Zr.innerHTML=nc,ri=t(),de=n("div"),p(et.$$.fragment),ai=t(),Yr=n("p"),Yr.textContent=sc,ni=t(),p(We.$$.fragment),si=t(),qe=n("div"),p(ot.$$.fragment),ii=t(),Or=n("p"),Or.textContent=ic,Un=t(),p(tt.$$.fragment),Xn=t(),C=n("div"),p(rt.$$.fragment),di=t(),Qr=n("p"),Qr.innerHTML=dc,li=t(),Kr=n("p"),Kr.innerHTML=lc,ci=t(),ze=n("div"),p(at.$$.fragment),fi=t(),ea=n("p"),ea.innerHTML=cc,mi=t(),Be=n("div"),p(nt.$$.fragment),pi=t(),oa=n("p"),oa.innerHTML=fc,_i=t(),Z=n("div"),p(st.$$.fragment),ui=t(),ta=n("p"),ta.innerHTML=mc,hi=t(),ra=n("p"),ra.innerHTML=pc,gi=t(),aa=n("p"),aa.innerHTML=_c,Li=t(),na=n("p"),na.innerHTML=uc,xi=t(),le=n("div"),p(it.$$.fragment),vi=t(),sa=n("p"),sa.textContent=hc,bi=t(),p(je.$$.fragment),wi=t(),Ge=n("div"),p(dt.$$.fragment),$i=t(),ia=n("p"),ia.textContent=gc,yi=t(),ce=n("div"),p(lt.$$.fragment),Mi=t(),da=n("p"),da.innerHTML=Lc,Ti=t(),p(Je.$$.fragment),En=t(),p(ct.$$.fragment),Fn=t(),D=n("div"),p(ft.$$.fragment),Di=t(),la=n("p"),la.innerHTML=xc,Si=t(),ca=n("p"),ca.innerHTML=vc,Ci=t(),Ze=n("div"),p(mt.$$.fragment),ki=t(),fa=n("p"),fa.innerHTML=bc,Ai=t(),Ye=n("div"),p(pt.$$.fragment),Pi=t(),ma=n("p"),ma.innerHTML=wc,Ri=t(),Y=n("div"),p(_t.$$.fragment),Hi=t(),pa=n("p"),pa.innerHTML=$c,Vi=t(),_a=n("p"),_a.innerHTML=yc,Ii=t(),ua=n("p"),ua.innerHTML=Mc,Ui=t(),ha=n("p"),ha.innerHTML=Tc,Xi=t(),fe=n("div"),p(ut.$$.fragment),Ei=t(),ga=n("p"),ga.textContent=Dc,Fi=t(),p(Oe.$$.fragment),Ni=t(),Qe=n("div"),p(ht.$$.fragment),Wi=t(),La=n("p"),La.textContent=Sc,qi=t(),me=n("div"),p(gt.$$.fragment),zi=t(),xa=n("p"),xa.innerHTML=Cc,Bi=t(),p(Ke.$$.fragment),ji=t(),pe=n("div"),p(Lt.$$.fragment),Gi=t(),va=n("p"),va.textContent=kc,Ji=t(),p(eo.$$.fragment),Nn=t(),p(xt.$$.fragment),Wn=t(),I=n("div"),p(vt.$$.fragment),Zi=t(),ba=n("p"),ba.innerHTML=Ac,Yi=t(),oo=n("div"),p(bt.$$.fragment),Oi=t(),wa=n("p"),wa.innerHTML=Pc,Qi=t(),to=n("div"),p(wt.$$.fragment),Ki=t(),$a=n("p"),$a.innerHTML=Rc,ed=t(),_e=n("div"),p($t.$$.fragment),od=t(),ya=n("p"),ya.textContent=Hc,td=t(),p(ro.$$.fragment),rd=t(),ao=n("div"),p(yt.$$.fragment),ad=t(),Ma=n("p"),Ma.textContent=Vc,nd=t(),ue=n("div"),p(Mt.$$.fragment),sd=t(),Ta=n("p"),Ta.innerHTML=Ic,id=t(),p(no.$$.fragment),qn=t(),p(Tt.$$.fragment),zn=t(),U=n("div"),p(Dt.$$.fragment),dd=t(),Da=n("p"),Da.innerHTML=Uc,ld=t(),so=n("div"),p(St.$$.fragment),cd=t(),Sa=n("p"),Sa.innerHTML=Xc,fd=t(),io=n("div"),p(Ct.$$.fragment),md=t(),Ca=n("p"),Ca.innerHTML=Ec,pd=t(),he=n("div"),p(kt.$$.fragment),_d=t(),ka=n("p"),ka.textContent=Fc,ud=t(),p(lo.$$.fragment),hd=t(),co=n("div"),p(At.$$.fragment),gd=t(),Aa=n("p"),Aa.textContent=Nc,Ld=t(),ge=n("div"),p(Pt.$$.fragment),xd=t(),Pa=n("p"),Pa.innerHTML=Wc,vd=t(),p(fo.$$.fragment),Bn=t(),p(Rt.$$.fragment),jn=t(),X=n("div"),p(Ht.$$.fragment),bd=t(),Ra=n("p"),Ra.innerHTML=qc,wd=t(),mo=n("div"),p(Vt.$$.fragment),$d=t(),Ha=n("p"),Ha.innerHTML=zc,yd=t(),po=n("div"),p(It.$$.fragment),Md=t(),Va=n("p"),Va.innerHTML=Bc,Td=t(),Le=n("div"),p(Ut.$$.fragment),Dd=t(),Ia=n("p"),Ia.textContent=jc,Sd=t(),p(_o.$$.fragment),Cd=t(),uo=n("div"),p(Xt.$$.fragment),kd=t(),Ua=n("p"),Ua.textContent=Gc,Ad=t(),xe=n("div"),p(Et.$$.fragment),Pd=t(),Xa=n("p"),Xa.innerHTML=Jc,Rd=t(),p(ho.$$.fragment),Gn=t(),p(Ft.$$.fragment),Jn=t(),E=n("div"),p(Nt.$$.fragment),Hd=t(),Ea=n("p"),Ea.innerHTML=Zc,Vd=t(),go=n("div"),p(Wt.$$.fragment),Id=t(),Fa=n("p"),Fa.innerHTML=Yc,Ud=t(),Lo=n("div"),p(qt.$$.fragment),Xd=t(),Na=n("p"),Na.innerHTML=Oc,Ed=t(),ve=n("div"),p(zt.$$.fragment),Fd=t(),Wa=n("p"),Wa.textContent=Qc,Nd=t(),p(xo.$$.fragment),Wd=t(),vo=n("div"),p(Bt.$$.fragment),qd=t(),qa=n("p"),qa.textContent=Kc,zd=t(),be=n("div"),p(jt.$$.fragment),Bd=t(),za=n("p"),za.innerHTML=ef,jd=t(),p(bo.$$.fragment),Zn=t(),p(Gt.$$.fragment),Yn=t(),F=n("div"),p(Jt.$$.fragment),Gd=t(),Ba=n("p"),Ba.innerHTML=of,Jd=t(),wo=n("div"),p(Zt.$$.fragment),Zd=t(),ja=n("p"),ja.innerHTML=tf,Yd=t(),$o=n("div"),p(Yt.$$.fragment),Od=t(),Ga=n("p"),Ga.innerHTML=rf,Qd=t(),we=n("div"),p(Ot.$$.fragment),Kd=t(),Ja=n("p"),Ja.textContent=af,el=t(),p(yo.$$.fragment),ol=t(),Mo=n("div"),p(Qt.$$.fragment),tl=t(),Za=n("p"),Za.textContent=nf,rl=t(),$e=n("div"),p(Kt.$$.fragment),al=t(),Ya=n("p"),Ya.innerHTML=sf,nl=t(),p(To.$$.fragment),On=t(),p(er.$$.fragment),Qn=t(),N=n("div"),p(or.$$.fragment),sl=t(),Oa=n("p"),Oa.innerHTML=df,il=t(),Do=n("div"),p(tr.$$.fragment),dl=t(),Qa=n("p"),Qa.innerHTML=lf,ll=t(),So=n("div"),p(rr.$$.fragment),cl=t(),Ka=n("p"),Ka.innerHTML=cf,fl=t(),ye=n("div"),p(ar.$$.fragment),ml=t(),en=n("p"),en.textContent=ff,pl=t(),p(Co.$$.fragment),_l=t(),ko=n("div"),p(nr.$$.fragment),ul=t(),on=n("p"),on.textContent=mf,hl=t(),Me=n("div"),p(sr.$$.fragment),gl=t(),tn=n("p"),tn.innerHTML=pf,Ll=t(),p(Ao.$$.fragment),Kn=t(),p(ir.$$.fragment),es=t(),Ce=n("div"),p(dr.$$.fragment),xl=t(),Po=n("div"),p(lr.$$.fragment),vl=t(),rn=n("p"),rn.innerHTML=_f,os=t(),p(cr.$$.fragment),ts=t(),k=n("div"),p(fr.$$.fragment),bl=t(),an=n("p"),an.textContent=uf,wl=t(),nn=n("div"),p(mr.$$.fragment),$l=t(),se=n("div"),p(pr.$$.fragment),yl=t(),sn=n("p"),sn.textContent=hf,Ml=t(),p(Ro.$$.fragment),Tl=t(),p(Ho.$$.fragment),Dl=t(),Te=n("div"),p(_r.$$.fragment),Sl=t(),dn=n("p"),dn.textContent=gf,Cl=t(),p(Vo.$$.fragment),kl=t(),Io=n("div"),p(ur.$$.fragment),Al=t(),ln=n("p"),ln.textContent=Lf,Pl=t(),Uo=n("div"),p(hr.$$.fragment),Rl=t(),cn=n("p"),cn.innerHTML=xf,Hl=t(),De=n("div"),p(gr.$$.fragment),Vl=t(),fn=n("p"),fn.innerHTML=vf,Il=t(),p(Xo.$$.fragment),Ul=t(),Se=n("div"),p(Lr.$$.fragment),Xl=t(),mn=n("p"),mn.textContent=bf,El=t(),p(Eo.$$.fragment),rs=t(),p(xr.$$.fragment),as=t(),kn=n("p"),this.h()},l(e){const m=Df("svelte-u9bgzb",document.head);a=s(m,"META",{name:!0,content:!0}),m.forEach(i),v=r(e),l=s(e,"P",{}),b(l).forEach(i),c=r(e),_(M.$$.fragment,e),d=r(e),y=s(e,"P",{"data-svelte-h":!0}),f(y)!=="svelte-1aaqe11"&&(y.innerHTML=Fl),An=r(e),No=s(e,"UL",{"data-svelte-h":!0}),f(No)!=="svelte-hi235f"&&(No.innerHTML=Nl),Pn=r(e),_(Ve.$$.fragment,e),Rn=r(e),_(Wo.$$.fragment,e),Hn=r(e),H=s(e,"DIV",{class:!0});var q=b(H);_(qo.$$.fragment,q),ks=r(q),Pr=s(q,"P",{"data-svelte-h":!0}),f(Pr)!=="svelte-1rz3bfv"&&(Pr.innerHTML=Wl),As=r(q),Ie=s(q,"DIV",{class:!0});var vr=b(Ie);_(zo.$$.fragment,vr),Ps=r(vr),Rr=s(vr,"P",{"data-svelte-h":!0}),f(Rr)!=="svelte-1062ci4"&&(Rr.innerHTML=ql),vr.forEach(i),Rs=r(q),Ue=s(q,"DIV",{class:!0});var br=b(Ue);_(Bo.$$.fragment,br),Hs=r(br),Hr=s(br,"P",{"data-svelte-h":!0}),f(Hr)!=="svelte-u3q4so"&&(Hr.innerHTML=zl),br.forEach(i),Vs=r(q),B=s(q,"DIV",{class:!0});var G=b(B);_(jo.$$.fragment,G),Is=r(G),Vr=s(G,"P",{"data-svelte-h":!0}),f(Vr)!=="svelte-vs7s0z"&&(Vr.innerHTML=Bl),Us=r(G),Ir=s(G,"P",{"data-svelte-h":!0}),f(Ir)!=="svelte-15b960v"&&(Ir.innerHTML=jl),Xs=r(G),Ur=s(G,"P",{"data-svelte-h":!0}),f(Ur)!=="svelte-qff88w"&&(Ur.innerHTML=Gl),Es=r(G),Xr=s(G,"P",{"data-svelte-h":!0}),f(Xr)!=="svelte-g6s5gf"&&(Xr.innerHTML=Jl),Fs=r(G),Er=s(G,"P",{"data-svelte-h":!0}),f(Er)!=="svelte-ong6t9"&&(Er.innerHTML=Zl),G.forEach(i),Ns=r(q),ie=s(q,"DIV",{class:!0});var ke=b(ie);_(Go.$$.fragment,ke),Ws=r(ke),Fr=s(ke,"P",{"data-svelte-h":!0}),f(Fr)!=="svelte-flusvq"&&(Fr.textContent=Yl),qs=r(ke),_(Xe.$$.fragment,ke),ke.forEach(i),zs=r(q),Ee=s(q,"DIV",{class:!0});var wr=b(Ee);_(Jo.$$.fragment,wr),Bs=r(wr),Nr=s(wr,"P",{"data-svelte-h":!0}),f(Nr)!=="svelte-1ufq5ot"&&(Nr.textContent=Ol),wr.forEach(i),q.forEach(i),Vn=r(e),_(Zo.$$.fragment,e),In=r(e),V=s(e,"DIV",{class:!0});var z=b(V);_(Yo.$$.fragment,z),js=r(z),Wr=s(z,"P",{"data-svelte-h":!0}),f(Wr)!=="svelte-1mmsq14"&&(Wr.innerHTML=Ql),Gs=r(z),Fe=s(z,"DIV",{class:!0});var $r=b(Fe);_(Oo.$$.fragment,$r),Js=r($r),qr=s($r,"P",{"data-svelte-h":!0}),f(qr)!=="svelte-1062ci4"&&(qr.innerHTML=Kl),$r.forEach(i),Zs=r(z),Ne=s(z,"DIV",{class:!0});var yr=b(Ne);_(Qo.$$.fragment,yr),Ys=r(yr),zr=s(yr,"P",{"data-svelte-h":!0}),f(zr)!=="svelte-u3q4so"&&(zr.innerHTML=ec),yr.forEach(i),Os=r(z),j=s(z,"DIV",{class:!0});var J=b(j);_(Ko.$$.fragment,J),Qs=r(J),Br=s(J,"P",{"data-svelte-h":!0}),f(Br)!=="svelte-vs7s0z"&&(Br.innerHTML=oc),Ks=r(J),jr=s(J,"P",{"data-svelte-h":!0}),f(jr)!=="svelte-15b960v"&&(jr.innerHTML=tc),ei=r(J),Gr=s(J,"P",{"data-svelte-h":!0}),f(Gr)!=="svelte-qff88w"&&(Gr.innerHTML=rc),oi=r(J),Jr=s(J,"P",{"data-svelte-h":!0}),f(Jr)!=="svelte-g6s5gf"&&(Jr.innerHTML=ac),ti=r(J),Zr=s(J,"P",{"data-svelte-h":!0}),f(Zr)!=="svelte-ong6t9"&&(Zr.innerHTML=nc),J.forEach(i),ri=r(z),de=s(z,"DIV",{class:!0});var Ae=b(de);_(et.$$.fragment,Ae),ai=r(Ae),Yr=s(Ae,"P",{"data-svelte-h":!0}),f(Yr)!=="svelte-flusvq"&&(Yr.textContent=sc),ni=r(Ae),_(We.$$.fragment,Ae),Ae.forEach(i),si=r(z),qe=s(z,"DIV",{class:!0});var Mr=b(qe);_(ot.$$.fragment,Mr),ii=r(Mr),Or=s(Mr,"P",{"data-svelte-h":!0}),f(Or)!=="svelte-1ufq5ot"&&(Or.textContent=ic),Mr.forEach(i),z.forEach(i),Un=r(e),_(tt.$$.fragment,e),Xn=r(e),C=s(e,"DIV",{class:!0});var P=b(C);_(rt.$$.fragment,P),di=r(P),Qr=s(P,"P",{"data-svelte-h":!0}),f(Qr)!=="svelte-1ribxih"&&(Qr.innerHTML=dc),li=r(P),Kr=s(P,"P",{"data-svelte-h":!0}),f(Kr)!=="svelte-b8z8fv"&&(Kr.innerHTML=lc),ci=r(P),ze=s(P,"DIV",{class:!0});var Tr=b(ze);_(at.$$.fragment,Tr),fi=r(Tr),ea=s(Tr,"P",{"data-svelte-h":!0}),f(ea)!=="svelte-1062ci4"&&(ea.innerHTML=cc),Tr.forEach(i),mi=r(P),Be=s(P,"DIV",{class:!0});var Dr=b(Be);_(nt.$$.fragment,Dr),pi=r(Dr),oa=s(Dr,"P",{"data-svelte-h":!0}),f(oa)!=="svelte-1lgbsz7"&&(oa.innerHTML=fc),Dr.forEach(i),_i=r(P),Z=s(P,"DIV",{class:!0});var re=b(Z);_(st.$$.fragment,re),ui=r(re),ta=s(re,"P",{"data-svelte-h":!0}),f(ta)!=="svelte-vs7s0z"&&(ta.innerHTML=mc),hi=r(re),ra=s(re,"P",{"data-svelte-h":!0}),f(ra)!=="svelte-15b960v"&&(ra.innerHTML=pc),gi=r(re),aa=s(re,"P",{"data-svelte-h":!0}),f(aa)!=="svelte-qff88w"&&(aa.innerHTML=_c),Li=r(re),na=s(re,"P",{"data-svelte-h":!0}),f(na)!=="svelte-1ukghd4"&&(na.innerHTML=uc),re.forEach(i),xi=r(P),le=s(P,"DIV",{class:!0});var Pe=b(le);_(it.$$.fragment,Pe),vi=r(Pe),sa=s(Pe,"P",{"data-svelte-h":!0}),f(sa)!=="svelte-flusvq"&&(sa.textContent=hc),bi=r(Pe),_(je.$$.fragment,Pe),Pe.forEach(i),wi=r(P),Ge=s(P,"DIV",{class:!0});var Sr=b(Ge);_(dt.$$.fragment,Sr),$i=r(Sr),ia=s(Sr,"P",{"data-svelte-h":!0}),f(ia)!=="svelte-1ufq5ot"&&(ia.textContent=gc),Sr.forEach(i),yi=r(P),ce=s(P,"DIV",{class:!0});var Re=b(ce);_(lt.$$.fragment,Re),Mi=r(Re),da=s(Re,"P",{"data-svelte-h":!0}),f(da)!=="svelte-ioswce"&&(da.innerHTML=Lc),Ti=r(Re),_(Je.$$.fragment,Re),Re.forEach(i),P.forEach(i),En=r(e),_(ct.$$.fragment,e),Fn=r(e),D=s(e,"DIV",{class:!0});var A=b(D);_(ft.$$.fragment,A),Di=r(A),la=s(A,"P",{"data-svelte-h":!0}),f(la)!=="svelte-dbp88o"&&(la.innerHTML=xc),Si=r(A),ca=s(A,"P",{"data-svelte-h":!0}),f(ca)!=="svelte-b8z8fv"&&(ca.innerHTML=vc),Ci=r(A),Ze=s(A,"DIV",{class:!0});var Cr=b(Ze);_(mt.$$.fragment,Cr),ki=r(Cr),fa=s(Cr,"P",{"data-svelte-h":!0}),f(fa)!=="svelte-1062ci4"&&(fa.innerHTML=bc),Cr.forEach(i),Ai=r(A),Ye=s(A,"DIV",{class:!0});var kr=b(Ye);_(pt.$$.fragment,kr),Pi=r(kr),ma=s(kr,"P",{"data-svelte-h":!0}),f(ma)!=="svelte-1lgbsz7"&&(ma.innerHTML=wc),kr.forEach(i),Ri=r(A),Y=s(A,"DIV",{class:!0});var ae=b(Y);_(_t.$$.fragment,ae),Hi=r(ae),pa=s(ae,"P",{"data-svelte-h":!0}),f(pa)!=="svelte-178gcly"&&(pa.innerHTML=$c),Vi=r(ae),_a=s(ae,"P",{"data-svelte-h":!0}),f(_a)!=="svelte-15b960v"&&(_a.innerHTML=yc),Ii=r(ae),ua=s(ae,"P",{"data-svelte-h":!0}),f(ua)!=="svelte-qff88w"&&(ua.innerHTML=Mc),Ui=r(ae),ha=s(ae,"P",{"data-svelte-h":!0}),f(ha)!=="svelte-1ukghd4"&&(ha.innerHTML=Tc),ae.forEach(i),Xi=r(A),fe=s(A,"DIV",{class:!0});var He=b(fe);_(ut.$$.fragment,He),Ei=r(He),ga=s(He,"P",{"data-svelte-h":!0}),f(ga)!=="svelte-flusvq"&&(ga.textContent=Dc),Fi=r(He),_(Oe.$$.fragment,He),He.forEach(i),Ni=r(A),Qe=s(A,"DIV",{class:!0});var Ar=b(Qe);_(ht.$$.fragment,Ar),Wi=r(Ar),La=s(Ar,"P",{"data-svelte-h":!0}),f(La)!=="svelte-1ufq5ot"&&(La.textContent=Sc),Ar.forEach(i),qi=r(A),me=s(A,"DIV",{class:!0});var pn=b(me);_(gt.$$.fragment,pn),zi=r(pn),xa=s(pn,"P",{"data-svelte-h":!0}),f(xa)!=="svelte-ioswce"&&(xa.innerHTML=Cc),Bi=r(pn),_(Ke.$$.fragment,pn),pn.forEach(i),ji=r(A),pe=s(A,"DIV",{class:!0});var _n=b(pe);_(Lt.$$.fragment,_n),Gi=r(_n),va=s(_n,"P",{"data-svelte-h":!0}),f(va)!=="svelte-119cgd9"&&(va.textContent=kc),Ji=r(_n),_(eo.$$.fragment,_n),_n.forEach(i),A.forEach(i),Nn=r(e),_(xt.$$.fragment,e),Wn=r(e),I=s(e,"DIV",{class:!0});var O=b(I);_(vt.$$.fragment,O),Zi=r(O),ba=s(O,"P",{"data-svelte-h":!0}),f(ba)!=="svelte-1sg5qir"&&(ba.innerHTML=Ac),Yi=r(O),oo=s(O,"DIV",{class:!0});var ss=b(oo);_(bt.$$.fragment,ss),Oi=r(ss),wa=s(ss,"P",{"data-svelte-h":!0}),f(wa)!=="svelte-1lgbsz7"&&(wa.innerHTML=Pc),ss.forEach(i),Qi=r(O),to=s(O,"DIV",{class:!0});var is=b(to);_(wt.$$.fragment,is),Ki=r(is),$a=s(is,"P",{"data-svelte-h":!0}),f($a)!=="svelte-t8m9w5"&&($a.innerHTML=Rc),is.forEach(i),ed=r(O),_e=s(O,"DIV",{class:!0});var un=b(_e);_($t.$$.fragment,un),od=r(un),ya=s(un,"P",{"data-svelte-h":!0}),f(ya)!=="svelte-flusvq"&&(ya.textContent=Hc),td=r(un),_(ro.$$.fragment,un),un.forEach(i),rd=r(O),ao=s(O,"DIV",{class:!0});var ds=b(ao);_(yt.$$.fragment,ds),ad=r(ds),Ma=s(ds,"P",{"data-svelte-h":!0}),f(Ma)!=="svelte-1ufq5ot"&&(Ma.textContent=Vc),ds.forEach(i),nd=r(O),ue=s(O,"DIV",{class:!0});var hn=b(ue);_(Mt.$$.fragment,hn),sd=r(hn),Ta=s(hn,"P",{"data-svelte-h":!0}),f(Ta)!=="svelte-ioswce"&&(Ta.innerHTML=Ic),id=r(hn),_(no.$$.fragment,hn),hn.forEach(i),O.forEach(i),qn=r(e),_(Tt.$$.fragment,e),zn=r(e),U=s(e,"DIV",{class:!0});var Q=b(U);_(Dt.$$.fragment,Q),dd=r(Q),Da=s(Q,"P",{"data-svelte-h":!0}),f(Da)!=="svelte-74s0ub"&&(Da.innerHTML=Uc),ld=r(Q),so=s(Q,"DIV",{class:!0});var ls=b(so);_(St.$$.fragment,ls),cd=r(ls),Sa=s(ls,"P",{"data-svelte-h":!0}),f(Sa)!=="svelte-1lgbsz7"&&(Sa.innerHTML=Xc),ls.forEach(i),fd=r(Q),io=s(Q,"DIV",{class:!0});var cs=b(io);_(Ct.$$.fragment,cs),md=r(cs),Ca=s(cs,"P",{"data-svelte-h":!0}),f(Ca)!=="svelte-t8m9w5"&&(Ca.innerHTML=Ec),cs.forEach(i),pd=r(Q),he=s(Q,"DIV",{class:!0});var gn=b(he);_(kt.$$.fragment,gn),_d=r(gn),ka=s(gn,"P",{"data-svelte-h":!0}),f(ka)!=="svelte-flusvq"&&(ka.textContent=Fc),ud=r(gn),_(lo.$$.fragment,gn),gn.forEach(i),hd=r(Q),co=s(Q,"DIV",{class:!0});var fs=b(co);_(At.$$.fragment,fs),gd=r(fs),Aa=s(fs,"P",{"data-svelte-h":!0}),f(Aa)!=="svelte-1ufq5ot"&&(Aa.textContent=Nc),fs.forEach(i),Ld=r(Q),ge=s(Q,"DIV",{class:!0});var Ln=b(ge);_(Pt.$$.fragment,Ln),xd=r(Ln),Pa=s(Ln,"P",{"data-svelte-h":!0}),f(Pa)!=="svelte-ioswce"&&(Pa.innerHTML=Wc),vd=r(Ln),_(fo.$$.fragment,Ln),Ln.forEach(i),Q.forEach(i),Bn=r(e),_(Rt.$$.fragment,e),jn=r(e),X=s(e,"DIV",{class:!0});var K=b(X);_(Ht.$$.fragment,K),bd=r(K),Ra=s(K,"P",{"data-svelte-h":!0}),f(Ra)!=="svelte-1bvq5vj"&&(Ra.innerHTML=qc),wd=r(K),mo=s(K,"DIV",{class:!0});var ms=b(mo);_(Vt.$$.fragment,ms),$d=r(ms),Ha=s(ms,"P",{"data-svelte-h":!0}),f(Ha)!=="svelte-1lgbsz7"&&(Ha.innerHTML=zc),ms.forEach(i),yd=r(K),po=s(K,"DIV",{class:!0});var ps=b(po);_(It.$$.fragment,ps),Md=r(ps),Va=s(ps,"P",{"data-svelte-h":!0}),f(Va)!=="svelte-t8m9w5"&&(Va.innerHTML=Bc),ps.forEach(i),Td=r(K),Le=s(K,"DIV",{class:!0});var xn=b(Le);_(Ut.$$.fragment,xn),Dd=r(xn),Ia=s(xn,"P",{"data-svelte-h":!0}),f(Ia)!=="svelte-flusvq"&&(Ia.textContent=jc),Sd=r(xn),_(_o.$$.fragment,xn),xn.forEach(i),Cd=r(K),uo=s(K,"DIV",{class:!0});var _s=b(uo);_(Xt.$$.fragment,_s),kd=r(_s),Ua=s(_s,"P",{"data-svelte-h":!0}),f(Ua)!=="svelte-1ufq5ot"&&(Ua.textContent=Gc),_s.forEach(i),Ad=r(K),xe=s(K,"DIV",{class:!0});var vn=b(xe);_(Et.$$.fragment,vn),Pd=r(vn),Xa=s(vn,"P",{"data-svelte-h":!0}),f(Xa)!=="svelte-ioswce"&&(Xa.innerHTML=Jc),Rd=r(vn),_(ho.$$.fragment,vn),vn.forEach(i),K.forEach(i),Gn=r(e),_(Ft.$$.fragment,e),Jn=r(e),E=s(e,"DIV",{class:!0});var ee=b(E);_(Nt.$$.fragment,ee),Hd=r(ee),Ea=s(ee,"P",{"data-svelte-h":!0}),f(Ea)!=="svelte-26iv7o"&&(Ea.innerHTML=Zc),Vd=r(ee),go=s(ee,"DIV",{class:!0});var us=b(go);_(Wt.$$.fragment,us),Id=r(us),Fa=s(us,"P",{"data-svelte-h":!0}),f(Fa)!=="svelte-1lgbsz7"&&(Fa.innerHTML=Yc),us.forEach(i),Ud=r(ee),Lo=s(ee,"DIV",{class:!0});var hs=b(Lo);_(qt.$$.fragment,hs),Xd=r(hs),Na=s(hs,"P",{"data-svelte-h":!0}),f(Na)!=="svelte-t8m9w5"&&(Na.innerHTML=Oc),hs.forEach(i),Ed=r(ee),ve=s(ee,"DIV",{class:!0});var bn=b(ve);_(zt.$$.fragment,bn),Fd=r(bn),Wa=s(bn,"P",{"data-svelte-h":!0}),f(Wa)!=="svelte-flusvq"&&(Wa.textContent=Qc),Nd=r(bn),_(xo.$$.fragment,bn),bn.forEach(i),Wd=r(ee),vo=s(ee,"DIV",{class:!0});var gs=b(vo);_(Bt.$$.fragment,gs),qd=r(gs),qa=s(gs,"P",{"data-svelte-h":!0}),f(qa)!=="svelte-1ufq5ot"&&(qa.textContent=Kc),gs.forEach(i),zd=r(ee),be=s(ee,"DIV",{class:!0});var wn=b(be);_(jt.$$.fragment,wn),Bd=r(wn),za=s(wn,"P",{"data-svelte-h":!0}),f(za)!=="svelte-ioswce"&&(za.innerHTML=ef),jd=r(wn),_(bo.$$.fragment,wn),wn.forEach(i),ee.forEach(i),Zn=r(e),_(Gt.$$.fragment,e),Yn=r(e),F=s(e,"DIV",{class:!0});var oe=b(F);_(Jt.$$.fragment,oe),Gd=r(oe),Ba=s(oe,"P",{"data-svelte-h":!0}),f(Ba)!=="svelte-h45s88"&&(Ba.innerHTML=of),Jd=r(oe),wo=s(oe,"DIV",{class:!0});var Ls=b(wo);_(Zt.$$.fragment,Ls),Zd=r(Ls),ja=s(Ls,"P",{"data-svelte-h":!0}),f(ja)!=="svelte-1lgbsz7"&&(ja.innerHTML=tf),Ls.forEach(i),Yd=r(oe),$o=s(oe,"DIV",{class:!0});var xs=b($o);_(Yt.$$.fragment,xs),Od=r(xs),Ga=s(xs,"P",{"data-svelte-h":!0}),f(Ga)!=="svelte-t8m9w5"&&(Ga.innerHTML=rf),xs.forEach(i),Qd=r(oe),we=s(oe,"DIV",{class:!0});var $n=b(we);_(Ot.$$.fragment,$n),Kd=r($n),Ja=s($n,"P",{"data-svelte-h":!0}),f(Ja)!=="svelte-flusvq"&&(Ja.textContent=af),el=r($n),_(yo.$$.fragment,$n),$n.forEach(i),ol=r(oe),Mo=s(oe,"DIV",{class:!0});var vs=b(Mo);_(Qt.$$.fragment,vs),tl=r(vs),Za=s(vs,"P",{"data-svelte-h":!0}),f(Za)!=="svelte-1ufq5ot"&&(Za.textContent=nf),vs.forEach(i),rl=r(oe),$e=s(oe,"DIV",{class:!0});var yn=b($e);_(Kt.$$.fragment,yn),al=r(yn),Ya=s(yn,"P",{"data-svelte-h":!0}),f(Ya)!=="svelte-ioswce"&&(Ya.innerHTML=sf),nl=r(yn),_(To.$$.fragment,yn),yn.forEach(i),oe.forEach(i),On=r(e),_(er.$$.fragment,e),Qn=r(e),N=s(e,"DIV",{class:!0});var te=b(N);_(or.$$.fragment,te),sl=r(te),Oa=s(te,"P",{"data-svelte-h":!0}),f(Oa)!=="svelte-u52146"&&(Oa.innerHTML=df),il=r(te),Do=s(te,"DIV",{class:!0});var bs=b(Do);_(tr.$$.fragment,bs),dl=r(bs),Qa=s(bs,"P",{"data-svelte-h":!0}),f(Qa)!=="svelte-1lgbsz7"&&(Qa.innerHTML=lf),bs.forEach(i),ll=r(te),So=s(te,"DIV",{class:!0});var ws=b(So);_(rr.$$.fragment,ws),cl=r(ws),Ka=s(ws,"P",{"data-svelte-h":!0}),f(Ka)!=="svelte-t8m9w5"&&(Ka.innerHTML=cf),ws.forEach(i),fl=r(te),ye=s(te,"DIV",{class:!0});var Mn=b(ye);_(ar.$$.fragment,Mn),ml=r(Mn),en=s(Mn,"P",{"data-svelte-h":!0}),f(en)!=="svelte-flusvq"&&(en.textContent=ff),pl=r(Mn),_(Co.$$.fragment,Mn),Mn.forEach(i),_l=r(te),ko=s(te,"DIV",{class:!0});var $s=b(ko);_(nr.$$.fragment,$s),ul=r($s),on=s($s,"P",{"data-svelte-h":!0}),f(on)!=="svelte-1ufq5ot"&&(on.textContent=mf),$s.forEach(i),hl=r(te),Me=s(te,"DIV",{class:!0});var Tn=b(Me);_(sr.$$.fragment,Tn),gl=r(Tn),tn=s(Tn,"P",{"data-svelte-h":!0}),f(tn)!=="svelte-ioswce"&&(tn.innerHTML=pf),Ll=r(Tn),_(Ao.$$.fragment,Tn),Tn.forEach(i),te.forEach(i),Kn=r(e),_(ir.$$.fragment,e),es=r(e),Ce=s(e,"DIV",{class:!0});var ys=b(Ce);_(dr.$$.fragment,ys),xl=r(ys),Po=s(ys,"DIV",{class:!0});var Ms=b(Po);_(lr.$$.fragment,Ms),vl=r(Ms),rn=s(Ms,"P",{"data-svelte-h":!0}),f(rn)!=="svelte-1lgbsz7"&&(rn.innerHTML=_f),Ms.forEach(i),ys.forEach(i),os=r(e),_(cr.$$.fragment,e),ts=r(e),k=s(e,"DIV",{class:!0});var W=b(k);_(fr.$$.fragment,W),bl=r(W),an=s(W,"P",{"data-svelte-h":!0}),f(an)!=="svelte-1q4bbx"&&(an.textContent=uf),wl=r(W),nn=s(W,"DIV",{class:!0});var wf=b(nn);_(mr.$$.fragment,wf),wf.forEach(i),$l=r(W),se=s(W,"DIV",{class:!0});var Fo=b(se);_(pr.$$.fragment,Fo),yl=r(Fo),sn=s(Fo,"P",{"data-svelte-h":!0}),f(sn)!=="svelte-1nr2dy0"&&(sn.textContent=hf),Ml=r(Fo),_(Ro.$$.fragment,Fo),Tl=r(Fo),_(Ho.$$.fragment,Fo),Fo.forEach(i),Dl=r(W),Te=s(W,"DIV",{class:!0});var Dn=b(Te);_(_r.$$.fragment,Dn),Sl=r(Dn),dn=s(Dn,"P",{"data-svelte-h":!0}),f(dn)!=="svelte-h0os0v"&&(dn.textContent=gf),Cl=r(Dn),_(Vo.$$.fragment,Dn),Dn.forEach(i),kl=r(W),Io=s(W,"DIV",{class:!0});var Ts=b(Io);_(ur.$$.fragment,Ts),Al=r(Ts),ln=s(Ts,"P",{"data-svelte-h":!0}),f(ln)!=="svelte-1825k9e"&&(ln.textContent=Lf),Ts.forEach(i),Pl=r(W),Uo=s(W,"DIV",{class:!0});var Ds=b(Uo);_(hr.$$.fragment,Ds),Rl=r(Ds),cn=s(Ds,"P",{"data-svelte-h":!0}),f(cn)!=="svelte-rvubqa"&&(cn.innerHTML=xf),Ds.forEach(i),Hl=r(W),De=s(W,"DIV",{class:!0});var Sn=b(De);_(gr.$$.fragment,Sn),Vl=r(Sn),fn=s(Sn,"P",{"data-svelte-h":!0}),f(fn)!=="svelte-ioswce"&&(fn.innerHTML=vf),Il=r(Sn),_(Xo.$$.fragment,Sn),Sn.forEach(i),Ul=r(W),Se=s(W,"DIV",{class:!0});var Cn=b(Se);_(Lr.$$.fragment,Cn),Xl=r(Cn),mn=s(Cn,"P",{"data-svelte-h":!0}),f(mn)!=="svelte-119cgd9"&&(mn.textContent=bf),El=r(Cn),_(Eo.$$.fragment,Cn),Cn.forEach(i),W.forEach(i),rs=r(e),_(xr.$$.fragment,e),as=r(e),kn=s(e,"P",{}),b(kn).forEach(i),this.h()},h(){w(a,"name","hf:doc:metadata"),w(a,"content",om),w(Ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(oo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(to,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ao,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(so,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(io,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(co,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(mo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(po,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(uo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(go,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Lo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(vo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(wo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w($o,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(we,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Mo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w($e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Do,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(So,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ko,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Po,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(nn,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Io,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Uo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(De,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,m){o(document.head,a),x(e,v,m),x(e,l,m),x(e,c,m),u(M,e,m),x(e,d,m),x(e,y,m),x(e,An,m),x(e,No,m),x(e,Pn,m),u(Ve,e,m),x(e,Rn,m),u(Wo,e,m),x(e,Hn,m),x(e,H,m),u(qo,H,null),o(H,ks),o(H,Pr),o(H,As),o(H,Ie),u(zo,Ie,null),o(Ie,Ps),o(Ie,Rr),o(H,Rs),o(H,Ue),u(Bo,Ue,null),o(Ue,Hs),o(Ue,Hr),o(H,Vs),o(H,B),u(jo,B,null),o(B,Is),o(B,Vr),o(B,Us),o(B,Ir),o(B,Xs),o(B,Ur),o(B,Es),o(B,Xr),o(B,Fs),o(B,Er),o(H,Ns),o(H,ie),u(Go,ie,null),o(ie,Ws),o(ie,Fr),o(ie,qs),u(Xe,ie,null),o(H,zs),o(H,Ee),u(Jo,Ee,null),o(Ee,Bs),o(Ee,Nr),x(e,Vn,m),u(Zo,e,m),x(e,In,m),x(e,V,m),u(Yo,V,null),o(V,js),o(V,Wr),o(V,Gs),o(V,Fe),u(Oo,Fe,null),o(Fe,Js),o(Fe,qr),o(V,Zs),o(V,Ne),u(Qo,Ne,null),o(Ne,Ys),o(Ne,zr),o(V,Os),o(V,j),u(Ko,j,null),o(j,Qs),o(j,Br),o(j,Ks),o(j,jr),o(j,ei),o(j,Gr),o(j,oi),o(j,Jr),o(j,ti),o(j,Zr),o(V,ri),o(V,de),u(et,de,null),o(de,ai),o(de,Yr),o(de,ni),u(We,de,null),o(V,si),o(V,qe),u(ot,qe,null),o(qe,ii),o(qe,Or),x(e,Un,m),u(tt,e,m),x(e,Xn,m),x(e,C,m),u(rt,C,null),o(C,di),o(C,Qr),o(C,li),o(C,Kr),o(C,ci),o(C,ze),u(at,ze,null),o(ze,fi),o(ze,ea),o(C,mi),o(C,Be),u(nt,Be,null),o(Be,pi),o(Be,oa),o(C,_i),o(C,Z),u(st,Z,null),o(Z,ui),o(Z,ta),o(Z,hi),o(Z,ra),o(Z,gi),o(Z,aa),o(Z,Li),o(Z,na),o(C,xi),o(C,le),u(it,le,null),o(le,vi),o(le,sa),o(le,bi),u(je,le,null),o(C,wi),o(C,Ge),u(dt,Ge,null),o(Ge,$i),o(Ge,ia),o(C,yi),o(C,ce),u(lt,ce,null),o(ce,Mi),o(ce,da),o(ce,Ti),u(Je,ce,null),x(e,En,m),u(ct,e,m),x(e,Fn,m),x(e,D,m),u(ft,D,null),o(D,Di),o(D,la),o(D,Si),o(D,ca),o(D,Ci),o(D,Ze),u(mt,Ze,null),o(Ze,ki),o(Ze,fa),o(D,Ai),o(D,Ye),u(pt,Ye,null),o(Ye,Pi),o(Ye,ma),o(D,Ri),o(D,Y),u(_t,Y,null),o(Y,Hi),o(Y,pa),o(Y,Vi),o(Y,_a),o(Y,Ii),o(Y,ua),o(Y,Ui),o(Y,ha),o(D,Xi),o(D,fe),u(ut,fe,null),o(fe,Ei),o(fe,ga),o(fe,Fi),u(Oe,fe,null),o(D,Ni),o(D,Qe),u(ht,Qe,null),o(Qe,Wi),o(Qe,La),o(D,qi),o(D,me),u(gt,me,null),o(me,zi),o(me,xa),o(me,Bi),u(Ke,me,null),o(D,ji),o(D,pe),u(Lt,pe,null),o(pe,Gi),o(pe,va),o(pe,Ji),u(eo,pe,null),x(e,Nn,m),u(xt,e,m),x(e,Wn,m),x(e,I,m),u(vt,I,null),o(I,Zi),o(I,ba),o(I,Yi),o(I,oo),u(bt,oo,null),o(oo,Oi),o(oo,wa),o(I,Qi),o(I,to),u(wt,to,null),o(to,Ki),o(to,$a),o(I,ed),o(I,_e),u($t,_e,null),o(_e,od),o(_e,ya),o(_e,td),u(ro,_e,null),o(I,rd),o(I,ao),u(yt,ao,null),o(ao,ad),o(ao,Ma),o(I,nd),o(I,ue),u(Mt,ue,null),o(ue,sd),o(ue,Ta),o(ue,id),u(no,ue,null),x(e,qn,m),u(Tt,e,m),x(e,zn,m),x(e,U,m),u(Dt,U,null),o(U,dd),o(U,Da),o(U,ld),o(U,so),u(St,so,null),o(so,cd),o(so,Sa),o(U,fd),o(U,io),u(Ct,io,null),o(io,md),o(io,Ca),o(U,pd),o(U,he),u(kt,he,null),o(he,_d),o(he,ka),o(he,ud),u(lo,he,null),o(U,hd),o(U,co),u(At,co,null),o(co,gd),o(co,Aa),o(U,Ld),o(U,ge),u(Pt,ge,null),o(ge,xd),o(ge,Pa),o(ge,vd),u(fo,ge,null),x(e,Bn,m),u(Rt,e,m),x(e,jn,m),x(e,X,m),u(Ht,X,null),o(X,bd),o(X,Ra),o(X,wd),o(X,mo),u(Vt,mo,null),o(mo,$d),o(mo,Ha),o(X,yd),o(X,po),u(It,po,null),o(po,Md),o(po,Va),o(X,Td),o(X,Le),u(Ut,Le,null),o(Le,Dd),o(Le,Ia),o(Le,Sd),u(_o,Le,null),o(X,Cd),o(X,uo),u(Xt,uo,null),o(uo,kd),o(uo,Ua),o(X,Ad),o(X,xe),u(Et,xe,null),o(xe,Pd),o(xe,Xa),o(xe,Rd),u(ho,xe,null),x(e,Gn,m),u(Ft,e,m),x(e,Jn,m),x(e,E,m),u(Nt,E,null),o(E,Hd),o(E,Ea),o(E,Vd),o(E,go),u(Wt,go,null),o(go,Id),o(go,Fa),o(E,Ud),o(E,Lo),u(qt,Lo,null),o(Lo,Xd),o(Lo,Na),o(E,Ed),o(E,ve),u(zt,ve,null),o(ve,Fd),o(ve,Wa),o(ve,Nd),u(xo,ve,null),o(E,Wd),o(E,vo),u(Bt,vo,null),o(vo,qd),o(vo,qa),o(E,zd),o(E,be),u(jt,be,null),o(be,Bd),o(be,za),o(be,jd),u(bo,be,null),x(e,Zn,m),u(Gt,e,m),x(e,Yn,m),x(e,F,m),u(Jt,F,null),o(F,Gd),o(F,Ba),o(F,Jd),o(F,wo),u(Zt,wo,null),o(wo,Zd),o(wo,ja),o(F,Yd),o(F,$o),u(Yt,$o,null),o($o,Od),o($o,Ga),o(F,Qd),o(F,we),u(Ot,we,null),o(we,Kd),o(we,Ja),o(we,el),u(yo,we,null),o(F,ol),o(F,Mo),u(Qt,Mo,null),o(Mo,tl),o(Mo,Za),o(F,rl),o(F,$e),u(Kt,$e,null),o($e,al),o($e,Ya),o($e,nl),u(To,$e,null),x(e,On,m),u(er,e,m),x(e,Qn,m),x(e,N,m),u(or,N,null),o(N,sl),o(N,Oa),o(N,il),o(N,Do),u(tr,Do,null),o(Do,dl),o(Do,Qa),o(N,ll),o(N,So),u(rr,So,null),o(So,cl),o(So,Ka),o(N,fl),o(N,ye),u(ar,ye,null),o(ye,ml),o(ye,en),o(ye,pl),u(Co,ye,null),o(N,_l),o(N,ko),u(nr,ko,null),o(ko,ul),o(ko,on),o(N,hl),o(N,Me),u(sr,Me,null),o(Me,gl),o(Me,tn),o(Me,Ll),u(Ao,Me,null),x(e,Kn,m),u(ir,e,m),x(e,es,m),x(e,Ce,m),u(dr,Ce,null),o(Ce,xl),o(Ce,Po),u(lr,Po,null),o(Po,vl),o(Po,rn),x(e,os,m),u(cr,e,m),x(e,ts,m),x(e,k,m),u(fr,k,null),o(k,bl),o(k,an),o(k,wl),o(k,nn),u(mr,nn,null),o(k,$l),o(k,se),u(pr,se,null),o(se,yl),o(se,sn),o(se,Ml),u(Ro,se,null),o(se,Tl),u(Ho,se,null),o(k,Dl),o(k,Te),u(_r,Te,null),o(Te,Sl),o(Te,dn),o(Te,Cl),u(Vo,Te,null),o(k,kl),o(k,Io),u(ur,Io,null),o(Io,Al),o(Io,ln),o(k,Pl),o(k,Uo),u(hr,Uo,null),o(Uo,Rl),o(Uo,cn),o(k,Hl),o(k,De),u(gr,De,null),o(De,Vl),o(De,fn),o(De,Il),u(Xo,De,null),o(k,Ul),o(k,Se),u(Lr,Se,null),o(Se,Xl),o(Se,mn),o(Se,El),u(Eo,Se,null),x(e,rs,m),u(xr,e,m),x(e,as,m),x(e,kn,m),ns=!0},p(e,[m]){const q={};m&2&&(q.$$scope={dirty:m,ctx:e}),Ve.$set(q);const vr={};m&2&&(vr.$$scope={dirty:m,ctx:e}),Xe.$set(vr);const br={};m&2&&(br.$$scope={dirty:m,ctx:e}),We.$set(br);const G={};m&2&&(G.$$scope={dirty:m,ctx:e}),je.$set(G);const ke={};m&2&&(ke.$$scope={dirty:m,ctx:e}),Je.$set(ke);const wr={};m&2&&(wr.$$scope={dirty:m,ctx:e}),Oe.$set(wr);const z={};m&2&&(z.$$scope={dirty:m,ctx:e}),Ke.$set(z);const $r={};m&2&&($r.$$scope={dirty:m,ctx:e}),eo.$set($r);const yr={};m&2&&(yr.$$scope={dirty:m,ctx:e}),ro.$set(yr);const J={};m&2&&(J.$$scope={dirty:m,ctx:e}),no.$set(J);const Ae={};m&2&&(Ae.$$scope={dirty:m,ctx:e}),lo.$set(Ae);const Mr={};m&2&&(Mr.$$scope={dirty:m,ctx:e}),fo.$set(Mr);const P={};m&2&&(P.$$scope={dirty:m,ctx:e}),_o.$set(P);const Tr={};m&2&&(Tr.$$scope={dirty:m,ctx:e}),ho.$set(Tr);const Dr={};m&2&&(Dr.$$scope={dirty:m,ctx:e}),xo.$set(Dr);const re={};m&2&&(re.$$scope={dirty:m,ctx:e}),bo.$set(re);const Pe={};m&2&&(Pe.$$scope={dirty:m,ctx:e}),yo.$set(Pe);const Sr={};m&2&&(Sr.$$scope={dirty:m,ctx:e}),To.$set(Sr);const Re={};m&2&&(Re.$$scope={dirty:m,ctx:e}),Co.$set(Re);const A={};m&2&&(A.$$scope={dirty:m,ctx:e}),Ao.$set(A);const Cr={};m&2&&(Cr.$$scope={dirty:m,ctx:e}),Ro.$set(Cr);const kr={};m&2&&(kr.$$scope={dirty:m,ctx:e}),Ho.$set(kr);const ae={};m&2&&(ae.$$scope={dirty:m,ctx:e}),Vo.$set(ae);const He={};m&2&&(He.$$scope={dirty:m,ctx:e}),Xo.$set(He);const Ar={};m&2&&(Ar.$$scope={dirty:m,ctx:e}),Eo.$set(Ar)},i(e){ns||(h(M.$$.fragment,e),h(Ve.$$.fragment,e),h(Wo.$$.fragment,e),h(qo.$$.fragment,e),h(zo.$$.fragment,e),h(Bo.$$.fragment,e),h(jo.$$.fragment,e),h(Go.$$.fragment,e),h(Xe.$$.fragment,e),h(Jo.$$.fragment,e),h(Zo.$$.fragment,e),h(Yo.$$.fragment,e),h(Oo.$$.fragment,e),h(Qo.$$.fragment,e),h(Ko.$$.fragment,e),h(et.$$.fragment,e),h(We.$$.fragment,e),h(ot.$$.fragment,e),h(tt.$$.fragment,e),h(rt.$$.fragment,e),h(at.$$.fragment,e),h(nt.$$.fragment,e),h(st.$$.fragment,e),h(it.$$.fragment,e),h(je.$$.fragment,e),h(dt.$$.fragment,e),h(lt.$$.fragment,e),h(Je.$$.fragment,e),h(ct.$$.fragment,e),h(ft.$$.fragment,e),h(mt.$$.fragment,e),h(pt.$$.fragment,e),h(_t.$$.fragment,e),h(ut.$$.fragment,e),h(Oe.$$.fragment,e),h(ht.$$.fragment,e),h(gt.$$.fragment,e),h(Ke.$$.fragment,e),h(Lt.$$.fragment,e),h(eo.$$.fragment,e),h(xt.$$.fragment,e),h(vt.$$.fragment,e),h(bt.$$.fragment,e),h(wt.$$.fragment,e),h($t.$$.fragment,e),h(ro.$$.fragment,e),h(yt.$$.fragment,e),h(Mt.$$.fragment,e),h(no.$$.fragment,e),h(Tt.$$.fragment,e),h(Dt.$$.fragment,e),h(St.$$.fragment,e),h(Ct.$$.fragment,e),h(kt.$$.fragment,e),h(lo.$$.fragment,e),h(At.$$.fragment,e),h(Pt.$$.fragment,e),h(fo.$$.fragment,e),h(Rt.$$.fragment,e),h(Ht.$$.fragment,e),h(Vt.$$.fragment,e),h(It.$$.fragment,e),h(Ut.$$.fragment,e),h(_o.$$.fragment,e),h(Xt.$$.fragment,e),h(Et.$$.fragment,e),h(ho.$$.fragment,e),h(Ft.$$.fragment,e),h(Nt.$$.fragment,e),h(Wt.$$.fragment,e),h(qt.$$.fragment,e),h(zt.$$.fragment,e),h(xo.$$.fragment,e),h(Bt.$$.fragment,e),h(jt.$$.fragment,e),h(bo.$$.fragment,e),h(Gt.$$.fragment,e),h(Jt.$$.fragment,e),h(Zt.$$.fragment,e),h(Yt.$$.fragment,e),h(Ot.$$.fragment,e),h(yo.$$.fragment,e),h(Qt.$$.fragment,e),h(Kt.$$.fragment,e),h(To.$$.fragment,e),h(er.$$.fragment,e),h(or.$$.fragment,e),h(tr.$$.fragment,e),h(rr.$$.fragment,e),h(ar.$$.fragment,e),h(Co.$$.fragment,e),h(nr.$$.fragment,e),h(sr.$$.fragment,e),h(Ao.$$.fragment,e),h(ir.$$.fragment,e),h(dr.$$.fragment,e),h(lr.$$.fragment,e),h(cr.$$.fragment,e),h(fr.$$.fragment,e),h(mr.$$.fragment,e),h(pr.$$.fragment,e),h(Ro.$$.fragment,e),h(Ho.$$.fragment,e),h(_r.$$.fragment,e),h(Vo.$$.fragment,e),h(ur.$$.fragment,e),h(hr.$$.fragment,e),h(gr.$$.fragment,e),h(Xo.$$.fragment,e),h(Lr.$$.fragment,e),h(Eo.$$.fragment,e),h(xr.$$.fragment,e),ns=!0)},o(e){g(M.$$.fragment,e),g(Ve.$$.fragment,e),g(Wo.$$.fragment,e),g(qo.$$.fragment,e),g(zo.$$.fragment,e),g(Bo.$$.fragment,e),g(jo.$$.fragment,e),g(Go.$$.fragment,e),g(Xe.$$.fragment,e),g(Jo.$$.fragment,e),g(Zo.$$.fragment,e),g(Yo.$$.fragment,e),g(Oo.$$.fragment,e),g(Qo.$$.fragment,e),g(Ko.$$.fragment,e),g(et.$$.fragment,e),g(We.$$.fragment,e),g(ot.$$.fragment,e),g(tt.$$.fragment,e),g(rt.$$.fragment,e),g(at.$$.fragment,e),g(nt.$$.fragment,e),g(st.$$.fragment,e),g(it.$$.fragment,e),g(je.$$.fragment,e),g(dt.$$.fragment,e),g(lt.$$.fragment,e),g(Je.$$.fragment,e),g(ct.$$.fragment,e),g(ft.$$.fragment,e),g(mt.$$.fragment,e),g(pt.$$.fragment,e),g(_t.$$.fragment,e),g(ut.$$.fragment,e),g(Oe.$$.fragment,e),g(ht.$$.fragment,e),g(gt.$$.fragment,e),g(Ke.$$.fragment,e),g(Lt.$$.fragment,e),g(eo.$$.fragment,e),g(xt.$$.fragment,e),g(vt.$$.fragment,e),g(bt.$$.fragment,e),g(wt.$$.fragment,e),g($t.$$.fragment,e),g(ro.$$.fragment,e),g(yt.$$.fragment,e),g(Mt.$$.fragment,e),g(no.$$.fragment,e),g(Tt.$$.fragment,e),g(Dt.$$.fragment,e),g(St.$$.fragment,e),g(Ct.$$.fragment,e),g(kt.$$.fragment,e),g(lo.$$.fragment,e),g(At.$$.fragment,e),g(Pt.$$.fragment,e),g(fo.$$.fragment,e),g(Rt.$$.fragment,e),g(Ht.$$.fragment,e),g(Vt.$$.fragment,e),g(It.$$.fragment,e),g(Ut.$$.fragment,e),g(_o.$$.fragment,e),g(Xt.$$.fragment,e),g(Et.$$.fragment,e),g(ho.$$.fragment,e),g(Ft.$$.fragment,e),g(Nt.$$.fragment,e),g(Wt.$$.fragment,e),g(qt.$$.fragment,e),g(zt.$$.fragment,e),g(xo.$$.fragment,e),g(Bt.$$.fragment,e),g(jt.$$.fragment,e),g(bo.$$.fragment,e),g(Gt.$$.fragment,e),g(Jt.$$.fragment,e),g(Zt.$$.fragment,e),g(Yt.$$.fragment,e),g(Ot.$$.fragment,e),g(yo.$$.fragment,e),g(Qt.$$.fragment,e),g(Kt.$$.fragment,e),g(To.$$.fragment,e),g(er.$$.fragment,e),g(or.$$.fragment,e),g(tr.$$.fragment,e),g(rr.$$.fragment,e),g(ar.$$.fragment,e),g(Co.$$.fragment,e),g(nr.$$.fragment,e),g(sr.$$.fragment,e),g(Ao.$$.fragment,e),g(ir.$$.fragment,e),g(dr.$$.fragment,e),g(lr.$$.fragment,e),g(cr.$$.fragment,e),g(fr.$$.fragment,e),g(mr.$$.fragment,e),g(pr.$$.fragment,e),g(Ro.$$.fragment,e),g(Ho.$$.fragment,e),g(_r.$$.fragment,e),g(Vo.$$.fragment,e),g(ur.$$.fragment,e),g(hr.$$.fragment,e),g(gr.$$.fragment,e),g(Xo.$$.fragment,e),g(Lr.$$.fragment,e),g(Eo.$$.fragment,e),g(xr.$$.fragment,e),ns=!1},d(e){e&&(i(v),i(l),i(c),i(d),i(y),i(An),i(No),i(Pn),i(Rn),i(Hn),i(H),i(Vn),i(In),i(V),i(Un),i(Xn),i(C),i(En),i(Fn),i(D),i(Nn),i(Wn),i(I),i(qn),i(zn),i(U),i(Bn),i(jn),i(X),i(Gn),i(Jn),i(E),i(Zn),i(Yn),i(F),i(On),i(Qn),i(N),i(Kn),i(es),i(Ce),i(os),i(ts),i(k),i(rs),i(as),i(kn)),i(a),L(M,e),L(Ve,e),L(Wo,e),L(qo),L(zo),L(Bo),L(jo),L(Go),L(Xe),L(Jo),L(Zo,e),L(Yo),L(Oo),L(Qo),L(Ko),L(et),L(We),L(ot),L(tt,e),L(rt),L(at),L(nt),L(st),L(it),L(je),L(dt),L(lt),L(Je),L(ct,e),L(ft),L(mt),L(pt),L(_t),L(ut),L(Oe),L(ht),L(gt),L(Ke),L(Lt),L(eo),L(xt,e),L(vt),L(bt),L(wt),L($t),L(ro),L(yt),L(Mt),L(no),L(Tt,e),L(Dt),L(St),L(Ct),L(kt),L(lo),L(At),L(Pt),L(fo),L(Rt,e),L(Ht),L(Vt),L(It),L(Ut),L(_o),L(Xt),L(Et),L(ho),L(Ft,e),L(Nt),L(Wt),L(qt),L(zt),L(xo),L(Bt),L(jt),L(bo),L(Gt,e),L(Jt),L(Zt),L(Yt),L(Ot),L(yo),L(Qt),L(Kt),L(To),L(er,e),L(or),L(tr),L(rr),L(ar),L(Co),L(nr),L(sr),L(Ao),L(ir,e),L(dr),L(lr),L(cr,e),L(fr),L(mr),L(pr),L(Ro),L(Ho),L(_r),L(Vo),L(ur),L(hr),L(gr),L(Xo),L(Lr),L(Eo),L(xr,e)}}}const om='{"title":"LoRA","local":"lora","sections":[{"title":"StableDiffusionLoraLoaderMixin","local":"diffusers.loaders.StableDiffusionLoraLoaderMixin","sections":[],"depth":2},{"title":"StableDiffusionXLLoraLoaderMixin","local":"diffusers.loaders.StableDiffusionXLLoraLoaderMixin","sections":[],"depth":2},{"title":"SD3LoraLoaderMixin","local":"diffusers.loaders.SD3LoraLoaderMixin","sections":[],"depth":2},{"title":"FluxLoraLoaderMixin","local":"diffusers.loaders.FluxLoraLoaderMixin","sections":[],"depth":2},{"title":"CogVideoXLoraLoaderMixin","local":"diffusers.loaders.CogVideoXLoraLoaderMixin","sections":[],"depth":2},{"title":"Mochi1LoraLoaderMixin","local":"diffusers.loaders.Mochi1LoraLoaderMixin","sections":[],"depth":2},{"title":"LTXVideoLoraLoaderMixin","local":"diffusers.loaders.LTXVideoLoraLoaderMixin","sections":[],"depth":2},{"title":"SanaLoraLoaderMixin","local":"diffusers.loaders.SanaLoraLoaderMixin","sections":[],"depth":2},{"title":"HunyuanVideoLoraLoaderMixin","local":"diffusers.loaders.HunyuanVideoLoraLoaderMixin","sections":[],"depth":2},{"title":"Lumina2LoraLoaderMixin","local":"diffusers.loaders.Lumina2LoraLoaderMixin","sections":[],"depth":2},{"title":"AmusedLoraLoaderMixin","local":"diffusers.loaders.AmusedLoraLoaderMixin","sections":[],"depth":2},{"title":"LoraBaseMixin","local":"diffusers.loaders.lora_base.LoraBaseMixin","sections":[],"depth":2}],"depth":1}';function tm(T){return yf(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class cm extends Mf{constructor(a){super(),Tf(this,a,tm,em,$f,{})}}export{cm as component};

Xet Storage Details

Size:
213 kB
·
Xet hash:
8cf9e8129fcebccec69d8cbfc7e5b913c8450c42cb2e59ec3a4b92b40ccfd9e5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.