import{s as It,o as Bt,n as Ae}from"../chunks/scheduler.8c3d61f6.js";import{S as $t,i as Ct,g as m,s as i,r as y,A as _t,h as u,f as l,c as n,j as jt,u as M,x as d,k as Gt,y as kt,a,v as h,d as w,t as J,w as b}from"../chunks/index.da70eac4.js";import{T as vt}from"../chunks/Tip.1d9b8c37.js";import{C as pe}from"../chunks/CodeBlock.a9c4becf.js";import{H as oe,E as Qt}from"../chunks/getInferenceSnippets.28ca3596.js";import{H as qt,a as Wt}from"../chunks/HfOption.6c3b4e77.js";function Yt(U){let s,c='Before you begin, make sure you have a Hugging Face <a href="https://huggingface.co/join" rel="nofollow">account</a> in order to use gated models like <a href="https://huggingface.co/black-forest-labs/FLUX.1-dev" rel="nofollow">Flux</a>.';return{c(){s=m("p"),s.innerHTML=c},l(r){s=u(r,"P",{"data-svelte-h":!0}),d(s)!=="svelte-83k6u8"&&(s.innerHTML=c)},m(r,f){a(r,s,f)},p:Ae,d(r){r&&l(s)}}}function Xt(U){let s,c="Use <code>.images[0]</code> to access the generated image output.",r,f,p;return f=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjJRd2VuJTJGUXdlbi1JbWFnZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYlMkMlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUwQSklMEElMEFwcm9tcHQlMjAlM0QlMjAlMjIlMjIlMjIlMEFjaW5lbWF0aWMlMjBmaWxtJTIwc3RpbGwlMjBvZiUyMGElMjBjYXQlMjBzaXBwaW5nJTIwYSUyMG1hcmdhcml0YSUyMGluJTIwYSUyMHBvb2wlMjBpbiUyMFBhbG0lMjBTcHJpbmdzJTJDJTIwQ2FsaWZvcm5pYSUwQWhpZ2hseSUyMGRldGFpbGVkJTJDJTIwaGlnaCUyMGJ1ZGdldCUyMGhvbGx5d29vZCUyMG1vdmllJTJDJTIwY2luZW1hc2NvcGUlMkMlMjBtb29keSUyQyUyMGVwaWMlMkMlMjBnb3JnZW91cyUyQyUyMGZpbG0lMjBncmFpbiUwQSUyMiUyMiUyMiUwQXBpcGVsaW5lKHByb21wdCkuaW1hZ2VzJTVCMCU1RA==",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Qwen/Qwen-Image&quot;</span>, torch_dtype=torch.bfloat16, device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)

prompt = <span class="hljs-string">&quot;&quot;&quot;
cinematic film still of a cat sipping a margarita in a pool in Palm Springs, California
highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain
&quot;&quot;&quot;</span>
pipeline(prompt).images[<span class="hljs-number">0</span>]`,wrap:!1}}),{c(){s=m("p"),s.innerHTML=c,r=i(),y(f.$$.fragment)},l(o){s=u(o,"P",{"data-svelte-h":!0}),d(s)!=="svelte-1spi3an"&&(s.innerHTML=c),r=n(o),M(f.$$.fragment,o)},m(o,T){a(o,s,T),a(o,r,T),h(f,o,T),p=!0},p:Ae,i(o){p||(w(f.$$.fragment,o),p=!0)},o(o){J(f.$$.fragment,o),p=!1},d(o){o&&(l(s),l(r)),b(f,o)}}}function Vt(U){let s,c='Use <code>.frames[0]</code> to access the generated video output and <a href="/docs/diffusers/main/en/api/utilities#diffusers.utils.export_to_video">export_to_video()</a> to save the video.',r,f,p;return f=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQXV0b2VuY29kZXJLTFdhbiUyQyUyMERpZmZ1c2lvblBpcGVsaW5lJTBBZnJvbSUyMGRpZmZ1c2Vycy5xdWFudGl6ZXJzJTIwaW1wb3J0JTIwUGlwZWxpbmVRdWFudGl6YXRpb25Db25maWclMEFmcm9tJTIwZGlmZnVzZXJzLnV0aWxzJTIwaW1wb3J0JTIwZXhwb3J0X3RvX3ZpZGVvJTBBJTBBdmFlJTIwJTNEJTIwQXV0b2VuY29kZXJLTFdhbi5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIyV2FuLUFJJTJGV2FuMi4yLVQyVi1BMTRCLURpZmZ1c2VycyUyMiUyQyUwQSUyMCUyMHN1YmZvbGRlciUzRCUyMnZhZSUyMiUyQyUwQSUyMCUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQzMiUwQSklMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjJXYW4tQUklMkZXYW4yLjItVDJWLUExNEItRGlmZnVzZXJzJTIyJTJDJTBBJTIwJTIwdmFlJTNEdmFlJTBBJTIwJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiUyQyUwQSUyMCUyMGRldmljZV9tYXAlM0QlMjJjdWRhJTIyJTBBKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMiUyMiUyMiUwQUNpbmVtYXRpYyUyMHZpZGVvJTIwb2YlMjBhJTIwc2xlZWslMjBjYXQlMjBsb3VuZ2luZyUyMG9uJTIwYSUyMGNvbG9yZnVsJTIwaW5mbGF0YWJsZSUyMGluJTIwYSUyMGNyeXN0YWwtY2xlYXIlMjB0dXJxdW9pc2UlMjBwb29sJTIwaW4lMjBQYWxtJTIwU3ByaW5ncyUyQyUyMCUwQXNpcHBpbmclMjBhJTIwc2FsdC1yaW1tZWQlMjBtYXJnYXJpdGElMjB0aHJvdWdoJTIwYSUyMHN0cmF3LiUyMEdvbGRlbi1ob3VyJTIwc3VubGlnaHQlMjBnbG93cyUyMG92ZXIlMjBtaWQtY2VudHVyeSUyMG1vZGVybiUyMGhvbWVzJTIwYW5kJTIwc3dheWluZyUyMHBhbG1zLiUyMCUwQVNob3QlMjBpbiUyMHJpY2glMjBTb255JTIwYTdTJTIwSUlJJTNBJTIwd2l0aCUyMG1vb2R5JTJDJTIwZ2xhbW9yb3VzJTIwY29sb3IlMjBncmFkaW5nJTJDJTIwc3VidGxlJTIwbGVucyUyMGZsYXJlcyUyQyUyMGFuZCUyMHNvZnQlMjB2aW50YWdlJTIwZmlsbSUyMGdyYWluLiUyMCUwQVJpcHBsZXMlMjBzaGltbWVyJTIwYXMlMjBhJTIwd2FybSUyMGRlc2VydCUyMGJyZWV6ZSUyMHN0aXJzJTIwdGhlJTIwd2F0ZXIlMkMlMjBibGVuZGluZyUyMGx1eHVyeSUyMGFuZCUyMHBsYXlmdWwlMjBjaGFybSUyMGluJTIwYW4lMjBlcGljJTJDJTIwZ29yZ2VvdXNseSUyMGNvbXBvc2VkJTIwZnJhbWUuJTBBJTIyJTIyJTIyJTBBdmlkZW8lMjAlM0QlMjBwaXBlbGluZShwcm9tcHQlM0Rwcm9tcHQlMkMlMjBudW1fZnJhbWVzJTNEODElMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNENDApLmZyYW1lcyU1QjAlNUQlMEFleHBvcnRfdG9fdmlkZW8odmlkZW8lMkMlMjAlMjJvdXRwdXQubXA0JTIyJTJDJTIwZnBzJTNEMTYp",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoencoderKLWan, DiffusionPipeline
<span class="hljs-keyword">from</span> diffusers.quantizers <span class="hljs-keyword">import</span> PipelineQuantizationConfig
<span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video

vae = AutoencoderKLWan.from_pretrained(
  <span class="hljs-string">&quot;Wan-AI/Wan2.2-T2V-A14B-Diffusers&quot;</span>,
  subfolder=<span class="hljs-string">&quot;vae&quot;</span>,
  torch_dtype=torch.float32
)
pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Wan-AI/Wan2.2-T2V-A14B-Diffusers&quot;</span>,
  vae=vae
  torch_dtype=torch.bfloat16,
  device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)

prompt = <span class="hljs-string">&quot;&quot;&quot;
Cinematic video of a sleek cat lounging on a colorful inflatable in a crystal-clear turquoise pool in Palm Springs, 
sipping a salt-rimmed margarita through a straw. Golden-hour sunlight glows over mid-century modern homes and swaying palms. 
Shot in rich Sony a7S III: with moody, glamorous color grading, subtle lens flares, and soft vintage film grain. 
Ripples shimmer as a warm desert breeze stirs the water, blending luxury and playful charm in an epic, gorgeously composed frame.
&quot;&quot;&quot;</span>
video = pipeline(prompt=prompt, num_frames=<span class="hljs-number">81</span>, num_inference_steps=<span class="hljs-number">40</span>).frames[<span class="hljs-number">0</span>]
export_to_video(video, <span class="hljs-string">&quot;output.mp4&quot;</span>, fps=<span class="hljs-number">16</span>)`,wrap:!1}}),{c(){s=m("p"),s.innerHTML=c,r=i(),y(f.$$.fragment)},l(o){s=u(o,"P",{"data-svelte-h":!0}),d(s)!=="svelte-u41lat"&&(s.innerHTML=c),r=n(o),M(f.$$.fragment,o)},m(o,T){a(o,s,T),a(o,r,T),h(f,o,T),p=!0},p:Ae,i(o){p||(w(f.$$.fragment,o),p=!0)},o(o){J(f.$$.fragment,o),p=!1},d(o){o&&(l(s),l(r)),b(f,o)}}}function zt(U){let s,c,r,f;return s=new Wt({props:{id:"diffusionpipeline",option:"text-to-image",$$slots:{default:[Xt]},$$scope:{ctx:U}}}),r=new Wt({props:{id:"diffusionpipeline",option:"text-to-video",$$slots:{default:[Vt]},$$scope:{ctx:U}}}),{c(){y(s.$$.fragment),c=i(),y(r.$$.fragment)},l(p){M(s.$$.fragment,p),c=n(p),M(r.$$.fragment,p)},m(p,o){h(s,p,o),a(p,c,o),h(r,p,o),f=!0},p(p,o){const T={};o&2&&(T.$$scope={dirty:o,ctx:p}),s.$set(T);const re={};o&2&&(re.$$scope={dirty:o,ctx:p}),r.$set(re)},i(p){f||(w(s.$$.fragment,p),w(r.$$.fragment,p),f=!0)},o(p){J(s.$$.fragment,p),J(r.$$.fragment,p),f=!1},d(p){p&&l(c),b(s,p),b(r,p)}}}function xt(U){let s,c='Optimization is dependent on hardware specs such as memory. Use this <a href="https://huggingface.co/spaces/diffusers/optimized-diffusers-code" rel="nofollow">Space</a> to generate code examples that include all of Diffusers’ available memory and speed optimization techniques for any model you’re using.';return{c(){s=m("p"),s.innerHTML=c},l(r){s=u(r,"P",{"data-svelte-h":!0}),d(s)!=="svelte-159d0jw"&&(s.innerHTML=c)},m(r,f){a(r,s,f)},p:Ae,d(r){r&&l(s)}}}function Ft(U){let s,c,r,f,p,o,T,re="Diffusers is a library for developers and researchers that provides an easy inference API for generating images, videos and audio, as well as the building blocks for implementing new workflows.",ue,G,Ke="Diffusers provides many optimizations out-of-the-box that makes it possible to load and run large models on setups with limited memory or to accelerate inference.",fe,v,Oe="This Quickstart will give you an overview of Diffusers and get you up and generating quickly.",de,g,ce,W,et='Follow the <a href="./installation">Installation</a> guide to install Diffusers if it’s not already installed.',ye,I,Me,B,tt="A diffusion model combines multiple components to generate outputs in any modality based on an input, such as a text description, image or both.",he,$,lt="For a standard text-to-image model:",we,C,at="<li><p>A text encoder turns a prompt into embeddings that guide the denoising process. Some models have more than one text encoder.</p></li> <li><p>A scheduler contains the algorithmic specifics for gradually denoising initial random noise into clean outputs. Different schedulers affect generation speed and quality.</p></li> <li><p>A UNet or diffusion transformer (DiT) is the workhorse of a diffusion model.</p> <p>At each step, it performs the denoising predictions, such as how much noise to remove or the general direction in which to steer the noise to generate better quality outputs.</p> <p>The UNet or DiT repeats this loop for a set amount of steps to generate the final output.</p></li> <li><p>A variational autoencoder (VAE) encodes and decodes pixels to a spatially compressed latent-space. <em>Latents</em> are compressed representations of an image and are more efficient to work with. The UNet or DiT operates on latents, and the clean latents at the end are decoded back into images.</p></li>",Je,_,st='The <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a> packages all these components into a single class for inference. There are several arguments in <code>__call__()</code> you can change, such as <code>num_inference_steps</code>, that affect the diffusion process. Try different values and arguments to see how they change generation quality or speed.',be,k,it='Load a model with <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline.from_pretrained">from_pretrained()</a> and describe what you’d like to generate. The example below uses the default argument values.',Te,Z,Ue,Q,ge,q,nt='Adapters insert a small number of trainable parameters to the original base model. Only the inserted parameters are fine-tuned while the rest of the model weights remain frozen. This makes it fast and cheap to fine-tune a model on a new style. Among adapters, <a href="./tutorials/using_peft_for_inference">LoRA’s</a> are the most popular.',Ze,Y,ot='Add a LoRA to a pipeline with the <a href="/docs/diffusers/main/en/api/loaders/lora#diffusers.loaders.QwenImageLoraLoaderMixin.load_lora_weights">load_lora_weights()</a> method. Some LoRA’s require a special word to trigger it, such as <code>Realism</code>, in the example below. Check a LoRA’s model card to see if it requires a trigger word.',je,X,Ge,V,pt='Check out the <a href="./tutorials/using_peft_for_inference">LoRA</a> docs or Adapters section to learn more.',ve,z,We,x,rt='<a href="./quantization/overview">Quantization</a> stores data in fewer bits to reduce memory usage. It may also speed up inference because it takes less time to perform calculations with fewer bits.',Ie,F,mt='Diffusers provides several quantization backends and picking one depends on your use case. For example, <a href="./quantization/bitsandbytes">bitsandbytes</a> and <a href="./quantization/torchao">torchao</a> are both simple and easy to use for inference, but torchao supports more <a href="./quantization/torchao#supported-quantization-types">quantization types</a> like fp8.',Be,H,ut='Configure <a href="/docs/diffusers/main/en/api/quantization#diffusers.PipelineQuantizationConfig">PipelineQuantizationConfig</a> with the backend to use, the specific arguments (refer to the <a href="./api/quantization">API</a> reference for available arguments) for that backend, and which components to quantize. The example below quantizes the model to 4-bits and only uses 14.93GB of memory.',$e,S,Ce,R,ft='Take a look at the <a href="./quantization/overview">Quantization</a> section for more details.',_e,E,ke,j,Qe,N,dt="Modern diffusion models are very large and have billions of parameters. The iterative denoising process is also computationally intensive and slow. Diffusers provides techniques for reducing memory usage and boosting inference speed. These techniques can be combined with quantization to optimize for both memory usage and inference speed.",qe,L,Ye,P,ct="The text encoders and UNet or DiT can use up as much as ~30GB of memory, exceeding the amount available on many free-tier or consumer GPUs.",Xe,D,yt='Offloading stores weights that aren’t currently used on the CPU and only moves them to the GPU when they’re needed. There are a few offloading types and the example below uses <a href="./optimization/memory#model-offloading">model offloading</a>. This moves an entire model, like a text encoder or transformer, to the CPU when it isn’t actively being used.',Ve,A,Mt='Call <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline.enable_model_cpu_offload">enable_model_cpu_offload()</a> to activate it. By combining quantization and offloading, the following example only requires ~12.54GB of memory.',ze,K,xe,O,ht='Refer to the <a href="./optimization/memory">Reduce memory usage</a> docs to learn more about other memory reducing techniques.',Fe,ee,He,te,wt='The denoising loop performs a lot of computations and can be slow. Methods like <a href="./optimization/fp16#torchcompile">torch.compile</a> increases inference speed by compiling the computations into an optimized kernel. Compilation is slow for the first generation but successive generations should be much faster.',Se,le,Jt='The example below uses <a href="./optimization/fp16#regional-compilation">regional compilation</a> to only compile small regions of a model. It reduces cold-start latency while also providing a runtime speed up.',Re,ae,bt='Call <a href="/docs/diffusers/main/en/api/models/overview#diffusers.ModelMixin.compile_repeated_blocks">compile_repeated_blocks()</a> on the model to activate it.',Ee,se,Ne,ie,Tt='Check out the <a href="./optimization/fp16">Accelerate inference</a> or <a href="./optimization/cache">Caching</a> docs for more methods that speed up inference.',Le,ne,Pe,me,De;return p=new oe({props:{title:"Quickstart",local:"quickstart",headingTag:"h1"}}),g=new vt({props:{warning:!1,$$slots:{default:[Yt]},$$scope:{ctx:U}}}),I=new oe({props:{title:"DiffusionPipeline",local:"diffusionpipeline",headingTag:"h2"}}),Z=new qt({props:{id:"diffusionpipeline",options:["text-to-image","text-to-video"],$$slots:{default:[zt]},$$scope:{ctx:U}}}),Q=new oe({props:{title:"LoRA",local:"lora",headingTag:"h2"}}),X=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjJRd2VuJTJGUXdlbi1JbWFnZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYlMkMlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUwQSklMEFwaXBlbGluZS5sb2FkX2xvcmFfd2VpZ2h0cyglMEElMjAlMjAlMjJmbHlteS1haSUyRnF3ZW4taW1hZ2UtcmVhbGlzbS1sb3JhJTIyJTJDJTBBKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMiUyMiUyMiUwQXN1cGVyJTIwUmVhbGlzbSUyMGNpbmVtYXRpYyUyMGZpbG0lMjBzdGlsbCUyMG9mJTIwYSUyMGNhdCUyMHNpcHBpbmclMjBhJTIwbWFyZ2FyaXRhJTIwaW4lMjBhJTIwcG9vbCUyMGluJTIwUGFsbSUyMFNwcmluZ3MlMjBpbiUyMHRoZSUyMHN0eWxlJTIwb2YlMjB1bWVtcGFydCUyQyUyMENhbGlmb3JuaWElMEFoaWdobHklMjBkZXRhaWxlZCUyQyUyMGhpZ2glMjBidWRnZXQlMjBob2xseXdvb2QlMjBtb3ZpZSUyQyUyMGNpbmVtYXNjb3BlJTJDJTIwbW9vZHklMkMlMjBlcGljJTJDJTIwZ29yZ2VvdXMlMkMlMjBmaWxtJTIwZ3JhaW4lMEElMjIlMjIlMjIlMEFwaXBlbGluZShwcm9tcHQpLmltYWdlcyU1QjAlNUQ=",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Qwen/Qwen-Image&quot;</span>, torch_dtype=torch.bfloat16, device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)
pipeline.load_lora_weights(
  <span class="hljs-string">&quot;flymy-ai/qwen-image-realism-lora&quot;</span>,
)

prompt = <span class="hljs-string">&quot;&quot;&quot;
super Realism cinematic film still of a cat sipping a margarita in a pool in Palm Springs in the style of umempart, California
highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain
&quot;&quot;&quot;</span>
pipeline(prompt).images[<span class="hljs-number">0</span>]`,wrap:!1}}),z=new oe({props:{title:"Quantization",local:"quantization",headingTag:"h2"}}),S=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLnF1YW50aXplcnMlMjBpbXBvcnQlMjBQaXBlbGluZVF1YW50aXphdGlvbkNvbmZpZyUwQSUwQXF1YW50X2NvbmZpZyUyMCUzRCUyMFBpcGVsaW5lUXVhbnRpemF0aW9uQ29uZmlnKCUwQSUyMCUyMHF1YW50X2JhY2tlbmQlM0QlMjJiaXRzYW5kYnl0ZXNfNGJpdCUyMiUyQyUwQSUyMCUyMHF1YW50X2t3YXJncyUzRCU3QiUyMmxvYWRfaW5fNGJpdCUyMiUzQSUyMFRydWUlMkMlMjAlMjJibmJfNGJpdF9xdWFudF90eXBlJTIyJTNBJTIwJTIybmY0JTIyJTJDJTIwJTIyYm5iXzRiaXRfY29tcHV0ZV9kdHlwZSUyMiUzQSUyMHRvcmNoLmJmbG9hdDE2JTdEJTJDJTBBJTIwJTIwY29tcG9uZW50c190b19xdWFudGl6ZSUzRCU1QiUyMnRyYW5zZm9ybWVyJTIyJTJDJTIwJTIydGV4dF9lbmNvZGVyJTIyJTVEJTJDJTBBKSUwQXBpcGVsaW5lJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMlF3ZW4lMkZRd2VuLUltYWdlJTIyJTJDJTBBJTIwJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiUyQyUwQSUyMCUyMHF1YW50aXphdGlvbl9jb25maWclM0RxdWFudF9jb25maWclMkMlMEElMjAlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUwQSklMEElMEFwcm9tcHQlMjAlM0QlMjAlMjIlMjIlMjIlMEFjaW5lbWF0aWMlMjBmaWxtJTIwc3RpbGwlMjBvZiUyMGElMjBjYXQlMjBzaXBwaW5nJTIwYSUyMG1hcmdhcml0YSUyMGluJTIwYSUyMHBvb2wlMjBpbiUyMFBhbG0lMjBTcHJpbmdzJTJDJTIwQ2FsaWZvcm5pYSUwQWhpZ2hseSUyMGRldGFpbGVkJTJDJTIwaGlnaCUyMGJ1ZGdldCUyMGhvbGx5d29vZCUyMG1vdmllJTJDJTIwY2luZW1hc2NvcGUlMkMlMjBtb29keSUyQyUyMGVwaWMlMkMlMjBnb3JnZW91cyUyQyUyMGZpbG0lMjBncmFpbiUwQSUyMiUyMiUyMiUwQXBpcGVsaW5lKHByb21wdCkuaW1hZ2VzJTVCMCU1RCUwQXByaW50KGYlMjJNYXglMjBtZW1vcnklMjByZXNlcnZlZCUzQSUyMCU3QnRvcmNoLmN1ZGEubWF4X21lbW9yeV9hbGxvY2F0ZWQoKSUyMCUyRiUyMDEwMjQqKjMlM0EuMmYlN0QlMjBHQiUyMik=",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">from</span> diffusers.quantizers <span class="hljs-keyword">import</span> PipelineQuantizationConfig

quant_config = PipelineQuantizationConfig(
  quant_backend=<span class="hljs-string">&quot;bitsandbytes_4bit&quot;</span>,
  quant_kwargs={<span class="hljs-string">&quot;load_in_4bit&quot;</span>: <span class="hljs-literal">True</span>, <span class="hljs-string">&quot;bnb_4bit_quant_type&quot;</span>: <span class="hljs-string">&quot;nf4&quot;</span>, <span class="hljs-string">&quot;bnb_4bit_compute_dtype&quot;</span>: torch.bfloat16},
  components_to_quantize=[<span class="hljs-string">&quot;transformer&quot;</span>, <span class="hljs-string">&quot;text_encoder&quot;</span>],
)
pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Qwen/Qwen-Image&quot;</span>,
  torch_dtype=torch.bfloat16,
  quantization_config=quant_config,
  device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)

prompt = <span class="hljs-string">&quot;&quot;&quot;
cinematic film still of a cat sipping a margarita in a pool in Palm Springs, California
highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain
&quot;&quot;&quot;</span>
pipeline(prompt).images[<span class="hljs-number">0</span>]
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Max memory reserved: <span class="hljs-subst">{torch.cuda.max_memory_allocated() / <span class="hljs-number">1024</span>**<span class="hljs-number">3</span>:<span class="hljs-number">.2</span>f}</span> GB&quot;</span>)`,wrap:!1}}),E=new oe({props:{title:"Optimizations",local:"optimizations",headingTag:"h2"}}),j=new vt({props:{warning:!1,$$slots:{default:[xt]},$$scope:{ctx:U}}}),L=new oe({props:{title:"Memory usage",local:"memory-usage",headingTag:"h3"}}),K=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLnF1YW50aXplcnMlMjBpbXBvcnQlMjBQaXBlbGluZVF1YW50aXphdGlvbkNvbmZpZyUwQSUwQXF1YW50X2NvbmZpZyUyMCUzRCUyMFBpcGVsaW5lUXVhbnRpemF0aW9uQ29uZmlnKCUwQSUyMCUyMHF1YW50X2JhY2tlbmQlM0QlMjJiaXRzYW5kYnl0ZXNfNGJpdCUyMiUyQyUwQSUyMCUyMHF1YW50X2t3YXJncyUzRCU3QiUyMmxvYWRfaW5fNGJpdCUyMiUzQSUyMFRydWUlMkMlMjAlMjJibmJfNGJpdF9xdWFudF90eXBlJTIyJTNBJTIwJTIybmY0JTIyJTJDJTIwJTIyYm5iXzRiaXRfY29tcHV0ZV9kdHlwZSUyMiUzQSUyMHRvcmNoLmJmbG9hdDE2JTdEJTJDJTBBJTIwJTIwY29tcG9uZW50c190b19xdWFudGl6ZSUzRCU1QiUyMnRyYW5zZm9ybWVyJTIyJTJDJTIwJTIydGV4dF9lbmNvZGVyJTIyJTVEJTJDJTBBKSUwQXBpcGVsaW5lJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMlF3ZW4lMkZRd2VuLUltYWdlJTIyJTJDJTBBJTIwJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiUyQyUwQSUyMCUyMHF1YW50aXphdGlvbl9jb25maWclM0RxdWFudF9jb25maWclMkMlMEElMjAlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUwQSklMEFwaXBlbGluZS5lbmFibGVfbW9kZWxfY3B1X29mZmxvYWQoKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMiUyMiUyMiUwQWNpbmVtYXRpYyUyMGZpbG0lMjBzdGlsbCUyMG9mJTIwYSUyMGNhdCUyMHNpcHBpbmclMjBhJTIwbWFyZ2FyaXRhJTIwaW4lMjBhJTIwcG9vbCUyMGluJTIwUGFsbSUyMFNwcmluZ3MlMkMlMjBDYWxpZm9ybmlhJTBBaGlnaGx5JTIwZGV0YWlsZWQlMkMlMjBoaWdoJTIwYnVkZ2V0JTIwaG9sbHl3b29kJTIwbW92aWUlMkMlMjBjaW5lbWFzY29wZSUyQyUyMG1vb2R5JTJDJTIwZXBpYyUyQyUyMGdvcmdlb3VzJTJDJTIwZmlsbSUyMGdyYWluJTBBJTIyJTIyJTIyJTBBcGlwZWxpbmUocHJvbXB0KS5pbWFnZXMlNUIwJTVEJTBBcHJpbnQoZiUyMk1heCUyMG1lbW9yeSUyMHJlc2VydmVkJTNBJTIwJTdCdG9yY2guY3VkYS5tYXhfbWVtb3J5X2FsbG9jYXRlZCgpJTIwJTJGJTIwMTAyNCoqMyUzQS4yZiU3RCUyMEdCJTIyKQ==",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">from</span> diffusers.quantizers <span class="hljs-keyword">import</span> PipelineQuantizationConfig

quant_config = PipelineQuantizationConfig(
  quant_backend=<span class="hljs-string">&quot;bitsandbytes_4bit&quot;</span>,
  quant_kwargs={<span class="hljs-string">&quot;load_in_4bit&quot;</span>: <span class="hljs-literal">True</span>, <span class="hljs-string">&quot;bnb_4bit_quant_type&quot;</span>: <span class="hljs-string">&quot;nf4&quot;</span>, <span class="hljs-string">&quot;bnb_4bit_compute_dtype&quot;</span>: torch.bfloat16},
  components_to_quantize=[<span class="hljs-string">&quot;transformer&quot;</span>, <span class="hljs-string">&quot;text_encoder&quot;</span>],
)
pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Qwen/Qwen-Image&quot;</span>,
  torch_dtype=torch.bfloat16,
  quantization_config=quant_config,
  device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)
pipeline.enable_model_cpu_offload()

prompt = <span class="hljs-string">&quot;&quot;&quot;
cinematic film still of a cat sipping a margarita in a pool in Palm Springs, California
highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain
&quot;&quot;&quot;</span>
pipeline(prompt).images[<span class="hljs-number">0</span>]
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Max memory reserved: <span class="hljs-subst">{torch.cuda.max_memory_allocated() / <span class="hljs-number">1024</span>**<span class="hljs-number">3</span>:<span class="hljs-number">.2</span>f}</span> GB&quot;</span>)`,wrap:!1}}),ee=new oe({props:{title:"Inference speed",local:"inference-speed",headingTag:"h3"}}),se=new pe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjJRd2VuJTJGUXdlbi1JbWFnZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYlMkMlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUwQSklMEElMEFwaXBlbGluZS50cmFuc2Zvcm1lci5jb21waWxlX3JlcGVhdGVkX2Jsb2NrcyglMEElMjAlMjAlMjAlMjBmdWxsZ3JhcGglM0RUcnVlJTJDJTBBKSUwQXByb21wdCUyMCUzRCUyMCUyMiUyMiUyMiUwQWNpbmVtYXRpYyUyMGZpbG0lMjBzdGlsbCUyMG9mJTIwYSUyMGNhdCUyMHNpcHBpbmclMjBhJTIwbWFyZ2FyaXRhJTIwaW4lMjBhJTIwcG9vbCUyMGluJTIwUGFsbSUyMFNwcmluZ3MlMkMlMjBDYWxpZm9ybmlhJTBBaGlnaGx5JTIwZGV0YWlsZWQlMkMlMjBoaWdoJTIwYnVkZ2V0JTIwaG9sbHl3b29kJTIwbW92aWUlMkMlMjBjaW5lbWFzY29wZSUyQyUyMG1vb2R5JTJDJTIwZXBpYyUyQyUyMGdvcmdlb3VzJTJDJTIwZmlsbSUyMGdyYWluJTBBJTIyJTIyJTIyJTBBcGlwZWxpbmUocHJvbXB0KS5pbWFnZXMlNUIwJTVE",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
  <span class="hljs-string">&quot;Qwen/Qwen-Image&quot;</span>, torch_dtype=torch.bfloat16, device_map=<span class="hljs-string">&quot;cuda&quot;</span>
)

pipeline.transformer.compile_repeated_blocks(
    fullgraph=<span class="hljs-literal">True</span>,
)
prompt = <span class="hljs-string">&quot;&quot;&quot;
cinematic film still of a cat sipping a margarita in a pool in Palm Springs, California
highly detailed, high budget hollywood movie, cinemascope, moody, epic, gorgeous, film grain
&quot;&quot;&quot;</span>
pipeline(prompt).images[<span class="hljs-number">0</span>]`,wrap:!1}}),ne=new Qt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/quicktour.md"}}),{c(){s=m("meta"),c=i(),r=m("p"),f=i(),y(p.$$.fragment),o=i(),T=m("p"),T.textContent=re,ue=i(),G=m("p"),G.textContent=Ke,fe=i(),v=m("p"),v.textContent=Oe,de=i(),y(g.$$.fragment),ce=i(),W=m("p"),W.innerHTML=et,ye=i(),y(I.$$.fragment),Me=i(),B=m("p"),B.textContent=tt,he=i(),$=m("p"),$.textContent=lt,we=i(),C=m("ol"),C.innerHTML=at,Je=i(),_=m("p"),_.innerHTML=st,be=i(),k=m("p"),k.innerHTML=it,Te=i(),y(Z.$$.fragment),Ue=i(),y(Q.$$.fragment),ge=i(),q=m("p"),q.innerHTML=nt,Ze=i(),Y=m("p"),Y.innerHTML=ot,je=i(),y(X.$$.fragment),Ge=i(),V=m("p"),V.innerHTML=pt,ve=i(),y(z.$$.fragment),We=i(),x=m("p"),x.innerHTML=rt,Ie=i(),F=m("p"),F.innerHTML=mt,Be=i(),H=m("p"),H.innerHTML=ut,$e=i(),y(S.$$.fragment),Ce=i(),R=m("p"),R.innerHTML=ft,_e=i(),y(E.$$.fragment),ke=i(),y(j.$$.fragment),Qe=i(),N=m("p"),N.textContent=dt,qe=i(),y(L.$$.fragment),Ye=i(),P=m("p"),P.textContent=ct,Xe=i(),D=m("p"),D.innerHTML=yt,Ve=i(),A=m("p"),A.innerHTML=Mt,ze=i(),y(K.$$.fragment),xe=i(),O=m("p"),O.innerHTML=ht,Fe=i(),y(ee.$$.fragment),He=i(),te=m("p"),te.innerHTML=wt,Se=i(),le=m("p"),le.innerHTML=Jt,Re=i(),ae=m("p"),ae.innerHTML=bt,Ee=i(),y(se.$$.fragment),Ne=i(),ie=m("p"),ie.innerHTML=Tt,Le=i(),y(ne.$$.fragment),Pe=i(),me=m("p"),this.h()},l(e){const t=_t("svelte-u9bgzb",document.head);s=u(t,"META",{name:!0,content:!0}),t.forEach(l),c=n(e),r=u(e,"P",{}),jt(r).forEach(l),f=n(e),M(p.$$.fragment,e),o=n(e),T=u(e,"P",{"data-svelte-h":!0}),d(T)!=="svelte-56xior"&&(T.textContent=re),ue=n(e),G=u(e,"P",{"data-svelte-h":!0}),d(G)!=="svelte-st2d2w"&&(G.textContent=Ke),fe=n(e),v=u(e,"P",{"data-svelte-h":!0}),d(v)!=="svelte-ty6z9h"&&(v.textContent=Oe),de=n(e),M(g.$$.fragment,e),ce=n(e),W=u(e,"P",{"data-svelte-h":!0}),d(W)!=="svelte-1mbmwu"&&(W.innerHTML=et),ye=n(e),M(I.$$.fragment,e),Me=n(e),B=u(e,"P",{"data-svelte-h":!0}),d(B)!=="svelte-1uey2wy"&&(B.textContent=tt),he=n(e),$=u(e,"P",{"data-svelte-h":!0}),d($)!=="svelte-1p4ihn"&&($.textContent=lt),we=n(e),C=u(e,"OL",{"data-svelte-h":!0}),d(C)!=="svelte-107s2nd"&&(C.innerHTML=at),Je=n(e),_=u(e,"P",{"data-svelte-h":!0}),d(_)!=="svelte-1qjx1u4"&&(_.innerHTML=st),be=n(e),k=u(e,"P",{"data-svelte-h":!0}),d(k)!=="svelte-10q00fi"&&(k.innerHTML=it),Te=n(e),M(Z.$$.fragment,e),Ue=n(e),M(Q.$$.fragment,e),ge=n(e),q=u(e,"P",{"data-svelte-h":!0}),d(q)!=="svelte-jua4gq"&&(q.innerHTML=nt),Ze=n(e),Y=u(e,"P",{"data-svelte-h":!0}),d(Y)!=="svelte-1hfi3jb"&&(Y.innerHTML=ot),je=n(e),M(X.$$.fragment,e),Ge=n(e),V=u(e,"P",{"data-svelte-h":!0}),d(V)!=="svelte-1ghzmtu"&&(V.innerHTML=pt),ve=n(e),M(z.$$.fragment,e),We=n(e),x=u(e,"P",{"data-svelte-h":!0}),d(x)!=="svelte-ba18t5"&&(x.innerHTML=rt),Ie=n(e),F=u(e,"P",{"data-svelte-h":!0}),d(F)!=="svelte-hvktkn"&&(F.innerHTML=mt),Be=n(e),H=u(e,"P",{"data-svelte-h":!0}),d(H)!=="svelte-1kz2xjb"&&(H.innerHTML=ut),$e=n(e),M(S.$$.fragment,e),Ce=n(e),R=u(e,"P",{"data-svelte-h":!0}),d(R)!=="svelte-lj8jhg"&&(R.innerHTML=ft),_e=n(e),M(E.$$.fragment,e),ke=n(e),M(j.$$.fragment,e),Qe=n(e),N=u(e,"P",{"data-svelte-h":!0}),d(N)!=="svelte-17bpo15"&&(N.textContent=dt),qe=n(e),M(L.$$.fragment,e),Ye=n(e),P=u(e,"P",{"data-svelte-h":!0}),d(P)!=="svelte-1bcil2"&&(P.textContent=ct),Xe=n(e),D=u(e,"P",{"data-svelte-h":!0}),d(D)!=="svelte-1udfe87"&&(D.innerHTML=yt),Ve=n(e),A=u(e,"P",{"data-svelte-h":!0}),d(A)!=="svelte-15somwy"&&(A.innerHTML=Mt),ze=n(e),M(K.$$.fragment,e),xe=n(e),O=u(e,"P",{"data-svelte-h":!0}),d(O)!=="svelte-ad4p4e"&&(O.innerHTML=ht),Fe=n(e),M(ee.$$.fragment,e),He=n(e),te=u(e,"P",{"data-svelte-h":!0}),d(te)!=="svelte-1cvq90h"&&(te.innerHTML=wt),Se=n(e),le=u(e,"P",{"data-svelte-h":!0}),d(le)!=="svelte-1teo5ea"&&(le.innerHTML=Jt),Re=n(e),ae=u(e,"P",{"data-svelte-h":!0}),d(ae)!=="svelte-17t31gw"&&(ae.innerHTML=bt),Ee=n(e),M(se.$$.fragment,e),Ne=n(e),ie=u(e,"P",{"data-svelte-h":!0}),d(ie)!=="svelte-1f7t84p"&&(ie.innerHTML=Tt),Le=n(e),M(ne.$$.fragment,e),Pe=n(e),me=u(e,"P",{}),jt(me).forEach(l),this.h()},h(){Gt(s,"name","hf:doc:metadata"),Gt(s,"content",Ht)},m(e,t){kt(document.head,s),a(e,c,t),a(e,r,t),a(e,f,t),h(p,e,t),a(e,o,t),a(e,T,t),a(e,ue,t),a(e,G,t),a(e,fe,t),a(e,v,t),a(e,de,t),h(g,e,t),a(e,ce,t),a(e,W,t),a(e,ye,t),h(I,e,t),a(e,Me,t),a(e,B,t),a(e,he,t),a(e,$,t),a(e,we,t),a(e,C,t),a(e,Je,t),a(e,_,t),a(e,be,t),a(e,k,t),a(e,Te,t),h(Z,e,t),a(e,Ue,t),h(Q,e,t),a(e,ge,t),a(e,q,t),a(e,Ze,t),a(e,Y,t),a(e,je,t),h(X,e,t),a(e,Ge,t),a(e,V,t),a(e,ve,t),h(z,e,t),a(e,We,t),a(e,x,t),a(e,Ie,t),a(e,F,t),a(e,Be,t),a(e,H,t),a(e,$e,t),h(S,e,t),a(e,Ce,t),a(e,R,t),a(e,_e,t),h(E,e,t),a(e,ke,t),h(j,e,t),a(e,Qe,t),a(e,N,t),a(e,qe,t),h(L,e,t),a(e,Ye,t),a(e,P,t),a(e,Xe,t),a(e,D,t),a(e,Ve,t),a(e,A,t),a(e,ze,t),h(K,e,t),a(e,xe,t),a(e,O,t),a(e,Fe,t),h(ee,e,t),a(e,He,t),a(e,te,t),a(e,Se,t),a(e,le,t),a(e,Re,t),a(e,ae,t),a(e,Ee,t),h(se,e,t),a(e,Ne,t),a(e,ie,t),a(e,Le,t),h(ne,e,t),a(e,Pe,t),a(e,me,t),De=!0},p(e,[t]){const Ut={};t&2&&(Ut.$$scope={dirty:t,ctx:e}),g.$set(Ut);const gt={};t&2&&(gt.$$scope={dirty:t,ctx:e}),Z.$set(gt);const Zt={};t&2&&(Zt.$$scope={dirty:t,ctx:e}),j.$set(Zt)},i(e){De||(w(p.$$.fragment,e),w(g.$$.fragment,e),w(I.$$.fragment,e),w(Z.$$.fragment,e),w(Q.$$.fragment,e),w(X.$$.fragment,e),w(z.$$.fragment,e),w(S.$$.fragment,e),w(E.$$.fragment,e),w(j.$$.fragment,e),w(L.$$.fragment,e),w(K.$$.fragment,e),w(ee.$$.fragment,e),w(se.$$.fragment,e),w(ne.$$.fragment,e),De=!0)},o(e){J(p.$$.fragment,e),J(g.$$.fragment,e),J(I.$$.fragment,e),J(Z.$$.fragment,e),J(Q.$$.fragment,e),J(X.$$.fragment,e),J(z.$$.fragment,e),J(S.$$.fragment,e),J(E.$$.fragment,e),J(j.$$.fragment,e),J(L.$$.fragment,e),J(K.$$.fragment,e),J(ee.$$.fragment,e),J(se.$$.fragment,e),J(ne.$$.fragment,e),De=!1},d(e){e&&(l(c),l(r),l(f),l(o),l(T),l(ue),l(G),l(fe),l(v),l(de),l(ce),l(W),l(ye),l(Me),l(B),l(he),l($),l(we),l(C),l(Je),l(_),l(be),l(k),l(Te),l(Ue),l(ge),l(q),l(Ze),l(Y),l(je),l(Ge),l(V),l(ve),l(We),l(x),l(Ie),l(F),l(Be),l(H),l($e),l(Ce),l(R),l(_e),l(ke),l(Qe),l(N),l(qe),l(Ye),l(P),l(Xe),l(D),l(Ve),l(A),l(ze),l(xe),l(O),l(Fe),l(He),l(te),l(Se),l(le),l(Re),l(ae),l(Ee),l(Ne),l(ie),l(Le),l(Pe),l(me)),l(s),b(p,e),b(g,e),b(I,e),b(Z,e),b(Q,e),b(X,e),b(z,e),b(S,e),b(E,e),b(j,e),b(L,e),b(K,e),b(ee,e),b(se,e),b(ne,e)}}}const Ht='{"title":"Quickstart","local":"quickstart","sections":[{"title":"DiffusionPipeline","local":"diffusionpipeline","sections":[],"depth":2},{"title":"LoRA","local":"lora","sections":[],"depth":2},{"title":"Quantization","local":"quantization","sections":[],"depth":2},{"title":"Optimizations","local":"optimizations","sections":[{"title":"Memory usage","local":"memory-usage","sections":[],"depth":3},{"title":"Inference speed","local":"inference-speed","sections":[],"depth":3}],"depth":2}],"depth":1}';function St(U){return Bt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class At extends $t{constructor(s){super(),Ct(this,s,St,Ft,It,{})}}export{At as component};
