Buckets:

rtrm's picture
download
raw
314 kB
import{s as lh,o as ch,n as D}from"../chunks/scheduler.8c3d61f6.js";import{S as fh,i as ph,g as n,s as r,r as p,A as mh,h as s,f as i,c as t,j as b,u as m,x as f,k as w,y as o,a as x,v as _,d as u,t as h,w as g}from"../chunks/index.da70eac4.js";import{T as C}from"../chunks/Tip.1d9b8c37.js";import{D as $}from"../chunks/Docstring.fa488882.js";import{C as wl}from"../chunks/CodeBlock.a9c4becf.js";import{E as bl}from"../chunks/ExampleCodeBlock.ec9feb8f.js";import{H as J,E as _h}from"../chunks/index.dfbaf638.js";function uh(y){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:D,d(l){l&&i(a)}}}function hh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function gh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Lh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function xh(y){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:D,d(l){l&&i(a)}}}function vh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function bh(y){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:D,d(l){l&&i(a)}}}function wh(y){let a,v="Examples:",l,c,T;return c=new wl({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=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=v),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),T=!0},p:D,i(d){T||(u(c.$$.fragment,d),T=!0)},o(d){h(c.$$.fragment,d),T=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function $h(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Mh(y){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:D,d(l){l&&i(a)}}}function yh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Th(y){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:D,d(l){l&&i(a)}}}function Dh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Ch(y){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:D,d(l){l&&i(a)}}}function Sh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Ah(y){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:D,d(l){l&&i(a)}}}function kh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Ph(y){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:D,d(l){l&&i(a)}}}function Vh(y){let a,v="We support loading original format HunyuanVideo LoRA checkpoints.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-gyrs6h"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Rh(y){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:D,d(l){l&&i(a)}}}function Hh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Ih(y){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:D,d(l){l&&i(a)}}}function Wh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Fh(y){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:D,d(l){l&&i(a)}}}function Uh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Eh(y){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:D,d(l){l&&i(a)}}}function Nh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function Xh(y){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:D,d(l){l&&i(a)}}}function qh(y){let a,v="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,T="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=v,l=r(),c=n("p"),c.textContent=T},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=v),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=T)},m(d,M){x(d,a,M),x(d,l,M),x(d,c,M)},p:D,d(d){d&&(i(a),i(l),i(c))}}}function zh(y){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:D,d(l){l&&i(a)}}}function Bh(y){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:D,d(l){l&&i(a)}}}function jh(y){let a,v="Example:",l,c,T;return c=new wl({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=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=v),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),T=!0},p:D,i(d){T||(u(c.$$.fragment,d),T=!0)},o(d){h(c.$$.fragment,d),T=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function Gh(y){let a,v="Example:",l,c,T;return c=new wl({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=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=v),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),T=!0},p:D,i(d){T||(u(c.$$.fragment,d),T=!0)},o(d){h(c.$$.fragment,d),T=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function Jh(y){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:D,d(l){l&&i(a)}}}function Zh(y){let a,v="Examples:",l,c,T;return c=new wl({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=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=v),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),T=!0},p:D,i(d){T||(u(c.$$.fragment,d),T=!0)},o(d){h(c.$$.fragment,d),T=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function Oh(y){let a,v,l,c,T,d,M,Jm='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_11335/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>, for example) or a Transformer (<a href="/docs/diffusers/pr_11335/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a>, for example). There are several classes for loading LoRA weights:',od,Wr,Zm='<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>AuraFlowLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/fal/AuraFlow" rel="nofollow">AuraFlow</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>WanLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/wan" rel="nofollow">Wan</a>.</li> <li><code>CogView4LoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/cogview4" rel="nofollow">CogView4</a>.</li> <li><code>AmusedLoraLoaderMixin</code> is for the <a href="/docs/diffusers/pr_11335/en/api/pipelines/amused#diffusers.AmusedPipeline">AmusedPipeline</a>.</li> <li><code>HiDreamImageLoraLoaderMixin</code> provides similar functions for <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/hidream" rel="nofollow">HiDream Image</a></li> <li><code>LoraBaseMixin</code> provides a base class with several utility methods to fuse, unfuse, unload, LoRAs and more.</li>',rd,so,td,Fr,ad,H,Ur,$l,Ln,Om=`Load LoRA layers into Stable Diffusion <a href="/docs/diffusers/pr_11335/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>.`,Ml,io,Er,yl,xn,Ym="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Tl,lo,Nr,Dl,vn,Qm="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",Cl,K,Xr,Sl,bn,Km=`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>.`,Al,wn,e_="All kwargs are forwarded to <code>self.lora_state_dict</code>.",kl,$n,o_=`See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Pl,Mn,r_=`See <a href="/docs/diffusers/pr_11335/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>.`,Vl,yn,t_=`See <a href="/docs/diffusers/pr_11335/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>.`,Rl,ge,qr,Hl,Tn,a_="Return state dict for lora weights and the network alphas.",Il,co,Wl,fo,zr,Fl,Dn,n_="Save the LoRA parameters corresponding to the UNet and text encoder.",nd,Br,sd,I,jr,Ul,Cn,s_=`Load LoRA layers into Stable Diffusion XL <a href="/docs/diffusers/pr_11335/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>.`,El,po,Gr,Nl,Sn,i_="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Xl,mo,Jr,ql,An,d_="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",zl,ee,Zr,Bl,kn,l_=`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>.`,jl,Pn,c_="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Gl,Vn,f_=`See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Jl,Rn,p_=`See <a href="/docs/diffusers/pr_11335/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>.`,Zl,Hn,m_=`See <a href="/docs/diffusers/pr_11335/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>.`,Ol,Le,Or,Yl,In,__="Return state dict for lora weights and the network alphas.",Ql,_o,Kl,uo,Yr,ec,Wn,u_="Save the LoRA parameters corresponding to the UNet and text encoder.",id,Qr,dd,k,Kr,oc,Fn,h_=`Load LoRA layers into <a href="/docs/diffusers/pr_11335/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>.`,rc,Un,g_='Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',tc,ho,et,ac,En,L_="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",nc,go,ot,sc,Nn,x_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",ic,te,rt,dc,Xn,v_=`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>.`,lc,qn,b_="All kwargs are forwarded to <code>self.lora_state_dict</code>.",cc,zn,w_=`See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,fc,Bn,$_=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,pc,xe,tt,mc,jn,M_="Return state dict for lora weights and the network alphas.",_c,Lo,uc,xo,at,hc,Gn,y_="Save the LoRA parameters corresponding to the UNet and text encoder.",gc,ve,nt,Lc,Jn,T_=`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>.`,xc,vo,ld,st,cd,S,it,vc,Zn,D_=`Load LoRA layers into <a href="/docs/diffusers/pr_11335/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>.`,bc,On,C_='Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',wc,bo,dt,$c,Yn,S_="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",Mc,wo,lt,yc,Qn,A_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Tc,ae,ct,Dc,Kn,k_=`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>.`,Cc,es,P_="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Sc,os,V_=`See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Ac,rs,R_=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,kc,be,ft,Pc,ts,H_="Return state dict for lora weights and the network alphas.",Vc,$o,Rc,Mo,pt,Hc,as,I_="Save the LoRA parameters corresponding to the UNet and text encoder.",Ic,we,mt,Wc,ns,W_=`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>.`,Fc,yo,Uc,$e,_t,Ec,ss,F_="Unloads the LoRA parameters.",Nc,To,fd,ut,pd,W,ht,Xc,is,U_='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/cogvideox_transformer3d#diffusers.CogVideoXTransformer3DModel">CogVideoXTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/cogvideox#diffusers.CogVideoXPipeline">CogVideoXPipeline</a>.',qc,Do,gt,zc,ds,E_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Bc,Co,Lt,jc,ls,N_=`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_11335/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>.`,Gc,Me,xt,Jc,cs,X_="Return state dict for lora weights and the network alphas.",Zc,So,Oc,Ao,vt,Yc,fs,q_="Save the LoRA parameters corresponding to the UNet and text encoder.",Qc,ye,bt,Kc,ps,z_=`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>.`,ef,ko,md,wt,_d,F,$t,of,ms,B_='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/mochi_transformer3d#diffusers.MochiTransformer3DModel">MochiTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/mochi#diffusers.MochiPipeline">MochiPipeline</a>.',rf,Po,Mt,tf,_s,j_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",af,Vo,yt,nf,us,G_=`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_11335/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>.`,sf,Te,Tt,df,hs,J_="Return state dict for lora weights and the network alphas.",lf,Ro,cf,Ho,Dt,ff,gs,Z_="Save the LoRA parameters corresponding to the UNet and text encoder.",pf,De,Ct,mf,Ls,O_=`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>.`,_f,Io,ud,St,hd,U,At,uf,xs,Y_='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/aura_flow_transformer2d#diffusers.AuraFlowTransformer2DModel">AuraFlowTransformer2DModel</a> Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/aura_flow#diffusers.AuraFlowPipeline">AuraFlowPipeline</a>.',hf,Wo,kt,gf,vs,Q_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Lf,Fo,Pt,xf,bs,K_=`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_11335/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>.`,vf,Ce,Vt,bf,ws,eu="Return state dict for lora weights and the network alphas.",wf,Uo,$f,Eo,Rt,Mf,$s,ou="Save the LoRA parameters corresponding to the UNet and text encoder.",yf,Se,Ht,Tf,Ms,ru=`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>.`,Df,No,gd,It,Ld,E,Wt,Cf,ys,tu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/ltx_video_transformer3d#diffusers.LTXVideoTransformer3DModel">LTXVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/ltx_video#diffusers.LTXPipeline">LTXPipeline</a>.',Sf,Xo,Ft,Af,Ts,au="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",kf,qo,Ut,Pf,Ds,nu=`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_11335/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>.`,Vf,Ae,Et,Rf,Cs,su="Return state dict for lora weights and the network alphas.",Hf,zo,If,Bo,Nt,Wf,Ss,iu="Save the LoRA parameters corresponding to the UNet and text encoder.",Ff,ke,Xt,Uf,As,du=`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>.`,Ef,jo,xd,qt,vd,N,zt,Nf,ks,lu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/sana_transformer2d#diffusers.SanaTransformer2DModel">SanaTransformer2DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/sana#diffusers.SanaPipeline">SanaPipeline</a>.',Xf,Go,Bt,qf,Ps,cu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",zf,Jo,jt,Bf,Vs,fu=`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_11335/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>.`,jf,Pe,Gt,Gf,Rs,pu="Return state dict for lora weights and the network alphas.",Jf,Zo,Zf,Oo,Jt,Of,Hs,mu="Save the LoRA parameters corresponding to the UNet and text encoder.",Yf,Ve,Zt,Qf,Is,_u=`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>.`,Kf,Yo,bd,Ot,wd,X,Yt,ep,Ws,uu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/hunyuan_video_transformer_3d#diffusers.HunyuanVideoTransformer3DModel">HunyuanVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/hunyuan_video#diffusers.HunyuanVideoPipeline">HunyuanVideoPipeline</a>.',op,Qo,Qt,rp,Fs,hu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",tp,Ko,Kt,ap,Us,gu=`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_11335/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>.`,np,Re,ea,sp,Es,Lu="Return state dict for lora weights and the network alphas.",ip,er,dp,or,oa,lp,Ns,xu="Save the LoRA parameters corresponding to the UNet and text encoder.",cp,He,ra,fp,Xs,vu=`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>.`,pp,rr,$d,ta,Md,q,aa,mp,qs,bu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/lumina2_transformer2d#diffusers.Lumina2Transformer2DModel">Lumina2Transformer2DModel</a>. Specific to <code>Lumina2Text2ImgPipeline</code>.',_p,tr,na,up,zs,wu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",hp,ar,sa,gp,Bs,$u=`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_11335/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>.`,Lp,Ie,ia,xp,js,Mu="Return state dict for lora weights and the network alphas.",vp,nr,bp,sr,da,wp,Gs,yu="Save the LoRA parameters corresponding to the UNet and text encoder.",$p,We,la,Mp,Js,Tu=`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>.`,yp,ir,yd,ca,Td,z,fa,Tp,Zs,Du='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/wan#diffusers.WanPipeline">WanPipeline</a> and <code>[WanImageToVideoPipeline</code>].',Dp,dr,pa,Cp,Os,Cu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Sp,lr,ma,Ap,Ys,Su=`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_11335/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>.`,kp,Fe,_a,Pp,Qs,Au="Return state dict for lora weights and the network alphas.",Vp,cr,Rp,fr,ua,Hp,Ks,ku="Save the LoRA parameters corresponding to the UNet and text encoder.",Ip,Ue,ha,Wp,ei,Pu=`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>.`,Fp,pr,Dd,ga,Cd,B,La,Up,oi,Vu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/cogview4#diffusers.CogView4Pipeline">CogView4Pipeline</a>.',Ep,mr,xa,Np,ri,Ru="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Xp,_r,va,qp,ti,Hu=`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_11335/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>.`,zp,Ee,ba,Bp,ai,Iu="Return state dict for lora weights and the network alphas.",jp,ur,Gp,hr,wa,Jp,ni,Wu="Save the LoRA parameters corresponding to the UNet and text encoder.",Zp,Ne,$a,Op,si,Fu=`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>.`,Yp,gr,Sd,Ma,Ad,j,ya,Qp,ii,Uu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/cogview4#diffusers.CogView4Pipeline">CogView4Pipeline</a>.',Kp,Lr,Ta,em,di,Eu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",om,xr,Da,rm,li,Nu=`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_11335/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>.`,tm,Xe,Ca,am,ci,Xu="Return state dict for lora weights and the network alphas.",nm,vr,sm,br,Sa,im,fi,qu="Save the LoRA parameters corresponding to the UNet and text encoder.",dm,qe,Aa,lm,pi,zu=`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>.`,cm,wr,kd,ka,Pd,G,Pa,fm,mi,Bu='Load LoRA layers into <a href="/docs/diffusers/pr_11335/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11335/en/api/pipelines/wan#diffusers.WanPipeline">WanPipeline</a> and <code>[WanImageToVideoPipeline</code>].',pm,$r,Va,mm,_i,ju="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",_m,Mr,Ra,um,ui,Gu=`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_11335/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>.`,hm,ze,Ha,gm,hi,Ju="Return state dict for lora weights and the network alphas.",Lm,yr,xm,Tr,Ia,vm,gi,Zu="Save the LoRA parameters corresponding to the UNet and text encoder.",bm,Be,Wa,wm,Li,Ou=`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>.`,$m,Dr,Vd,Fa,Rd,Oe,Ua,Mm,Cr,Ea,ym,xi,Yu="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Hd,Na,Id,Xa,qa,Wd,za,Fd,A,Ba,Tm,vi,Qu="Utility class for handling LoRAs.",Dm,bi,ja,Cm,je,Ga,Sm,wi,Ku="Enables the possibility to hotswap LoRA adapters.",Am,$i,eh=`Calling this method is only required when hotswapping adapters and if the model is compiled or if the ranks of
the loaded adapters differ.`,km,he,Ja,Pm,Mi,oh="Fuses the LoRA parameters into the original parameters of the corresponding blocks.",Vm,Sr,Rm,Ar,Hm,Ge,Za,Im,yi,rh="Gets the list of the current active adapters.",Wm,kr,Fm,Pr,Oa,Um,Ti,th="Gets the current list of all available adapters in the pipeline.",Em,Vr,Ya,Nm,Di,ah=`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.`,Xm,Je,Qa,qm,Ci,nh=`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>.`,zm,Rr,Bm,Ze,Ka,jm,Si,sh="Unloads the LoRA parameters.",Gm,Hr,Ud,en,Ed,ed,Nd;return T=new J({props:{title:"LoRA",local:"lora",headingTag:"h1"}}),so=new C({props:{$$slots:{default:[uh]},$$scope:{ctx:y}}}),Fr=new J({props:{title:"StableDiffusionLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionLoraLoaderMixin",headingTag:"h2"}}),Ur=new $({props:{name:"class diffusers.loaders.StableDiffusionLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L117"}}),Er=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_text_encoder.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L396"}}),Nr=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_into_unet.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L340"}}),Xr=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Defaults to <code>False</code>. Whether to substitute an existing (LoRA) adapter with the newly loaded adapter
in-place. This means that, instead of loading an additional adapter, this will take the existing
adapter weights and replace them with the weights of the new adapter. This can be faster and more
memory efficient. However, the main advantage of hotswapping is that when the model is compiled with
torch.compile, loading the new adapter does not require recompilation of the model. When using
hotswapping, the passed <code>adapter_name</code> should be the name of an already loaded adapter.</p>
<p>If the new adapter and the old adapter have different ranks and/or LoRA alphas (i.e. scaling), you need
to call an additional method before loading the adapter:`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L127"}}),qr=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L225"}}),co=new C({props:{warning:!0,$$slots:{default:[hh]},$$scope:{ctx:y}}}),zr=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L449"}}),Br=new J({props:{title:"StableDiffusionXLLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",headingTag:"h2"}}),jr=new $({props:{name:"class diffusers.loaders.StableDiffusionXLLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L571"}}),Gr=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_text_encoder.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L851"}}),Jr=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin.load_lora_into_unet.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L794"}}),Zr=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:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L582"}}),Or=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L678"}}),_o=new C({props:{warning:!0,$$slots:{default:[gh]},$$scope:{ctx:y}}}),Yr=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L905"}}),Qr=new J({props:{title:"SD3LoraLoaderMixin",local:"diffusers.loaders.SD3LoraLoaderMixin",headingTag:"h2"}}),Kr=new $({props:{name:"class diffusers.loaders.SD3LoraLoaderMixin",anchor:"diffusers.loaders.SD3LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1035"}}),et=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_text_encoder.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1268"}}),ot=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.SD3LoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1229"}}),rt=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:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1145"}}),tt=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1048"}}),Lo=new C({props:{warning:!0,$$slots:{default:[Lh]},$$scope:{ctx:y}}}),at=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1322"}}),nt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1434"}}),vo=new C({props:{warning:!0,$$slots:{default:[xh]},$$scope:{ctx:y}}}),st=new J({props:{title:"FluxLoraLoaderMixin",local:"diffusers.loaders.FluxLoraLoaderMixin",headingTag:"h2"}}),it=new $({props:{name:"class diffusers.loaders.FluxLoraLoaderMixin",anchor:"diffusers.loaders.FluxLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1774"}}),dt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_text_encoder.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2147"}}),lt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2043"}}),ct=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.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"},{anchor:"diffusers.loaders.FluxLoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1921"}}),ft=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1787"}}),$o=new C({props:{warning:!0,$$slots:{default:[vh]},$$scope:{ctx:y}}}),pt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2201"}}),mt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2316"}}),yo=new C({props:{warning:!0,$$slots:{default:[bh]},$$scope:{ctx:y}}}),_t=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2337"}}),To=new bl({props:{anchor:"diffusers.loaders.FluxLoraLoaderMixin.unload_lora_weights.example",$$slots:{default:[wh]},$$scope:{ctx:y}}}),ut=new J({props:{title:"CogVideoXLoraLoaderMixin",local:"diffusers.loaders.CogVideoXLoraLoaderMixin",headingTag:"h2"}}),ht=new $({props:{name:"class diffusers.loaders.CogVideoXLoraLoaderMixin",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2774"}}),gt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2937"}}),Lt=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2880"}}),xt=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2782"}}),So=new C({props:{warning:!0,$$slots:{default:[$h]},$$scope:{ctx:y}}}),vt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2977"}}),bt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3072"}}),ko=new C({props:{warning:!0,$$slots:{default:[Mh]},$$scope:{ctx:y}}}),wt=new J({props:{title:"Mochi1LoraLoaderMixin",local:"diffusers.loaders.Mochi1LoraLoaderMixin",headingTag:"h2"}}),$t=new $({props:{name:"class diffusers.loaders.Mochi1LoraLoaderMixin",anchor:"diffusers.loaders.Mochi1LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3090"}}),Mt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.Mochi1LoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3254"}}),yt=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3197"}}),Tt=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3098"}}),Ro=new C({props:{warning:!0,$$slots:{default:[yh]},$$scope:{ctx:y}}}),Dt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3294"}}),Ct=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3391"}}),Io=new C({props:{warning:!0,$$slots:{default:[Th]},$$scope:{ctx:y}}}),St=new J({props:{title:"AuraFlowLoraLoaderMixin",local:"diffusers.loaders.AuraFlowLoraLoaderMixin",headingTag:"h2"}}),At=new $({props:{name:"class diffusers.loaders.AuraFlowLoraLoaderMixin",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1455"}}),kt=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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"},{name:"hotswap",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>AuraFlowTransformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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"},{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1619"}}),Pt=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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:"hotswap",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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_11335/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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1562"}}),Vt=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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_11335/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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1463"}}),Uo=new C({props:{warning:!0,$$slots:{default:[Dh]},$$scope:{ctx:y}}}),Rt=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1659"}}),Ht=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer', 'text_encoder']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin.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.AuraFlowLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L1756"}}),No=new C({props:{warning:!0,$$slots:{default:[Ch]},$$scope:{ctx:y}}}),It=new J({props:{title:"LTXVideoLoraLoaderMixin",local:"diffusers.loaders.LTXVideoLoraLoaderMixin",headingTag:"h2"}}),Wt=new $({props:{name:"class diffusers.loaders.LTXVideoLoraLoaderMixin",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3409"}}),Ft=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3573"}}),Ut=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3516"}}),Et=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3417"}}),zo=new C({props:{warning:!0,$$slots:{default:[Sh]},$$scope:{ctx:y}}}),Nt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3613"}}),Xt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3710"}}),jo=new C({props:{warning:!0,$$slots:{default:[Ah]},$$scope:{ctx:y}}}),qt=new J({props:{title:"SanaLoraLoaderMixin",local:"diffusers.loaders.SanaLoraLoaderMixin",headingTag:"h2"}}),zt=new $({props:{name:"class diffusers.loaders.SanaLoraLoaderMixin",anchor:"diffusers.loaders.SanaLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3728"}}),Bt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.SanaLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3892"}}),jt=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3835"}}),Gt=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3736"}}),Zo=new C({props:{warning:!0,$$slots:{default:[kh]},$$scope:{ctx:y}}}),Jt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L3932"}}),Zt=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4029"}}),Yo=new C({props:{warning:!0,$$slots:{default:[Ph]},$$scope:{ctx:y}}}),Ot=new J({props:{title:"HunyuanVideoLoraLoaderMixin",local:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",headingTag:"h2"}}),Yt=new $({props:{name:"class diffusers.loaders.HunyuanVideoLoraLoaderMixin",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4047"}}),Qt=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4214"}}),Kt=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4157"}}),ea=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4055"}}),er=new C({props:{warning:!0,$$slots:{default:[Vh]},$$scope:{ctx:y}}}),oa=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4254"}}),ra=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4351"}}),rr=new C({props:{warning:!0,$$slots:{default:[Rh]},$$scope:{ctx:y}}}),ta=new J({props:{title:"Lumina2LoraLoaderMixin",local:"diffusers.loaders.Lumina2LoraLoaderMixin",headingTag:"h2"}}),aa=new $({props:{name:"class diffusers.loaders.Lumina2LoraLoaderMixin",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4369"}}),na=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.Lumina2LoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4537"}}),sa=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:": typing.Optional[str] = None"},{name:"hotswap",val:": bool = False"},{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_11335/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.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{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_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4480"}}),ia=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_11335/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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4377"}}),nr=new C({props:{warning:!0,$$slots:{default:[Hh]},$$scope:{ctx:y}}}),da=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4577"}}),la=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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4674"}}),ir=new C({props:{warning:!0,$$slots:{default:[Ih]},$$scope:{ctx:y}}}),ca=new J({props:{title:"WanLoraLoaderMixin",local:"diffusers.loaders.WanLoraLoaderMixin",headingTag:"h2"}}),fa=new $({props:{name:"class diffusers.loaders.WanLoraLoaderMixin",anchor:"diffusers.loaders.WanLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4692"}}),pa=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.WanLoraLoaderMixin.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"},{name:"hotswap",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>WanTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4889"}}),ma=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.WanLoraLoaderMixin.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:"hotswap",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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_11335/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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4828"}}),_a=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4700"}}),cr=new C({props:{warning:!0,$$slots:{default:[Wh]},$$scope:{ctx:y}}}),ua=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4929"}}),ha=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.WanLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5026"}}),pr=new C({props:{warning:!0,$$slots:{default:[Fh]},$$scope:{ctx:y}}}),ga=new J({props:{title:"CogView4LoraLoaderMixin",local:"diffusers.loaders.CogView4LoraLoaderMixin",headingTag:"h2"}}),La=new $({props:{name:"class diffusers.loaders.CogView4LoraLoaderMixin",anchor:"diffusers.loaders.CogView4LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5044"}}),xa=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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"},{name:"hotswap",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>CogView4Transformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5208"}}),va=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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:"hotswap",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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_11335/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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5151"}}),ba=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5052"}}),ur=new C({props:{warning:!0,$$slots:{default:[Uh]},$$scope:{ctx:y}}}),wa=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5248"}}),$a=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5345"}}),gr=new C({props:{warning:!0,$$slots:{default:[Eh]},$$scope:{ctx:y}}}),Ma=new J({props:{title:"CogView4LoraLoaderMixin",local:"diffusers.loaders.CogView4LoraLoaderMixin",headingTag:"h2"}}),ya=new $({props:{name:"class diffusers.loaders.CogView4LoraLoaderMixin",anchor:"diffusers.loaders.CogView4LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5044"}}),Ta=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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"},{name:"hotswap",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>CogView4Transformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5208"}}),Da=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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:"hotswap",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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_11335/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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5151"}}),Ca=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5052"}}),vr=new C({props:{warning:!0,$$slots:{default:[Nh]},$$scope:{ctx:y}}}),Sa=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5248"}}),Aa=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.CogView4LoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.CogView4LoraLoaderMixin.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.CogView4LoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5345"}}),wr=new C({props:{warning:!0,$$slots:{default:[Xh]},$$scope:{ctx:y}}}),ka=new J({props:{title:"WanLoraLoaderMixin",local:"diffusers.loaders.WanLoraLoaderMixin",headingTag:"h2"}}),Pa=new $({props:{name:"class diffusers.loaders.WanLoraLoaderMixin",anchor:"diffusers.loaders.WanLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4692"}}),Va=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.WanLoraLoaderMixin.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"},{name:"hotswap",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>WanTransformer3DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4889"}}),Ra=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.WanLoraLoaderMixin.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:"hotswap",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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_11335/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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.WanLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4828"}}),Ha=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4700"}}),yr=new C({props:{warning:!0,$$slots:{default:[qh]},$$scope:{ctx:y}}}),Ia=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L4929"}}),Wa=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.WanLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.WanLoraLoaderMixin.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.WanLoraLoaderMixin.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_11335/src/diffusers/loaders/lora/lora_pipeline.py#L5026"}}),Dr=new C({props:{warning:!0,$$slots:{default:[zh]},$$scope:{ctx:y}}}),Fa=new J({props:{title:"AmusedLoraLoaderMixin",local:"diffusers.loaders.AmusedLoraLoaderMixin",headingTag:"h2"}}),Ua=new $({props:{name:"class diffusers.loaders.AmusedLoraLoaderMixin",anchor:"diffusers.loaders.AmusedLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2609"}}),Ea=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"},{name:"hotswap",val:": bool = 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"},{anchor:"diffusers.loaders.AmusedLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11335/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_pipeline.py#L2614"}}),Na=new J({props:{title:"HiDreamImageLoraLoaderMixin",local:"diffusers.loaders.HiDreamImageLoraLoaderMixin",headingTag:"h2"}}),qa=new $({props:{name:"class diffusers.loaders.HiDreamImageLoraLoaderMixin",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora_pipeline.py#L137"}}),za=new J({props:{title:"LoraBaseMixin",local:"diffusers.loaders.LoraBaseMixin",headingTag:"h2"}}),Ba=new $({props:{name:"class diffusers.loaders.LoraBaseMixin",anchor:"diffusers.loaders.LoraBaseMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_base.py#L464"}}),ja=new $({props:{name:"delete_adapters",anchor:"diffusers.loaders.LoraBaseMixin.delete_adapters",parameters:[{name:"adapter_names",val:": typing.Union[typing.List[str], str]"}],parametersDescription:[{anchor:"diffusers.loaders.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_11335/src/diffusers/loaders/lora/lora_base.py#L765"}}),Ga=new $({props:{name:"enable_lora_hotswap",anchor:"diffusers.loaders.LoraBaseMixin.enable_lora_hotswap",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.LoraBaseMixin.enable_lora_hotswap.target_rank",description:`<strong>target_rank</strong> (<code>int</code>) &#x2014;
The highest rank among all the adapters that will be loaded.`,name:"target_rank"},{anchor:"diffusers.loaders.LoraBaseMixin.enable_lora_hotswap.check_compiled",description:`<strong>check_compiled</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;error&quot;</code>) &#x2014;
How to handle the case when the model is already compiled, which should generally be avoided. The
options are:<ul>
<li>&#x201C;error&#x201D; (default): raise an error</li>
<li>&#x201C;warn&#x201D;: issue a warning</li>
<li>&#x201C;ignore&#x201D;: do nothing</li>
</ul>`,name:"check_compiled"}],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_base.py#L917"}}),Ja=new $({props:{name:"fuse_lora",anchor:"diffusers.loaders.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.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.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.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.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_11335/src/diffusers/loaders/lora/lora_base.py#L531"}}),Sr=new C({props:{warning:!0,$$slots:{default:[Bh]},$$scope:{ctx:y}}}),Ar=new bl({props:{anchor:"diffusers.loaders.LoraBaseMixin.fuse_lora.example",$$slots:{default:[jh]},$$scope:{ctx:y}}}),Za=new $({props:{name:"get_active_adapters",anchor:"diffusers.loaders.LoraBaseMixin.get_active_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_base.py#L787"}}),kr=new bl({props:{anchor:"diffusers.loaders.LoraBaseMixin.get_active_adapters.example",$$slots:{default:[Gh]},$$scope:{ctx:y}}}),Oa=new $({props:{name:"get_list_adapters",anchor:"diffusers.loaders.LoraBaseMixin.get_list_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_base.py#L820"}}),Ya=new $({props:{name:"set_lora_device",anchor:"diffusers.loaders.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.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.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_11335/src/diffusers/loaders/lora/lora_base.py#L842"}}),Qa=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.LoraBaseMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = []"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.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.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.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_11335/src/diffusers/loaders/lora/lora_base.py#L612"}}),Rr=new C({props:{warning:!0,$$slots:{default:[Jh]},$$scope:{ctx:y}}}),Ka=new $({props:{name:"unload_lora_weights",anchor:"diffusers.loaders.LoraBaseMixin.unload_lora_weights",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11335/src/diffusers/loaders/lora/lora_base.py#L508"}}),Hr=new bl({props:{anchor:"diffusers.loaders.LoraBaseMixin.unload_lora_weights.example",$$slots:{default:[Zh]},$$scope:{ctx:y}}}),en=new _h({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/loaders/lora.md"}}),{c(){a=n("meta"),v=r(),l=n("p"),c=r(),p(T.$$.fragment),d=r(),M=n("p"),M.innerHTML=Jm,od=r(),Wr=n("ul"),Wr.innerHTML=Zm,rd=r(),p(so.$$.fragment),td=r(),p(Fr.$$.fragment),ad=r(),H=n("div"),p(Ur.$$.fragment),$l=r(),Ln=n("p"),Ln.innerHTML=Om,Ml=r(),io=n("div"),p(Er.$$.fragment),yl=r(),xn=n("p"),xn.innerHTML=Ym,Tl=r(),lo=n("div"),p(Nr.$$.fragment),Dl=r(),vn=n("p"),vn.innerHTML=Qm,Cl=r(),K=n("div"),p(Xr.$$.fragment),Sl=r(),bn=n("p"),bn.innerHTML=Km,Al=r(),wn=n("p"),wn.innerHTML=e_,kl=r(),$n=n("p"),$n.innerHTML=o_,Pl=r(),Mn=n("p"),Mn.innerHTML=r_,Vl=r(),yn=n("p"),yn.innerHTML=t_,Rl=r(),ge=n("div"),p(qr.$$.fragment),Hl=r(),Tn=n("p"),Tn.textContent=a_,Il=r(),p(co.$$.fragment),Wl=r(),fo=n("div"),p(zr.$$.fragment),Fl=r(),Dn=n("p"),Dn.textContent=n_,nd=r(),p(Br.$$.fragment),sd=r(),I=n("div"),p(jr.$$.fragment),Ul=r(),Cn=n("p"),Cn.innerHTML=s_,El=r(),po=n("div"),p(Gr.$$.fragment),Nl=r(),Sn=n("p"),Sn.innerHTML=i_,Xl=r(),mo=n("div"),p(Jr.$$.fragment),ql=r(),An=n("p"),An.innerHTML=d_,zl=r(),ee=n("div"),p(Zr.$$.fragment),Bl=r(),kn=n("p"),kn.innerHTML=l_,jl=r(),Pn=n("p"),Pn.innerHTML=c_,Gl=r(),Vn=n("p"),Vn.innerHTML=f_,Jl=r(),Rn=n("p"),Rn.innerHTML=p_,Zl=r(),Hn=n("p"),Hn.innerHTML=m_,Ol=r(),Le=n("div"),p(Or.$$.fragment),Yl=r(),In=n("p"),In.textContent=__,Ql=r(),p(_o.$$.fragment),Kl=r(),uo=n("div"),p(Yr.$$.fragment),ec=r(),Wn=n("p"),Wn.textContent=u_,id=r(),p(Qr.$$.fragment),dd=r(),k=n("div"),p(Kr.$$.fragment),oc=r(),Fn=n("p"),Fn.innerHTML=h_,rc=r(),Un=n("p"),Un.innerHTML=g_,tc=r(),ho=n("div"),p(et.$$.fragment),ac=r(),En=n("p"),En.innerHTML=L_,nc=r(),go=n("div"),p(ot.$$.fragment),sc=r(),Nn=n("p"),Nn.innerHTML=x_,ic=r(),te=n("div"),p(rt.$$.fragment),dc=r(),Xn=n("p"),Xn.innerHTML=v_,lc=r(),qn=n("p"),qn.innerHTML=b_,cc=r(),zn=n("p"),zn.innerHTML=w_,fc=r(),Bn=n("p"),Bn.innerHTML=$_,pc=r(),xe=n("div"),p(tt.$$.fragment),mc=r(),jn=n("p"),jn.textContent=M_,_c=r(),p(Lo.$$.fragment),uc=r(),xo=n("div"),p(at.$$.fragment),hc=r(),Gn=n("p"),Gn.textContent=y_,gc=r(),ve=n("div"),p(nt.$$.fragment),Lc=r(),Jn=n("p"),Jn.innerHTML=T_,xc=r(),p(vo.$$.fragment),ld=r(),p(st.$$.fragment),cd=r(),S=n("div"),p(it.$$.fragment),vc=r(),Zn=n("p"),Zn.innerHTML=D_,bc=r(),On=n("p"),On.innerHTML=C_,wc=r(),bo=n("div"),p(dt.$$.fragment),$c=r(),Yn=n("p"),Yn.innerHTML=S_,Mc=r(),wo=n("div"),p(lt.$$.fragment),yc=r(),Qn=n("p"),Qn.innerHTML=A_,Tc=r(),ae=n("div"),p(ct.$$.fragment),Dc=r(),Kn=n("p"),Kn.innerHTML=k_,Cc=r(),es=n("p"),es.innerHTML=P_,Sc=r(),os=n("p"),os.innerHTML=V_,Ac=r(),rs=n("p"),rs.innerHTML=R_,kc=r(),be=n("div"),p(ft.$$.fragment),Pc=r(),ts=n("p"),ts.textContent=H_,Vc=r(),p($o.$$.fragment),Rc=r(),Mo=n("div"),p(pt.$$.fragment),Hc=r(),as=n("p"),as.textContent=I_,Ic=r(),we=n("div"),p(mt.$$.fragment),Wc=r(),ns=n("p"),ns.innerHTML=W_,Fc=r(),p(yo.$$.fragment),Uc=r(),$e=n("div"),p(_t.$$.fragment),Ec=r(),ss=n("p"),ss.textContent=F_,Nc=r(),p(To.$$.fragment),fd=r(),p(ut.$$.fragment),pd=r(),W=n("div"),p(ht.$$.fragment),Xc=r(),is=n("p"),is.innerHTML=U_,qc=r(),Do=n("div"),p(gt.$$.fragment),zc=r(),ds=n("p"),ds.innerHTML=E_,Bc=r(),Co=n("div"),p(Lt.$$.fragment),jc=r(),ls=n("p"),ls.innerHTML=N_,Gc=r(),Me=n("div"),p(xt.$$.fragment),Jc=r(),cs=n("p"),cs.textContent=X_,Zc=r(),p(So.$$.fragment),Oc=r(),Ao=n("div"),p(vt.$$.fragment),Yc=r(),fs=n("p"),fs.textContent=q_,Qc=r(),ye=n("div"),p(bt.$$.fragment),Kc=r(),ps=n("p"),ps.innerHTML=z_,ef=r(),p(ko.$$.fragment),md=r(),p(wt.$$.fragment),_d=r(),F=n("div"),p($t.$$.fragment),of=r(),ms=n("p"),ms.innerHTML=B_,rf=r(),Po=n("div"),p(Mt.$$.fragment),tf=r(),_s=n("p"),_s.innerHTML=j_,af=r(),Vo=n("div"),p(yt.$$.fragment),nf=r(),us=n("p"),us.innerHTML=G_,sf=r(),Te=n("div"),p(Tt.$$.fragment),df=r(),hs=n("p"),hs.textContent=J_,lf=r(),p(Ro.$$.fragment),cf=r(),Ho=n("div"),p(Dt.$$.fragment),ff=r(),gs=n("p"),gs.textContent=Z_,pf=r(),De=n("div"),p(Ct.$$.fragment),mf=r(),Ls=n("p"),Ls.innerHTML=O_,_f=r(),p(Io.$$.fragment),ud=r(),p(St.$$.fragment),hd=r(),U=n("div"),p(At.$$.fragment),uf=r(),xs=n("p"),xs.innerHTML=Y_,hf=r(),Wo=n("div"),p(kt.$$.fragment),gf=r(),vs=n("p"),vs.innerHTML=Q_,Lf=r(),Fo=n("div"),p(Pt.$$.fragment),xf=r(),bs=n("p"),bs.innerHTML=K_,vf=r(),Ce=n("div"),p(Vt.$$.fragment),bf=r(),ws=n("p"),ws.textContent=eu,wf=r(),p(Uo.$$.fragment),$f=r(),Eo=n("div"),p(Rt.$$.fragment),Mf=r(),$s=n("p"),$s.textContent=ou,yf=r(),Se=n("div"),p(Ht.$$.fragment),Tf=r(),Ms=n("p"),Ms.innerHTML=ru,Df=r(),p(No.$$.fragment),gd=r(),p(It.$$.fragment),Ld=r(),E=n("div"),p(Wt.$$.fragment),Cf=r(),ys=n("p"),ys.innerHTML=tu,Sf=r(),Xo=n("div"),p(Ft.$$.fragment),Af=r(),Ts=n("p"),Ts.innerHTML=au,kf=r(),qo=n("div"),p(Ut.$$.fragment),Pf=r(),Ds=n("p"),Ds.innerHTML=nu,Vf=r(),Ae=n("div"),p(Et.$$.fragment),Rf=r(),Cs=n("p"),Cs.textContent=su,Hf=r(),p(zo.$$.fragment),If=r(),Bo=n("div"),p(Nt.$$.fragment),Wf=r(),Ss=n("p"),Ss.textContent=iu,Ff=r(),ke=n("div"),p(Xt.$$.fragment),Uf=r(),As=n("p"),As.innerHTML=du,Ef=r(),p(jo.$$.fragment),xd=r(),p(qt.$$.fragment),vd=r(),N=n("div"),p(zt.$$.fragment),Nf=r(),ks=n("p"),ks.innerHTML=lu,Xf=r(),Go=n("div"),p(Bt.$$.fragment),qf=r(),Ps=n("p"),Ps.innerHTML=cu,zf=r(),Jo=n("div"),p(jt.$$.fragment),Bf=r(),Vs=n("p"),Vs.innerHTML=fu,jf=r(),Pe=n("div"),p(Gt.$$.fragment),Gf=r(),Rs=n("p"),Rs.textContent=pu,Jf=r(),p(Zo.$$.fragment),Zf=r(),Oo=n("div"),p(Jt.$$.fragment),Of=r(),Hs=n("p"),Hs.textContent=mu,Yf=r(),Ve=n("div"),p(Zt.$$.fragment),Qf=r(),Is=n("p"),Is.innerHTML=_u,Kf=r(),p(Yo.$$.fragment),bd=r(),p(Ot.$$.fragment),wd=r(),X=n("div"),p(Yt.$$.fragment),ep=r(),Ws=n("p"),Ws.innerHTML=uu,op=r(),Qo=n("div"),p(Qt.$$.fragment),rp=r(),Fs=n("p"),Fs.innerHTML=hu,tp=r(),Ko=n("div"),p(Kt.$$.fragment),ap=r(),Us=n("p"),Us.innerHTML=gu,np=r(),Re=n("div"),p(ea.$$.fragment),sp=r(),Es=n("p"),Es.textContent=Lu,ip=r(),p(er.$$.fragment),dp=r(),or=n("div"),p(oa.$$.fragment),lp=r(),Ns=n("p"),Ns.textContent=xu,cp=r(),He=n("div"),p(ra.$$.fragment),fp=r(),Xs=n("p"),Xs.innerHTML=vu,pp=r(),p(rr.$$.fragment),$d=r(),p(ta.$$.fragment),Md=r(),q=n("div"),p(aa.$$.fragment),mp=r(),qs=n("p"),qs.innerHTML=bu,_p=r(),tr=n("div"),p(na.$$.fragment),up=r(),zs=n("p"),zs.innerHTML=wu,hp=r(),ar=n("div"),p(sa.$$.fragment),gp=r(),Bs=n("p"),Bs.innerHTML=$u,Lp=r(),Ie=n("div"),p(ia.$$.fragment),xp=r(),js=n("p"),js.textContent=Mu,vp=r(),p(nr.$$.fragment),bp=r(),sr=n("div"),p(da.$$.fragment),wp=r(),Gs=n("p"),Gs.textContent=yu,$p=r(),We=n("div"),p(la.$$.fragment),Mp=r(),Js=n("p"),Js.innerHTML=Tu,yp=r(),p(ir.$$.fragment),yd=r(),p(ca.$$.fragment),Td=r(),z=n("div"),p(fa.$$.fragment),Tp=r(),Zs=n("p"),Zs.innerHTML=Du,Dp=r(),dr=n("div"),p(pa.$$.fragment),Cp=r(),Os=n("p"),Os.innerHTML=Cu,Sp=r(),lr=n("div"),p(ma.$$.fragment),Ap=r(),Ys=n("p"),Ys.innerHTML=Su,kp=r(),Fe=n("div"),p(_a.$$.fragment),Pp=r(),Qs=n("p"),Qs.textContent=Au,Vp=r(),p(cr.$$.fragment),Rp=r(),fr=n("div"),p(ua.$$.fragment),Hp=r(),Ks=n("p"),Ks.textContent=ku,Ip=r(),Ue=n("div"),p(ha.$$.fragment),Wp=r(),ei=n("p"),ei.innerHTML=Pu,Fp=r(),p(pr.$$.fragment),Dd=r(),p(ga.$$.fragment),Cd=r(),B=n("div"),p(La.$$.fragment),Up=r(),oi=n("p"),oi.innerHTML=Vu,Ep=r(),mr=n("div"),p(xa.$$.fragment),Np=r(),ri=n("p"),ri.innerHTML=Ru,Xp=r(),_r=n("div"),p(va.$$.fragment),qp=r(),ti=n("p"),ti.innerHTML=Hu,zp=r(),Ee=n("div"),p(ba.$$.fragment),Bp=r(),ai=n("p"),ai.textContent=Iu,jp=r(),p(ur.$$.fragment),Gp=r(),hr=n("div"),p(wa.$$.fragment),Jp=r(),ni=n("p"),ni.textContent=Wu,Zp=r(),Ne=n("div"),p($a.$$.fragment),Op=r(),si=n("p"),si.innerHTML=Fu,Yp=r(),p(gr.$$.fragment),Sd=r(),p(Ma.$$.fragment),Ad=r(),j=n("div"),p(ya.$$.fragment),Qp=r(),ii=n("p"),ii.innerHTML=Uu,Kp=r(),Lr=n("div"),p(Ta.$$.fragment),em=r(),di=n("p"),di.innerHTML=Eu,om=r(),xr=n("div"),p(Da.$$.fragment),rm=r(),li=n("p"),li.innerHTML=Nu,tm=r(),Xe=n("div"),p(Ca.$$.fragment),am=r(),ci=n("p"),ci.textContent=Xu,nm=r(),p(vr.$$.fragment),sm=r(),br=n("div"),p(Sa.$$.fragment),im=r(),fi=n("p"),fi.textContent=qu,dm=r(),qe=n("div"),p(Aa.$$.fragment),lm=r(),pi=n("p"),pi.innerHTML=zu,cm=r(),p(wr.$$.fragment),kd=r(),p(ka.$$.fragment),Pd=r(),G=n("div"),p(Pa.$$.fragment),fm=r(),mi=n("p"),mi.innerHTML=Bu,pm=r(),$r=n("div"),p(Va.$$.fragment),mm=r(),_i=n("p"),_i.innerHTML=ju,_m=r(),Mr=n("div"),p(Ra.$$.fragment),um=r(),ui=n("p"),ui.innerHTML=Gu,hm=r(),ze=n("div"),p(Ha.$$.fragment),gm=r(),hi=n("p"),hi.textContent=Ju,Lm=r(),p(yr.$$.fragment),xm=r(),Tr=n("div"),p(Ia.$$.fragment),vm=r(),gi=n("p"),gi.textContent=Zu,bm=r(),Be=n("div"),p(Wa.$$.fragment),wm=r(),Li=n("p"),Li.innerHTML=Ou,$m=r(),p(Dr.$$.fragment),Vd=r(),p(Fa.$$.fragment),Rd=r(),Oe=n("div"),p(Ua.$$.fragment),Mm=r(),Cr=n("div"),p(Ea.$$.fragment),ym=r(),xi=n("p"),xi.innerHTML=Yu,Hd=r(),p(Na.$$.fragment),Id=r(),Xa=n("div"),p(qa.$$.fragment),Wd=r(),p(za.$$.fragment),Fd=r(),A=n("div"),p(Ba.$$.fragment),Tm=r(),vi=n("p"),vi.textContent=Qu,Dm=r(),bi=n("div"),p(ja.$$.fragment),Cm=r(),je=n("div"),p(Ga.$$.fragment),Sm=r(),wi=n("p"),wi.textContent=Ku,Am=r(),$i=n("p"),$i.textContent=eh,km=r(),he=n("div"),p(Ja.$$.fragment),Pm=r(),Mi=n("p"),Mi.textContent=oh,Vm=r(),p(Sr.$$.fragment),Rm=r(),p(Ar.$$.fragment),Hm=r(),Ge=n("div"),p(Za.$$.fragment),Im=r(),yi=n("p"),yi.textContent=rh,Wm=r(),p(kr.$$.fragment),Fm=r(),Pr=n("div"),p(Oa.$$.fragment),Um=r(),Ti=n("p"),Ti.textContent=th,Em=r(),Vr=n("div"),p(Ya.$$.fragment),Nm=r(),Di=n("p"),Di.innerHTML=ah,Xm=r(),Je=n("div"),p(Qa.$$.fragment),qm=r(),Ci=n("p"),Ci.innerHTML=nh,zm=r(),p(Rr.$$.fragment),Bm=r(),Ze=n("div"),p(Ka.$$.fragment),jm=r(),Si=n("p"),Si.textContent=sh,Gm=r(),p(Hr.$$.fragment),Ud=r(),p(en.$$.fragment),Ed=r(),ed=n("p"),this.h()},l(e){const L=mh("svelte-u9bgzb",document.head);a=s(L,"META",{name:!0,content:!0}),L.forEach(i),v=t(e),l=s(e,"P",{}),b(l).forEach(i),c=t(e),m(T.$$.fragment,e),d=t(e),M=s(e,"P",{"data-svelte-h":!0}),f(M)!=="svelte-zw3qap"&&(M.innerHTML=Jm),od=t(e),Wr=s(e,"UL",{"data-svelte-h":!0}),f(Wr)!=="svelte-j7hsbc"&&(Wr.innerHTML=Zm),rd=t(e),m(so.$$.fragment,e),td=t(e),m(Fr.$$.fragment,e),ad=t(e),H=s(e,"DIV",{class:!0});var Z=b(H);m(Ur.$$.fragment,Z),$l=t(Z),Ln=s(Z,"P",{"data-svelte-h":!0}),f(Ln)!=="svelte-1btiu64"&&(Ln.innerHTML=Om),Ml=t(Z),io=s(Z,"DIV",{class:!0});var on=b(io);m(Er.$$.fragment,on),yl=t(on),xn=s(on,"P",{"data-svelte-h":!0}),f(xn)!=="svelte-1062ci4"&&(xn.innerHTML=Ym),on.forEach(i),Tl=t(Z),lo=s(Z,"DIV",{class:!0});var rn=b(lo);m(Nr.$$.fragment,rn),Dl=t(rn),vn=s(rn,"P",{"data-svelte-h":!0}),f(vn)!=="svelte-u3q4so"&&(vn.innerHTML=Qm),rn.forEach(i),Cl=t(Z),K=s(Z,"DIV",{class:!0});var oe=b(K);m(Xr.$$.fragment,oe),Sl=t(oe),bn=s(oe,"P",{"data-svelte-h":!0}),f(bn)!=="svelte-vs7s0z"&&(bn.innerHTML=Km),Al=t(oe),wn=s(oe,"P",{"data-svelte-h":!0}),f(wn)!=="svelte-15b960v"&&(wn.innerHTML=e_),kl=t(oe),$n=s(oe,"P",{"data-svelte-h":!0}),f($n)!=="svelte-1k09o7t"&&($n.innerHTML=o_),Pl=t(oe),Mn=s(oe,"P",{"data-svelte-h":!0}),f(Mn)!=="svelte-1791xru"&&(Mn.innerHTML=r_),Vl=t(oe),yn=s(oe,"P",{"data-svelte-h":!0}),f(yn)!=="svelte-1u1p9ls"&&(yn.innerHTML=t_),oe.forEach(i),Rl=t(Z),ge=s(Z,"DIV",{class:!0});var Ye=b(ge);m(qr.$$.fragment,Ye),Hl=t(Ye),Tn=s(Ye,"P",{"data-svelte-h":!0}),f(Tn)!=="svelte-flusvq"&&(Tn.textContent=a_),Il=t(Ye),m(co.$$.fragment,Ye),Ye.forEach(i),Wl=t(Z),fo=s(Z,"DIV",{class:!0});var tn=b(fo);m(zr.$$.fragment,tn),Fl=t(tn),Dn=s(tn,"P",{"data-svelte-h":!0}),f(Dn)!=="svelte-1ufq5ot"&&(Dn.textContent=n_),tn.forEach(i),Z.forEach(i),nd=t(e),m(Br.$$.fragment,e),sd=t(e),I=s(e,"DIV",{class:!0});var O=b(I);m(jr.$$.fragment,O),Ul=t(O),Cn=s(O,"P",{"data-svelte-h":!0}),f(Cn)!=="svelte-ruj0o9"&&(Cn.innerHTML=s_),El=t(O),po=s(O,"DIV",{class:!0});var an=b(po);m(Gr.$$.fragment,an),Nl=t(an),Sn=s(an,"P",{"data-svelte-h":!0}),f(Sn)!=="svelte-1062ci4"&&(Sn.innerHTML=i_),an.forEach(i),Xl=t(O),mo=s(O,"DIV",{class:!0});var nn=b(mo);m(Jr.$$.fragment,nn),ql=t(nn),An=s(nn,"P",{"data-svelte-h":!0}),f(An)!=="svelte-u3q4so"&&(An.innerHTML=d_),nn.forEach(i),zl=t(O),ee=s(O,"DIV",{class:!0});var re=b(ee);m(Zr.$$.fragment,re),Bl=t(re),kn=s(re,"P",{"data-svelte-h":!0}),f(kn)!=="svelte-vs7s0z"&&(kn.innerHTML=l_),jl=t(re),Pn=s(re,"P",{"data-svelte-h":!0}),f(Pn)!=="svelte-15b960v"&&(Pn.innerHTML=c_),Gl=t(re),Vn=s(re,"P",{"data-svelte-h":!0}),f(Vn)!=="svelte-1k09o7t"&&(Vn.innerHTML=f_),Jl=t(re),Rn=s(re,"P",{"data-svelte-h":!0}),f(Rn)!=="svelte-1791xru"&&(Rn.innerHTML=p_),Zl=t(re),Hn=s(re,"P",{"data-svelte-h":!0}),f(Hn)!=="svelte-1u1p9ls"&&(Hn.innerHTML=m_),re.forEach(i),Ol=t(O),Le=s(O,"DIV",{class:!0});var Qe=b(Le);m(Or.$$.fragment,Qe),Yl=t(Qe),In=s(Qe,"P",{"data-svelte-h":!0}),f(In)!=="svelte-flusvq"&&(In.textContent=__),Ql=t(Qe),m(_o.$$.fragment,Qe),Qe.forEach(i),Kl=t(O),uo=s(O,"DIV",{class:!0});var sn=b(uo);m(Yr.$$.fragment,sn),ec=t(sn),Wn=s(sn,"P",{"data-svelte-h":!0}),f(Wn)!=="svelte-1ufq5ot"&&(Wn.textContent=u_),sn.forEach(i),O.forEach(i),id=t(e),m(Qr.$$.fragment,e),dd=t(e),k=s(e,"DIV",{class:!0});var V=b(k);m(Kr.$$.fragment,V),oc=t(V),Fn=s(V,"P",{"data-svelte-h":!0}),f(Fn)!=="svelte-1jjo27s"&&(Fn.innerHTML=h_),rc=t(V),Un=s(V,"P",{"data-svelte-h":!0}),f(Un)!=="svelte-10llbq"&&(Un.innerHTML=g_),tc=t(V),ho=s(V,"DIV",{class:!0});var dn=b(ho);m(et.$$.fragment,dn),ac=t(dn),En=s(dn,"P",{"data-svelte-h":!0}),f(En)!=="svelte-1062ci4"&&(En.innerHTML=L_),dn.forEach(i),nc=t(V),go=s(V,"DIV",{class:!0});var ln=b(go);m(ot.$$.fragment,ln),sc=t(ln),Nn=s(ln,"P",{"data-svelte-h":!0}),f(Nn)!=="svelte-1lgbsz7"&&(Nn.innerHTML=x_),ln.forEach(i),ic=t(V),te=s(V,"DIV",{class:!0});var _e=b(te);m(rt.$$.fragment,_e),dc=t(_e),Xn=s(_e,"P",{"data-svelte-h":!0}),f(Xn)!=="svelte-vs7s0z"&&(Xn.innerHTML=v_),lc=t(_e),qn=s(_e,"P",{"data-svelte-h":!0}),f(qn)!=="svelte-15b960v"&&(qn.innerHTML=b_),cc=t(_e),zn=s(_e,"P",{"data-svelte-h":!0}),f(zn)!=="svelte-1k09o7t"&&(zn.innerHTML=w_),fc=t(_e),Bn=s(_e,"P",{"data-svelte-h":!0}),f(Bn)!=="svelte-1ukghd4"&&(Bn.innerHTML=$_),_e.forEach(i),pc=t(V),xe=s(V,"DIV",{class:!0});var Ke=b(xe);m(tt.$$.fragment,Ke),mc=t(Ke),jn=s(Ke,"P",{"data-svelte-h":!0}),f(jn)!=="svelte-flusvq"&&(jn.textContent=M_),_c=t(Ke),m(Lo.$$.fragment,Ke),Ke.forEach(i),uc=t(V),xo=s(V,"DIV",{class:!0});var cn=b(xo);m(at.$$.fragment,cn),hc=t(cn),Gn=s(cn,"P",{"data-svelte-h":!0}),f(Gn)!=="svelte-1ufq5ot"&&(Gn.textContent=y_),cn.forEach(i),gc=t(V),ve=s(V,"DIV",{class:!0});var eo=b(ve);m(nt.$$.fragment,eo),Lc=t(eo),Jn=s(eo,"P",{"data-svelte-h":!0}),f(Jn)!=="svelte-ioswce"&&(Jn.innerHTML=T_),xc=t(eo),m(vo.$$.fragment,eo),eo.forEach(i),V.forEach(i),ld=t(e),m(st.$$.fragment,e),cd=t(e),S=s(e,"DIV",{class:!0});var P=b(S);m(it.$$.fragment,P),vc=t(P),Zn=s(P,"P",{"data-svelte-h":!0}),f(Zn)!=="svelte-ylropp"&&(Zn.innerHTML=D_),bc=t(P),On=s(P,"P",{"data-svelte-h":!0}),f(On)!=="svelte-10llbq"&&(On.innerHTML=C_),wc=t(P),bo=s(P,"DIV",{class:!0});var fn=b(bo);m(dt.$$.fragment,fn),$c=t(fn),Yn=s(fn,"P",{"data-svelte-h":!0}),f(Yn)!=="svelte-1062ci4"&&(Yn.innerHTML=S_),fn.forEach(i),Mc=t(P),wo=s(P,"DIV",{class:!0});var pn=b(wo);m(lt.$$.fragment,pn),yc=t(pn),Qn=s(pn,"P",{"data-svelte-h":!0}),f(Qn)!=="svelte-1lgbsz7"&&(Qn.innerHTML=A_),pn.forEach(i),Tc=t(P),ae=s(P,"DIV",{class:!0});var ue=b(ae);m(ct.$$.fragment,ue),Dc=t(ue),Kn=s(ue,"P",{"data-svelte-h":!0}),f(Kn)!=="svelte-178gcly"&&(Kn.innerHTML=k_),Cc=t(ue),es=s(ue,"P",{"data-svelte-h":!0}),f(es)!=="svelte-15b960v"&&(es.innerHTML=P_),Sc=t(ue),os=s(ue,"P",{"data-svelte-h":!0}),f(os)!=="svelte-1k09o7t"&&(os.innerHTML=V_),Ac=t(ue),rs=s(ue,"P",{"data-svelte-h":!0}),f(rs)!=="svelte-1ukghd4"&&(rs.innerHTML=R_),ue.forEach(i),kc=t(P),be=s(P,"DIV",{class:!0});var oo=b(be);m(ft.$$.fragment,oo),Pc=t(oo),ts=s(oo,"P",{"data-svelte-h":!0}),f(ts)!=="svelte-flusvq"&&(ts.textContent=H_),Vc=t(oo),m($o.$$.fragment,oo),oo.forEach(i),Rc=t(P),Mo=s(P,"DIV",{class:!0});var mn=b(Mo);m(pt.$$.fragment,mn),Hc=t(mn),as=s(mn,"P",{"data-svelte-h":!0}),f(as)!=="svelte-1ufq5ot"&&(as.textContent=I_),mn.forEach(i),Ic=t(P),we=s(P,"DIV",{class:!0});var ro=b(we);m(mt.$$.fragment,ro),Wc=t(ro),ns=s(ro,"P",{"data-svelte-h":!0}),f(ns)!=="svelte-ioswce"&&(ns.innerHTML=W_),Fc=t(ro),m(yo.$$.fragment,ro),ro.forEach(i),Uc=t(P),$e=s(P,"DIV",{class:!0});var to=b($e);m(_t.$$.fragment,to),Ec=t(to),ss=s(to,"P",{"data-svelte-h":!0}),f(ss)!=="svelte-119cgd9"&&(ss.textContent=F_),Nc=t(to),m(To.$$.fragment,to),to.forEach(i),P.forEach(i),fd=t(e),m(ut.$$.fragment,e),pd=t(e),W=s(e,"DIV",{class:!0});var Y=b(W);m(ht.$$.fragment,Y),Xc=t(Y),is=s(Y,"P",{"data-svelte-h":!0}),f(is)!=="svelte-1b3j6g9"&&(is.innerHTML=U_),qc=t(Y),Do=s(Y,"DIV",{class:!0});var _n=b(Do);m(gt.$$.fragment,_n),zc=t(_n),ds=s(_n,"P",{"data-svelte-h":!0}),f(ds)!=="svelte-1lgbsz7"&&(ds.innerHTML=E_),_n.forEach(i),Bc=t(Y),Co=s(Y,"DIV",{class:!0});var un=b(Co);m(Lt.$$.fragment,un),jc=t(un),ls=s(un,"P",{"data-svelte-h":!0}),f(ls)!=="svelte-1ug3yl0"&&(ls.innerHTML=N_),un.forEach(i),Gc=t(Y),Me=s(Y,"DIV",{class:!0});var ao=b(Me);m(xt.$$.fragment,ao),Jc=t(ao),cs=s(ao,"P",{"data-svelte-h":!0}),f(cs)!=="svelte-flusvq"&&(cs.textContent=X_),Zc=t(ao),m(So.$$.fragment,ao),ao.forEach(i),Oc=t(Y),Ao=s(Y,"DIV",{class:!0});var hn=b(Ao);m(vt.$$.fragment,hn),Yc=t(hn),fs=s(hn,"P",{"data-svelte-h":!0}),f(fs)!=="svelte-1ufq5ot"&&(fs.textContent=q_),hn.forEach(i),Qc=t(Y),ye=s(Y,"DIV",{class:!0});var no=b(ye);m(bt.$$.fragment,no),Kc=t(no),ps=s(no,"P",{"data-svelte-h":!0}),f(ps)!=="svelte-ioswce"&&(ps.innerHTML=z_),ef=t(no),m(ko.$$.fragment,no),no.forEach(i),Y.forEach(i),md=t(e),m(wt.$$.fragment,e),_d=t(e),F=s(e,"DIV",{class:!0});var Q=b(F);m($t.$$.fragment,Q),of=t(Q),ms=s(Q,"P",{"data-svelte-h":!0}),f(ms)!=="svelte-1o1jg8l"&&(ms.innerHTML=B_),rf=t(Q),Po=s(Q,"DIV",{class:!0});var gn=b(Po);m(Mt.$$.fragment,gn),tf=t(gn),_s=s(gn,"P",{"data-svelte-h":!0}),f(_s)!=="svelte-1lgbsz7"&&(_s.innerHTML=j_),gn.forEach(i),af=t(Q),Vo=s(Q,"DIV",{class:!0});var Xd=b(Vo);m(yt.$$.fragment,Xd),nf=t(Xd),us=s(Xd,"P",{"data-svelte-h":!0}),f(us)!=="svelte-1ug3yl0"&&(us.innerHTML=G_),Xd.forEach(i),sf=t(Q),Te=s(Q,"DIV",{class:!0});var Ai=b(Te);m(Tt.$$.fragment,Ai),df=t(Ai),hs=s(Ai,"P",{"data-svelte-h":!0}),f(hs)!=="svelte-flusvq"&&(hs.textContent=J_),lf=t(Ai),m(Ro.$$.fragment,Ai),Ai.forEach(i),cf=t(Q),Ho=s(Q,"DIV",{class:!0});var qd=b(Ho);m(Dt.$$.fragment,qd),ff=t(qd),gs=s(qd,"P",{"data-svelte-h":!0}),f(gs)!=="svelte-1ufq5ot"&&(gs.textContent=Z_),qd.forEach(i),pf=t(Q),De=s(Q,"DIV",{class:!0});var ki=b(De);m(Ct.$$.fragment,ki),mf=t(ki),Ls=s(ki,"P",{"data-svelte-h":!0}),f(Ls)!=="svelte-ioswce"&&(Ls.innerHTML=O_),_f=t(ki),m(Io.$$.fragment,ki),ki.forEach(i),Q.forEach(i),ud=t(e),m(St.$$.fragment,e),hd=t(e),U=s(e,"DIV",{class:!0});var ne=b(U);m(At.$$.fragment,ne),uf=t(ne),xs=s(ne,"P",{"data-svelte-h":!0}),f(xs)!=="svelte-1l8ah08"&&(xs.innerHTML=Y_),hf=t(ne),Wo=s(ne,"DIV",{class:!0});var zd=b(Wo);m(kt.$$.fragment,zd),gf=t(zd),vs=s(zd,"P",{"data-svelte-h":!0}),f(vs)!=="svelte-1lgbsz7"&&(vs.innerHTML=Q_),zd.forEach(i),Lf=t(ne),Fo=s(ne,"DIV",{class:!0});var Bd=b(Fo);m(Pt.$$.fragment,Bd),xf=t(Bd),bs=s(Bd,"P",{"data-svelte-h":!0}),f(bs)!=="svelte-1ug3yl0"&&(bs.innerHTML=K_),Bd.forEach(i),vf=t(ne),Ce=s(ne,"DIV",{class:!0});var Pi=b(Ce);m(Vt.$$.fragment,Pi),bf=t(Pi),ws=s(Pi,"P",{"data-svelte-h":!0}),f(ws)!=="svelte-flusvq"&&(ws.textContent=eu),wf=t(Pi),m(Uo.$$.fragment,Pi),Pi.forEach(i),$f=t(ne),Eo=s(ne,"DIV",{class:!0});var jd=b(Eo);m(Rt.$$.fragment,jd),Mf=t(jd),$s=s(jd,"P",{"data-svelte-h":!0}),f($s)!=="svelte-1ufq5ot"&&($s.textContent=ou),jd.forEach(i),yf=t(ne),Se=s(ne,"DIV",{class:!0});var Vi=b(Se);m(Ht.$$.fragment,Vi),Tf=t(Vi),Ms=s(Vi,"P",{"data-svelte-h":!0}),f(Ms)!=="svelte-ioswce"&&(Ms.innerHTML=ru),Df=t(Vi),m(No.$$.fragment,Vi),Vi.forEach(i),ne.forEach(i),gd=t(e),m(It.$$.fragment,e),Ld=t(e),E=s(e,"DIV",{class:!0});var se=b(E);m(Wt.$$.fragment,se),Cf=t(se),ys=s(se,"P",{"data-svelte-h":!0}),f(ys)!=="svelte-1l515ep"&&(ys.innerHTML=tu),Sf=t(se),Xo=s(se,"DIV",{class:!0});var Gd=b(Xo);m(Ft.$$.fragment,Gd),Af=t(Gd),Ts=s(Gd,"P",{"data-svelte-h":!0}),f(Ts)!=="svelte-1lgbsz7"&&(Ts.innerHTML=au),Gd.forEach(i),kf=t(se),qo=s(se,"DIV",{class:!0});var Jd=b(qo);m(Ut.$$.fragment,Jd),Pf=t(Jd),Ds=s(Jd,"P",{"data-svelte-h":!0}),f(Ds)!=="svelte-1ug3yl0"&&(Ds.innerHTML=nu),Jd.forEach(i),Vf=t(se),Ae=s(se,"DIV",{class:!0});var Ri=b(Ae);m(Et.$$.fragment,Ri),Rf=t(Ri),Cs=s(Ri,"P",{"data-svelte-h":!0}),f(Cs)!=="svelte-flusvq"&&(Cs.textContent=su),Hf=t(Ri),m(zo.$$.fragment,Ri),Ri.forEach(i),If=t(se),Bo=s(se,"DIV",{class:!0});var Zd=b(Bo);m(Nt.$$.fragment,Zd),Wf=t(Zd),Ss=s(Zd,"P",{"data-svelte-h":!0}),f(Ss)!=="svelte-1ufq5ot"&&(Ss.textContent=iu),Zd.forEach(i),Ff=t(se),ke=s(se,"DIV",{class:!0});var Hi=b(ke);m(Xt.$$.fragment,Hi),Uf=t(Hi),As=s(Hi,"P",{"data-svelte-h":!0}),f(As)!=="svelte-ioswce"&&(As.innerHTML=du),Ef=t(Hi),m(jo.$$.fragment,Hi),Hi.forEach(i),se.forEach(i),xd=t(e),m(qt.$$.fragment,e),vd=t(e),N=s(e,"DIV",{class:!0});var ie=b(N);m(zt.$$.fragment,ie),Nf=t(ie),ks=s(ie,"P",{"data-svelte-h":!0}),f(ks)!=="svelte-tre9co"&&(ks.innerHTML=lu),Xf=t(ie),Go=s(ie,"DIV",{class:!0});var Od=b(Go);m(Bt.$$.fragment,Od),qf=t(Od),Ps=s(Od,"P",{"data-svelte-h":!0}),f(Ps)!=="svelte-1lgbsz7"&&(Ps.innerHTML=cu),Od.forEach(i),zf=t(ie),Jo=s(ie,"DIV",{class:!0});var Yd=b(Jo);m(jt.$$.fragment,Yd),Bf=t(Yd),Vs=s(Yd,"P",{"data-svelte-h":!0}),f(Vs)!=="svelte-1ug3yl0"&&(Vs.innerHTML=fu),Yd.forEach(i),jf=t(ie),Pe=s(ie,"DIV",{class:!0});var Ii=b(Pe);m(Gt.$$.fragment,Ii),Gf=t(Ii),Rs=s(Ii,"P",{"data-svelte-h":!0}),f(Rs)!=="svelte-flusvq"&&(Rs.textContent=pu),Jf=t(Ii),m(Zo.$$.fragment,Ii),Ii.forEach(i),Zf=t(ie),Oo=s(ie,"DIV",{class:!0});var Qd=b(Oo);m(Jt.$$.fragment,Qd),Of=t(Qd),Hs=s(Qd,"P",{"data-svelte-h":!0}),f(Hs)!=="svelte-1ufq5ot"&&(Hs.textContent=mu),Qd.forEach(i),Yf=t(ie),Ve=s(ie,"DIV",{class:!0});var Wi=b(Ve);m(Zt.$$.fragment,Wi),Qf=t(Wi),Is=s(Wi,"P",{"data-svelte-h":!0}),f(Is)!=="svelte-ioswce"&&(Is.innerHTML=_u),Kf=t(Wi),m(Yo.$$.fragment,Wi),Wi.forEach(i),ie.forEach(i),bd=t(e),m(Ot.$$.fragment,e),wd=t(e),X=s(e,"DIV",{class:!0});var de=b(X);m(Yt.$$.fragment,de),ep=t(de),Ws=s(de,"P",{"data-svelte-h":!0}),f(Ws)!=="svelte-xw6y5o"&&(Ws.innerHTML=uu),op=t(de),Qo=s(de,"DIV",{class:!0});var Kd=b(Qo);m(Qt.$$.fragment,Kd),rp=t(Kd),Fs=s(Kd,"P",{"data-svelte-h":!0}),f(Fs)!=="svelte-1lgbsz7"&&(Fs.innerHTML=hu),Kd.forEach(i),tp=t(de),Ko=s(de,"DIV",{class:!0});var el=b(Ko);m(Kt.$$.fragment,el),ap=t(el),Us=s(el,"P",{"data-svelte-h":!0}),f(Us)!=="svelte-1ug3yl0"&&(Us.innerHTML=gu),el.forEach(i),np=t(de),Re=s(de,"DIV",{class:!0});var Fi=b(Re);m(ea.$$.fragment,Fi),sp=t(Fi),Es=s(Fi,"P",{"data-svelte-h":!0}),f(Es)!=="svelte-flusvq"&&(Es.textContent=Lu),ip=t(Fi),m(er.$$.fragment,Fi),Fi.forEach(i),dp=t(de),or=s(de,"DIV",{class:!0});var ol=b(or);m(oa.$$.fragment,ol),lp=t(ol),Ns=s(ol,"P",{"data-svelte-h":!0}),f(Ns)!=="svelte-1ufq5ot"&&(Ns.textContent=xu),ol.forEach(i),cp=t(de),He=s(de,"DIV",{class:!0});var Ui=b(He);m(ra.$$.fragment,Ui),fp=t(Ui),Xs=s(Ui,"P",{"data-svelte-h":!0}),f(Xs)!=="svelte-ioswce"&&(Xs.innerHTML=vu),pp=t(Ui),m(rr.$$.fragment,Ui),Ui.forEach(i),de.forEach(i),$d=t(e),m(ta.$$.fragment,e),Md=t(e),q=s(e,"DIV",{class:!0});var le=b(q);m(aa.$$.fragment,le),mp=t(le),qs=s(le,"P",{"data-svelte-h":!0}),f(qs)!=="svelte-13h7gvv"&&(qs.innerHTML=bu),_p=t(le),tr=s(le,"DIV",{class:!0});var rl=b(tr);m(na.$$.fragment,rl),up=t(rl),zs=s(rl,"P",{"data-svelte-h":!0}),f(zs)!=="svelte-1lgbsz7"&&(zs.innerHTML=wu),rl.forEach(i),hp=t(le),ar=s(le,"DIV",{class:!0});var tl=b(ar);m(sa.$$.fragment,tl),gp=t(tl),Bs=s(tl,"P",{"data-svelte-h":!0}),f(Bs)!=="svelte-1ug3yl0"&&(Bs.innerHTML=$u),tl.forEach(i),Lp=t(le),Ie=s(le,"DIV",{class:!0});var Ei=b(Ie);m(ia.$$.fragment,Ei),xp=t(Ei),js=s(Ei,"P",{"data-svelte-h":!0}),f(js)!=="svelte-flusvq"&&(js.textContent=Mu),vp=t(Ei),m(nr.$$.fragment,Ei),Ei.forEach(i),bp=t(le),sr=s(le,"DIV",{class:!0});var al=b(sr);m(da.$$.fragment,al),wp=t(al),Gs=s(al,"P",{"data-svelte-h":!0}),f(Gs)!=="svelte-1ufq5ot"&&(Gs.textContent=yu),al.forEach(i),$p=t(le),We=s(le,"DIV",{class:!0});var Ni=b(We);m(la.$$.fragment,Ni),Mp=t(Ni),Js=s(Ni,"P",{"data-svelte-h":!0}),f(Js)!=="svelte-ioswce"&&(Js.innerHTML=Tu),yp=t(Ni),m(ir.$$.fragment,Ni),Ni.forEach(i),le.forEach(i),yd=t(e),m(ca.$$.fragment,e),Td=t(e),z=s(e,"DIV",{class:!0});var ce=b(z);m(fa.$$.fragment,ce),Tp=t(ce),Zs=s(ce,"P",{"data-svelte-h":!0}),f(Zs)!=="svelte-kthno9"&&(Zs.innerHTML=Du),Dp=t(ce),dr=s(ce,"DIV",{class:!0});var nl=b(dr);m(pa.$$.fragment,nl),Cp=t(nl),Os=s(nl,"P",{"data-svelte-h":!0}),f(Os)!=="svelte-1lgbsz7"&&(Os.innerHTML=Cu),nl.forEach(i),Sp=t(ce),lr=s(ce,"DIV",{class:!0});var sl=b(lr);m(ma.$$.fragment,sl),Ap=t(sl),Ys=s(sl,"P",{"data-svelte-h":!0}),f(Ys)!=="svelte-1ug3yl0"&&(Ys.innerHTML=Su),sl.forEach(i),kp=t(ce),Fe=s(ce,"DIV",{class:!0});var Xi=b(Fe);m(_a.$$.fragment,Xi),Pp=t(Xi),Qs=s(Xi,"P",{"data-svelte-h":!0}),f(Qs)!=="svelte-flusvq"&&(Qs.textContent=Au),Vp=t(Xi),m(cr.$$.fragment,Xi),Xi.forEach(i),Rp=t(ce),fr=s(ce,"DIV",{class:!0});var il=b(fr);m(ua.$$.fragment,il),Hp=t(il),Ks=s(il,"P",{"data-svelte-h":!0}),f(Ks)!=="svelte-1ufq5ot"&&(Ks.textContent=ku),il.forEach(i),Ip=t(ce),Ue=s(ce,"DIV",{class:!0});var qi=b(Ue);m(ha.$$.fragment,qi),Wp=t(qi),ei=s(qi,"P",{"data-svelte-h":!0}),f(ei)!=="svelte-ioswce"&&(ei.innerHTML=Pu),Fp=t(qi),m(pr.$$.fragment,qi),qi.forEach(i),ce.forEach(i),Dd=t(e),m(ga.$$.fragment,e),Cd=t(e),B=s(e,"DIV",{class:!0});var fe=b(B);m(La.$$.fragment,fe),Up=t(fe),oi=s(fe,"P",{"data-svelte-h":!0}),f(oi)!=="svelte-1dry0uy"&&(oi.innerHTML=Vu),Ep=t(fe),mr=s(fe,"DIV",{class:!0});var dl=b(mr);m(xa.$$.fragment,dl),Np=t(dl),ri=s(dl,"P",{"data-svelte-h":!0}),f(ri)!=="svelte-1lgbsz7"&&(ri.innerHTML=Ru),dl.forEach(i),Xp=t(fe),_r=s(fe,"DIV",{class:!0});var ll=b(_r);m(va.$$.fragment,ll),qp=t(ll),ti=s(ll,"P",{"data-svelte-h":!0}),f(ti)!=="svelte-1ug3yl0"&&(ti.innerHTML=Hu),ll.forEach(i),zp=t(fe),Ee=s(fe,"DIV",{class:!0});var zi=b(Ee);m(ba.$$.fragment,zi),Bp=t(zi),ai=s(zi,"P",{"data-svelte-h":!0}),f(ai)!=="svelte-flusvq"&&(ai.textContent=Iu),jp=t(zi),m(ur.$$.fragment,zi),zi.forEach(i),Gp=t(fe),hr=s(fe,"DIV",{class:!0});var cl=b(hr);m(wa.$$.fragment,cl),Jp=t(cl),ni=s(cl,"P",{"data-svelte-h":!0}),f(ni)!=="svelte-1ufq5ot"&&(ni.textContent=Wu),cl.forEach(i),Zp=t(fe),Ne=s(fe,"DIV",{class:!0});var Bi=b(Ne);m($a.$$.fragment,Bi),Op=t(Bi),si=s(Bi,"P",{"data-svelte-h":!0}),f(si)!=="svelte-ioswce"&&(si.innerHTML=Fu),Yp=t(Bi),m(gr.$$.fragment,Bi),Bi.forEach(i),fe.forEach(i),Sd=t(e),m(Ma.$$.fragment,e),Ad=t(e),j=s(e,"DIV",{class:!0});var pe=b(j);m(ya.$$.fragment,pe),Qp=t(pe),ii=s(pe,"P",{"data-svelte-h":!0}),f(ii)!=="svelte-1dry0uy"&&(ii.innerHTML=Uu),Kp=t(pe),Lr=s(pe,"DIV",{class:!0});var fl=b(Lr);m(Ta.$$.fragment,fl),em=t(fl),di=s(fl,"P",{"data-svelte-h":!0}),f(di)!=="svelte-1lgbsz7"&&(di.innerHTML=Eu),fl.forEach(i),om=t(pe),xr=s(pe,"DIV",{class:!0});var pl=b(xr);m(Da.$$.fragment,pl),rm=t(pl),li=s(pl,"P",{"data-svelte-h":!0}),f(li)!=="svelte-1ug3yl0"&&(li.innerHTML=Nu),pl.forEach(i),tm=t(pe),Xe=s(pe,"DIV",{class:!0});var ji=b(Xe);m(Ca.$$.fragment,ji),am=t(ji),ci=s(ji,"P",{"data-svelte-h":!0}),f(ci)!=="svelte-flusvq"&&(ci.textContent=Xu),nm=t(ji),m(vr.$$.fragment,ji),ji.forEach(i),sm=t(pe),br=s(pe,"DIV",{class:!0});var ml=b(br);m(Sa.$$.fragment,ml),im=t(ml),fi=s(ml,"P",{"data-svelte-h":!0}),f(fi)!=="svelte-1ufq5ot"&&(fi.textContent=qu),ml.forEach(i),dm=t(pe),qe=s(pe,"DIV",{class:!0});var Gi=b(qe);m(Aa.$$.fragment,Gi),lm=t(Gi),pi=s(Gi,"P",{"data-svelte-h":!0}),f(pi)!=="svelte-ioswce"&&(pi.innerHTML=zu),cm=t(Gi),m(wr.$$.fragment,Gi),Gi.forEach(i),pe.forEach(i),kd=t(e),m(ka.$$.fragment,e),Pd=t(e),G=s(e,"DIV",{class:!0});var me=b(G);m(Pa.$$.fragment,me),fm=t(me),mi=s(me,"P",{"data-svelte-h":!0}),f(mi)!=="svelte-kthno9"&&(mi.innerHTML=Bu),pm=t(me),$r=s(me,"DIV",{class:!0});var _l=b($r);m(Va.$$.fragment,_l),mm=t(_l),_i=s(_l,"P",{"data-svelte-h":!0}),f(_i)!=="svelte-1lgbsz7"&&(_i.innerHTML=ju),_l.forEach(i),_m=t(me),Mr=s(me,"DIV",{class:!0});var ul=b(Mr);m(Ra.$$.fragment,ul),um=t(ul),ui=s(ul,"P",{"data-svelte-h":!0}),f(ui)!=="svelte-1ug3yl0"&&(ui.innerHTML=Gu),ul.forEach(i),hm=t(me),ze=s(me,"DIV",{class:!0});var Ji=b(ze);m(Ha.$$.fragment,Ji),gm=t(Ji),hi=s(Ji,"P",{"data-svelte-h":!0}),f(hi)!=="svelte-flusvq"&&(hi.textContent=Ju),Lm=t(Ji),m(yr.$$.fragment,Ji),Ji.forEach(i),xm=t(me),Tr=s(me,"DIV",{class:!0});var hl=b(Tr);m(Ia.$$.fragment,hl),vm=t(hl),gi=s(hl,"P",{"data-svelte-h":!0}),f(gi)!=="svelte-1ufq5ot"&&(gi.textContent=Zu),hl.forEach(i),bm=t(me),Be=s(me,"DIV",{class:!0});var Zi=b(Be);m(Wa.$$.fragment,Zi),wm=t(Zi),Li=s(Zi,"P",{"data-svelte-h":!0}),f(Li)!=="svelte-ioswce"&&(Li.innerHTML=Ou),$m=t(Zi),m(Dr.$$.fragment,Zi),Zi.forEach(i),me.forEach(i),Vd=t(e),m(Fa.$$.fragment,e),Rd=t(e),Oe=s(e,"DIV",{class:!0});var gl=b(Oe);m(Ua.$$.fragment,gl),Mm=t(gl),Cr=s(gl,"DIV",{class:!0});var Ll=b(Cr);m(Ea.$$.fragment,Ll),ym=t(Ll),xi=s(Ll,"P",{"data-svelte-h":!0}),f(xi)!=="svelte-1lgbsz7"&&(xi.innerHTML=Yu),Ll.forEach(i),gl.forEach(i),Hd=t(e),m(Na.$$.fragment,e),Id=t(e),Xa=s(e,"DIV",{class:!0});var ih=b(Xa);m(qa.$$.fragment,ih),ih.forEach(i),Wd=t(e),m(za.$$.fragment,e),Fd=t(e),A=s(e,"DIV",{class:!0});var R=b(A);m(Ba.$$.fragment,R),Tm=t(R),vi=s(R,"P",{"data-svelte-h":!0}),f(vi)!=="svelte-1q4bbx"&&(vi.textContent=Qu),Dm=t(R),bi=s(R,"DIV",{class:!0});var dh=b(bi);m(ja.$$.fragment,dh),dh.forEach(i),Cm=t(R),je=s(R,"DIV",{class:!0});var Oi=b(je);m(Ga.$$.fragment,Oi),Sm=t(Oi),wi=s(Oi,"P",{"data-svelte-h":!0}),f(wi)!=="svelte-w22v11"&&(wi.textContent=Ku),Am=t(Oi),$i=s(Oi,"P",{"data-svelte-h":!0}),f($i)!=="svelte-zdadya"&&($i.textContent=eh),Oi.forEach(i),km=t(R),he=s(R,"DIV",{class:!0});var Ir=b(he);m(Ja.$$.fragment,Ir),Pm=t(Ir),Mi=s(Ir,"P",{"data-svelte-h":!0}),f(Mi)!=="svelte-1nr2dy0"&&(Mi.textContent=oh),Vm=t(Ir),m(Sr.$$.fragment,Ir),Rm=t(Ir),m(Ar.$$.fragment,Ir),Ir.forEach(i),Hm=t(R),Ge=s(R,"DIV",{class:!0});var Yi=b(Ge);m(Za.$$.fragment,Yi),Im=t(Yi),yi=s(Yi,"P",{"data-svelte-h":!0}),f(yi)!=="svelte-h0os0v"&&(yi.textContent=rh),Wm=t(Yi),m(kr.$$.fragment,Yi),Yi.forEach(i),Fm=t(R),Pr=s(R,"DIV",{class:!0});var xl=b(Pr);m(Oa.$$.fragment,xl),Um=t(xl),Ti=s(xl,"P",{"data-svelte-h":!0}),f(Ti)!=="svelte-1825k9e"&&(Ti.textContent=th),xl.forEach(i),Em=t(R),Vr=s(R,"DIV",{class:!0});var vl=b(Vr);m(Ya.$$.fragment,vl),Nm=t(vl),Di=s(vl,"P",{"data-svelte-h":!0}),f(Di)!=="svelte-rvubqa"&&(Di.innerHTML=ah),vl.forEach(i),Xm=t(R),Je=s(R,"DIV",{class:!0});var Qi=b(Je);m(Qa.$$.fragment,Qi),qm=t(Qi),Ci=s(Qi,"P",{"data-svelte-h":!0}),f(Ci)!=="svelte-ioswce"&&(Ci.innerHTML=nh),zm=t(Qi),m(Rr.$$.fragment,Qi),Qi.forEach(i),Bm=t(R),Ze=s(R,"DIV",{class:!0});var Ki=b(Ze);m(Ka.$$.fragment,Ki),jm=t(Ki),Si=s(Ki,"P",{"data-svelte-h":!0}),f(Si)!=="svelte-119cgd9"&&(Si.textContent=sh),Gm=t(Ki),m(Hr.$$.fragment,Ki),Ki.forEach(i),R.forEach(i),Ud=t(e),m(en.$$.fragment,e),Ed=t(e),ed=s(e,"P",{}),b(ed).forEach(i),this.h()},h(){w(a,"name","hf:doc:metadata"),w(a,"content",Yh),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(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(K,"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(fo,"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(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(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(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(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(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(ho,"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(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(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(xo,"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(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(bo,"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(ae,"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(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(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($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(S,"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(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(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(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(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(W,"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(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(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(Ho,"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(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(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(Fo,"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(Eo,"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(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(Xo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(qo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Bo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ke,"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(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(Jo,"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(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(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(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(Qo,"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(Re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(or,"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(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(tr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(ar,"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(sr,"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(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(dr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(lr,"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(fr,"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(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(mr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(_r,"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(hr,"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(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(Lr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(xr,"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(br,"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(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($r,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Mr,"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(Tr,"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(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Cr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Xa,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(bi,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(je,"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(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(Pr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Vr,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Je,"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(A,"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,L){o(document.head,a),x(e,v,L),x(e,l,L),x(e,c,L),_(T,e,L),x(e,d,L),x(e,M,L),x(e,od,L),x(e,Wr,L),x(e,rd,L),_(so,e,L),x(e,td,L),_(Fr,e,L),x(e,ad,L),x(e,H,L),_(Ur,H,null),o(H,$l),o(H,Ln),o(H,Ml),o(H,io),_(Er,io,null),o(io,yl),o(io,xn),o(H,Tl),o(H,lo),_(Nr,lo,null),o(lo,Dl),o(lo,vn),o(H,Cl),o(H,K),_(Xr,K,null),o(K,Sl),o(K,bn),o(K,Al),o(K,wn),o(K,kl),o(K,$n),o(K,Pl),o(K,Mn),o(K,Vl),o(K,yn),o(H,Rl),o(H,ge),_(qr,ge,null),o(ge,Hl),o(ge,Tn),o(ge,Il),_(co,ge,null),o(H,Wl),o(H,fo),_(zr,fo,null),o(fo,Fl),o(fo,Dn),x(e,nd,L),_(Br,e,L),x(e,sd,L),x(e,I,L),_(jr,I,null),o(I,Ul),o(I,Cn),o(I,El),o(I,po),_(Gr,po,null),o(po,Nl),o(po,Sn),o(I,Xl),o(I,mo),_(Jr,mo,null),o(mo,ql),o(mo,An),o(I,zl),o(I,ee),_(Zr,ee,null),o(ee,Bl),o(ee,kn),o(ee,jl),o(ee,Pn),o(ee,Gl),o(ee,Vn),o(ee,Jl),o(ee,Rn),o(ee,Zl),o(ee,Hn),o(I,Ol),o(I,Le),_(Or,Le,null),o(Le,Yl),o(Le,In),o(Le,Ql),_(_o,Le,null),o(I,Kl),o(I,uo),_(Yr,uo,null),o(uo,ec),o(uo,Wn),x(e,id,L),_(Qr,e,L),x(e,dd,L),x(e,k,L),_(Kr,k,null),o(k,oc),o(k,Fn),o(k,rc),o(k,Un),o(k,tc),o(k,ho),_(et,ho,null),o(ho,ac),o(ho,En),o(k,nc),o(k,go),_(ot,go,null),o(go,sc),o(go,Nn),o(k,ic),o(k,te),_(rt,te,null),o(te,dc),o(te,Xn),o(te,lc),o(te,qn),o(te,cc),o(te,zn),o(te,fc),o(te,Bn),o(k,pc),o(k,xe),_(tt,xe,null),o(xe,mc),o(xe,jn),o(xe,_c),_(Lo,xe,null),o(k,uc),o(k,xo),_(at,xo,null),o(xo,hc),o(xo,Gn),o(k,gc),o(k,ve),_(nt,ve,null),o(ve,Lc),o(ve,Jn),o(ve,xc),_(vo,ve,null),x(e,ld,L),_(st,e,L),x(e,cd,L),x(e,S,L),_(it,S,null),o(S,vc),o(S,Zn),o(S,bc),o(S,On),o(S,wc),o(S,bo),_(dt,bo,null),o(bo,$c),o(bo,Yn),o(S,Mc),o(S,wo),_(lt,wo,null),o(wo,yc),o(wo,Qn),o(S,Tc),o(S,ae),_(ct,ae,null),o(ae,Dc),o(ae,Kn),o(ae,Cc),o(ae,es),o(ae,Sc),o(ae,os),o(ae,Ac),o(ae,rs),o(S,kc),o(S,be),_(ft,be,null),o(be,Pc),o(be,ts),o(be,Vc),_($o,be,null),o(S,Rc),o(S,Mo),_(pt,Mo,null),o(Mo,Hc),o(Mo,as),o(S,Ic),o(S,we),_(mt,we,null),o(we,Wc),o(we,ns),o(we,Fc),_(yo,we,null),o(S,Uc),o(S,$e),_(_t,$e,null),o($e,Ec),o($e,ss),o($e,Nc),_(To,$e,null),x(e,fd,L),_(ut,e,L),x(e,pd,L),x(e,W,L),_(ht,W,null),o(W,Xc),o(W,is),o(W,qc),o(W,Do),_(gt,Do,null),o(Do,zc),o(Do,ds),o(W,Bc),o(W,Co),_(Lt,Co,null),o(Co,jc),o(Co,ls),o(W,Gc),o(W,Me),_(xt,Me,null),o(Me,Jc),o(Me,cs),o(Me,Zc),_(So,Me,null),o(W,Oc),o(W,Ao),_(vt,Ao,null),o(Ao,Yc),o(Ao,fs),o(W,Qc),o(W,ye),_(bt,ye,null),o(ye,Kc),o(ye,ps),o(ye,ef),_(ko,ye,null),x(e,md,L),_(wt,e,L),x(e,_d,L),x(e,F,L),_($t,F,null),o(F,of),o(F,ms),o(F,rf),o(F,Po),_(Mt,Po,null),o(Po,tf),o(Po,_s),o(F,af),o(F,Vo),_(yt,Vo,null),o(Vo,nf),o(Vo,us),o(F,sf),o(F,Te),_(Tt,Te,null),o(Te,df),o(Te,hs),o(Te,lf),_(Ro,Te,null),o(F,cf),o(F,Ho),_(Dt,Ho,null),o(Ho,ff),o(Ho,gs),o(F,pf),o(F,De),_(Ct,De,null),o(De,mf),o(De,Ls),o(De,_f),_(Io,De,null),x(e,ud,L),_(St,e,L),x(e,hd,L),x(e,U,L),_(At,U,null),o(U,uf),o(U,xs),o(U,hf),o(U,Wo),_(kt,Wo,null),o(Wo,gf),o(Wo,vs),o(U,Lf),o(U,Fo),_(Pt,Fo,null),o(Fo,xf),o(Fo,bs),o(U,vf),o(U,Ce),_(Vt,Ce,null),o(Ce,bf),o(Ce,ws),o(Ce,wf),_(Uo,Ce,null),o(U,$f),o(U,Eo),_(Rt,Eo,null),o(Eo,Mf),o(Eo,$s),o(U,yf),o(U,Se),_(Ht,Se,null),o(Se,Tf),o(Se,Ms),o(Se,Df),_(No,Se,null),x(e,gd,L),_(It,e,L),x(e,Ld,L),x(e,E,L),_(Wt,E,null),o(E,Cf),o(E,ys),o(E,Sf),o(E,Xo),_(Ft,Xo,null),o(Xo,Af),o(Xo,Ts),o(E,kf),o(E,qo),_(Ut,qo,null),o(qo,Pf),o(qo,Ds),o(E,Vf),o(E,Ae),_(Et,Ae,null),o(Ae,Rf),o(Ae,Cs),o(Ae,Hf),_(zo,Ae,null),o(E,If),o(E,Bo),_(Nt,Bo,null),o(Bo,Wf),o(Bo,Ss),o(E,Ff),o(E,ke),_(Xt,ke,null),o(ke,Uf),o(ke,As),o(ke,Ef),_(jo,ke,null),x(e,xd,L),_(qt,e,L),x(e,vd,L),x(e,N,L),_(zt,N,null),o(N,Nf),o(N,ks),o(N,Xf),o(N,Go),_(Bt,Go,null),o(Go,qf),o(Go,Ps),o(N,zf),o(N,Jo),_(jt,Jo,null),o(Jo,Bf),o(Jo,Vs),o(N,jf),o(N,Pe),_(Gt,Pe,null),o(Pe,Gf),o(Pe,Rs),o(Pe,Jf),_(Zo,Pe,null),o(N,Zf),o(N,Oo),_(Jt,Oo,null),o(Oo,Of),o(Oo,Hs),o(N,Yf),o(N,Ve),_(Zt,Ve,null),o(Ve,Qf),o(Ve,Is),o(Ve,Kf),_(Yo,Ve,null),x(e,bd,L),_(Ot,e,L),x(e,wd,L),x(e,X,L),_(Yt,X,null),o(X,ep),o(X,Ws),o(X,op),o(X,Qo),_(Qt,Qo,null),o(Qo,rp),o(Qo,Fs),o(X,tp),o(X,Ko),_(Kt,Ko,null),o(Ko,ap),o(Ko,Us),o(X,np),o(X,Re),_(ea,Re,null),o(Re,sp),o(Re,Es),o(Re,ip),_(er,Re,null),o(X,dp),o(X,or),_(oa,or,null),o(or,lp),o(or,Ns),o(X,cp),o(X,He),_(ra,He,null),o(He,fp),o(He,Xs),o(He,pp),_(rr,He,null),x(e,$d,L),_(ta,e,L),x(e,Md,L),x(e,q,L),_(aa,q,null),o(q,mp),o(q,qs),o(q,_p),o(q,tr),_(na,tr,null),o(tr,up),o(tr,zs),o(q,hp),o(q,ar),_(sa,ar,null),o(ar,gp),o(ar,Bs),o(q,Lp),o(q,Ie),_(ia,Ie,null),o(Ie,xp),o(Ie,js),o(Ie,vp),_(nr,Ie,null),o(q,bp),o(q,sr),_(da,sr,null),o(sr,wp),o(sr,Gs),o(q,$p),o(q,We),_(la,We,null),o(We,Mp),o(We,Js),o(We,yp),_(ir,We,null),x(e,yd,L),_(ca,e,L),x(e,Td,L),x(e,z,L),_(fa,z,null),o(z,Tp),o(z,Zs),o(z,Dp),o(z,dr),_(pa,dr,null),o(dr,Cp),o(dr,Os),o(z,Sp),o(z,lr),_(ma,lr,null),o(lr,Ap),o(lr,Ys),o(z,kp),o(z,Fe),_(_a,Fe,null),o(Fe,Pp),o(Fe,Qs),o(Fe,Vp),_(cr,Fe,null),o(z,Rp),o(z,fr),_(ua,fr,null),o(fr,Hp),o(fr,Ks),o(z,Ip),o(z,Ue),_(ha,Ue,null),o(Ue,Wp),o(Ue,ei),o(Ue,Fp),_(pr,Ue,null),x(e,Dd,L),_(ga,e,L),x(e,Cd,L),x(e,B,L),_(La,B,null),o(B,Up),o(B,oi),o(B,Ep),o(B,mr),_(xa,mr,null),o(mr,Np),o(mr,ri),o(B,Xp),o(B,_r),_(va,_r,null),o(_r,qp),o(_r,ti),o(B,zp),o(B,Ee),_(ba,Ee,null),o(Ee,Bp),o(Ee,ai),o(Ee,jp),_(ur,Ee,null),o(B,Gp),o(B,hr),_(wa,hr,null),o(hr,Jp),o(hr,ni),o(B,Zp),o(B,Ne),_($a,Ne,null),o(Ne,Op),o(Ne,si),o(Ne,Yp),_(gr,Ne,null),x(e,Sd,L),_(Ma,e,L),x(e,Ad,L),x(e,j,L),_(ya,j,null),o(j,Qp),o(j,ii),o(j,Kp),o(j,Lr),_(Ta,Lr,null),o(Lr,em),o(Lr,di),o(j,om),o(j,xr),_(Da,xr,null),o(xr,rm),o(xr,li),o(j,tm),o(j,Xe),_(Ca,Xe,null),o(Xe,am),o(Xe,ci),o(Xe,nm),_(vr,Xe,null),o(j,sm),o(j,br),_(Sa,br,null),o(br,im),o(br,fi),o(j,dm),o(j,qe),_(Aa,qe,null),o(qe,lm),o(qe,pi),o(qe,cm),_(wr,qe,null),x(e,kd,L),_(ka,e,L),x(e,Pd,L),x(e,G,L),_(Pa,G,null),o(G,fm),o(G,mi),o(G,pm),o(G,$r),_(Va,$r,null),o($r,mm),o($r,_i),o(G,_m),o(G,Mr),_(Ra,Mr,null),o(Mr,um),o(Mr,ui),o(G,hm),o(G,ze),_(Ha,ze,null),o(ze,gm),o(ze,hi),o(ze,Lm),_(yr,ze,null),o(G,xm),o(G,Tr),_(Ia,Tr,null),o(Tr,vm),o(Tr,gi),o(G,bm),o(G,Be),_(Wa,Be,null),o(Be,wm),o(Be,Li),o(Be,$m),_(Dr,Be,null),x(e,Vd,L),_(Fa,e,L),x(e,Rd,L),x(e,Oe,L),_(Ua,Oe,null),o(Oe,Mm),o(Oe,Cr),_(Ea,Cr,null),o(Cr,ym),o(Cr,xi),x(e,Hd,L),_(Na,e,L),x(e,Id,L),x(e,Xa,L),_(qa,Xa,null),x(e,Wd,L),_(za,e,L),x(e,Fd,L),x(e,A,L),_(Ba,A,null),o(A,Tm),o(A,vi),o(A,Dm),o(A,bi),_(ja,bi,null),o(A,Cm),o(A,je),_(Ga,je,null),o(je,Sm),o(je,wi),o(je,Am),o(je,$i),o(A,km),o(A,he),_(Ja,he,null),o(he,Pm),o(he,Mi),o(he,Vm),_(Sr,he,null),o(he,Rm),_(Ar,he,null),o(A,Hm),o(A,Ge),_(Za,Ge,null),o(Ge,Im),o(Ge,yi),o(Ge,Wm),_(kr,Ge,null),o(A,Fm),o(A,Pr),_(Oa,Pr,null),o(Pr,Um),o(Pr,Ti),o(A,Em),o(A,Vr),_(Ya,Vr,null),o(Vr,Nm),o(Vr,Di),o(A,Xm),o(A,Je),_(Qa,Je,null),o(Je,qm),o(Je,Ci),o(Je,zm),_(Rr,Je,null),o(A,Bm),o(A,Ze),_(Ka,Ze,null),o(Ze,jm),o(Ze,Si),o(Ze,Gm),_(Hr,Ze,null),x(e,Ud,L),_(en,e,L),x(e,Ed,L),x(e,ed,L),Nd=!0},p(e,[L]){const Z={};L&2&&(Z.$$scope={dirty:L,ctx:e}),so.$set(Z);const on={};L&2&&(on.$$scope={dirty:L,ctx:e}),co.$set(on);const rn={};L&2&&(rn.$$scope={dirty:L,ctx:e}),_o.$set(rn);const oe={};L&2&&(oe.$$scope={dirty:L,ctx:e}),Lo.$set(oe);const Ye={};L&2&&(Ye.$$scope={dirty:L,ctx:e}),vo.$set(Ye);const tn={};L&2&&(tn.$$scope={dirty:L,ctx:e}),$o.$set(tn);const O={};L&2&&(O.$$scope={dirty:L,ctx:e}),yo.$set(O);const an={};L&2&&(an.$$scope={dirty:L,ctx:e}),To.$set(an);const nn={};L&2&&(nn.$$scope={dirty:L,ctx:e}),So.$set(nn);const re={};L&2&&(re.$$scope={dirty:L,ctx:e}),ko.$set(re);const Qe={};L&2&&(Qe.$$scope={dirty:L,ctx:e}),Ro.$set(Qe);const sn={};L&2&&(sn.$$scope={dirty:L,ctx:e}),Io.$set(sn);const V={};L&2&&(V.$$scope={dirty:L,ctx:e}),Uo.$set(V);const dn={};L&2&&(dn.$$scope={dirty:L,ctx:e}),No.$set(dn);const ln={};L&2&&(ln.$$scope={dirty:L,ctx:e}),zo.$set(ln);const _e={};L&2&&(_e.$$scope={dirty:L,ctx:e}),jo.$set(_e);const Ke={};L&2&&(Ke.$$scope={dirty:L,ctx:e}),Zo.$set(Ke);const cn={};L&2&&(cn.$$scope={dirty:L,ctx:e}),Yo.$set(cn);const eo={};L&2&&(eo.$$scope={dirty:L,ctx:e}),er.$set(eo);const P={};L&2&&(P.$$scope={dirty:L,ctx:e}),rr.$set(P);const fn={};L&2&&(fn.$$scope={dirty:L,ctx:e}),nr.$set(fn);const pn={};L&2&&(pn.$$scope={dirty:L,ctx:e}),ir.$set(pn);const ue={};L&2&&(ue.$$scope={dirty:L,ctx:e}),cr.$set(ue);const oo={};L&2&&(oo.$$scope={dirty:L,ctx:e}),pr.$set(oo);const mn={};L&2&&(mn.$$scope={dirty:L,ctx:e}),ur.$set(mn);const ro={};L&2&&(ro.$$scope={dirty:L,ctx:e}),gr.$set(ro);const to={};L&2&&(to.$$scope={dirty:L,ctx:e}),vr.$set(to);const Y={};L&2&&(Y.$$scope={dirty:L,ctx:e}),wr.$set(Y);const _n={};L&2&&(_n.$$scope={dirty:L,ctx:e}),yr.$set(_n);const un={};L&2&&(un.$$scope={dirty:L,ctx:e}),Dr.$set(un);const ao={};L&2&&(ao.$$scope={dirty:L,ctx:e}),Sr.$set(ao);const hn={};L&2&&(hn.$$scope={dirty:L,ctx:e}),Ar.$set(hn);const no={};L&2&&(no.$$scope={dirty:L,ctx:e}),kr.$set(no);const Q={};L&2&&(Q.$$scope={dirty:L,ctx:e}),Rr.$set(Q);const gn={};L&2&&(gn.$$scope={dirty:L,ctx:e}),Hr.$set(gn)},i(e){Nd||(u(T.$$.fragment,e),u(so.$$.fragment,e),u(Fr.$$.fragment,e),u(Ur.$$.fragment,e),u(Er.$$.fragment,e),u(Nr.$$.fragment,e),u(Xr.$$.fragment,e),u(qr.$$.fragment,e),u(co.$$.fragment,e),u(zr.$$.fragment,e),u(Br.$$.fragment,e),u(jr.$$.fragment,e),u(Gr.$$.fragment,e),u(Jr.$$.fragment,e),u(Zr.$$.fragment,e),u(Or.$$.fragment,e),u(_o.$$.fragment,e),u(Yr.$$.fragment,e),u(Qr.$$.fragment,e),u(Kr.$$.fragment,e),u(et.$$.fragment,e),u(ot.$$.fragment,e),u(rt.$$.fragment,e),u(tt.$$.fragment,e),u(Lo.$$.fragment,e),u(at.$$.fragment,e),u(nt.$$.fragment,e),u(vo.$$.fragment,e),u(st.$$.fragment,e),u(it.$$.fragment,e),u(dt.$$.fragment,e),u(lt.$$.fragment,e),u(ct.$$.fragment,e),u(ft.$$.fragment,e),u($o.$$.fragment,e),u(pt.$$.fragment,e),u(mt.$$.fragment,e),u(yo.$$.fragment,e),u(_t.$$.fragment,e),u(To.$$.fragment,e),u(ut.$$.fragment,e),u(ht.$$.fragment,e),u(gt.$$.fragment,e),u(Lt.$$.fragment,e),u(xt.$$.fragment,e),u(So.$$.fragment,e),u(vt.$$.fragment,e),u(bt.$$.fragment,e),u(ko.$$.fragment,e),u(wt.$$.fragment,e),u($t.$$.fragment,e),u(Mt.$$.fragment,e),u(yt.$$.fragment,e),u(Tt.$$.fragment,e),u(Ro.$$.fragment,e),u(Dt.$$.fragment,e),u(Ct.$$.fragment,e),u(Io.$$.fragment,e),u(St.$$.fragment,e),u(At.$$.fragment,e),u(kt.$$.fragment,e),u(Pt.$$.fragment,e),u(Vt.$$.fragment,e),u(Uo.$$.fragment,e),u(Rt.$$.fragment,e),u(Ht.$$.fragment,e),u(No.$$.fragment,e),u(It.$$.fragment,e),u(Wt.$$.fragment,e),u(Ft.$$.fragment,e),u(Ut.$$.fragment,e),u(Et.$$.fragment,e),u(zo.$$.fragment,e),u(Nt.$$.fragment,e),u(Xt.$$.fragment,e),u(jo.$$.fragment,e),u(qt.$$.fragment,e),u(zt.$$.fragment,e),u(Bt.$$.fragment,e),u(jt.$$.fragment,e),u(Gt.$$.fragment,e),u(Zo.$$.fragment,e),u(Jt.$$.fragment,e),u(Zt.$$.fragment,e),u(Yo.$$.fragment,e),u(Ot.$$.fragment,e),u(Yt.$$.fragment,e),u(Qt.$$.fragment,e),u(Kt.$$.fragment,e),u(ea.$$.fragment,e),u(er.$$.fragment,e),u(oa.$$.fragment,e),u(ra.$$.fragment,e),u(rr.$$.fragment,e),u(ta.$$.fragment,e),u(aa.$$.fragment,e),u(na.$$.fragment,e),u(sa.$$.fragment,e),u(ia.$$.fragment,e),u(nr.$$.fragment,e),u(da.$$.fragment,e),u(la.$$.fragment,e),u(ir.$$.fragment,e),u(ca.$$.fragment,e),u(fa.$$.fragment,e),u(pa.$$.fragment,e),u(ma.$$.fragment,e),u(_a.$$.fragment,e),u(cr.$$.fragment,e),u(ua.$$.fragment,e),u(ha.$$.fragment,e),u(pr.$$.fragment,e),u(ga.$$.fragment,e),u(La.$$.fragment,e),u(xa.$$.fragment,e),u(va.$$.fragment,e),u(ba.$$.fragment,e),u(ur.$$.fragment,e),u(wa.$$.fragment,e),u($a.$$.fragment,e),u(gr.$$.fragment,e),u(Ma.$$.fragment,e),u(ya.$$.fragment,e),u(Ta.$$.fragment,e),u(Da.$$.fragment,e),u(Ca.$$.fragment,e),u(vr.$$.fragment,e),u(Sa.$$.fragment,e),u(Aa.$$.fragment,e),u(wr.$$.fragment,e),u(ka.$$.fragment,e),u(Pa.$$.fragment,e),u(Va.$$.fragment,e),u(Ra.$$.fragment,e),u(Ha.$$.fragment,e),u(yr.$$.fragment,e),u(Ia.$$.fragment,e),u(Wa.$$.fragment,e),u(Dr.$$.fragment,e),u(Fa.$$.fragment,e),u(Ua.$$.fragment,e),u(Ea.$$.fragment,e),u(Na.$$.fragment,e),u(qa.$$.fragment,e),u(za.$$.fragment,e),u(Ba.$$.fragment,e),u(ja.$$.fragment,e),u(Ga.$$.fragment,e),u(Ja.$$.fragment,e),u(Sr.$$.fragment,e),u(Ar.$$.fragment,e),u(Za.$$.fragment,e),u(kr.$$.fragment,e),u(Oa.$$.fragment,e),u(Ya.$$.fragment,e),u(Qa.$$.fragment,e),u(Rr.$$.fragment,e),u(Ka.$$.fragment,e),u(Hr.$$.fragment,e),u(en.$$.fragment,e),Nd=!0)},o(e){h(T.$$.fragment,e),h(so.$$.fragment,e),h(Fr.$$.fragment,e),h(Ur.$$.fragment,e),h(Er.$$.fragment,e),h(Nr.$$.fragment,e),h(Xr.$$.fragment,e),h(qr.$$.fragment,e),h(co.$$.fragment,e),h(zr.$$.fragment,e),h(Br.$$.fragment,e),h(jr.$$.fragment,e),h(Gr.$$.fragment,e),h(Jr.$$.fragment,e),h(Zr.$$.fragment,e),h(Or.$$.fragment,e),h(_o.$$.fragment,e),h(Yr.$$.fragment,e),h(Qr.$$.fragment,e),h(Kr.$$.fragment,e),h(et.$$.fragment,e),h(ot.$$.fragment,e),h(rt.$$.fragment,e),h(tt.$$.fragment,e),h(Lo.$$.fragment,e),h(at.$$.fragment,e),h(nt.$$.fragment,e),h(vo.$$.fragment,e),h(st.$$.fragment,e),h(it.$$.fragment,e),h(dt.$$.fragment,e),h(lt.$$.fragment,e),h(ct.$$.fragment,e),h(ft.$$.fragment,e),h($o.$$.fragment,e),h(pt.$$.fragment,e),h(mt.$$.fragment,e),h(yo.$$.fragment,e),h(_t.$$.fragment,e),h(To.$$.fragment,e),h(ut.$$.fragment,e),h(ht.$$.fragment,e),h(gt.$$.fragment,e),h(Lt.$$.fragment,e),h(xt.$$.fragment,e),h(So.$$.fragment,e),h(vt.$$.fragment,e),h(bt.$$.fragment,e),h(ko.$$.fragment,e),h(wt.$$.fragment,e),h($t.$$.fragment,e),h(Mt.$$.fragment,e),h(yt.$$.fragment,e),h(Tt.$$.fragment,e),h(Ro.$$.fragment,e),h(Dt.$$.fragment,e),h(Ct.$$.fragment,e),h(Io.$$.fragment,e),h(St.$$.fragment,e),h(At.$$.fragment,e),h(kt.$$.fragment,e),h(Pt.$$.fragment,e),h(Vt.$$.fragment,e),h(Uo.$$.fragment,e),h(Rt.$$.fragment,e),h(Ht.$$.fragment,e),h(No.$$.fragment,e),h(It.$$.fragment,e),h(Wt.$$.fragment,e),h(Ft.$$.fragment,e),h(Ut.$$.fragment,e),h(Et.$$.fragment,e),h(zo.$$.fragment,e),h(Nt.$$.fragment,e),h(Xt.$$.fragment,e),h(jo.$$.fragment,e),h(qt.$$.fragment,e),h(zt.$$.fragment,e),h(Bt.$$.fragment,e),h(jt.$$.fragment,e),h(Gt.$$.fragment,e),h(Zo.$$.fragment,e),h(Jt.$$.fragment,e),h(Zt.$$.fragment,e),h(Yo.$$.fragment,e),h(Ot.$$.fragment,e),h(Yt.$$.fragment,e),h(Qt.$$.fragment,e),h(Kt.$$.fragment,e),h(ea.$$.fragment,e),h(er.$$.fragment,e),h(oa.$$.fragment,e),h(ra.$$.fragment,e),h(rr.$$.fragment,e),h(ta.$$.fragment,e),h(aa.$$.fragment,e),h(na.$$.fragment,e),h(sa.$$.fragment,e),h(ia.$$.fragment,e),h(nr.$$.fragment,e),h(da.$$.fragment,e),h(la.$$.fragment,e),h(ir.$$.fragment,e),h(ca.$$.fragment,e),h(fa.$$.fragment,e),h(pa.$$.fragment,e),h(ma.$$.fragment,e),h(_a.$$.fragment,e),h(cr.$$.fragment,e),h(ua.$$.fragment,e),h(ha.$$.fragment,e),h(pr.$$.fragment,e),h(ga.$$.fragment,e),h(La.$$.fragment,e),h(xa.$$.fragment,e),h(va.$$.fragment,e),h(ba.$$.fragment,e),h(ur.$$.fragment,e),h(wa.$$.fragment,e),h($a.$$.fragment,e),h(gr.$$.fragment,e),h(Ma.$$.fragment,e),h(ya.$$.fragment,e),h(Ta.$$.fragment,e),h(Da.$$.fragment,e),h(Ca.$$.fragment,e),h(vr.$$.fragment,e),h(Sa.$$.fragment,e),h(Aa.$$.fragment,e),h(wr.$$.fragment,e),h(ka.$$.fragment,e),h(Pa.$$.fragment,e),h(Va.$$.fragment,e),h(Ra.$$.fragment,e),h(Ha.$$.fragment,e),h(yr.$$.fragment,e),h(Ia.$$.fragment,e),h(Wa.$$.fragment,e),h(Dr.$$.fragment,e),h(Fa.$$.fragment,e),h(Ua.$$.fragment,e),h(Ea.$$.fragment,e),h(Na.$$.fragment,e),h(qa.$$.fragment,e),h(za.$$.fragment,e),h(Ba.$$.fragment,e),h(ja.$$.fragment,e),h(Ga.$$.fragment,e),h(Ja.$$.fragment,e),h(Sr.$$.fragment,e),h(Ar.$$.fragment,e),h(Za.$$.fragment,e),h(kr.$$.fragment,e),h(Oa.$$.fragment,e),h(Ya.$$.fragment,e),h(Qa.$$.fragment,e),h(Rr.$$.fragment,e),h(Ka.$$.fragment,e),h(Hr.$$.fragment,e),h(en.$$.fragment,e),Nd=!1},d(e){e&&(i(v),i(l),i(c),i(d),i(M),i(od),i(Wr),i(rd),i(td),i(ad),i(H),i(nd),i(sd),i(I),i(id),i(dd),i(k),i(ld),i(cd),i(S),i(fd),i(pd),i(W),i(md),i(_d),i(F),i(ud),i(hd),i(U),i(gd),i(Ld),i(E),i(xd),i(vd),i(N),i(bd),i(wd),i(X),i($d),i(Md),i(q),i(yd),i(Td),i(z),i(Dd),i(Cd),i(B),i(Sd),i(Ad),i(j),i(kd),i(Pd),i(G),i(Vd),i(Rd),i(Oe),i(Hd),i(Id),i(Xa),i(Wd),i(Fd),i(A),i(Ud),i(Ed),i(ed)),i(a),g(T,e),g(so,e),g(Fr,e),g(Ur),g(Er),g(Nr),g(Xr),g(qr),g(co),g(zr),g(Br,e),g(jr),g(Gr),g(Jr),g(Zr),g(Or),g(_o),g(Yr),g(Qr,e),g(Kr),g(et),g(ot),g(rt),g(tt),g(Lo),g(at),g(nt),g(vo),g(st,e),g(it),g(dt),g(lt),g(ct),g(ft),g($o),g(pt),g(mt),g(yo),g(_t),g(To),g(ut,e),g(ht),g(gt),g(Lt),g(xt),g(So),g(vt),g(bt),g(ko),g(wt,e),g($t),g(Mt),g(yt),g(Tt),g(Ro),g(Dt),g(Ct),g(Io),g(St,e),g(At),g(kt),g(Pt),g(Vt),g(Uo),g(Rt),g(Ht),g(No),g(It,e),g(Wt),g(Ft),g(Ut),g(Et),g(zo),g(Nt),g(Xt),g(jo),g(qt,e),g(zt),g(Bt),g(jt),g(Gt),g(Zo),g(Jt),g(Zt),g(Yo),g(Ot,e),g(Yt),g(Qt),g(Kt),g(ea),g(er),g(oa),g(ra),g(rr),g(ta,e),g(aa),g(na),g(sa),g(ia),g(nr),g(da),g(la),g(ir),g(ca,e),g(fa),g(pa),g(ma),g(_a),g(cr),g(ua),g(ha),g(pr),g(ga,e),g(La),g(xa),g(va),g(ba),g(ur),g(wa),g($a),g(gr),g(Ma,e),g(ya),g(Ta),g(Da),g(Ca),g(vr),g(Sa),g(Aa),g(wr),g(ka,e),g(Pa),g(Va),g(Ra),g(Ha),g(yr),g(Ia),g(Wa),g(Dr),g(Fa,e),g(Ua),g(Ea),g(Na,e),g(qa),g(za,e),g(Ba),g(ja),g(Ga),g(Ja),g(Sr),g(Ar),g(Za),g(kr),g(Oa),g(Ya),g(Qa),g(Rr),g(Ka),g(Hr),g(en,e)}}}const Yh='{"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":"AuraFlowLoraLoaderMixin","local":"diffusers.loaders.AuraFlowLoraLoaderMixin","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":"WanLoraLoaderMixin","local":"diffusers.loaders.WanLoraLoaderMixin","sections":[],"depth":2},{"title":"CogView4LoraLoaderMixin","local":"diffusers.loaders.CogView4LoraLoaderMixin","sections":[],"depth":2},{"title":"CogView4LoraLoaderMixin","local":"diffusers.loaders.CogView4LoraLoaderMixin","sections":[],"depth":2},{"title":"WanLoraLoaderMixin","local":"diffusers.loaders.WanLoraLoaderMixin","sections":[],"depth":2},{"title":"AmusedLoraLoaderMixin","local":"diffusers.loaders.AmusedLoraLoaderMixin","sections":[],"depth":2},{"title":"HiDreamImageLoraLoaderMixin","local":"diffusers.loaders.HiDreamImageLoraLoaderMixin","sections":[],"depth":2},{"title":"LoraBaseMixin","local":"diffusers.loaders.LoraBaseMixin","sections":[],"depth":2}],"depth":1}';function Qh(y){return ch(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class sg extends fh{constructor(a){super(),ph(this,a,Qh,Oh,lh,{})}}export{sg as component};

Xet Storage Details

Size:
314 kB
·
Xet hash:
0befdd8ecc7a906d95910b3737ea241e0b030c6399bc6713ba77cadf85a214da

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