Buckets:

rtrm's picture
download
raw
29.8 kB
import{s as Dn,o as En,n as Hn}from"../chunks/scheduler.53228c21.js";import{S as Nn,i as Jn,e as l,s as n,c,h as Vn,a as i,d as o,b as s,f as w,g as p,j as a,k,l as t,m as g,n as d,t as u,o as f,p as m}from"../chunks/index.100fac89.js";import{C as Gn}from"../chunks/CopyLLMTxtMenu.50ab6782.js";import{D as B}from"../chunks/Docstring.d95185c4.js";import{C as Qn}from"../chunks/CodeBlock.d30a6509.js";import{E as On}from"../chunks/ExampleCodeBlock.fd8b68b3.js";import{H as Ze,E as Wn}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.720a8c3c.js";function Fn(Re){let v,F="Example:",I,y,L;return y=new Qn({props:{code:"JTIwJTIwJTIwJTIwY2xhc3MlMjBNeUF1dG9CbG9jayhBdXRvUGlwZWxpbmVCbG9ja3MpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwYmxvY2tfY2xhc3NlcyUyMCUzRCUyMCU1QklucGFpbnRFbmNvZGVyQmxvY2slMkMlMjBJbWFnZUVuY29kZXJCbG9jayUyQyUyMFRleHRFbmNvZGVyQmxvY2slNUQlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBibG9ja19uYW1lcyUyMCUzRCUyMCU1QiUyMmlucGFpbnQlMjIlMkMlMjAlMjJpbWcyaW1nJTIyJTJDJTIwJTIydGV4dDJpbWclMjIlNUQlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBibG9ja190cmlnZ2VyX2lucHV0cyUyMCUzRCUyMCU1QiUyMm1hc2tfaW1hZ2UlMjIlMkMlMjAlMjJpbWFnZSUyMiUyQyUyME5vbmUlNUQlMjAlMjAlMjMlMjB0ZXh0MmltZyUyMGlzJTIwdGhlJTIwZGVmYXVsdA==",highlighted:` <span class="hljs-keyword">class</span> <span class="hljs-title class_">MyAutoBlock</span>(<span class="hljs-title class_ inherited__">AutoPipelineBlocks</span>):
block_classes = [InpaintEncoderBlock, ImageEncoderBlock, TextEncoderBlock]
block_names = [<span class="hljs-string">&quot;inpaint&quot;</span>, <span class="hljs-string">&quot;img2img&quot;</span>, <span class="hljs-string">&quot;text2img&quot;</span>]
block_trigger_inputs = [<span class="hljs-string">&quot;mask_image&quot;</span>, <span class="hljs-string">&quot;image&quot;</span>, <span class="hljs-literal">None</span>] <span class="hljs-comment"># text2img is the default</span>`,wrap:!1}}),{c(){v=l("p"),v.textContent=F,I=n(),c(y.$$.fragment)},l(_){v=i(_,"P",{"data-svelte-h":!0}),a(v)!=="svelte-11lpom8"&&(v.textContent=F),I=s(_),p(y.$$.fragment,_)},m(_,A){g(_,v,A),g(_,I,A),d(y,_,A),L=!0},p:Hn,i(_){L||(u(y.$$.fragment,_),L=!0)},o(_){f(y.$$.fragment,_),L=!1},d(_){_&&(o(v),o(I)),m(y,_)}}}function Zn(Re){let v,F,I,y,L,_,A,Ye,Z,Xe,b,z,ht,_e,on=`Base class for all Pipeline Blocks: ConditionalPipelineBlocks, AutoPipelineBlocks, SequentialPipelineBlocks,
LoopSequentialPipelineBlocks`,kt,$e,rn='<a href="/docs/diffusers/pr_12652/en/api/modular_diffusers/pipeline_blocks#diffusers.ModularPipelineBlocks">ModularPipelineBlocks</a> provides method to load and save the definition of pipeline blocks.',_t,R,an="<p>&gt; This is an experimental feature and is likely to change in the future.</p>",$t,E,Y,vt,ve,cn="Get all inputs and intermediates in one dictionary",xt,H,X,Pt,xe,pn=`Get the block(s) that would execute given the inputs. Must be implemented by subclasses that support
conditional block selection.`,wt,N,K,Mt,Pe,dn=`Get the execution blocks for a specific workflow. Must be implemented by subclasses that define
<code>_workflow_map</code>.`,Ct,J,ee,Bt,we,un="create a ModularPipeline, optionally accept pretrained_model_name_or_path to load from hub.",Ke,te,et,x,ne,yt,Me,fn=`A Pipeline Blocks that combines multiple pipeline block classes into one. When called, it will call each block in
sequence.`,Lt,Ce,mn=`This class inherits from <a href="/docs/diffusers/pr_12652/en/api/modular_diffusers/pipeline_blocks#diffusers.ModularPipelineBlocks">ModularPipelineBlocks</a>. Check the superclass documentation for the generic methods the
library implements for all the pipeline blocks (such as loading or saving etc.)`,Tt,se,gn="<p>&gt; This is an experimental feature and is likely to change in the future.</p>",qt,V,le,jt,Be,bn="Creates a SequentialPipelineBlocks instance from a dictionary of blocks.",At,S,ie,It,ye,hn="Get the blocks that would execute given the specified inputs.",St,Le,kn=`As the traversal walks through sequential blocks, intermediate outputs from resolved blocks are added to the
active inputs. This means conditional blocks that depend on intermediates (e.g., “run img2img if image_latents
is present”) will resolve correctly, as long as the condition is based on presence/absence (None or not None),
not on the actual value.`,tt,oe,nt,C,re,Ut,Te,_n=`A Pipeline blocks that combines multiple pipeline block classes into a For Loop. When called, it will call each
block in sequence.`,Dt,qe,$n=`This class inherits from <a href="/docs/diffusers/pr_12652/en/api/modular_diffusers/pipeline_blocks#diffusers.ModularPipelineBlocks">ModularPipelineBlocks</a>. Check the superclass documentation for the generic methods the
library implements for all the pipeline blocks (such as loading or saving etc.)`,Et,ae,vn="<p>&gt; This is an experimental feature and is likely to change in the future.</p>",Ht,G,ce,Nt,je,xn="Creates a LoopSequentialPipelineBlocks instance from a dictionary of blocks.",st,pe,lt,h,de,Jt,Ae,Pn="A Pipeline Blocks that automatically selects a block to run based on the presence of trigger inputs.",Vt,Ie,wn="This is a specialized version of <code>ConditionalPipelineBlocks</code> where:",Gt,Se,Mn=`<li>Each block has one corresponding trigger input (1:1 mapping)</li> <li>Block selection is automatic: the first block whose trigger input is present gets selected</li> <li><code>block_trigger_inputs</code> must have the same length as <code>block_names</code> and <code>block_classes</code></li> <li>Use <code>None</code> in <code>block_trigger_inputs</code> to specify the default block, i.e the block that will run if no trigger
inputs are present</li>`,Qt,Q,Ot,Ue,Cn="With this definition:",Wt,De,Bn="<li>As long as <code>mask_image</code> is provided, “inpaint” block runs (regardless of <code>image</code> being provided or not)</li> <li>If <code>mask_image</code> is not provided but <code>image</code> is provided, “img2img” block runs</li> <li>Otherwise, “text2img” block runs (default, trigger is <code>None</code>)</li>",Ft,O,ue,Zt,Ee,yn="Select block based on which trigger input is present (not None).",it,fe,ot,P,me,zt,He,Ln=`A Pipeline Blocks that conditionally selects a block to run based on the inputs. Subclasses must implement the
<code>select_block</code> method to define the logic for selecting the block. Currently, we only support selection logic based
on the presence or absence of inputs (i.e., whether they are <code>None</code> or not)`,Rt,Ne,Tn=`This class inherits from <a href="/docs/diffusers/pr_12652/en/api/modular_diffusers/pipeline_blocks#diffusers.ModularPipelineBlocks">ModularPipelineBlocks</a>. Check the superclass documentation for the generic methods the
library implements for all the pipeline blocks (such as loading or saving etc.)`,Yt,ge,qn="<p>&gt; This is an experimental feature and is likely to change in the future.</p>",Xt,T,be,Kt,Je,jn="Get the block(s) that would execute given the inputs.",en,Ve,An="Recursively resolves nested ConditionalPipelineBlocks until reaching either:",tn,Ge,In=`<li>A leaf block (no sub_blocks or LoopSequentialPipelineBlocks) → returns single <code>ModularPipelineBlocks</code></li> <li>A <code>SequentialPipelineBlocks</code> → delegates to its <code>get_execution_blocks()</code> which returns
a <code>SequentialPipelineBlocks</code> containing the resolved execution blocks</li>`,nn,U,he,sn,Qe,Sn=`Select the block to run based on the trigger inputs. Subclasses must implement this method to define the logic
for selecting the block.`,ln,Oe,Un=`Note: When trigger inputs include intermediate outputs from earlier blocks, the selection logic should only
depend on the presence or absence of the input (i.e., whether it is None or not), not on its actual value. This
is because <code>get_execution_blocks()</code> resolves conditions statically by propagating intermediate output names
without their runtime values.`,rt,ke,at,ze,ct;return L=new Gn({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),A=new Ze({props:{title:"Pipeline blocks",local:"pipeline-blocks",headingTag:"h1"}}),Z=new Ze({props:{title:"ModularPipelineBlocks",local:"diffusers.ModularPipelineBlocks",headingTag:"h2"}}),z=new B({props:{name:"class diffusers.ModularPipelineBlocks",anchor:"diffusers.ModularPipelineBlocks",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L289"}}),Y=new B({props:{name:"get_block_state",anchor:"diffusers.ModularPipelineBlocks.get_block_state",parameters:[{name:"state",val:": PipelineState"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L476"}}),X=new B({props:{name:"get_execution_blocks",anchor:"diffusers.ModularPipelineBlocks.get_execution_blocks",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ModularPipelineBlocks.get_execution_blocks.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Input names and values. Only trigger inputs affect block selection.",name:"*kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L359"}}),K=new B({props:{name:"get_workflow",anchor:"diffusers.ModularPipelineBlocks.get_workflow",parameters:[{name:"workflow_name",val:": str"}],parametersDescription:[{anchor:"diffusers.ModularPipelineBlocks.get_workflow.workflow_name",description:"<strong>workflow_name</strong> &#x2014; Name of the workflow to retrieve.",name:"workflow_name"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L377"}}),ee=new B({props:{name:"init_pipeline",anchor:"diffusers.ModularPipelineBlocks.init_pipeline",parameters:[{name:"pretrained_model_name_or_path",val:": str | os.PathLike | None = None"},{name:"components_manager",val:": diffusers.modular_pipelines.components_manager.ComponentsManager | None = None"},{name:"collection",val:": str | None = None"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L454"}}),te=new Ze({props:{title:"SequentialPipelineBlocks",local:"diffusers.SequentialPipelineBlocks",headingTag:"h2"}}),ne=new B({props:{name:"class diffusers.SequentialPipelineBlocks",anchor:"diffusers.SequentialPipelineBlocks",parameters:[],parametersDescription:[{anchor:"diffusers.SequentialPipelineBlocks.block_classes",description:"<strong>block_classes</strong> &#x2014; list of block classes to be used",name:"block_classes"},{anchor:"diffusers.SequentialPipelineBlocks.block_names",description:"<strong>block_names</strong> &#x2014; list of prefixes for each block",name:"block_names"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L923"}}),le=new B({props:{name:"from_blocks_dict",anchor:"diffusers.SequentialPipelineBlocks.from_blocks_dict",parameters:[{name:"blocks_dict",val:": dict"},{name:"description",val:": str | None = None"}],parametersDescription:[{anchor:"diffusers.SequentialPipelineBlocks.from_blocks_dict.blocks_dict",description:"<strong>blocks_dict</strong> &#x2014; Dictionary mapping block names to block classes or instances",name:"blocks_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L990",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>A new SequentialPipelineBlocks instance</p>
`}}),ie=new B({props:{name:"get_execution_blocks",anchor:"diffusers.SequentialPipelineBlocks.get_execution_blocks",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.SequentialPipelineBlocks.get_execution_blocks.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Input names and values. Only trigger inputs affect block selection.",name:"*kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L1133",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>SequentialPipelineBlocks containing only the blocks that would execute</p>
`}}),oe=new Ze({props:{title:"LoopSequentialPipelineBlocks",local:"diffusers.LoopSequentialPipelineBlocks",headingTag:"h2"}}),re=new B({props:{name:"class diffusers.LoopSequentialPipelineBlocks",anchor:"diffusers.LoopSequentialPipelineBlocks",parameters:[],parametersDescription:[{anchor:"diffusers.LoopSequentialPipelineBlocks.block_classes",description:"<strong>block_classes</strong> &#x2014; list of block classes to be used",name:"block_classes"},{anchor:"diffusers.LoopSequentialPipelineBlocks.block_names",description:"<strong>block_names</strong> &#x2014; list of prefixes for each block",name:"block_names"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L1278"}}),ce=new B({props:{name:"from_blocks_dict",anchor:"diffusers.LoopSequentialPipelineBlocks.from_blocks_dict",parameters:[{name:"blocks_dict",val:": dict"}],parametersDescription:[{anchor:"diffusers.LoopSequentialPipelineBlocks.from_blocks_dict.blocks_dict",description:"<strong>blocks_dict</strong> &#x2014; Dictionary mapping block names to block instances",name:"blocks_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L1441",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>A new LoopSequentialPipelineBlocks instance</p>
`}}),pe=new Ze({props:{title:"AutoPipelineBlocks",local:"diffusers.AutoPipelineBlocks",headingTag:"h2"}}),de=new B({props:{name:"class diffusers.AutoPipelineBlocks",anchor:"diffusers.AutoPipelineBlocks",parameters:[],parametersDescription:[{anchor:"diffusers.AutoPipelineBlocks.block_classes",description:`<strong>block_classes</strong> &#x2014;
List of block classes to be used. Must have the same length as <code>block_names</code> and
<code>block_trigger_inputs</code>.`,name:"block_classes"},{anchor:"diffusers.AutoPipelineBlocks.block_names",description:`<strong>block_names</strong> &#x2014;
List of names for each block. Must have the same length as <code>block_classes</code> and <code>block_trigger_inputs</code>.`,name:"block_names"},{anchor:"diffusers.AutoPipelineBlocks.block_trigger_inputs",description:`<strong>block_trigger_inputs</strong> &#x2014;
List of input names where each element specifies the trigger input for the corresponding block. Use
<code>None</code> to mark the default block.`,name:"block_trigger_inputs"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L862"}}),Q=new On({props:{anchor:"diffusers.AutoPipelineBlocks.example",$$slots:{default:[Fn]},$$scope:{ctx:Re}}}),ue=new B({props:{name:"select_block",anchor:"diffusers.AutoPipelineBlocks.select_block",parameters:[{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L915"}}),fe=new Ze({props:{title:"ConditionalPipelineBlocks",local:"diffusers.ConditionalPipelineBlocks",headingTag:"h2"}}),me=new B({props:{name:"class diffusers.ConditionalPipelineBlocks",anchor:"diffusers.ConditionalPipelineBlocks",parameters:[],parametersDescription:[{anchor:"diffusers.ConditionalPipelineBlocks.block_classes",description:"<strong>block_classes</strong> &#x2014; List of block classes to be used. Must have the same length as <code>block_names</code>.",name:"block_classes"},{anchor:"diffusers.ConditionalPipelineBlocks.block_names",description:"<strong>block_names</strong> &#x2014; List of names for each block. Must have the same length as <code>block_classes</code>.",name:"block_names"},{anchor:"diffusers.ConditionalPipelineBlocks.block_trigger_inputs",description:`<strong>block_trigger_inputs</strong> &#x2014; List of input names that <code>select_block()</code> uses to determine which block to run.
For <code>ConditionalPipelineBlocks</code>, this does not need to correspond to <code>block_names</code> and <code>block_classes</code>. For
<code>AutoPipelineBlocks</code>, this must have the same length as <code>block_names</code> and <code>block_classes</code>, where each
element specifies the trigger input for the corresponding block.`,name:"block_trigger_inputs"},{anchor:"diffusers.ConditionalPipelineBlocks.default_block_name",description:`<strong>default_block_name</strong> &#x2014; Name of the default block to run when no trigger inputs match.
If None, this block can be skipped entirely when no trigger inputs are provided.`,name:"default_block_name"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L561"}}),be=new B({props:{name:"get_execution_blocks",anchor:"diffusers.ConditionalPipelineBlocks.get_execution_blocks",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ConditionalPipelineBlocks.get_execution_blocks.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Input names and values. Only trigger inputs affect block selection.",name:"*kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L753",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>A leaf block or resolved <code>SequentialPipelineBlocks</code></p>
<ul>
<li><code>None</code>: If this block would be skipped (no trigger matched and no default)</li>
</ul>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>
<ul>
<li><code>ModularPipelineBlocks</code></li>
</ul>
`}}),he=new B({props:{name:"select_block",anchor:"diffusers.ConditionalPipelineBlocks.select_block",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ConditionalPipelineBlocks.select_block.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Trigger input names and their values from the state.",name:"*kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/modular_pipelines/modular_pipeline.py#L709",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>The name of the block to run, or None to use default/skip.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>
<p>str | None</p>
`}}),ke=new Wn({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/modular_diffusers/pipeline_blocks.md"}}),{c(){v=l("meta"),F=n(),I=l("p"),y=n(),c(L.$$.fragment),_=n(),c(A.$$.fragment),Ye=n(),c(Z.$$.fragment),Xe=n(),b=l("div"),c(z.$$.fragment),ht=n(),_e=l("p"),_e.textContent=on,kt=n(),$e=l("p"),$e.innerHTML=rn,_t=n(),R=l("blockquote"),R.innerHTML=an,$t=n(),E=l("div"),c(Y.$$.fragment),vt=n(),ve=l("p"),ve.textContent=cn,xt=n(),H=l("div"),c(X.$$.fragment),Pt=n(),xe=l("p"),xe.textContent=pn,wt=n(),N=l("div"),c(K.$$.fragment),Mt=n(),Pe=l("p"),Pe.innerHTML=dn,Ct=n(),J=l("div"),c(ee.$$.fragment),Bt=n(),we=l("p"),we.textContent=un,Ke=n(),c(te.$$.fragment),et=n(),x=l("div"),c(ne.$$.fragment),yt=n(),Me=l("p"),Me.textContent=fn,Lt=n(),Ce=l("p"),Ce.innerHTML=mn,Tt=n(),se=l("blockquote"),se.innerHTML=gn,qt=n(),V=l("div"),c(le.$$.fragment),jt=n(),Be=l("p"),Be.textContent=bn,At=n(),S=l("div"),c(ie.$$.fragment),It=n(),ye=l("p"),ye.textContent=hn,St=n(),Le=l("p"),Le.textContent=kn,tt=n(),c(oe.$$.fragment),nt=n(),C=l("div"),c(re.$$.fragment),Ut=n(),Te=l("p"),Te.textContent=_n,Dt=n(),qe=l("p"),qe.innerHTML=$n,Et=n(),ae=l("blockquote"),ae.innerHTML=vn,Ht=n(),G=l("div"),c(ce.$$.fragment),Nt=n(),je=l("p"),je.textContent=xn,st=n(),c(pe.$$.fragment),lt=n(),h=l("div"),c(de.$$.fragment),Jt=n(),Ae=l("p"),Ae.textContent=Pn,Vt=n(),Ie=l("p"),Ie.innerHTML=wn,Gt=n(),Se=l("ul"),Se.innerHTML=Mn,Qt=n(),c(Q.$$.fragment),Ot=n(),Ue=l("p"),Ue.textContent=Cn,Wt=n(),De=l("ul"),De.innerHTML=Bn,Ft=n(),O=l("div"),c(ue.$$.fragment),Zt=n(),Ee=l("p"),Ee.textContent=yn,it=n(),c(fe.$$.fragment),ot=n(),P=l("div"),c(me.$$.fragment),zt=n(),He=l("p"),He.innerHTML=Ln,Rt=n(),Ne=l("p"),Ne.innerHTML=Tn,Yt=n(),ge=l("blockquote"),ge.innerHTML=qn,Xt=n(),T=l("div"),c(be.$$.fragment),Kt=n(),Je=l("p"),Je.textContent=jn,en=n(),Ve=l("p"),Ve.textContent=An,tn=n(),Ge=l("ul"),Ge.innerHTML=In,nn=n(),U=l("div"),c(he.$$.fragment),sn=n(),Qe=l("p"),Qe.textContent=Sn,ln=n(),Oe=l("p"),Oe.innerHTML=Un,rt=n(),c(ke.$$.fragment),at=n(),ze=l("p"),this.h()},l(e){const r=Vn("svelte-u9bgzb",document.head);v=i(r,"META",{name:!0,content:!0}),r.forEach(o),F=s(e),I=i(e,"P",{}),w(I).forEach(o),y=s(e),p(L.$$.fragment,e),_=s(e),p(A.$$.fragment,e),Ye=s(e),p(Z.$$.fragment,e),Xe=s(e),b=i(e,"DIV",{class:!0});var $=w(b);p(z.$$.fragment,$),ht=s($),_e=i($,"P",{"data-svelte-h":!0}),a(_e)!=="svelte-1ycswam"&&(_e.textContent=on),kt=s($),$e=i($,"P",{"data-svelte-h":!0}),a($e)!=="svelte-jqvdug"&&($e.innerHTML=rn),_t=s($),R=i($,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),a(R)!=="svelte-1o9sbyc"&&(R.innerHTML=an),$t=s($),E=i($,"DIV",{class:!0});var pt=w(E);p(Y.$$.fragment,pt),vt=s(pt),ve=i(pt,"P",{"data-svelte-h":!0}),a(ve)!=="svelte-ns4rx6"&&(ve.textContent=cn),pt.forEach(o),xt=s($),H=i($,"DIV",{class:!0});var dt=w(H);p(X.$$.fragment,dt),Pt=s(dt),xe=i(dt,"P",{"data-svelte-h":!0}),a(xe)!=="svelte-1nf2dvy"&&(xe.textContent=pn),dt.forEach(o),wt=s($),N=i($,"DIV",{class:!0});var ut=w(N);p(K.$$.fragment,ut),Mt=s(ut),Pe=i(ut,"P",{"data-svelte-h":!0}),a(Pe)!=="svelte-2wlgcd"&&(Pe.innerHTML=dn),ut.forEach(o),Ct=s($),J=i($,"DIV",{class:!0});var ft=w(J);p(ee.$$.fragment,ft),Bt=s(ft),we=i(ft,"P",{"data-svelte-h":!0}),a(we)!=="svelte-1yo5cz6"&&(we.textContent=un),ft.forEach(o),$.forEach(o),Ke=s(e),p(te.$$.fragment,e),et=s(e),x=i(e,"DIV",{class:!0});var q=w(x);p(ne.$$.fragment,q),yt=s(q),Me=i(q,"P",{"data-svelte-h":!0}),a(Me)!=="svelte-h3uxr5"&&(Me.textContent=fn),Lt=s(q),Ce=i(q,"P",{"data-svelte-h":!0}),a(Ce)!=="svelte-1ttpb3e"&&(Ce.innerHTML=mn),Tt=s(q),se=i(q,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),a(se)!=="svelte-1o9sbyc"&&(se.innerHTML=gn),qt=s(q),V=i(q,"DIV",{class:!0});var mt=w(V);p(le.$$.fragment,mt),jt=s(mt),Be=i(mt,"P",{"data-svelte-h":!0}),a(Be)!=="svelte-xcg3si"&&(Be.textContent=bn),mt.forEach(o),At=s(q),S=i(q,"DIV",{class:!0});var We=w(S);p(ie.$$.fragment,We),It=s(We),ye=i(We,"P",{"data-svelte-h":!0}),a(ye)!=="svelte-1nx5f4z"&&(ye.textContent=hn),St=s(We),Le=i(We,"P",{"data-svelte-h":!0}),a(Le)!=="svelte-1kvq5bq"&&(Le.textContent=kn),We.forEach(o),q.forEach(o),tt=s(e),p(oe.$$.fragment,e),nt=s(e),C=i(e,"DIV",{class:!0});var D=w(C);p(re.$$.fragment,D),Ut=s(D),Te=i(D,"P",{"data-svelte-h":!0}),a(Te)!=="svelte-2g3rr3"&&(Te.textContent=_n),Dt=s(D),qe=i(D,"P",{"data-svelte-h":!0}),a(qe)!=="svelte-1ttpb3e"&&(qe.innerHTML=$n),Et=s(D),ae=i(D,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),a(ae)!=="svelte-1o9sbyc"&&(ae.innerHTML=vn),Ht=s(D),G=i(D,"DIV",{class:!0});var gt=w(G);p(ce.$$.fragment,gt),Nt=s(gt),je=i(gt,"P",{"data-svelte-h":!0}),a(je)!=="svelte-136wcu4"&&(je.textContent=xn),gt.forEach(o),D.forEach(o),st=s(e),p(pe.$$.fragment,e),lt=s(e),h=i(e,"DIV",{class:!0});var M=w(h);p(de.$$.fragment,M),Jt=s(M),Ae=i(M,"P",{"data-svelte-h":!0}),a(Ae)!=="svelte-bjnl0y"&&(Ae.textContent=Pn),Vt=s(M),Ie=i(M,"P",{"data-svelte-h":!0}),a(Ie)!=="svelte-8xsb2v"&&(Ie.innerHTML=wn),Gt=s(M),Se=i(M,"UL",{"data-svelte-h":!0}),a(Se)!=="svelte-yt4bdq"&&(Se.innerHTML=Mn),Qt=s(M),p(Q.$$.fragment,M),Ot=s(M),Ue=i(M,"P",{"data-svelte-h":!0}),a(Ue)!=="svelte-1u92wo1"&&(Ue.textContent=Cn),Wt=s(M),De=i(M,"UL",{"data-svelte-h":!0}),a(De)!=="svelte-hji6ht"&&(De.innerHTML=Bn),Ft=s(M),O=i(M,"DIV",{class:!0});var bt=w(O);p(ue.$$.fragment,bt),Zt=s(bt),Ee=i(bt,"P",{"data-svelte-h":!0}),a(Ee)!=="svelte-zbepm1"&&(Ee.textContent=yn),bt.forEach(o),M.forEach(o),it=s(e),p(fe.$$.fragment,e),ot=s(e),P=i(e,"DIV",{class:!0});var j=w(P);p(me.$$.fragment,j),zt=s(j),He=i(j,"P",{"data-svelte-h":!0}),a(He)!=="svelte-514b4x"&&(He.innerHTML=Ln),Rt=s(j),Ne=i(j,"P",{"data-svelte-h":!0}),a(Ne)!=="svelte-1ttpb3e"&&(Ne.innerHTML=Tn),Yt=s(j),ge=i(j,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),a(ge)!=="svelte-1o9sbyc"&&(ge.innerHTML=qn),Xt=s(j),T=i(j,"DIV",{class:!0});var W=w(T);p(be.$$.fragment,W),Kt=s(W),Je=i(W,"P",{"data-svelte-h":!0}),a(Je)!=="svelte-3lsdta"&&(Je.textContent=jn),en=s(W),Ve=i(W,"P",{"data-svelte-h":!0}),a(Ve)!=="svelte-1872ixj"&&(Ve.textContent=An),tn=s(W),Ge=i(W,"UL",{"data-svelte-h":!0}),a(Ge)!=="svelte-ctb27v"&&(Ge.innerHTML=In),W.forEach(o),nn=s(j),U=i(j,"DIV",{class:!0});var Fe=w(U);p(he.$$.fragment,Fe),sn=s(Fe),Qe=i(Fe,"P",{"data-svelte-h":!0}),a(Qe)!=="svelte-j2j2hx"&&(Qe.textContent=Sn),ln=s(Fe),Oe=i(Fe,"P",{"data-svelte-h":!0}),a(Oe)!=="svelte-gn19b"&&(Oe.innerHTML=Un),Fe.forEach(o),j.forEach(o),rt=s(e),p(ke.$$.fragment,e),at=s(e),ze=i(e,"P",{}),w(ze).forEach(o),this.h()},h(){k(v,"name","hf:doc:metadata"),k(v,"content",zn),k(R,"class","warning"),k(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(se,"class","warning"),k(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ae,"class","warning"),k(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(h,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(ge,"class","warning"),k(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),k(P,"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,r){t(document.head,v),g(e,F,r),g(e,I,r),g(e,y,r),d(L,e,r),g(e,_,r),d(A,e,r),g(e,Ye,r),d(Z,e,r),g(e,Xe,r),g(e,b,r),d(z,b,null),t(b,ht),t(b,_e),t(b,kt),t(b,$e),t(b,_t),t(b,R),t(b,$t),t(b,E),d(Y,E,null),t(E,vt),t(E,ve),t(b,xt),t(b,H),d(X,H,null),t(H,Pt),t(H,xe),t(b,wt),t(b,N),d(K,N,null),t(N,Mt),t(N,Pe),t(b,Ct),t(b,J),d(ee,J,null),t(J,Bt),t(J,we),g(e,Ke,r),d(te,e,r),g(e,et,r),g(e,x,r),d(ne,x,null),t(x,yt),t(x,Me),t(x,Lt),t(x,Ce),t(x,Tt),t(x,se),t(x,qt),t(x,V),d(le,V,null),t(V,jt),t(V,Be),t(x,At),t(x,S),d(ie,S,null),t(S,It),t(S,ye),t(S,St),t(S,Le),g(e,tt,r),d(oe,e,r),g(e,nt,r),g(e,C,r),d(re,C,null),t(C,Ut),t(C,Te),t(C,Dt),t(C,qe),t(C,Et),t(C,ae),t(C,Ht),t(C,G),d(ce,G,null),t(G,Nt),t(G,je),g(e,st,r),d(pe,e,r),g(e,lt,r),g(e,h,r),d(de,h,null),t(h,Jt),t(h,Ae),t(h,Vt),t(h,Ie),t(h,Gt),t(h,Se),t(h,Qt),d(Q,h,null),t(h,Ot),t(h,Ue),t(h,Wt),t(h,De),t(h,Ft),t(h,O),d(ue,O,null),t(O,Zt),t(O,Ee),g(e,it,r),d(fe,e,r),g(e,ot,r),g(e,P,r),d(me,P,null),t(P,zt),t(P,He),t(P,Rt),t(P,Ne),t(P,Yt),t(P,ge),t(P,Xt),t(P,T),d(be,T,null),t(T,Kt),t(T,Je),t(T,en),t(T,Ve),t(T,tn),t(T,Ge),t(P,nn),t(P,U),d(he,U,null),t(U,sn),t(U,Qe),t(U,ln),t(U,Oe),g(e,rt,r),d(ke,e,r),g(e,at,r),g(e,ze,r),ct=!0},p(e,[r]){const $={};r&2&&($.$$scope={dirty:r,ctx:e}),Q.$set($)},i(e){ct||(u(L.$$.fragment,e),u(A.$$.fragment,e),u(Z.$$.fragment,e),u(z.$$.fragment,e),u(Y.$$.fragment,e),u(X.$$.fragment,e),u(K.$$.fragment,e),u(ee.$$.fragment,e),u(te.$$.fragment,e),u(ne.$$.fragment,e),u(le.$$.fragment,e),u(ie.$$.fragment,e),u(oe.$$.fragment,e),u(re.$$.fragment,e),u(ce.$$.fragment,e),u(pe.$$.fragment,e),u(de.$$.fragment,e),u(Q.$$.fragment,e),u(ue.$$.fragment,e),u(fe.$$.fragment,e),u(me.$$.fragment,e),u(be.$$.fragment,e),u(he.$$.fragment,e),u(ke.$$.fragment,e),ct=!0)},o(e){f(L.$$.fragment,e),f(A.$$.fragment,e),f(Z.$$.fragment,e),f(z.$$.fragment,e),f(Y.$$.fragment,e),f(X.$$.fragment,e),f(K.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(ne.$$.fragment,e),f(le.$$.fragment,e),f(ie.$$.fragment,e),f(oe.$$.fragment,e),f(re.$$.fragment,e),f(ce.$$.fragment,e),f(pe.$$.fragment,e),f(de.$$.fragment,e),f(Q.$$.fragment,e),f(ue.$$.fragment,e),f(fe.$$.fragment,e),f(me.$$.fragment,e),f(be.$$.fragment,e),f(he.$$.fragment,e),f(ke.$$.fragment,e),ct=!1},d(e){e&&(o(F),o(I),o(y),o(_),o(Ye),o(Xe),o(b),o(Ke),o(et),o(x),o(tt),o(nt),o(C),o(st),o(lt),o(h),o(it),o(ot),o(P),o(rt),o(at),o(ze)),o(v),m(L,e),m(A,e),m(Z,e),m(z),m(Y),m(X),m(K),m(ee),m(te,e),m(ne),m(le),m(ie),m(oe,e),m(re),m(ce),m(pe,e),m(de),m(Q),m(ue),m(fe,e),m(me),m(be),m(he),m(ke,e)}}}const zn='{"title":"Pipeline blocks","local":"pipeline-blocks","sections":[{"title":"ModularPipelineBlocks","local":"diffusers.ModularPipelineBlocks","sections":[],"depth":2},{"title":"SequentialPipelineBlocks","local":"diffusers.SequentialPipelineBlocks","sections":[],"depth":2},{"title":"LoopSequentialPipelineBlocks","local":"diffusers.LoopSequentialPipelineBlocks","sections":[],"depth":2},{"title":"AutoPipelineBlocks","local":"diffusers.AutoPipelineBlocks","sections":[],"depth":2},{"title":"ConditionalPipelineBlocks","local":"diffusers.ConditionalPipelineBlocks","sections":[],"depth":2}],"depth":1}';function Rn(Re){return En(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ls extends Nn{constructor(v){super(),Jn(this,v,Rn,Zn,Dn,{})}}export{ls as component};

Xet Storage Details

Size:
29.8 kB
·
Xet hash:
cb93e6985c91936405335cc4be7b830b1d62d3dcb91d46285708340681d2c2af

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