Buckets:

rtrm's picture
download
raw
295 kB
import{s as lu,o as cu,n as D}from"../chunks/scheduler.8c3d61f6.js";import{S as fu,i as pu,g as n,s as r,r as p,A as mu,h as s,f as i,c as t,j as v,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 S}from"../chunks/Tip.1d9b8c37.js";import{D as $}from"../chunks/Docstring.932cdff3.js";import{C as Xd}from"../chunks/CodeBlock.a9c4becf.js";import{E as Nd}from"../chunks/ExampleCodeBlock.c0461b09.js";import{H as O,E as _u}from"../chunks/index.ef90fe87.js";function uu(T){let a,b='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=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-1fw6lx1"&&(a.innerHTML=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function hu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 gu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Lu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 xu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function bu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 vu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function wu(T){let a,b="Examples:",l,c,y;return c=new Xd({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=b,l=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=b),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),y=!0},p:D,i(d){y||(u(c.$$.fragment,d),y=!0)},o(d){h(c.$$.fragment,d),y=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function $u(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Mu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function yu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Tu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Du(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Su(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Cu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Au(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function ku(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Pu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Hu(T){let a,b="We support loading original format HunyuanVideo LoRA checkpoints.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-gyrs6h"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Ru(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Iu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Vu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Fu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Uu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Wu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Eu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Nu(T){let a,b="We support loading A1111 formatted LoRA checkpoints in a limited capacity.",l,c,y="This function is experimental and might change in the future.";return{c(){a=n("p"),a.textContent=b,l=r(),c=n("p"),c.textContent=y},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-15l1sdn"&&(a.textContent=b),l=t(d),c=s(d,"P",{"data-svelte-h":!0}),f(c)!=="svelte-3fufvn"&&(c.textContent=y)},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 Xu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function qu(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function zu(T){let a,b="Example:",l,c,y;return c=new Xd({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=b,l=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=b),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),y=!0},p:D,i(d){y||(u(c.$$.fragment,d),y=!0)},o(d){h(c.$$.fragment,d),y=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function Bu(T){let a,b="Example:",l,c,y;return c=new Xd({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=b,l=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-11lpom8"&&(a.textContent=b),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),y=!0},p:D,i(d){y||(u(c.$$.fragment,d),y=!0)},o(d){h(c.$$.fragment,d),y=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function ju(T){let a,b="This is an experimental API.";return{c(){a=n("p"),a.textContent=b},l(l){a=s(l,"P",{"data-svelte-h":!0}),f(a)!=="svelte-8w79b9"&&(a.textContent=b)},m(l,c){x(l,a,c)},p:D,d(l){l&&i(a)}}}function Gu(T){let a,b="Examples:",l,c,y;return c=new Xd({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=b,l=r(),p(c.$$.fragment)},l(d){a=s(d,"P",{"data-svelte-h":!0}),f(a)!=="svelte-kvfsh7"&&(a.textContent=b),l=t(d),m(c.$$.fragment,d)},m(d,M){x(d,a,M),x(d,l,M),_(c,d,M),y=!0},p:D,i(d){y||(u(c.$$.fragment,d),y=!0)},o(d){h(c.$$.fragment,d),y=!1},d(d){d&&(i(a),i(l)),g(c,d)}}}function Ju(T){let a,b,l,c,y,d,M,om='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_11438/en/api/models/unet2d-cond#diffusers.UNet2DConditionModel">UNet2DConditionModel</a>, for example) or a Transformer (<a href="/docs/diffusers/pr_11438/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a>, for example). There are several classes for loading LoRA weights:',Di,Sr,rm='<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_11438/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>',Si,ro,Ci,Cr,Ai,I,Ar,qd,Ya,tm=`Load LoRA layers into Stable Diffusion <a href="/docs/diffusers/pr_11438/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>.`,zd,to,kr,Bd,Qa,am="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",jd,ao,Pr,Gd,Ka,nm="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",Jd,Y,Hr,Zd,en,sm=`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>.`,Od,on,im="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Yd,rn,dm=`See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Qd,tn,lm=`See <a href="/docs/diffusers/pr_11438/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>.`,Kd,an,cm=`See <a href="/docs/diffusers/pr_11438/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>.`,el,ue,Rr,ol,nn,fm="Return state dict for lora weights and the network alphas.",rl,no,tl,so,Ir,al,sn,pm="Save the LoRA parameters corresponding to the UNet and text encoder.",ki,Vr,Pi,V,Fr,nl,dn,mm=`Load LoRA layers into Stable Diffusion XL <a href="/docs/diffusers/pr_11438/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>.`,sl,io,Ur,il,ln,_m="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",dl,lo,Wr,ll,cn,um="This will load the LoRA layers specified in <code>state_dict</code> into <code>unet</code>.",cl,Q,Er,fl,fn,hm=`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>.`,pl,pn,gm="All kwargs are forwarded to <code>self.lora_state_dict</code>.",ml,mn,Lm=`See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,_l,_n,xm=`See <a href="/docs/diffusers/pr_11438/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>.`,ul,un,bm=`See <a href="/docs/diffusers/pr_11438/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>.`,hl,he,Nr,gl,hn,vm="Return state dict for lora weights and the network alphas.",Ll,co,xl,fo,Xr,bl,gn,wm="Save the LoRA parameters corresponding to the UNet and text encoder.",Hi,qr,Ri,k,zr,vl,Ln,$m=`Load LoRA layers into <a href="/docs/diffusers/pr_11438/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>.`,wl,xn,Mm='Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',$l,po,Br,Ml,bn,ym="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",yl,mo,jr,Tl,vn,Tm="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Dl,oe,Gr,Sl,wn,Dm=`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>.`,Cl,$n,Sm="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Al,Mn,Cm=`See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,kl,yn,Am=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Pl,ge,Jr,Hl,Tn,km="Return state dict for lora weights and the network alphas.",Rl,_o,Il,uo,Zr,Vl,Dn,Pm="Save the LoRA parameters corresponding to the UNet and text encoder.",Fl,Le,Or,Ul,Sn,Hm=`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>.`,Wl,ho,Ii,Yr,Vi,C,Qr,El,Cn,Rm=`Load LoRA layers into <a href="/docs/diffusers/pr_11438/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>.`,Nl,An,Im='Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/stable_diffusion/stable_diffusion_3#diffusers.StableDiffusion3Pipeline">StableDiffusion3Pipeline</a>.',Xl,go,Kr,ql,kn,Vm="This will load the LoRA layers specified in <code>state_dict</code> into <code>text_encoder</code>",zl,Lo,et,Bl,Pn,Fm="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",jl,re,ot,Gl,Hn,Um=`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>.`,Jl,Rn,Wm="All kwargs are forwarded to <code>self.lora_state_dict</code>.",Zl,In,Em=`See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a> for more details on how the state dict is
loaded.`,Ol,Vn,Nm=`See <code>~loaders.StableDiffusionLoraLoaderMixin.load_lora_into_transformer</code> for more details on how the state
dict is loaded into <code>self.transformer</code>.`,Yl,xe,rt,Ql,Fn,Xm="Return state dict for lora weights and the network alphas.",Kl,xo,ec,bo,tt,oc,Un,qm="Save the LoRA parameters corresponding to the UNet and text encoder.",rc,be,at,tc,Wn,zm=`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>.`,ac,vo,nc,ve,nt,sc,En,Bm="Unloads the LoRA parameters.",ic,wo,Fi,st,Ui,F,it,dc,Nn,jm='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/cogvideox_transformer3d#diffusers.CogVideoXTransformer3DModel">CogVideoXTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/cogvideox#diffusers.CogVideoXPipeline">CogVideoXPipeline</a>.',lc,$o,dt,cc,Xn,Gm="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",fc,Mo,lt,pc,qn,Jm=`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_11438/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>.`,mc,we,ct,_c,zn,Zm="Return state dict for lora weights and the network alphas.",uc,yo,hc,To,ft,gc,Bn,Om="Save the LoRA parameters corresponding to the UNet and text encoder.",Lc,$e,pt,xc,jn,Ym=`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>.`,bc,Do,Wi,mt,Ei,U,_t,vc,Gn,Qm='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/mochi_transformer3d#diffusers.MochiTransformer3DModel">MochiTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/mochi#diffusers.MochiPipeline">MochiPipeline</a>.',wc,So,ut,$c,Jn,Km="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Mc,Co,ht,yc,Zn,e_=`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_11438/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>.`,Tc,Me,gt,Dc,On,o_="Return state dict for lora weights and the network alphas.",Sc,Ao,Cc,ko,Lt,Ac,Yn,r_="Save the LoRA parameters corresponding to the UNet and text encoder.",kc,ye,xt,Pc,Qn,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>.`,Hc,Po,Ni,bt,Xi,W,vt,Rc,Kn,a_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/aura_flow_transformer2d#diffusers.AuraFlowTransformer2DModel">AuraFlowTransformer2DModel</a> Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/aura_flow#diffusers.AuraFlowPipeline">AuraFlowPipeline</a>.',Ic,Ho,wt,Vc,es,n_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Fc,Ro,$t,Uc,os,s_=`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_11438/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>.`,Wc,Te,Mt,Ec,rs,i_="Return state dict for lora weights and the network alphas.",Nc,Io,Xc,Vo,yt,qc,ts,d_="Save the LoRA parameters corresponding to the UNet and text encoder.",zc,De,Tt,Bc,as,l_=`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>.`,jc,Fo,qi,Dt,zi,E,St,Gc,ns,c_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/ltx_video_transformer3d#diffusers.LTXVideoTransformer3DModel">LTXVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/ltx_video#diffusers.LTXPipeline">LTXPipeline</a>.',Jc,Uo,Ct,Zc,ss,f_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Oc,Wo,At,Yc,is,p_=`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_11438/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>.`,Qc,Se,kt,Kc,ds,m_="Return state dict for lora weights and the network alphas.",ef,Eo,of,No,Pt,rf,ls,__="Save the LoRA parameters corresponding to the UNet and text encoder.",tf,Ce,Ht,af,cs,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>.`,nf,Xo,Bi,Rt,ji,N,It,sf,fs,h_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/sana_transformer2d#diffusers.SanaTransformer2DModel">SanaTransformer2DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/sana#diffusers.SanaPipeline">SanaPipeline</a>.',df,qo,Vt,lf,ps,g_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",cf,zo,Ft,ff,ms,L_=`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_11438/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>.`,pf,Ae,Ut,mf,_s,x_="Return state dict for lora weights and the network alphas.",_f,Bo,uf,jo,Wt,hf,us,b_="Save the LoRA parameters corresponding to the UNet and text encoder.",gf,ke,Et,Lf,hs,v_=`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>.`,xf,Go,Gi,Nt,Ji,X,Xt,bf,gs,w_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/hunyuan_video_transformer_3d#diffusers.HunyuanVideoTransformer3DModel">HunyuanVideoTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/hunyuan_video#diffusers.HunyuanVideoPipeline">HunyuanVideoPipeline</a>.',vf,Jo,qt,wf,Ls,$_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",$f,Zo,zt,Mf,xs,M_=`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_11438/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>.`,yf,Pe,Bt,Tf,bs,y_="Return state dict for lora weights and the network alphas.",Df,Oo,Sf,Yo,jt,Cf,vs,T_="Save the LoRA parameters corresponding to the UNet and text encoder.",Af,He,Gt,kf,ws,D_=`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>.`,Pf,Qo,Zi,Jt,Oi,q,Zt,Hf,$s,S_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/lumina2_transformer2d#diffusers.Lumina2Transformer2DModel">Lumina2Transformer2DModel</a>. Specific to <code>Lumina2Text2ImgPipeline</code>.',Rf,Ko,Ot,If,Ms,C_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Vf,er,Yt,Ff,ys,A_=`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_11438/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>.`,Uf,Re,Qt,Wf,Ts,k_="Return state dict for lora weights and the network alphas.",Ef,or,Nf,rr,Kt,Xf,Ds,P_="Save the LoRA parameters corresponding to the UNet and text encoder.",qf,Ie,ea,zf,Ss,H_=`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>.`,Bf,tr,Yi,oa,Qi,z,ra,jf,Cs,R_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/cogview4#diffusers.CogView4Pipeline">CogView4Pipeline</a>.',Gf,ar,ta,Jf,As,I_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",Zf,nr,aa,Of,ks,V_=`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_11438/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>.`,Yf,Ve,na,Qf,Ps,F_="Return state dict for lora weights and the network alphas.",Kf,sr,ep,ir,sa,op,Hs,U_="Save the LoRA parameters corresponding to the UNet and text encoder.",rp,Fe,ia,tp,Rs,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>.`,ap,dr,Ki,da,ed,B,la,np,Is,E_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/wan_transformer_3d#diffusers.WanTransformer3DModel">WanTransformer3DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/wan#diffusers.WanPipeline">WanPipeline</a> and <code>[WanImageToVideoPipeline</code>].',sp,lr,ca,ip,Vs,N_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",dp,cr,fa,lp,Fs,X_=`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_11438/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>.`,cp,Ue,pa,fp,Us,q_="Return state dict for lora weights and the network alphas.",pp,fr,mp,pr,ma,_p,Ws,z_="Save the LoRA parameters corresponding to the UNet and text encoder.",up,We,_a,hp,Es,B_=`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>.`,gp,mr,od,ua,rd,je,ha,Lp,_r,ga,xp,Ns,j_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",td,La,ad,j,xa,bp,Xs,G_='Load LoRA layers into <a href="/docs/diffusers/pr_11438/en/api/models/hidream_image_transformer#diffusers.HiDreamImageTransformer2DModel">HiDreamImageTransformer2DModel</a>. Specific to <a href="/docs/diffusers/pr_11438/en/api/pipelines/hidream#diffusers.HiDreamImagePipeline">HiDreamImagePipeline</a>.',vp,ur,ba,wp,qs,J_="This will load the LoRA layers specified in <code>state_dict</code> into <code>transformer</code>.",$p,hr,va,Mp,zs,Z_=`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_11438/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>.`,yp,Ee,wa,Tp,Bs,O_="Return state dict for lora weights and the network alphas.",Dp,gr,Sp,Lr,$a,Cp,js,Y_="Save the LoRA parameters corresponding to the UNet and text encoder.",Ap,Ne,Ma,kp,Gs,Q_=`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,xr,nd,ya,sd,A,Ta,Hp,Js,K_="Utility class for handling LoRAs.",Rp,Zs,Da,Ip,Xe,Sa,Vp,Os,eu="Enables the possibility to hotswap LoRA adapters.",Fp,Ys,ou=`Calling this method is only required when hotswapping adapters and if the model is compiled or if the ranks of
the loaded adapters differ.`,Up,_e,Ca,Wp,Qs,ru="Fuses the LoRA parameters into the original parameters of the corresponding blocks.",Ep,br,Np,vr,Xp,qe,Aa,qp,Ks,tu="Gets the list of the current active adapters.",zp,wr,Bp,$r,ka,jp,ei,au="Gets the current list of all available adapters in the pipeline.",Gp,Mr,Pa,Jp,oi,nu=`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.`,Zp,ze,Ha,Op,ri,su=`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,yr,Qp,Be,Ra,Kp,ti,iu="Unloads the LoRA parameters.",em,Tr,id,Ia,dd,Ti,ld;return y=new O({props:{title:"LoRA",local:"lora",headingTag:"h1"}}),ro=new S({props:{$$slots:{default:[uu]},$$scope:{ctx:T}}}),Cr=new O({props:{title:"StableDiffusionLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionLoraLoaderMixin",headingTag:"h2"}}),Ar=new $({props:{name:"class diffusers.loaders.StableDiffusionLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L120"}}),kr=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L399"}}),Pr=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L343"}}),Hr=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L130"}}),Rr=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L228"}}),no=new S({props:{warning:!0,$$slots:{default:[hu]},$$scope:{ctx:T}}}),Ir=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_11438/src/diffusers/loaders/lora_pipeline.py#L452"}}),Vr=new O({props:{title:"StableDiffusionXLLoraLoaderMixin",local:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",headingTag:"h2"}}),Fr=new $({props:{name:"class diffusers.loaders.StableDiffusionXLLoraLoaderMixin",anchor:"diffusers.loaders.StableDiffusionXLLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L574"}}),Ur=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L854"}}),Wr=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L797"}}),Er=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L585"}}),Nr=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L681"}}),co=new S({props:{warning:!0,$$slots:{default:[gu]},$$scope:{ctx:T}}}),Xr=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_11438/src/diffusers/loaders/lora_pipeline.py#L908"}}),qr=new O({props:{title:"SD3LoraLoaderMixin",local:"diffusers.loaders.SD3LoraLoaderMixin",headingTag:"h2"}}),zr=new $({props:{name:"class diffusers.loaders.SD3LoraLoaderMixin",anchor:"diffusers.loaders.SD3LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1038"}}),Br=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1271"}}),jr=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1232"}}),Gr=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1148"}}),Jr=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L1051"}}),_o=new S({props:{warning:!0,$$slots:{default:[Lu]},$$scope:{ctx:T}}}),Zr=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_11438/src/diffusers/loaders/lora_pipeline.py#L1325"}}),Or=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_11438/src/diffusers/loaders/lora_pipeline.py#L1437"}}),ho=new S({props:{warning:!0,$$slots:{default:[xu]},$$scope:{ctx:T}}}),Yr=new O({props:{title:"FluxLoraLoaderMixin",local:"diffusers.loaders.FluxLoraLoaderMixin",headingTag:"h2"}}),Qr=new $({props:{name:"class diffusers.loaders.FluxLoraLoaderMixin",anchor:"diffusers.loaders.FluxLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1777"}}),Kr=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2150"}}),et=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2046"}}),ot=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1924"}}),rt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L1790"}}),xo=new S({props:{warning:!0,$$slots:{default:[bu]},$$scope:{ctx:T}}}),tt=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_11438/src/diffusers/loaders/lora_pipeline.py#L2204"}}),at=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_11438/src/diffusers/loaders/lora_pipeline.py#L2319"}}),vo=new S({props:{warning:!0,$$slots:{default:[vu]},$$scope:{ctx:T}}}),nt=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_11438/src/diffusers/loaders/lora_pipeline.py#L2340"}}),wo=new Nd({props:{anchor:"diffusers.loaders.FluxLoraLoaderMixin.unload_lora_weights.example",$$slots:{default:[wu]},$$scope:{ctx:T}}}),st=new O({props:{title:"CogVideoXLoraLoaderMixin",local:"diffusers.loaders.CogVideoXLoraLoaderMixin",headingTag:"h2"}}),it=new $({props:{name:"class diffusers.loaders.CogVideoXLoraLoaderMixin",anchor:"diffusers.loaders.CogVideoXLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2776"}}),dt=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2939"}}),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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2882"}}),ct=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L2784"}}),yo=new S({props:{warning:!0,$$slots:{default:[$u]},$$scope:{ctx:T}}}),ft=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_11438/src/diffusers/loaders/lora_pipeline.py#L2979"}}),pt=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_11438/src/diffusers/loaders/lora_pipeline.py#L3074"}}),Do=new S({props:{warning:!0,$$slots:{default:[Mu]},$$scope:{ctx:T}}}),mt=new O({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_11438/src/diffusers/loaders/lora_pipeline.py#L3092"}}),ut=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3256"}}),ht=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3199"}}),gt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L3100"}}),Ao=new S({props:{warning:!0,$$slots:{default:[yu]},$$scope:{ctx:T}}}),Lt=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_11438/src/diffusers/loaders/lora_pipeline.py#L3296"}}),xt=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_11438/src/diffusers/loaders/lora_pipeline.py#L3393"}}),Po=new S({props:{warning:!0,$$slots:{default:[Tu]},$$scope:{ctx:T}}}),bt=new O({props:{title:"AuraFlowLoraLoaderMixin",local:"diffusers.loaders.AuraFlowLoraLoaderMixin",headingTag:"h2"}}),vt=new $({props:{name:"class diffusers.loaders.AuraFlowLoraLoaderMixin",anchor:"diffusers.loaders.AuraFlowLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1458"}}),wt=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1622"}}),$t=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L1565"}}),Mt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L1466"}}),Io=new S({props:{warning:!0,$$slots:{default:[Du]},$$scope:{ctx:T}}}),yt=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_11438/src/diffusers/loaders/lora_pipeline.py#L1662"}}),Tt=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_11438/src/diffusers/loaders/lora_pipeline.py#L1759"}}),Fo=new S({props:{warning:!0,$$slots:{default:[Su]},$$scope:{ctx:T}}}),Dt=new O({props:{title:"LTXVideoLoraLoaderMixin",local:"diffusers.loaders.LTXVideoLoraLoaderMixin",headingTag:"h2"}}),St=new $({props:{name:"class diffusers.loaders.LTXVideoLoraLoaderMixin",anchor:"diffusers.loaders.LTXVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3411"}}),Ct=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3578"}}),At=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3521"}}),kt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L3419"}}),Eo=new S({props:{warning:!0,$$slots:{default:[Cu]},$$scope:{ctx:T}}}),Pt=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_11438/src/diffusers/loaders/lora_pipeline.py#L3618"}}),Ht=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_11438/src/diffusers/loaders/lora_pipeline.py#L3715"}}),Xo=new S({props:{warning:!0,$$slots:{default:[Au]},$$scope:{ctx:T}}}),Rt=new O({props:{title:"SanaLoraLoaderMixin",local:"diffusers.loaders.SanaLoraLoaderMixin",headingTag:"h2"}}),It=new $({props:{name:"class diffusers.loaders.SanaLoraLoaderMixin",anchor:"diffusers.loaders.SanaLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3733"}}),Vt=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3897"}}),Ft=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L3840"}}),Ut=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L3741"}}),Bo=new S({props:{warning:!0,$$slots:{default:[ku]},$$scope:{ctx:T}}}),Wt=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_11438/src/diffusers/loaders/lora_pipeline.py#L3937"}}),Et=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_11438/src/diffusers/loaders/lora_pipeline.py#L4034"}}),Go=new S({props:{warning:!0,$$slots:{default:[Pu]},$$scope:{ctx:T}}}),Nt=new O({props:{title:"HunyuanVideoLoraLoaderMixin",local:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",headingTag:"h2"}}),Xt=new $({props:{name:"class diffusers.loaders.HunyuanVideoLoraLoaderMixin",anchor:"diffusers.loaders.HunyuanVideoLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4052"}}),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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4219"}}),zt=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4162"}}),Bt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L4060"}}),Oo=new S({props:{warning:!0,$$slots:{default:[Hu]},$$scope:{ctx:T}}}),jt=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_11438/src/diffusers/loaders/lora_pipeline.py#L4259"}}),Gt=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_11438/src/diffusers/loaders/lora_pipeline.py#L4356"}}),Qo=new S({props:{warning:!0,$$slots:{default:[Ru]},$$scope:{ctx:T}}}),Jt=new O({props:{title:"Lumina2LoraLoaderMixin",local:"diffusers.loaders.Lumina2LoraLoaderMixin",headingTag:"h2"}}),Zt=new $({props:{name:"class diffusers.loaders.Lumina2LoraLoaderMixin",anchor:"diffusers.loaders.Lumina2LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4374"}}),Ot=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4542"}}),Yt=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4485"}}),Qt=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L4382"}}),or=new S({props:{warning:!0,$$slots:{default:[Iu]},$$scope:{ctx:T}}}),Kt=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_11438/src/diffusers/loaders/lora_pipeline.py#L4582"}}),ea=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_11438/src/diffusers/loaders/lora_pipeline.py#L4679"}}),tr=new S({props:{warning:!0,$$slots:{default:[Vu]},$$scope:{ctx:T}}}),oa=new O({props:{title:"CogView4LoraLoaderMixin",local:"diffusers.loaders.CogView4LoraLoaderMixin",headingTag:"h2"}}),ra=new $({props:{name:"class diffusers.loaders.CogView4LoraLoaderMixin",anchor:"diffusers.loaders.CogView4LoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5070"}}),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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5234"}}),aa=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5177"}}),na=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L5078"}}),sr=new S({props:{warning:!0,$$slots:{default:[Fu]},$$scope:{ctx:T}}}),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_11438/src/diffusers/loaders/lora_pipeline.py#L5274"}}),ia=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_11438/src/diffusers/loaders/lora_pipeline.py#L5371"}}),dr=new S({props:{warning:!0,$$slots:{default:[Uu]},$$scope:{ctx:T}}}),da=new O({props:{title:"WanLoraLoaderMixin",local:"diffusers.loaders.WanLoraLoaderMixin",headingTag:"h2"}}),la=new $({props:{name:"class diffusers.loaders.WanLoraLoaderMixin",anchor:"diffusers.loaders.WanLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4697"}}),ca=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4915"}}),fa=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_11438/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_11438/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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L4854"}}),pa=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_11438/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_11438/src/diffusers/loaders/lora_pipeline.py#L4705"}}),fr=new S({props:{warning:!0,$$slots:{default:[Wu]},$$scope:{ctx:T}}}),ma=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_11438/src/diffusers/loaders/lora_pipeline.py#L4955"}}),_a=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_11438/src/diffusers/loaders/lora_pipeline.py#L5052"}}),mr=new S({props:{warning:!0,$$slots:{default:[Eu]},$$scope:{ctx:T}}}),ua=new O({props:{title:"AmusedLoraLoaderMixin",local:"diffusers.loaders.AmusedLoraLoaderMixin",headingTag:"h2"}}),ha=new $({props:{name:"class diffusers.loaders.AmusedLoraLoaderMixin",anchor:"diffusers.loaders.AmusedLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2611"}}),ga=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_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L2616"}}),La=new O({props:{title:"HiDreamImageLoraLoaderMixin",local:"diffusers.loaders.HiDreamImageLoraLoaderMixin",headingTag:"h2"}}),xa=new $({props:{name:"class diffusers.loaders.HiDreamImageLoraLoaderMixin",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5389"}}),ba=new $({props:{name:"load_lora_into_transformer",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.load_lora_into_transformer.transformer",description:`<strong>transformer</strong> (<code>HiDreamImageTransformer2DModel</code>) &#x2014;
The Transformer model to load the LoRA layers into.`,name:"transformer"},{anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.load_lora_into_transformer.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5556"}}),va=new $({props:{name:"load_lora_weights",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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_11438/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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.load_lora_weights.hotswap",description:`<strong>hotswap</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.load_lora_weights">load_lora_weights()</a>.`,name:"hotswap"},{anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.load_lora_weights.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
See <a href="/docs/diffusers/pr_11438/en/api/loaders/lora#diffusers.loaders.StableDiffusionLoraLoaderMixin.lora_state_dict">lora_state_dict()</a>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_pipeline.py#L5499"}}),wa=new $({props:{name:"lora_state_dict",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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_11438/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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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_11438/src/diffusers/loaders/lora_pipeline.py#L5397"}}),gr=new S({props:{warning:!0,$$slots:{default:[Nu]},$$scope:{ctx:T}}}),$a=new $({props:{name:"save_lora_weights",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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_11438/src/diffusers/loaders/lora_pipeline.py#L5596"}}),Ma=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = ['transformer']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.HiDreamImageLoraLoaderMixin.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.HiDreamImageLoraLoaderMixin.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_11438/src/diffusers/loaders/lora_pipeline.py#L5693"}}),xr=new S({props:{warning:!0,$$slots:{default:[Xu]},$$scope:{ctx:T}}}),ya=new O({props:{title:"LoraBaseMixin",local:"diffusers.loaders.lora_base.LoraBaseMixin",headingTag:"h2"}}),Ta=new $({props:{name:"class diffusers.loaders.lora_base.LoraBaseMixin",anchor:"diffusers.loaders.lora_base.LoraBaseMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L464"}}),Da=new $({props:{name:"delete_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.delete_adapters",parameters:[{name:"adapter_names",val:": typing.Union[typing.List[str], str]"}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.delete_adapters.Deletes",description:`<strong>Deletes</strong> the LoRA layers of <code>adapter_name</code> for the unet and text-encoder(s). &#x2014;
adapter_names (<code>Union[List[str], str]</code>):
The names of the adapter to delete. Can be a single string or a list of strings`,name:"Deletes"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L765"}}),Sa=new $({props:{name:"enable_lora_hotswap",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.enable_lora_hotswap",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.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.lora_base.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_11438/src/diffusers/loaders/lora_base.py#L917"}}),Ca=new $({props:{name:"fuse_lora",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora",parameters:[{name:"components",val:": typing.List[str] = []"},{name:"lora_scale",val:": float = 1.0"},{name:"safe_fusing",val:": bool = False"},{name:"adapter_names",val:": typing.Optional[typing.List[str]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.components",description:"<strong>components</strong> &#x2014; (<code>List[str]</code>): List of LoRA-injectable components to fuse the LoRAs into.",name:"components"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.lora_scale",description:`<strong>lora_scale</strong> (<code>float</code>, defaults to 1.0) &#x2014;
Controls how much to influence the outputs with the LoRA parameters.`,name:"lora_scale"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.safe_fusing",description:`<strong>safe_fusing</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to check fused weights for NaN values before fusing and if values are NaN not fusing them.`,name:"safe_fusing"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.adapter_names",description:`<strong>adapter_names</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
Adapter names to be used for fusing. If nothing is passed, all active adapters will be fused.`,name:"adapter_names"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L531"}}),br=new S({props:{warning:!0,$$slots:{default:[qu]},$$scope:{ctx:T}}}),vr=new Nd({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.fuse_lora.example",$$slots:{default:[zu]},$$scope:{ctx:T}}}),Aa=new $({props:{name:"get_active_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_active_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L787"}}),wr=new Nd({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_active_adapters.example",$$slots:{default:[Bu]},$$scope:{ctx:T}}}),ka=new $({props:{name:"get_list_adapters",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.get_list_adapters",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L820"}}),Pa=new $({props:{name:"set_lora_device",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device",parameters:[{name:"adapter_names",val:": typing.List[str]"},{name:"device",val:": typing.Union[torch.device, str, int]"}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device.adapter_names",description:`<strong>adapter_names</strong> (<code>List[str]</code>) &#x2014;
List of adapters to send device to.`,name:"adapter_names"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.set_lora_device.device",description:`<strong>device</strong> (<code>Union[torch.device, str, int]</code>) &#x2014;
Device to send the adapters to. Can be either a torch device, a str or an integer.`,name:"device"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L842"}}),Ha=new $({props:{name:"unfuse_lora",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora",parameters:[{name:"components",val:": typing.List[str] = []"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.components",description:"<strong>components</strong> (<code>List[str]</code>) &#x2014; List of LoRA-injectable components to unfuse LoRA from.",name:"components"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.unfuse_unet",description:"<strong>unfuse_unet</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to unfuse the UNet LoRA parameters.",name:"unfuse_unet"},{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unfuse_lora.unfuse_text_encoder",description:`<strong>unfuse_text_encoder</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to unfuse the text encoder LoRA parameters. If the text encoder wasn&#x2019;t monkey-patched with the
LoRA parameters then it won&#x2019;t have any effect.`,name:"unfuse_text_encoder"}],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L612"}}),yr=new S({props:{warning:!0,$$slots:{default:[ju]},$$scope:{ctx:T}}}),Ra=new $({props:{name:"unload_lora_weights",anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unload_lora_weights",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11438/src/diffusers/loaders/lora_base.py#L508"}}),Tr=new Nd({props:{anchor:"diffusers.loaders.lora_base.LoraBaseMixin.unload_lora_weights.example",$$slots:{default:[Gu]},$$scope:{ctx:T}}}),Ia=new _u({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/loaders/lora.md"}}),{c(){a=n("meta"),b=r(),l=n("p"),c=r(),p(y.$$.fragment),d=r(),M=n("p"),M.innerHTML=om,Di=r(),Sr=n("ul"),Sr.innerHTML=rm,Si=r(),p(ro.$$.fragment),Ci=r(),p(Cr.$$.fragment),Ai=r(),I=n("div"),p(Ar.$$.fragment),qd=r(),Ya=n("p"),Ya.innerHTML=tm,zd=r(),to=n("div"),p(kr.$$.fragment),Bd=r(),Qa=n("p"),Qa.innerHTML=am,jd=r(),ao=n("div"),p(Pr.$$.fragment),Gd=r(),Ka=n("p"),Ka.innerHTML=nm,Jd=r(),Y=n("div"),p(Hr.$$.fragment),Zd=r(),en=n("p"),en.innerHTML=sm,Od=r(),on=n("p"),on.innerHTML=im,Yd=r(),rn=n("p"),rn.innerHTML=dm,Qd=r(),tn=n("p"),tn.innerHTML=lm,Kd=r(),an=n("p"),an.innerHTML=cm,el=r(),ue=n("div"),p(Rr.$$.fragment),ol=r(),nn=n("p"),nn.textContent=fm,rl=r(),p(no.$$.fragment),tl=r(),so=n("div"),p(Ir.$$.fragment),al=r(),sn=n("p"),sn.textContent=pm,ki=r(),p(Vr.$$.fragment),Pi=r(),V=n("div"),p(Fr.$$.fragment),nl=r(),dn=n("p"),dn.innerHTML=mm,sl=r(),io=n("div"),p(Ur.$$.fragment),il=r(),ln=n("p"),ln.innerHTML=_m,dl=r(),lo=n("div"),p(Wr.$$.fragment),ll=r(),cn=n("p"),cn.innerHTML=um,cl=r(),Q=n("div"),p(Er.$$.fragment),fl=r(),fn=n("p"),fn.innerHTML=hm,pl=r(),pn=n("p"),pn.innerHTML=gm,ml=r(),mn=n("p"),mn.innerHTML=Lm,_l=r(),_n=n("p"),_n.innerHTML=xm,ul=r(),un=n("p"),un.innerHTML=bm,hl=r(),he=n("div"),p(Nr.$$.fragment),gl=r(),hn=n("p"),hn.textContent=vm,Ll=r(),p(co.$$.fragment),xl=r(),fo=n("div"),p(Xr.$$.fragment),bl=r(),gn=n("p"),gn.textContent=wm,Hi=r(),p(qr.$$.fragment),Ri=r(),k=n("div"),p(zr.$$.fragment),vl=r(),Ln=n("p"),Ln.innerHTML=$m,wl=r(),xn=n("p"),xn.innerHTML=Mm,$l=r(),po=n("div"),p(Br.$$.fragment),Ml=r(),bn=n("p"),bn.innerHTML=ym,yl=r(),mo=n("div"),p(jr.$$.fragment),Tl=r(),vn=n("p"),vn.innerHTML=Tm,Dl=r(),oe=n("div"),p(Gr.$$.fragment),Sl=r(),wn=n("p"),wn.innerHTML=Dm,Cl=r(),$n=n("p"),$n.innerHTML=Sm,Al=r(),Mn=n("p"),Mn.innerHTML=Cm,kl=r(),yn=n("p"),yn.innerHTML=Am,Pl=r(),ge=n("div"),p(Jr.$$.fragment),Hl=r(),Tn=n("p"),Tn.textContent=km,Rl=r(),p(_o.$$.fragment),Il=r(),uo=n("div"),p(Zr.$$.fragment),Vl=r(),Dn=n("p"),Dn.textContent=Pm,Fl=r(),Le=n("div"),p(Or.$$.fragment),Ul=r(),Sn=n("p"),Sn.innerHTML=Hm,Wl=r(),p(ho.$$.fragment),Ii=r(),p(Yr.$$.fragment),Vi=r(),C=n("div"),p(Qr.$$.fragment),El=r(),Cn=n("p"),Cn.innerHTML=Rm,Nl=r(),An=n("p"),An.innerHTML=Im,Xl=r(),go=n("div"),p(Kr.$$.fragment),ql=r(),kn=n("p"),kn.innerHTML=Vm,zl=r(),Lo=n("div"),p(et.$$.fragment),Bl=r(),Pn=n("p"),Pn.innerHTML=Fm,jl=r(),re=n("div"),p(ot.$$.fragment),Gl=r(),Hn=n("p"),Hn.innerHTML=Um,Jl=r(),Rn=n("p"),Rn.innerHTML=Wm,Zl=r(),In=n("p"),In.innerHTML=Em,Ol=r(),Vn=n("p"),Vn.innerHTML=Nm,Yl=r(),xe=n("div"),p(rt.$$.fragment),Ql=r(),Fn=n("p"),Fn.textContent=Xm,Kl=r(),p(xo.$$.fragment),ec=r(),bo=n("div"),p(tt.$$.fragment),oc=r(),Un=n("p"),Un.textContent=qm,rc=r(),be=n("div"),p(at.$$.fragment),tc=r(),Wn=n("p"),Wn.innerHTML=zm,ac=r(),p(vo.$$.fragment),nc=r(),ve=n("div"),p(nt.$$.fragment),sc=r(),En=n("p"),En.textContent=Bm,ic=r(),p(wo.$$.fragment),Fi=r(),p(st.$$.fragment),Ui=r(),F=n("div"),p(it.$$.fragment),dc=r(),Nn=n("p"),Nn.innerHTML=jm,lc=r(),$o=n("div"),p(dt.$$.fragment),cc=r(),Xn=n("p"),Xn.innerHTML=Gm,fc=r(),Mo=n("div"),p(lt.$$.fragment),pc=r(),qn=n("p"),qn.innerHTML=Jm,mc=r(),we=n("div"),p(ct.$$.fragment),_c=r(),zn=n("p"),zn.textContent=Zm,uc=r(),p(yo.$$.fragment),hc=r(),To=n("div"),p(ft.$$.fragment),gc=r(),Bn=n("p"),Bn.textContent=Om,Lc=r(),$e=n("div"),p(pt.$$.fragment),xc=r(),jn=n("p"),jn.innerHTML=Ym,bc=r(),p(Do.$$.fragment),Wi=r(),p(mt.$$.fragment),Ei=r(),U=n("div"),p(_t.$$.fragment),vc=r(),Gn=n("p"),Gn.innerHTML=Qm,wc=r(),So=n("div"),p(ut.$$.fragment),$c=r(),Jn=n("p"),Jn.innerHTML=Km,Mc=r(),Co=n("div"),p(ht.$$.fragment),yc=r(),Zn=n("p"),Zn.innerHTML=e_,Tc=r(),Me=n("div"),p(gt.$$.fragment),Dc=r(),On=n("p"),On.textContent=o_,Sc=r(),p(Ao.$$.fragment),Cc=r(),ko=n("div"),p(Lt.$$.fragment),Ac=r(),Yn=n("p"),Yn.textContent=r_,kc=r(),ye=n("div"),p(xt.$$.fragment),Pc=r(),Qn=n("p"),Qn.innerHTML=t_,Hc=r(),p(Po.$$.fragment),Ni=r(),p(bt.$$.fragment),Xi=r(),W=n("div"),p(vt.$$.fragment),Rc=r(),Kn=n("p"),Kn.innerHTML=a_,Ic=r(),Ho=n("div"),p(wt.$$.fragment),Vc=r(),es=n("p"),es.innerHTML=n_,Fc=r(),Ro=n("div"),p($t.$$.fragment),Uc=r(),os=n("p"),os.innerHTML=s_,Wc=r(),Te=n("div"),p(Mt.$$.fragment),Ec=r(),rs=n("p"),rs.textContent=i_,Nc=r(),p(Io.$$.fragment),Xc=r(),Vo=n("div"),p(yt.$$.fragment),qc=r(),ts=n("p"),ts.textContent=d_,zc=r(),De=n("div"),p(Tt.$$.fragment),Bc=r(),as=n("p"),as.innerHTML=l_,jc=r(),p(Fo.$$.fragment),qi=r(),p(Dt.$$.fragment),zi=r(),E=n("div"),p(St.$$.fragment),Gc=r(),ns=n("p"),ns.innerHTML=c_,Jc=r(),Uo=n("div"),p(Ct.$$.fragment),Zc=r(),ss=n("p"),ss.innerHTML=f_,Oc=r(),Wo=n("div"),p(At.$$.fragment),Yc=r(),is=n("p"),is.innerHTML=p_,Qc=r(),Se=n("div"),p(kt.$$.fragment),Kc=r(),ds=n("p"),ds.textContent=m_,ef=r(),p(Eo.$$.fragment),of=r(),No=n("div"),p(Pt.$$.fragment),rf=r(),ls=n("p"),ls.textContent=__,tf=r(),Ce=n("div"),p(Ht.$$.fragment),af=r(),cs=n("p"),cs.innerHTML=u_,nf=r(),p(Xo.$$.fragment),Bi=r(),p(Rt.$$.fragment),ji=r(),N=n("div"),p(It.$$.fragment),sf=r(),fs=n("p"),fs.innerHTML=h_,df=r(),qo=n("div"),p(Vt.$$.fragment),lf=r(),ps=n("p"),ps.innerHTML=g_,cf=r(),zo=n("div"),p(Ft.$$.fragment),ff=r(),ms=n("p"),ms.innerHTML=L_,pf=r(),Ae=n("div"),p(Ut.$$.fragment),mf=r(),_s=n("p"),_s.textContent=x_,_f=r(),p(Bo.$$.fragment),uf=r(),jo=n("div"),p(Wt.$$.fragment),hf=r(),us=n("p"),us.textContent=b_,gf=r(),ke=n("div"),p(Et.$$.fragment),Lf=r(),hs=n("p"),hs.innerHTML=v_,xf=r(),p(Go.$$.fragment),Gi=r(),p(Nt.$$.fragment),Ji=r(),X=n("div"),p(Xt.$$.fragment),bf=r(),gs=n("p"),gs.innerHTML=w_,vf=r(),Jo=n("div"),p(qt.$$.fragment),wf=r(),Ls=n("p"),Ls.innerHTML=$_,$f=r(),Zo=n("div"),p(zt.$$.fragment),Mf=r(),xs=n("p"),xs.innerHTML=M_,yf=r(),Pe=n("div"),p(Bt.$$.fragment),Tf=r(),bs=n("p"),bs.textContent=y_,Df=r(),p(Oo.$$.fragment),Sf=r(),Yo=n("div"),p(jt.$$.fragment),Cf=r(),vs=n("p"),vs.textContent=T_,Af=r(),He=n("div"),p(Gt.$$.fragment),kf=r(),ws=n("p"),ws.innerHTML=D_,Pf=r(),p(Qo.$$.fragment),Zi=r(),p(Jt.$$.fragment),Oi=r(),q=n("div"),p(Zt.$$.fragment),Hf=r(),$s=n("p"),$s.innerHTML=S_,Rf=r(),Ko=n("div"),p(Ot.$$.fragment),If=r(),Ms=n("p"),Ms.innerHTML=C_,Vf=r(),er=n("div"),p(Yt.$$.fragment),Ff=r(),ys=n("p"),ys.innerHTML=A_,Uf=r(),Re=n("div"),p(Qt.$$.fragment),Wf=r(),Ts=n("p"),Ts.textContent=k_,Ef=r(),p(or.$$.fragment),Nf=r(),rr=n("div"),p(Kt.$$.fragment),Xf=r(),Ds=n("p"),Ds.textContent=P_,qf=r(),Ie=n("div"),p(ea.$$.fragment),zf=r(),Ss=n("p"),Ss.innerHTML=H_,Bf=r(),p(tr.$$.fragment),Yi=r(),p(oa.$$.fragment),Qi=r(),z=n("div"),p(ra.$$.fragment),jf=r(),Cs=n("p"),Cs.innerHTML=R_,Gf=r(),ar=n("div"),p(ta.$$.fragment),Jf=r(),As=n("p"),As.innerHTML=I_,Zf=r(),nr=n("div"),p(aa.$$.fragment),Of=r(),ks=n("p"),ks.innerHTML=V_,Yf=r(),Ve=n("div"),p(na.$$.fragment),Qf=r(),Ps=n("p"),Ps.textContent=F_,Kf=r(),p(sr.$$.fragment),ep=r(),ir=n("div"),p(sa.$$.fragment),op=r(),Hs=n("p"),Hs.textContent=U_,rp=r(),Fe=n("div"),p(ia.$$.fragment),tp=r(),Rs=n("p"),Rs.innerHTML=W_,ap=r(),p(dr.$$.fragment),Ki=r(),p(da.$$.fragment),ed=r(),B=n("div"),p(la.$$.fragment),np=r(),Is=n("p"),Is.innerHTML=E_,sp=r(),lr=n("div"),p(ca.$$.fragment),ip=r(),Vs=n("p"),Vs.innerHTML=N_,dp=r(),cr=n("div"),p(fa.$$.fragment),lp=r(),Fs=n("p"),Fs.innerHTML=X_,cp=r(),Ue=n("div"),p(pa.$$.fragment),fp=r(),Us=n("p"),Us.textContent=q_,pp=r(),p(fr.$$.fragment),mp=r(),pr=n("div"),p(ma.$$.fragment),_p=r(),Ws=n("p"),Ws.textContent=z_,up=r(),We=n("div"),p(_a.$$.fragment),hp=r(),Es=n("p"),Es.innerHTML=B_,gp=r(),p(mr.$$.fragment),od=r(),p(ua.$$.fragment),rd=r(),je=n("div"),p(ha.$$.fragment),Lp=r(),_r=n("div"),p(ga.$$.fragment),xp=r(),Ns=n("p"),Ns.innerHTML=j_,td=r(),p(La.$$.fragment),ad=r(),j=n("div"),p(xa.$$.fragment),bp=r(),Xs=n("p"),Xs.innerHTML=G_,vp=r(),ur=n("div"),p(ba.$$.fragment),wp=r(),qs=n("p"),qs.innerHTML=J_,$p=r(),hr=n("div"),p(va.$$.fragment),Mp=r(),zs=n("p"),zs.innerHTML=Z_,yp=r(),Ee=n("div"),p(wa.$$.fragment),Tp=r(),Bs=n("p"),Bs.textContent=O_,Dp=r(),p(gr.$$.fragment),Sp=r(),Lr=n("div"),p($a.$$.fragment),Cp=r(),js=n("p"),js.textContent=Y_,Ap=r(),Ne=n("div"),p(Ma.$$.fragment),kp=r(),Gs=n("p"),Gs.innerHTML=Q_,Pp=r(),p(xr.$$.fragment),nd=r(),p(ya.$$.fragment),sd=r(),A=n("div"),p(Ta.$$.fragment),Hp=r(),Js=n("p"),Js.textContent=K_,Rp=r(),Zs=n("div"),p(Da.$$.fragment),Ip=r(),Xe=n("div"),p(Sa.$$.fragment),Vp=r(),Os=n("p"),Os.textContent=eu,Fp=r(),Ys=n("p"),Ys.textContent=ou,Up=r(),_e=n("div"),p(Ca.$$.fragment),Wp=r(),Qs=n("p"),Qs.textContent=ru,Ep=r(),p(br.$$.fragment),Np=r(),p(vr.$$.fragment),Xp=r(),qe=n("div"),p(Aa.$$.fragment),qp=r(),Ks=n("p"),Ks.textContent=tu,zp=r(),p(wr.$$.fragment),Bp=r(),$r=n("div"),p(ka.$$.fragment),jp=r(),ei=n("p"),ei.textContent=au,Gp=r(),Mr=n("div"),p(Pa.$$.fragment),Jp=r(),oi=n("p"),oi.innerHTML=nu,Zp=r(),ze=n("div"),p(Ha.$$.fragment),Op=r(),ri=n("p"),ri.innerHTML=su,Yp=r(),p(yr.$$.fragment),Qp=r(),Be=n("div"),p(Ra.$$.fragment),Kp=r(),ti=n("p"),ti.textContent=iu,em=r(),p(Tr.$$.fragment),id=r(),p(Ia.$$.fragment),dd=r(),Ti=n("p"),this.h()},l(e){const L=mu("svelte-u9bgzb",document.head);a=s(L,"META",{name:!0,content:!0}),L.forEach(i),b=t(e),l=s(e,"P",{}),v(l).forEach(i),c=t(e),m(y.$$.fragment,e),d=t(e),M=s(e,"P",{"data-svelte-h":!0}),f(M)!=="svelte-19ub2jd"&&(M.innerHTML=om),Di=t(e),Sr=s(e,"UL",{"data-svelte-h":!0}),f(Sr)!=="svelte-170zujy"&&(Sr.innerHTML=rm),Si=t(e),m(ro.$$.fragment,e),Ci=t(e),m(Cr.$$.fragment,e),Ai=t(e),I=s(e,"DIV",{class:!0});var G=v(I);m(Ar.$$.fragment,G),qd=t(G),Ya=s(G,"P",{"data-svelte-h":!0}),f(Ya)!=="svelte-icwsm2"&&(Ya.innerHTML=tm),zd=t(G),to=s(G,"DIV",{class:!0});var Va=v(to);m(kr.$$.fragment,Va),Bd=t(Va),Qa=s(Va,"P",{"data-svelte-h":!0}),f(Qa)!=="svelte-1062ci4"&&(Qa.innerHTML=am),Va.forEach(i),jd=t(G),ao=s(G,"DIV",{class:!0});var Fa=v(ao);m(Pr.$$.fragment,Fa),Gd=t(Fa),Ka=s(Fa,"P",{"data-svelte-h":!0}),f(Ka)!=="svelte-u3q4so"&&(Ka.innerHTML=nm),Fa.forEach(i),Jd=t(G),Y=s(G,"DIV",{class:!0});var K=v(Y);m(Hr.$$.fragment,K),Zd=t(K),en=s(K,"P",{"data-svelte-h":!0}),f(en)!=="svelte-vs7s0z"&&(en.innerHTML=sm),Od=t(K),on=s(K,"P",{"data-svelte-h":!0}),f(on)!=="svelte-15b960v"&&(on.innerHTML=im),Yd=t(K),rn=s(K,"P",{"data-svelte-h":!0}),f(rn)!=="svelte-x1m9l7"&&(rn.innerHTML=dm),Qd=t(K),tn=s(K,"P",{"data-svelte-h":!0}),f(tn)!=="svelte-eu2lms"&&(tn.innerHTML=lm),Kd=t(K),an=s(K,"P",{"data-svelte-h":!0}),f(an)!=="svelte-1ifciie"&&(an.innerHTML=cm),K.forEach(i),el=t(G),ue=s(G,"DIV",{class:!0});var Ge=v(ue);m(Rr.$$.fragment,Ge),ol=t(Ge),nn=s(Ge,"P",{"data-svelte-h":!0}),f(nn)!=="svelte-flusvq"&&(nn.textContent=fm),rl=t(Ge),m(no.$$.fragment,Ge),Ge.forEach(i),tl=t(G),so=s(G,"DIV",{class:!0});var Ua=v(so);m(Ir.$$.fragment,Ua),al=t(Ua),sn=s(Ua,"P",{"data-svelte-h":!0}),f(sn)!=="svelte-1ufq5ot"&&(sn.textContent=pm),Ua.forEach(i),G.forEach(i),ki=t(e),m(Vr.$$.fragment,e),Pi=t(e),V=s(e,"DIV",{class:!0});var J=v(V);m(Fr.$$.fragment,J),nl=t(J),dn=s(J,"P",{"data-svelte-h":!0}),f(dn)!=="svelte-1bysynr"&&(dn.innerHTML=mm),sl=t(J),io=s(J,"DIV",{class:!0});var Wa=v(io);m(Ur.$$.fragment,Wa),il=t(Wa),ln=s(Wa,"P",{"data-svelte-h":!0}),f(ln)!=="svelte-1062ci4"&&(ln.innerHTML=_m),Wa.forEach(i),dl=t(J),lo=s(J,"DIV",{class:!0});var Ea=v(lo);m(Wr.$$.fragment,Ea),ll=t(Ea),cn=s(Ea,"P",{"data-svelte-h":!0}),f(cn)!=="svelte-u3q4so"&&(cn.innerHTML=um),Ea.forEach(i),cl=t(J),Q=s(J,"DIV",{class:!0});var ee=v(Q);m(Er.$$.fragment,ee),fl=t(ee),fn=s(ee,"P",{"data-svelte-h":!0}),f(fn)!=="svelte-vs7s0z"&&(fn.innerHTML=hm),pl=t(ee),pn=s(ee,"P",{"data-svelte-h":!0}),f(pn)!=="svelte-15b960v"&&(pn.innerHTML=gm),ml=t(ee),mn=s(ee,"P",{"data-svelte-h":!0}),f(mn)!=="svelte-x1m9l7"&&(mn.innerHTML=Lm),_l=t(ee),_n=s(ee,"P",{"data-svelte-h":!0}),f(_n)!=="svelte-eu2lms"&&(_n.innerHTML=xm),ul=t(ee),un=s(ee,"P",{"data-svelte-h":!0}),f(un)!=="svelte-1ifciie"&&(un.innerHTML=bm),ee.forEach(i),hl=t(J),he=s(J,"DIV",{class:!0});var Je=v(he);m(Nr.$$.fragment,Je),gl=t(Je),hn=s(Je,"P",{"data-svelte-h":!0}),f(hn)!=="svelte-flusvq"&&(hn.textContent=vm),Ll=t(Je),m(co.$$.fragment,Je),Je.forEach(i),xl=t(J),fo=s(J,"DIV",{class:!0});var Na=v(fo);m(Xr.$$.fragment,Na),bl=t(Na),gn=s(Na,"P",{"data-svelte-h":!0}),f(gn)!=="svelte-1ufq5ot"&&(gn.textContent=wm),Na.forEach(i),J.forEach(i),Hi=t(e),m(qr.$$.fragment,e),Ri=t(e),k=s(e,"DIV",{class:!0});var H=v(k);m(zr.$$.fragment,H),vl=t(H),Ln=s(H,"P",{"data-svelte-h":!0}),f(Ln)!=="svelte-13ve1by"&&(Ln.innerHTML=$m),wl=t(H),xn=s(H,"P",{"data-svelte-h":!0}),f(xn)!=="svelte-fc9xr0"&&(xn.innerHTML=Mm),$l=t(H),po=s(H,"DIV",{class:!0});var Xa=v(po);m(Br.$$.fragment,Xa),Ml=t(Xa),bn=s(Xa,"P",{"data-svelte-h":!0}),f(bn)!=="svelte-1062ci4"&&(bn.innerHTML=ym),Xa.forEach(i),yl=t(H),mo=s(H,"DIV",{class:!0});var qa=v(mo);m(jr.$$.fragment,qa),Tl=t(qa),vn=s(qa,"P",{"data-svelte-h":!0}),f(vn)!=="svelte-1lgbsz7"&&(vn.innerHTML=Tm),qa.forEach(i),Dl=t(H),oe=s(H,"DIV",{class:!0});var pe=v(oe);m(Gr.$$.fragment,pe),Sl=t(pe),wn=s(pe,"P",{"data-svelte-h":!0}),f(wn)!=="svelte-vs7s0z"&&(wn.innerHTML=Dm),Cl=t(pe),$n=s(pe,"P",{"data-svelte-h":!0}),f($n)!=="svelte-15b960v"&&($n.innerHTML=Sm),Al=t(pe),Mn=s(pe,"P",{"data-svelte-h":!0}),f(Mn)!=="svelte-x1m9l7"&&(Mn.innerHTML=Cm),kl=t(pe),yn=s(pe,"P",{"data-svelte-h":!0}),f(yn)!=="svelte-1ukghd4"&&(yn.innerHTML=Am),pe.forEach(i),Pl=t(H),ge=s(H,"DIV",{class:!0});var Ze=v(ge);m(Jr.$$.fragment,Ze),Hl=t(Ze),Tn=s(Ze,"P",{"data-svelte-h":!0}),f(Tn)!=="svelte-flusvq"&&(Tn.textContent=km),Rl=t(Ze),m(_o.$$.fragment,Ze),Ze.forEach(i),Il=t(H),uo=s(H,"DIV",{class:!0});var za=v(uo);m(Zr.$$.fragment,za),Vl=t(za),Dn=s(za,"P",{"data-svelte-h":!0}),f(Dn)!=="svelte-1ufq5ot"&&(Dn.textContent=Pm),za.forEach(i),Fl=t(H),Le=s(H,"DIV",{class:!0});var Oe=v(Le);m(Or.$$.fragment,Oe),Ul=t(Oe),Sn=s(Oe,"P",{"data-svelte-h":!0}),f(Sn)!=="svelte-ioswce"&&(Sn.innerHTML=Hm),Wl=t(Oe),m(ho.$$.fragment,Oe),Oe.forEach(i),H.forEach(i),Ii=t(e),m(Yr.$$.fragment,e),Vi=t(e),C=s(e,"DIV",{class:!0});var P=v(C);m(Qr.$$.fragment,P),El=t(P),Cn=s(P,"P",{"data-svelte-h":!0}),f(Cn)!=="svelte-1xpw6l3"&&(Cn.innerHTML=Rm),Nl=t(P),An=s(P,"P",{"data-svelte-h":!0}),f(An)!=="svelte-fc9xr0"&&(An.innerHTML=Im),Xl=t(P),go=s(P,"DIV",{class:!0});var Ba=v(go);m(Kr.$$.fragment,Ba),ql=t(Ba),kn=s(Ba,"P",{"data-svelte-h":!0}),f(kn)!=="svelte-1062ci4"&&(kn.innerHTML=Vm),Ba.forEach(i),zl=t(P),Lo=s(P,"DIV",{class:!0});var ja=v(Lo);m(et.$$.fragment,ja),Bl=t(ja),Pn=s(ja,"P",{"data-svelte-h":!0}),f(Pn)!=="svelte-1lgbsz7"&&(Pn.innerHTML=Fm),ja.forEach(i),jl=t(P),re=s(P,"DIV",{class:!0});var me=v(re);m(ot.$$.fragment,me),Gl=t(me),Hn=s(me,"P",{"data-svelte-h":!0}),f(Hn)!=="svelte-178gcly"&&(Hn.innerHTML=Um),Jl=t(me),Rn=s(me,"P",{"data-svelte-h":!0}),f(Rn)!=="svelte-15b960v"&&(Rn.innerHTML=Wm),Zl=t(me),In=s(me,"P",{"data-svelte-h":!0}),f(In)!=="svelte-x1m9l7"&&(In.innerHTML=Em),Ol=t(me),Vn=s(me,"P",{"data-svelte-h":!0}),f(Vn)!=="svelte-1ukghd4"&&(Vn.innerHTML=Nm),me.forEach(i),Yl=t(P),xe=s(P,"DIV",{class:!0});var Ye=v(xe);m(rt.$$.fragment,Ye),Ql=t(Ye),Fn=s(Ye,"P",{"data-svelte-h":!0}),f(Fn)!=="svelte-flusvq"&&(Fn.textContent=Xm),Kl=t(Ye),m(xo.$$.fragment,Ye),Ye.forEach(i),ec=t(P),bo=s(P,"DIV",{class:!0});var Ga=v(bo);m(tt.$$.fragment,Ga),oc=t(Ga),Un=s(Ga,"P",{"data-svelte-h":!0}),f(Un)!=="svelte-1ufq5ot"&&(Un.textContent=qm),Ga.forEach(i),rc=t(P),be=s(P,"DIV",{class:!0});var Qe=v(be);m(at.$$.fragment,Qe),tc=t(Qe),Wn=s(Qe,"P",{"data-svelte-h":!0}),f(Wn)!=="svelte-ioswce"&&(Wn.innerHTML=zm),ac=t(Qe),m(vo.$$.fragment,Qe),Qe.forEach(i),nc=t(P),ve=s(P,"DIV",{class:!0});var Ke=v(ve);m(nt.$$.fragment,Ke),sc=t(Ke),En=s(Ke,"P",{"data-svelte-h":!0}),f(En)!=="svelte-119cgd9"&&(En.textContent=Bm),ic=t(Ke),m(wo.$$.fragment,Ke),Ke.forEach(i),P.forEach(i),Fi=t(e),m(st.$$.fragment,e),Ui=t(e),F=s(e,"DIV",{class:!0});var Z=v(F);m(it.$$.fragment,Z),dc=t(Z),Nn=s(Z,"P",{"data-svelte-h":!0}),f(Nn)!=="svelte-n3tlht"&&(Nn.innerHTML=jm),lc=t(Z),$o=s(Z,"DIV",{class:!0});var Ja=v($o);m(dt.$$.fragment,Ja),cc=t(Ja),Xn=s(Ja,"P",{"data-svelte-h":!0}),f(Xn)!=="svelte-1lgbsz7"&&(Xn.innerHTML=Gm),Ja.forEach(i),fc=t(Z),Mo=s(Z,"DIV",{class:!0});var Za=v(Mo);m(lt.$$.fragment,Za),pc=t(Za),qn=s(Za,"P",{"data-svelte-h":!0}),f(qn)!=="svelte-dq6wny"&&(qn.innerHTML=Jm),Za.forEach(i),mc=t(Z),we=s(Z,"DIV",{class:!0});var eo=v(we);m(ct.$$.fragment,eo),_c=t(eo),zn=s(eo,"P",{"data-svelte-h":!0}),f(zn)!=="svelte-flusvq"&&(zn.textContent=Zm),uc=t(eo),m(yo.$$.fragment,eo),eo.forEach(i),hc=t(Z),To=s(Z,"DIV",{class:!0});var Oa=v(To);m(ft.$$.fragment,Oa),gc=t(Oa),Bn=s(Oa,"P",{"data-svelte-h":!0}),f(Bn)!=="svelte-1ufq5ot"&&(Bn.textContent=Om),Oa.forEach(i),Lc=t(Z),$e=s(Z,"DIV",{class:!0});var oo=v($e);m(pt.$$.fragment,oo),xc=t(oo),jn=s(oo,"P",{"data-svelte-h":!0}),f(jn)!=="svelte-ioswce"&&(jn.innerHTML=Ym),bc=t(oo),m(Do.$$.fragment,oo),oo.forEach(i),Z.forEach(i),Wi=t(e),m(mt.$$.fragment,e),Ei=t(e),U=s(e,"DIV",{class:!0});var te=v(U);m(_t.$$.fragment,te),vc=t(te),Gn=s(te,"P",{"data-svelte-h":!0}),f(Gn)!=="svelte-1h80n6p"&&(Gn.innerHTML=Qm),wc=t(te),So=s(te,"DIV",{class:!0});var cd=v(So);m(ut.$$.fragment,cd),$c=t(cd),Jn=s(cd,"P",{"data-svelte-h":!0}),f(Jn)!=="svelte-1lgbsz7"&&(Jn.innerHTML=Km),cd.forEach(i),Mc=t(te),Co=s(te,"DIV",{class:!0});var fd=v(Co);m(ht.$$.fragment,fd),yc=t(fd),Zn=s(fd,"P",{"data-svelte-h":!0}),f(Zn)!=="svelte-dq6wny"&&(Zn.innerHTML=e_),fd.forEach(i),Tc=t(te),Me=s(te,"DIV",{class:!0});var ai=v(Me);m(gt.$$.fragment,ai),Dc=t(ai),On=s(ai,"P",{"data-svelte-h":!0}),f(On)!=="svelte-flusvq"&&(On.textContent=o_),Sc=t(ai),m(Ao.$$.fragment,ai),ai.forEach(i),Cc=t(te),ko=s(te,"DIV",{class:!0});var pd=v(ko);m(Lt.$$.fragment,pd),Ac=t(pd),Yn=s(pd,"P",{"data-svelte-h":!0}),f(Yn)!=="svelte-1ufq5ot"&&(Yn.textContent=r_),pd.forEach(i),kc=t(te),ye=s(te,"DIV",{class:!0});var ni=v(ye);m(xt.$$.fragment,ni),Pc=t(ni),Qn=s(ni,"P",{"data-svelte-h":!0}),f(Qn)!=="svelte-ioswce"&&(Qn.innerHTML=t_),Hc=t(ni),m(Po.$$.fragment,ni),ni.forEach(i),te.forEach(i),Ni=t(e),m(bt.$$.fragment,e),Xi=t(e),W=s(e,"DIV",{class:!0});var ae=v(W);m(vt.$$.fragment,ae),Rc=t(ae),Kn=s(ae,"P",{"data-svelte-h":!0}),f(Kn)!=="svelte-k1lpxo"&&(Kn.innerHTML=a_),Ic=t(ae),Ho=s(ae,"DIV",{class:!0});var md=v(Ho);m(wt.$$.fragment,md),Vc=t(md),es=s(md,"P",{"data-svelte-h":!0}),f(es)!=="svelte-1lgbsz7"&&(es.innerHTML=n_),md.forEach(i),Fc=t(ae),Ro=s(ae,"DIV",{class:!0});var _d=v(Ro);m($t.$$.fragment,_d),Uc=t(_d),os=s(_d,"P",{"data-svelte-h":!0}),f(os)!=="svelte-dq6wny"&&(os.innerHTML=s_),_d.forEach(i),Wc=t(ae),Te=s(ae,"DIV",{class:!0});var si=v(Te);m(Mt.$$.fragment,si),Ec=t(si),rs=s(si,"P",{"data-svelte-h":!0}),f(rs)!=="svelte-flusvq"&&(rs.textContent=i_),Nc=t(si),m(Io.$$.fragment,si),si.forEach(i),Xc=t(ae),Vo=s(ae,"DIV",{class:!0});var ud=v(Vo);m(yt.$$.fragment,ud),qc=t(ud),ts=s(ud,"P",{"data-svelte-h":!0}),f(ts)!=="svelte-1ufq5ot"&&(ts.textContent=d_),ud.forEach(i),zc=t(ae),De=s(ae,"DIV",{class:!0});var ii=v(De);m(Tt.$$.fragment,ii),Bc=t(ii),as=s(ii,"P",{"data-svelte-h":!0}),f(as)!=="svelte-ioswce"&&(as.innerHTML=l_),jc=t(ii),m(Fo.$$.fragment,ii),ii.forEach(i),ae.forEach(i),qi=t(e),m(Dt.$$.fragment,e),zi=t(e),E=s(e,"DIV",{class:!0});var ne=v(E);m(St.$$.fragment,ne),Gc=t(ne),ns=s(ne,"P",{"data-svelte-h":!0}),f(ns)!=="svelte-tvtm79"&&(ns.innerHTML=c_),Jc=t(ne),Uo=s(ne,"DIV",{class:!0});var hd=v(Uo);m(Ct.$$.fragment,hd),Zc=t(hd),ss=s(hd,"P",{"data-svelte-h":!0}),f(ss)!=="svelte-1lgbsz7"&&(ss.innerHTML=f_),hd.forEach(i),Oc=t(ne),Wo=s(ne,"DIV",{class:!0});var gd=v(Wo);m(At.$$.fragment,gd),Yc=t(gd),is=s(gd,"P",{"data-svelte-h":!0}),f(is)!=="svelte-dq6wny"&&(is.innerHTML=p_),gd.forEach(i),Qc=t(ne),Se=s(ne,"DIV",{class:!0});var di=v(Se);m(kt.$$.fragment,di),Kc=t(di),ds=s(di,"P",{"data-svelte-h":!0}),f(ds)!=="svelte-flusvq"&&(ds.textContent=m_),ef=t(di),m(Eo.$$.fragment,di),di.forEach(i),of=t(ne),No=s(ne,"DIV",{class:!0});var Ld=v(No);m(Pt.$$.fragment,Ld),rf=t(Ld),ls=s(Ld,"P",{"data-svelte-h":!0}),f(ls)!=="svelte-1ufq5ot"&&(ls.textContent=__),Ld.forEach(i),tf=t(ne),Ce=s(ne,"DIV",{class:!0});var li=v(Ce);m(Ht.$$.fragment,li),af=t(li),cs=s(li,"P",{"data-svelte-h":!0}),f(cs)!=="svelte-ioswce"&&(cs.innerHTML=u_),nf=t(li),m(Xo.$$.fragment,li),li.forEach(i),ne.forEach(i),Bi=t(e),m(Rt.$$.fragment,e),ji=t(e),N=s(e,"DIV",{class:!0});var se=v(N);m(It.$$.fragment,se),sf=t(se),fs=s(se,"P",{"data-svelte-h":!0}),f(fs)!=="svelte-12gaieg"&&(fs.innerHTML=h_),df=t(se),qo=s(se,"DIV",{class:!0});var xd=v(qo);m(Vt.$$.fragment,xd),lf=t(xd),ps=s(xd,"P",{"data-svelte-h":!0}),f(ps)!=="svelte-1lgbsz7"&&(ps.innerHTML=g_),xd.forEach(i),cf=t(se),zo=s(se,"DIV",{class:!0});var bd=v(zo);m(Ft.$$.fragment,bd),ff=t(bd),ms=s(bd,"P",{"data-svelte-h":!0}),f(ms)!=="svelte-dq6wny"&&(ms.innerHTML=L_),bd.forEach(i),pf=t(se),Ae=s(se,"DIV",{class:!0});var ci=v(Ae);m(Ut.$$.fragment,ci),mf=t(ci),_s=s(ci,"P",{"data-svelte-h":!0}),f(_s)!=="svelte-flusvq"&&(_s.textContent=x_),_f=t(ci),m(Bo.$$.fragment,ci),ci.forEach(i),uf=t(se),jo=s(se,"DIV",{class:!0});var vd=v(jo);m(Wt.$$.fragment,vd),hf=t(vd),us=s(vd,"P",{"data-svelte-h":!0}),f(us)!=="svelte-1ufq5ot"&&(us.textContent=b_),vd.forEach(i),gf=t(se),ke=s(se,"DIV",{class:!0});var fi=v(ke);m(Et.$$.fragment,fi),Lf=t(fi),hs=s(fi,"P",{"data-svelte-h":!0}),f(hs)!=="svelte-ioswce"&&(hs.innerHTML=v_),xf=t(fi),m(Go.$$.fragment,fi),fi.forEach(i),se.forEach(i),Gi=t(e),m(Nt.$$.fragment,e),Ji=t(e),X=s(e,"DIV",{class:!0});var ie=v(X);m(Xt.$$.fragment,ie),bf=t(ie),gs=s(ie,"P",{"data-svelte-h":!0}),f(gs)!=="svelte-1v43uv0"&&(gs.innerHTML=w_),vf=t(ie),Jo=s(ie,"DIV",{class:!0});var wd=v(Jo);m(qt.$$.fragment,wd),wf=t(wd),Ls=s(wd,"P",{"data-svelte-h":!0}),f(Ls)!=="svelte-1lgbsz7"&&(Ls.innerHTML=$_),wd.forEach(i),$f=t(ie),Zo=s(ie,"DIV",{class:!0});var $d=v(Zo);m(zt.$$.fragment,$d),Mf=t($d),xs=s($d,"P",{"data-svelte-h":!0}),f(xs)!=="svelte-dq6wny"&&(xs.innerHTML=M_),$d.forEach(i),yf=t(ie),Pe=s(ie,"DIV",{class:!0});var pi=v(Pe);m(Bt.$$.fragment,pi),Tf=t(pi),bs=s(pi,"P",{"data-svelte-h":!0}),f(bs)!=="svelte-flusvq"&&(bs.textContent=y_),Df=t(pi),m(Oo.$$.fragment,pi),pi.forEach(i),Sf=t(ie),Yo=s(ie,"DIV",{class:!0});var Md=v(Yo);m(jt.$$.fragment,Md),Cf=t(Md),vs=s(Md,"P",{"data-svelte-h":!0}),f(vs)!=="svelte-1ufq5ot"&&(vs.textContent=T_),Md.forEach(i),Af=t(ie),He=s(ie,"DIV",{class:!0});var mi=v(He);m(Gt.$$.fragment,mi),kf=t(mi),ws=s(mi,"P",{"data-svelte-h":!0}),f(ws)!=="svelte-ioswce"&&(ws.innerHTML=D_),Pf=t(mi),m(Qo.$$.fragment,mi),mi.forEach(i),ie.forEach(i),Zi=t(e),m(Jt.$$.fragment,e),Oi=t(e),q=s(e,"DIV",{class:!0});var de=v(q);m(Zt.$$.fragment,de),Hf=t(de),$s=s(de,"P",{"data-svelte-h":!0}),f($s)!=="svelte-10viq01"&&($s.innerHTML=S_),Rf=t(de),Ko=s(de,"DIV",{class:!0});var yd=v(Ko);m(Ot.$$.fragment,yd),If=t(yd),Ms=s(yd,"P",{"data-svelte-h":!0}),f(Ms)!=="svelte-1lgbsz7"&&(Ms.innerHTML=C_),yd.forEach(i),Vf=t(de),er=s(de,"DIV",{class:!0});var Td=v(er);m(Yt.$$.fragment,Td),Ff=t(Td),ys=s(Td,"P",{"data-svelte-h":!0}),f(ys)!=="svelte-dq6wny"&&(ys.innerHTML=A_),Td.forEach(i),Uf=t(de),Re=s(de,"DIV",{class:!0});var _i=v(Re);m(Qt.$$.fragment,_i),Wf=t(_i),Ts=s(_i,"P",{"data-svelte-h":!0}),f(Ts)!=="svelte-flusvq"&&(Ts.textContent=k_),Ef=t(_i),m(or.$$.fragment,_i),_i.forEach(i),Nf=t(de),rr=s(de,"DIV",{class:!0});var Dd=v(rr);m(Kt.$$.fragment,Dd),Xf=t(Dd),Ds=s(Dd,"P",{"data-svelte-h":!0}),f(Ds)!=="svelte-1ufq5ot"&&(Ds.textContent=P_),Dd.forEach(i),qf=t(de),Ie=s(de,"DIV",{class:!0});var ui=v(Ie);m(ea.$$.fragment,ui),zf=t(ui),Ss=s(ui,"P",{"data-svelte-h":!0}),f(Ss)!=="svelte-ioswce"&&(Ss.innerHTML=H_),Bf=t(ui),m(tr.$$.fragment,ui),ui.forEach(i),de.forEach(i),Yi=t(e),m(oa.$$.fragment,e),Qi=t(e),z=s(e,"DIV",{class:!0});var le=v(z);m(ra.$$.fragment,le),jf=t(le),Cs=s(le,"P",{"data-svelte-h":!0}),f(Cs)!=="svelte-jli8sm"&&(Cs.innerHTML=R_),Gf=t(le),ar=s(le,"DIV",{class:!0});var Sd=v(ar);m(ta.$$.fragment,Sd),Jf=t(Sd),As=s(Sd,"P",{"data-svelte-h":!0}),f(As)!=="svelte-1lgbsz7"&&(As.innerHTML=I_),Sd.forEach(i),Zf=t(le),nr=s(le,"DIV",{class:!0});var Cd=v(nr);m(aa.$$.fragment,Cd),Of=t(Cd),ks=s(Cd,"P",{"data-svelte-h":!0}),f(ks)!=="svelte-dq6wny"&&(ks.innerHTML=V_),Cd.forEach(i),Yf=t(le),Ve=s(le,"DIV",{class:!0});var hi=v(Ve);m(na.$$.fragment,hi),Qf=t(hi),Ps=s(hi,"P",{"data-svelte-h":!0}),f(Ps)!=="svelte-flusvq"&&(Ps.textContent=F_),Kf=t(hi),m(sr.$$.fragment,hi),hi.forEach(i),ep=t(le),ir=s(le,"DIV",{class:!0});var Ad=v(ir);m(sa.$$.fragment,Ad),op=t(Ad),Hs=s(Ad,"P",{"data-svelte-h":!0}),f(Hs)!=="svelte-1ufq5ot"&&(Hs.textContent=U_),Ad.forEach(i),rp=t(le),Fe=s(le,"DIV",{class:!0});var gi=v(Fe);m(ia.$$.fragment,gi),tp=t(gi),Rs=s(gi,"P",{"data-svelte-h":!0}),f(Rs)!=="svelte-ioswce"&&(Rs.innerHTML=W_),ap=t(gi),m(dr.$$.fragment,gi),gi.forEach(i),le.forEach(i),Ki=t(e),m(da.$$.fragment,e),ed=t(e),B=s(e,"DIV",{class:!0});var ce=v(B);m(la.$$.fragment,ce),np=t(ce),Is=s(ce,"P",{"data-svelte-h":!0}),f(Is)!=="svelte-17k0k9p"&&(Is.innerHTML=E_),sp=t(ce),lr=s(ce,"DIV",{class:!0});var kd=v(lr);m(ca.$$.fragment,kd),ip=t(kd),Vs=s(kd,"P",{"data-svelte-h":!0}),f(Vs)!=="svelte-1lgbsz7"&&(Vs.innerHTML=N_),kd.forEach(i),dp=t(ce),cr=s(ce,"DIV",{class:!0});var Pd=v(cr);m(fa.$$.fragment,Pd),lp=t(Pd),Fs=s(Pd,"P",{"data-svelte-h":!0}),f(Fs)!=="svelte-dq6wny"&&(Fs.innerHTML=X_),Pd.forEach(i),cp=t(ce),Ue=s(ce,"DIV",{class:!0});var Li=v(Ue);m(pa.$$.fragment,Li),fp=t(Li),Us=s(Li,"P",{"data-svelte-h":!0}),f(Us)!=="svelte-flusvq"&&(Us.textContent=q_),pp=t(Li),m(fr.$$.fragment,Li),Li.forEach(i),mp=t(ce),pr=s(ce,"DIV",{class:!0});var Hd=v(pr);m(ma.$$.fragment,Hd),_p=t(Hd),Ws=s(Hd,"P",{"data-svelte-h":!0}),f(Ws)!=="svelte-1ufq5ot"&&(Ws.textContent=z_),Hd.forEach(i),up=t(ce),We=s(ce,"DIV",{class:!0});var xi=v(We);m(_a.$$.fragment,xi),hp=t(xi),Es=s(xi,"P",{"data-svelte-h":!0}),f(Es)!=="svelte-ioswce"&&(Es.innerHTML=B_),gp=t(xi),m(mr.$$.fragment,xi),xi.forEach(i),ce.forEach(i),od=t(e),m(ua.$$.fragment,e),rd=t(e),je=s(e,"DIV",{class:!0});var Rd=v(je);m(ha.$$.fragment,Rd),Lp=t(Rd),_r=s(Rd,"DIV",{class:!0});var Id=v(_r);m(ga.$$.fragment,Id),xp=t(Id),Ns=s(Id,"P",{"data-svelte-h":!0}),f(Ns)!=="svelte-1lgbsz7"&&(Ns.innerHTML=j_),Id.forEach(i),Rd.forEach(i),td=t(e),m(La.$$.fragment,e),ad=t(e),j=s(e,"DIV",{class:!0});var fe=v(j);m(xa.$$.fragment,fe),bp=t(fe),Xs=s(fe,"P",{"data-svelte-h":!0}),f(Xs)!=="svelte-1376884"&&(Xs.innerHTML=G_),vp=t(fe),ur=s(fe,"DIV",{class:!0});var Vd=v(ur);m(ba.$$.fragment,Vd),wp=t(Vd),qs=s(Vd,"P",{"data-svelte-h":!0}),f(qs)!=="svelte-1lgbsz7"&&(qs.innerHTML=J_),Vd.forEach(i),$p=t(fe),hr=s(fe,"DIV",{class:!0});var Fd=v(hr);m(va.$$.fragment,Fd),Mp=t(Fd),zs=s(Fd,"P",{"data-svelte-h":!0}),f(zs)!=="svelte-dq6wny"&&(zs.innerHTML=Z_),Fd.forEach(i),yp=t(fe),Ee=s(fe,"DIV",{class:!0});var bi=v(Ee);m(wa.$$.fragment,bi),Tp=t(bi),Bs=s(bi,"P",{"data-svelte-h":!0}),f(Bs)!=="svelte-flusvq"&&(Bs.textContent=O_),Dp=t(bi),m(gr.$$.fragment,bi),bi.forEach(i),Sp=t(fe),Lr=s(fe,"DIV",{class:!0});var Ud=v(Lr);m($a.$$.fragment,Ud),Cp=t(Ud),js=s(Ud,"P",{"data-svelte-h":!0}),f(js)!=="svelte-1ufq5ot"&&(js.textContent=Y_),Ud.forEach(i),Ap=t(fe),Ne=s(fe,"DIV",{class:!0});var vi=v(Ne);m(Ma.$$.fragment,vi),kp=t(vi),Gs=s(vi,"P",{"data-svelte-h":!0}),f(Gs)!=="svelte-ioswce"&&(Gs.innerHTML=Q_),Pp=t(vi),m(xr.$$.fragment,vi),vi.forEach(i),fe.forEach(i),nd=t(e),m(ya.$$.fragment,e),sd=t(e),A=s(e,"DIV",{class:!0});var R=v(A);m(Ta.$$.fragment,R),Hp=t(R),Js=s(R,"P",{"data-svelte-h":!0}),f(Js)!=="svelte-1q4bbx"&&(Js.textContent=K_),Rp=t(R),Zs=s(R,"DIV",{class:!0});var du=v(Zs);m(Da.$$.fragment,du),du.forEach(i),Ip=t(R),Xe=s(R,"DIV",{class:!0});var wi=v(Xe);m(Sa.$$.fragment,wi),Vp=t(wi),Os=s(wi,"P",{"data-svelte-h":!0}),f(Os)!=="svelte-w22v11"&&(Os.textContent=eu),Fp=t(wi),Ys=s(wi,"P",{"data-svelte-h":!0}),f(Ys)!=="svelte-zdadya"&&(Ys.textContent=ou),wi.forEach(i),Up=t(R),_e=s(R,"DIV",{class:!0});var Dr=v(_e);m(Ca.$$.fragment,Dr),Wp=t(Dr),Qs=s(Dr,"P",{"data-svelte-h":!0}),f(Qs)!=="svelte-1nr2dy0"&&(Qs.textContent=ru),Ep=t(Dr),m(br.$$.fragment,Dr),Np=t(Dr),m(vr.$$.fragment,Dr),Dr.forEach(i),Xp=t(R),qe=s(R,"DIV",{class:!0});var $i=v(qe);m(Aa.$$.fragment,$i),qp=t($i),Ks=s($i,"P",{"data-svelte-h":!0}),f(Ks)!=="svelte-h0os0v"&&(Ks.textContent=tu),zp=t($i),m(wr.$$.fragment,$i),$i.forEach(i),Bp=t(R),$r=s(R,"DIV",{class:!0});var Wd=v($r);m(ka.$$.fragment,Wd),jp=t(Wd),ei=s(Wd,"P",{"data-svelte-h":!0}),f(ei)!=="svelte-1825k9e"&&(ei.textContent=au),Wd.forEach(i),Gp=t(R),Mr=s(R,"DIV",{class:!0});var Ed=v(Mr);m(Pa.$$.fragment,Ed),Jp=t(Ed),oi=s(Ed,"P",{"data-svelte-h":!0}),f(oi)!=="svelte-rvubqa"&&(oi.innerHTML=nu),Ed.forEach(i),Zp=t(R),ze=s(R,"DIV",{class:!0});var Mi=v(ze);m(Ha.$$.fragment,Mi),Op=t(Mi),ri=s(Mi,"P",{"data-svelte-h":!0}),f(ri)!=="svelte-ioswce"&&(ri.innerHTML=su),Yp=t(Mi),m(yr.$$.fragment,Mi),Mi.forEach(i),Qp=t(R),Be=s(R,"DIV",{class:!0});var yi=v(Be);m(Ra.$$.fragment,yi),Kp=t(yi),ti=s(yi,"P",{"data-svelte-h":!0}),f(ti)!=="svelte-119cgd9"&&(ti.textContent=iu),em=t(yi),m(Tr.$$.fragment,yi),yi.forEach(i),R.forEach(i),id=t(e),m(Ia.$$.fragment,e),dd=t(e),Ti=s(e,"P",{}),v(Ti).forEach(i),this.h()},h(){w(a,"name","hf:doc:metadata"),w(a,"content",Zu),w(to,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(so,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(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(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(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(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(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(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(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(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(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(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(go,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Lo,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(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(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(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(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(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w($o,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(To,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w($e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(So,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(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(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(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(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(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(Ro,"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(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(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(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(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(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(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(No,"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(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(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(zo,"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(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(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(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(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(Zo,"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(Yo,"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(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(er,"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(rr,"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(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(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(nr,"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(ir,"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(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(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(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(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(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(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(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(_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(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(ur,"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(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(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(Ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(Zs,"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(_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(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($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(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(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,b,L),x(e,l,L),x(e,c,L),_(y,e,L),x(e,d,L),x(e,M,L),x(e,Di,L),x(e,Sr,L),x(e,Si,L),_(ro,e,L),x(e,Ci,L),_(Cr,e,L),x(e,Ai,L),x(e,I,L),_(Ar,I,null),o(I,qd),o(I,Ya),o(I,zd),o(I,to),_(kr,to,null),o(to,Bd),o(to,Qa),o(I,jd),o(I,ao),_(Pr,ao,null),o(ao,Gd),o(ao,Ka),o(I,Jd),o(I,Y),_(Hr,Y,null),o(Y,Zd),o(Y,en),o(Y,Od),o(Y,on),o(Y,Yd),o(Y,rn),o(Y,Qd),o(Y,tn),o(Y,Kd),o(Y,an),o(I,el),o(I,ue),_(Rr,ue,null),o(ue,ol),o(ue,nn),o(ue,rl),_(no,ue,null),o(I,tl),o(I,so),_(Ir,so,null),o(so,al),o(so,sn),x(e,ki,L),_(Vr,e,L),x(e,Pi,L),x(e,V,L),_(Fr,V,null),o(V,nl),o(V,dn),o(V,sl),o(V,io),_(Ur,io,null),o(io,il),o(io,ln),o(V,dl),o(V,lo),_(Wr,lo,null),o(lo,ll),o(lo,cn),o(V,cl),o(V,Q),_(Er,Q,null),o(Q,fl),o(Q,fn),o(Q,pl),o(Q,pn),o(Q,ml),o(Q,mn),o(Q,_l),o(Q,_n),o(Q,ul),o(Q,un),o(V,hl),o(V,he),_(Nr,he,null),o(he,gl),o(he,hn),o(he,Ll),_(co,he,null),o(V,xl),o(V,fo),_(Xr,fo,null),o(fo,bl),o(fo,gn),x(e,Hi,L),_(qr,e,L),x(e,Ri,L),x(e,k,L),_(zr,k,null),o(k,vl),o(k,Ln),o(k,wl),o(k,xn),o(k,$l),o(k,po),_(Br,po,null),o(po,Ml),o(po,bn),o(k,yl),o(k,mo),_(jr,mo,null),o(mo,Tl),o(mo,vn),o(k,Dl),o(k,oe),_(Gr,oe,null),o(oe,Sl),o(oe,wn),o(oe,Cl),o(oe,$n),o(oe,Al),o(oe,Mn),o(oe,kl),o(oe,yn),o(k,Pl),o(k,ge),_(Jr,ge,null),o(ge,Hl),o(ge,Tn),o(ge,Rl),_(_o,ge,null),o(k,Il),o(k,uo),_(Zr,uo,null),o(uo,Vl),o(uo,Dn),o(k,Fl),o(k,Le),_(Or,Le,null),o(Le,Ul),o(Le,Sn),o(Le,Wl),_(ho,Le,null),x(e,Ii,L),_(Yr,e,L),x(e,Vi,L),x(e,C,L),_(Qr,C,null),o(C,El),o(C,Cn),o(C,Nl),o(C,An),o(C,Xl),o(C,go),_(Kr,go,null),o(go,ql),o(go,kn),o(C,zl),o(C,Lo),_(et,Lo,null),o(Lo,Bl),o(Lo,Pn),o(C,jl),o(C,re),_(ot,re,null),o(re,Gl),o(re,Hn),o(re,Jl),o(re,Rn),o(re,Zl),o(re,In),o(re,Ol),o(re,Vn),o(C,Yl),o(C,xe),_(rt,xe,null),o(xe,Ql),o(xe,Fn),o(xe,Kl),_(xo,xe,null),o(C,ec),o(C,bo),_(tt,bo,null),o(bo,oc),o(bo,Un),o(C,rc),o(C,be),_(at,be,null),o(be,tc),o(be,Wn),o(be,ac),_(vo,be,null),o(C,nc),o(C,ve),_(nt,ve,null),o(ve,sc),o(ve,En),o(ve,ic),_(wo,ve,null),x(e,Fi,L),_(st,e,L),x(e,Ui,L),x(e,F,L),_(it,F,null),o(F,dc),o(F,Nn),o(F,lc),o(F,$o),_(dt,$o,null),o($o,cc),o($o,Xn),o(F,fc),o(F,Mo),_(lt,Mo,null),o(Mo,pc),o(Mo,qn),o(F,mc),o(F,we),_(ct,we,null),o(we,_c),o(we,zn),o(we,uc),_(yo,we,null),o(F,hc),o(F,To),_(ft,To,null),o(To,gc),o(To,Bn),o(F,Lc),o(F,$e),_(pt,$e,null),o($e,xc),o($e,jn),o($e,bc),_(Do,$e,null),x(e,Wi,L),_(mt,e,L),x(e,Ei,L),x(e,U,L),_(_t,U,null),o(U,vc),o(U,Gn),o(U,wc),o(U,So),_(ut,So,null),o(So,$c),o(So,Jn),o(U,Mc),o(U,Co),_(ht,Co,null),o(Co,yc),o(Co,Zn),o(U,Tc),o(U,Me),_(gt,Me,null),o(Me,Dc),o(Me,On),o(Me,Sc),_(Ao,Me,null),o(U,Cc),o(U,ko),_(Lt,ko,null),o(ko,Ac),o(ko,Yn),o(U,kc),o(U,ye),_(xt,ye,null),o(ye,Pc),o(ye,Qn),o(ye,Hc),_(Po,ye,null),x(e,Ni,L),_(bt,e,L),x(e,Xi,L),x(e,W,L),_(vt,W,null),o(W,Rc),o(W,Kn),o(W,Ic),o(W,Ho),_(wt,Ho,null),o(Ho,Vc),o(Ho,es),o(W,Fc),o(W,Ro),_($t,Ro,null),o(Ro,Uc),o(Ro,os),o(W,Wc),o(W,Te),_(Mt,Te,null),o(Te,Ec),o(Te,rs),o(Te,Nc),_(Io,Te,null),o(W,Xc),o(W,Vo),_(yt,Vo,null),o(Vo,qc),o(Vo,ts),o(W,zc),o(W,De),_(Tt,De,null),o(De,Bc),o(De,as),o(De,jc),_(Fo,De,null),x(e,qi,L),_(Dt,e,L),x(e,zi,L),x(e,E,L),_(St,E,null),o(E,Gc),o(E,ns),o(E,Jc),o(E,Uo),_(Ct,Uo,null),o(Uo,Zc),o(Uo,ss),o(E,Oc),o(E,Wo),_(At,Wo,null),o(Wo,Yc),o(Wo,is),o(E,Qc),o(E,Se),_(kt,Se,null),o(Se,Kc),o(Se,ds),o(Se,ef),_(Eo,Se,null),o(E,of),o(E,No),_(Pt,No,null),o(No,rf),o(No,ls),o(E,tf),o(E,Ce),_(Ht,Ce,null),o(Ce,af),o(Ce,cs),o(Ce,nf),_(Xo,Ce,null),x(e,Bi,L),_(Rt,e,L),x(e,ji,L),x(e,N,L),_(It,N,null),o(N,sf),o(N,fs),o(N,df),o(N,qo),_(Vt,qo,null),o(qo,lf),o(qo,ps),o(N,cf),o(N,zo),_(Ft,zo,null),o(zo,ff),o(zo,ms),o(N,pf),o(N,Ae),_(Ut,Ae,null),o(Ae,mf),o(Ae,_s),o(Ae,_f),_(Bo,Ae,null),o(N,uf),o(N,jo),_(Wt,jo,null),o(jo,hf),o(jo,us),o(N,gf),o(N,ke),_(Et,ke,null),o(ke,Lf),o(ke,hs),o(ke,xf),_(Go,ke,null),x(e,Gi,L),_(Nt,e,L),x(e,Ji,L),x(e,X,L),_(Xt,X,null),o(X,bf),o(X,gs),o(X,vf),o(X,Jo),_(qt,Jo,null),o(Jo,wf),o(Jo,Ls),o(X,$f),o(X,Zo),_(zt,Zo,null),o(Zo,Mf),o(Zo,xs),o(X,yf),o(X,Pe),_(Bt,Pe,null),o(Pe,Tf),o(Pe,bs),o(Pe,Df),_(Oo,Pe,null),o(X,Sf),o(X,Yo),_(jt,Yo,null),o(Yo,Cf),o(Yo,vs),o(X,Af),o(X,He),_(Gt,He,null),o(He,kf),o(He,ws),o(He,Pf),_(Qo,He,null),x(e,Zi,L),_(Jt,e,L),x(e,Oi,L),x(e,q,L),_(Zt,q,null),o(q,Hf),o(q,$s),o(q,Rf),o(q,Ko),_(Ot,Ko,null),o(Ko,If),o(Ko,Ms),o(q,Vf),o(q,er),_(Yt,er,null),o(er,Ff),o(er,ys),o(q,Uf),o(q,Re),_(Qt,Re,null),o(Re,Wf),o(Re,Ts),o(Re,Ef),_(or,Re,null),o(q,Nf),o(q,rr),_(Kt,rr,null),o(rr,Xf),o(rr,Ds),o(q,qf),o(q,Ie),_(ea,Ie,null),o(Ie,zf),o(Ie,Ss),o(Ie,Bf),_(tr,Ie,null),x(e,Yi,L),_(oa,e,L),x(e,Qi,L),x(e,z,L),_(ra,z,null),o(z,jf),o(z,Cs),o(z,Gf),o(z,ar),_(ta,ar,null),o(ar,Jf),o(ar,As),o(z,Zf),o(z,nr),_(aa,nr,null),o(nr,Of),o(nr,ks),o(z,Yf),o(z,Ve),_(na,Ve,null),o(Ve,Qf),o(Ve,Ps),o(Ve,Kf),_(sr,Ve,null),o(z,ep),o(z,ir),_(sa,ir,null),o(ir,op),o(ir,Hs),o(z,rp),o(z,Fe),_(ia,Fe,null),o(Fe,tp),o(Fe,Rs),o(Fe,ap),_(dr,Fe,null),x(e,Ki,L),_(da,e,L),x(e,ed,L),x(e,B,L),_(la,B,null),o(B,np),o(B,Is),o(B,sp),o(B,lr),_(ca,lr,null),o(lr,ip),o(lr,Vs),o(B,dp),o(B,cr),_(fa,cr,null),o(cr,lp),o(cr,Fs),o(B,cp),o(B,Ue),_(pa,Ue,null),o(Ue,fp),o(Ue,Us),o(Ue,pp),_(fr,Ue,null),o(B,mp),o(B,pr),_(ma,pr,null),o(pr,_p),o(pr,Ws),o(B,up),o(B,We),_(_a,We,null),o(We,hp),o(We,Es),o(We,gp),_(mr,We,null),x(e,od,L),_(ua,e,L),x(e,rd,L),x(e,je,L),_(ha,je,null),o(je,Lp),o(je,_r),_(ga,_r,null),o(_r,xp),o(_r,Ns),x(e,td,L),_(La,e,L),x(e,ad,L),x(e,j,L),_(xa,j,null),o(j,bp),o(j,Xs),o(j,vp),o(j,ur),_(ba,ur,null),o(ur,wp),o(ur,qs),o(j,$p),o(j,hr),_(va,hr,null),o(hr,Mp),o(hr,zs),o(j,yp),o(j,Ee),_(wa,Ee,null),o(Ee,Tp),o(Ee,Bs),o(Ee,Dp),_(gr,Ee,null),o(j,Sp),o(j,Lr),_($a,Lr,null),o(Lr,Cp),o(Lr,js),o(j,Ap),o(j,Ne),_(Ma,Ne,null),o(Ne,kp),o(Ne,Gs),o(Ne,Pp),_(xr,Ne,null),x(e,nd,L),_(ya,e,L),x(e,sd,L),x(e,A,L),_(Ta,A,null),o(A,Hp),o(A,Js),o(A,Rp),o(A,Zs),_(Da,Zs,null),o(A,Ip),o(A,Xe),_(Sa,Xe,null),o(Xe,Vp),o(Xe,Os),o(Xe,Fp),o(Xe,Ys),o(A,Up),o(A,_e),_(Ca,_e,null),o(_e,Wp),o(_e,Qs),o(_e,Ep),_(br,_e,null),o(_e,Np),_(vr,_e,null),o(A,Xp),o(A,qe),_(Aa,qe,null),o(qe,qp),o(qe,Ks),o(qe,zp),_(wr,qe,null),o(A,Bp),o(A,$r),_(ka,$r,null),o($r,jp),o($r,ei),o(A,Gp),o(A,Mr),_(Pa,Mr,null),o(Mr,Jp),o(Mr,oi),o(A,Zp),o(A,ze),_(Ha,ze,null),o(ze,Op),o(ze,ri),o(ze,Yp),_(yr,ze,null),o(A,Qp),o(A,Be),_(Ra,Be,null),o(Be,Kp),o(Be,ti),o(Be,em),_(Tr,Be,null),x(e,id,L),_(Ia,e,L),x(e,dd,L),x(e,Ti,L),ld=!0},p(e,[L]){const G={};L&2&&(G.$$scope={dirty:L,ctx:e}),ro.$set(G);const Va={};L&2&&(Va.$$scope={dirty:L,ctx:e}),no.$set(Va);const Fa={};L&2&&(Fa.$$scope={dirty:L,ctx:e}),co.$set(Fa);const K={};L&2&&(K.$$scope={dirty:L,ctx:e}),_o.$set(K);const Ge={};L&2&&(Ge.$$scope={dirty:L,ctx:e}),ho.$set(Ge);const Ua={};L&2&&(Ua.$$scope={dirty:L,ctx:e}),xo.$set(Ua);const J={};L&2&&(J.$$scope={dirty:L,ctx:e}),vo.$set(J);const Wa={};L&2&&(Wa.$$scope={dirty:L,ctx:e}),wo.$set(Wa);const Ea={};L&2&&(Ea.$$scope={dirty:L,ctx:e}),yo.$set(Ea);const ee={};L&2&&(ee.$$scope={dirty:L,ctx:e}),Do.$set(ee);const Je={};L&2&&(Je.$$scope={dirty:L,ctx:e}),Ao.$set(Je);const Na={};L&2&&(Na.$$scope={dirty:L,ctx:e}),Po.$set(Na);const H={};L&2&&(H.$$scope={dirty:L,ctx:e}),Io.$set(H);const Xa={};L&2&&(Xa.$$scope={dirty:L,ctx:e}),Fo.$set(Xa);const qa={};L&2&&(qa.$$scope={dirty:L,ctx:e}),Eo.$set(qa);const pe={};L&2&&(pe.$$scope={dirty:L,ctx:e}),Xo.$set(pe);const Ze={};L&2&&(Ze.$$scope={dirty:L,ctx:e}),Bo.$set(Ze);const za={};L&2&&(za.$$scope={dirty:L,ctx:e}),Go.$set(za);const Oe={};L&2&&(Oe.$$scope={dirty:L,ctx:e}),Oo.$set(Oe);const P={};L&2&&(P.$$scope={dirty:L,ctx:e}),Qo.$set(P);const Ba={};L&2&&(Ba.$$scope={dirty:L,ctx:e}),or.$set(Ba);const ja={};L&2&&(ja.$$scope={dirty:L,ctx:e}),tr.$set(ja);const me={};L&2&&(me.$$scope={dirty:L,ctx:e}),sr.$set(me);const Ye={};L&2&&(Ye.$$scope={dirty:L,ctx:e}),dr.$set(Ye);const Ga={};L&2&&(Ga.$$scope={dirty:L,ctx:e}),fr.$set(Ga);const Qe={};L&2&&(Qe.$$scope={dirty:L,ctx:e}),mr.$set(Qe);const Ke={};L&2&&(Ke.$$scope={dirty:L,ctx:e}),gr.$set(Ke);const Z={};L&2&&(Z.$$scope={dirty:L,ctx:e}),xr.$set(Z);const Ja={};L&2&&(Ja.$$scope={dirty:L,ctx:e}),br.$set(Ja);const Za={};L&2&&(Za.$$scope={dirty:L,ctx:e}),vr.$set(Za);const eo={};L&2&&(eo.$$scope={dirty:L,ctx:e}),wr.$set(eo);const Oa={};L&2&&(Oa.$$scope={dirty:L,ctx:e}),yr.$set(Oa);const oo={};L&2&&(oo.$$scope={dirty:L,ctx:e}),Tr.$set(oo)},i(e){ld||(u(y.$$.fragment,e),u(ro.$$.fragment,e),u(Cr.$$.fragment,e),u(Ar.$$.fragment,e),u(kr.$$.fragment,e),u(Pr.$$.fragment,e),u(Hr.$$.fragment,e),u(Rr.$$.fragment,e),u(no.$$.fragment,e),u(Ir.$$.fragment,e),u(Vr.$$.fragment,e),u(Fr.$$.fragment,e),u(Ur.$$.fragment,e),u(Wr.$$.fragment,e),u(Er.$$.fragment,e),u(Nr.$$.fragment,e),u(co.$$.fragment,e),u(Xr.$$.fragment,e),u(qr.$$.fragment,e),u(zr.$$.fragment,e),u(Br.$$.fragment,e),u(jr.$$.fragment,e),u(Gr.$$.fragment,e),u(Jr.$$.fragment,e),u(_o.$$.fragment,e),u(Zr.$$.fragment,e),u(Or.$$.fragment,e),u(ho.$$.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(xo.$$.fragment,e),u(tt.$$.fragment,e),u(at.$$.fragment,e),u(vo.$$.fragment,e),u(nt.$$.fragment,e),u(wo.$$.fragment,e),u(st.$$.fragment,e),u(it.$$.fragment,e),u(dt.$$.fragment,e),u(lt.$$.fragment,e),u(ct.$$.fragment,e),u(yo.$$.fragment,e),u(ft.$$.fragment,e),u(pt.$$.fragment,e),u(Do.$$.fragment,e),u(mt.$$.fragment,e),u(_t.$$.fragment,e),u(ut.$$.fragment,e),u(ht.$$.fragment,e),u(gt.$$.fragment,e),u(Ao.$$.fragment,e),u(Lt.$$.fragment,e),u(xt.$$.fragment,e),u(Po.$$.fragment,e),u(bt.$$.fragment,e),u(vt.$$.fragment,e),u(wt.$$.fragment,e),u($t.$$.fragment,e),u(Mt.$$.fragment,e),u(Io.$$.fragment,e),u(yt.$$.fragment,e),u(Tt.$$.fragment,e),u(Fo.$$.fragment,e),u(Dt.$$.fragment,e),u(St.$$.fragment,e),u(Ct.$$.fragment,e),u(At.$$.fragment,e),u(kt.$$.fragment,e),u(Eo.$$.fragment,e),u(Pt.$$.fragment,e),u(Ht.$$.fragment,e),u(Xo.$$.fragment,e),u(Rt.$$.fragment,e),u(It.$$.fragment,e),u(Vt.$$.fragment,e),u(Ft.$$.fragment,e),u(Ut.$$.fragment,e),u(Bo.$$.fragment,e),u(Wt.$$.fragment,e),u(Et.$$.fragment,e),u(Go.$$.fragment,e),u(Nt.$$.fragment,e),u(Xt.$$.fragment,e),u(qt.$$.fragment,e),u(zt.$$.fragment,e),u(Bt.$$.fragment,e),u(Oo.$$.fragment,e),u(jt.$$.fragment,e),u(Gt.$$.fragment,e),u(Qo.$$.fragment,e),u(Jt.$$.fragment,e),u(Zt.$$.fragment,e),u(Ot.$$.fragment,e),u(Yt.$$.fragment,e),u(Qt.$$.fragment,e),u(or.$$.fragment,e),u(Kt.$$.fragment,e),u(ea.$$.fragment,e),u(tr.$$.fragment,e),u(oa.$$.fragment,e),u(ra.$$.fragment,e),u(ta.$$.fragment,e),u(aa.$$.fragment,e),u(na.$$.fragment,e),u(sr.$$.fragment,e),u(sa.$$.fragment,e),u(ia.$$.fragment,e),u(dr.$$.fragment,e),u(da.$$.fragment,e),u(la.$$.fragment,e),u(ca.$$.fragment,e),u(fa.$$.fragment,e),u(pa.$$.fragment,e),u(fr.$$.fragment,e),u(ma.$$.fragment,e),u(_a.$$.fragment,e),u(mr.$$.fragment,e),u(ua.$$.fragment,e),u(ha.$$.fragment,e),u(ga.$$.fragment,e),u(La.$$.fragment,e),u(xa.$$.fragment,e),u(ba.$$.fragment,e),u(va.$$.fragment,e),u(wa.$$.fragment,e),u(gr.$$.fragment,e),u($a.$$.fragment,e),u(Ma.$$.fragment,e),u(xr.$$.fragment,e),u(ya.$$.fragment,e),u(Ta.$$.fragment,e),u(Da.$$.fragment,e),u(Sa.$$.fragment,e),u(Ca.$$.fragment,e),u(br.$$.fragment,e),u(vr.$$.fragment,e),u(Aa.$$.fragment,e),u(wr.$$.fragment,e),u(ka.$$.fragment,e),u(Pa.$$.fragment,e),u(Ha.$$.fragment,e),u(yr.$$.fragment,e),u(Ra.$$.fragment,e),u(Tr.$$.fragment,e),u(Ia.$$.fragment,e),ld=!0)},o(e){h(y.$$.fragment,e),h(ro.$$.fragment,e),h(Cr.$$.fragment,e),h(Ar.$$.fragment,e),h(kr.$$.fragment,e),h(Pr.$$.fragment,e),h(Hr.$$.fragment,e),h(Rr.$$.fragment,e),h(no.$$.fragment,e),h(Ir.$$.fragment,e),h(Vr.$$.fragment,e),h(Fr.$$.fragment,e),h(Ur.$$.fragment,e),h(Wr.$$.fragment,e),h(Er.$$.fragment,e),h(Nr.$$.fragment,e),h(co.$$.fragment,e),h(Xr.$$.fragment,e),h(qr.$$.fragment,e),h(zr.$$.fragment,e),h(Br.$$.fragment,e),h(jr.$$.fragment,e),h(Gr.$$.fragment,e),h(Jr.$$.fragment,e),h(_o.$$.fragment,e),h(Zr.$$.fragment,e),h(Or.$$.fragment,e),h(ho.$$.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(xo.$$.fragment,e),h(tt.$$.fragment,e),h(at.$$.fragment,e),h(vo.$$.fragment,e),h(nt.$$.fragment,e),h(wo.$$.fragment,e),h(st.$$.fragment,e),h(it.$$.fragment,e),h(dt.$$.fragment,e),h(lt.$$.fragment,e),h(ct.$$.fragment,e),h(yo.$$.fragment,e),h(ft.$$.fragment,e),h(pt.$$.fragment,e),h(Do.$$.fragment,e),h(mt.$$.fragment,e),h(_t.$$.fragment,e),h(ut.$$.fragment,e),h(ht.$$.fragment,e),h(gt.$$.fragment,e),h(Ao.$$.fragment,e),h(Lt.$$.fragment,e),h(xt.$$.fragment,e),h(Po.$$.fragment,e),h(bt.$$.fragment,e),h(vt.$$.fragment,e),h(wt.$$.fragment,e),h($t.$$.fragment,e),h(Mt.$$.fragment,e),h(Io.$$.fragment,e),h(yt.$$.fragment,e),h(Tt.$$.fragment,e),h(Fo.$$.fragment,e),h(Dt.$$.fragment,e),h(St.$$.fragment,e),h(Ct.$$.fragment,e),h(At.$$.fragment,e),h(kt.$$.fragment,e),h(Eo.$$.fragment,e),h(Pt.$$.fragment,e),h(Ht.$$.fragment,e),h(Xo.$$.fragment,e),h(Rt.$$.fragment,e),h(It.$$.fragment,e),h(Vt.$$.fragment,e),h(Ft.$$.fragment,e),h(Ut.$$.fragment,e),h(Bo.$$.fragment,e),h(Wt.$$.fragment,e),h(Et.$$.fragment,e),h(Go.$$.fragment,e),h(Nt.$$.fragment,e),h(Xt.$$.fragment,e),h(qt.$$.fragment,e),h(zt.$$.fragment,e),h(Bt.$$.fragment,e),h(Oo.$$.fragment,e),h(jt.$$.fragment,e),h(Gt.$$.fragment,e),h(Qo.$$.fragment,e),h(Jt.$$.fragment,e),h(Zt.$$.fragment,e),h(Ot.$$.fragment,e),h(Yt.$$.fragment,e),h(Qt.$$.fragment,e),h(or.$$.fragment,e),h(Kt.$$.fragment,e),h(ea.$$.fragment,e),h(tr.$$.fragment,e),h(oa.$$.fragment,e),h(ra.$$.fragment,e),h(ta.$$.fragment,e),h(aa.$$.fragment,e),h(na.$$.fragment,e),h(sr.$$.fragment,e),h(sa.$$.fragment,e),h(ia.$$.fragment,e),h(dr.$$.fragment,e),h(da.$$.fragment,e),h(la.$$.fragment,e),h(ca.$$.fragment,e),h(fa.$$.fragment,e),h(pa.$$.fragment,e),h(fr.$$.fragment,e),h(ma.$$.fragment,e),h(_a.$$.fragment,e),h(mr.$$.fragment,e),h(ua.$$.fragment,e),h(ha.$$.fragment,e),h(ga.$$.fragment,e),h(La.$$.fragment,e),h(xa.$$.fragment,e),h(ba.$$.fragment,e),h(va.$$.fragment,e),h(wa.$$.fragment,e),h(gr.$$.fragment,e),h($a.$$.fragment,e),h(Ma.$$.fragment,e),h(xr.$$.fragment,e),h(ya.$$.fragment,e),h(Ta.$$.fragment,e),h(Da.$$.fragment,e),h(Sa.$$.fragment,e),h(Ca.$$.fragment,e),h(br.$$.fragment,e),h(vr.$$.fragment,e),h(Aa.$$.fragment,e),h(wr.$$.fragment,e),h(ka.$$.fragment,e),h(Pa.$$.fragment,e),h(Ha.$$.fragment,e),h(yr.$$.fragment,e),h(Ra.$$.fragment,e),h(Tr.$$.fragment,e),h(Ia.$$.fragment,e),ld=!1},d(e){e&&(i(b),i(l),i(c),i(d),i(M),i(Di),i(Sr),i(Si),i(Ci),i(Ai),i(I),i(ki),i(Pi),i(V),i(Hi),i(Ri),i(k),i(Ii),i(Vi),i(C),i(Fi),i(Ui),i(F),i(Wi),i(Ei),i(U),i(Ni),i(Xi),i(W),i(qi),i(zi),i(E),i(Bi),i(ji),i(N),i(Gi),i(Ji),i(X),i(Zi),i(Oi),i(q),i(Yi),i(Qi),i(z),i(Ki),i(ed),i(B),i(od),i(rd),i(je),i(td),i(ad),i(j),i(nd),i(sd),i(A),i(id),i(dd),i(Ti)),i(a),g(y,e),g(ro,e),g(Cr,e),g(Ar),g(kr),g(Pr),g(Hr),g(Rr),g(no),g(Ir),g(Vr,e),g(Fr),g(Ur),g(Wr),g(Er),g(Nr),g(co),g(Xr),g(qr,e),g(zr),g(Br),g(jr),g(Gr),g(Jr),g(_o),g(Zr),g(Or),g(ho),g(Yr,e),g(Qr),g(Kr),g(et),g(ot),g(rt),g(xo),g(tt),g(at),g(vo),g(nt),g(wo),g(st,e),g(it),g(dt),g(lt),g(ct),g(yo),g(ft),g(pt),g(Do),g(mt,e),g(_t),g(ut),g(ht),g(gt),g(Ao),g(Lt),g(xt),g(Po),g(bt,e),g(vt),g(wt),g($t),g(Mt),g(Io),g(yt),g(Tt),g(Fo),g(Dt,e),g(St),g(Ct),g(At),g(kt),g(Eo),g(Pt),g(Ht),g(Xo),g(Rt,e),g(It),g(Vt),g(Ft),g(Ut),g(Bo),g(Wt),g(Et),g(Go),g(Nt,e),g(Xt),g(qt),g(zt),g(Bt),g(Oo),g(jt),g(Gt),g(Qo),g(Jt,e),g(Zt),g(Ot),g(Yt),g(Qt),g(or),g(Kt),g(ea),g(tr),g(oa,e),g(ra),g(ta),g(aa),g(na),g(sr),g(sa),g(ia),g(dr),g(da,e),g(la),g(ca),g(fa),g(pa),g(fr),g(ma),g(_a),g(mr),g(ua,e),g(ha),g(ga),g(La,e),g(xa),g(ba),g(va),g(wa),g(gr),g($a),g(Ma),g(xr),g(ya,e),g(Ta),g(Da),g(Sa),g(Ca),g(br),g(vr),g(Aa),g(wr),g(ka),g(Pa),g(Ha),g(yr),g(Ra),g(Tr),g(Ia,e)}}}const Zu='{"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":"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.lora_base.LoraBaseMixin","sections":[],"depth":2}],"depth":1}';function Ou(T){return cu(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ah extends fu{constructor(a){super(),pu(this,a,Ou,Ju,lu,{})}}export{ah as component};

Xet Storage Details

Size:
295 kB
·
Xet hash:
0830870bc4c6bb4731e8e4b6e0dc1a3dbff9493a71bf5a0a3fbbe0e6ff154a20

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