Buckets:
| import{s as ut,o as ht,n as ft}from"../chunks/scheduler.53228c21.js";import{S as Mt,i as yt,e as s,s as i,c as d,h as bt,a as o,d as n,b as l,f as B,g as c,j as b,k as Z,l as r,m as a,n as g,t as u,o as h,p as f}from"../chunks/index.100fac89.js";import{D as de}from"../chunks/Docstring.60584164.js";import{C as qe}from"../chunks/CodeBlock.d30a6509.js";import{E as _t}from"../chunks/ExampleCodeBlock.84c0636f.js";import{H as ne,E as wt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.debde53c.js";function Gt(ge){let M,C="Examples:",J,_,w;return _=new qe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwR2xtSW1hZ2VQaXBlbGluZSUwQSUwQXBpcGUlMjAlM0QlMjBHbG1JbWFnZVBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMjJ6YWktb3JnJTJGR0xNLUltYWdlJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5iZmxvYXQxNiklMEFwaXBlLnRvKCUyMmN1ZGElMjIpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyQSUyMHBob3RvJTIwb2YlMjBhbiUyMGFzdHJvbmF1dCUyMHJpZGluZyUyMGElMjBob3JzZSUyMG9uJTIwbWFycyUyMiUwQWltYWdlJTIwJTNEJTIwcGlwZShwcm9tcHQpLmltYWdlcyU1QjAlNUQlMEFpbWFnZS5zYXZlKCUyMm91dHB1dC5wbmclMjIp",highlighted:`<span class="hljs-meta">>>> </span><span class="hljs-keyword">import</span> torch | |
| <span class="hljs-meta">>>> </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> GlmImagePipeline | |
| <span class="hljs-meta">>>> </span>pipe = GlmImagePipeline.from_pretrained(<span class="hljs-string">"zai-org/GLM-Image"</span>, torch_dtype=torch.bfloat16) | |
| <span class="hljs-meta">>>> </span>pipe.to(<span class="hljs-string">"cuda"</span>) | |
| <span class="hljs-meta">>>> </span>prompt = <span class="hljs-string">"A photo of an astronaut riding a horse on mars"</span> | |
| <span class="hljs-meta">>>> </span>image = pipe(prompt).images[<span class="hljs-number">0</span>] | |
| <span class="hljs-meta">>>> </span>image.save(<span class="hljs-string">"output.png"</span>)`,wrap:!1}}),{c(){M=s("p"),M.textContent=C,J=i(),d(_.$$.fragment)},l(m){M=o(m,"P",{"data-svelte-h":!0}),b(M)!=="svelte-kvfsh7"&&(M.textContent=C),J=l(m),c(_.$$.fragment,m)},m(m,G){a(m,M,G),a(m,J,G),g(_,m,G),w=!0},p:ft,i(m){w||(u(_.$$.fragment,m),w=!0)},o(m){h(_.$$.fragment,m),w=!1},d(m){m&&(n(M),n(J)),f(_,m)}}}function Jt(ge){let M,C,J,_,w,m,G,ue,$,Ke="GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture, effectively pushing the upper bound of visual fidelity and fine-grained details. In general image generation quality, it aligns with industry-standard LDM-based approaches, while demonstrating significant advantages in knowledge-intensive image generation scenarios.",he,W,Oe="Model architecture: a hybrid autoregressive + diffusion decoder design、",fe,k,et='<li>Autoregressive generator: a 9B-parameter model initialized from <a href="https://huggingface.co/zai-org/GLM-4-9B-0414" rel="nofollow">GLM-4-9B-0414</a>, with an expanded vocabulary to incorporate visual tokens. The model first generates a compact encoding of approximately 256 tokens, then expands to 1K–4K tokens, corresponding to 1K–2K high-resolution image outputs. You can check AR model in class <code>GlmImageForConditionalGeneration</code> of <code>transformers</code> library.</li> <li>Diffusion Decoder: a 7B-parameter decoder based on a single-stream DiT architecture for latent-space image decoding. It is equipped with a Glyph Encoder text module, significantly improving accurate text rendering within images.</li>',Me,N,tt="Post-training with decoupled reinforcement learning: the model introduces a fine-grained, modular feedback strategy using the GRPO algorithm, substantially enhancing both semantic understanding and visual detail quality.",ye,z,nt="<li>Autoregressive module: provides low-frequency feedback signals focused on aesthetics and semantic alignment, improving instruction following and artistic expressiveness.</li> <li>Decoder module: delivers high-frequency feedback targeting detail fidelity and text accuracy, resulting in highly realistic textures, lighting, and color reproduction, as well as more precise text rendering.</li>",be,V,at="GLM-Image supports both text-to-image and image-to-image generation within a single model",_e,R,it="<li>Text-to-image: generates high-detail images from textual descriptions, with particularly strong performance in information-dense scenarios.</li> <li>Image-to-image: supports a wide range of tasks, including image editing, style transfer, multi-subject consistency, and identity-preserving generation for people and objects.</li>",we,Y,lt='This pipeline was contributed by <a href="https://github.com/zRzRzRzRzRzRzR" rel="nofollow">zRzRzRzRzRzRzR</a>. The codebase can be found <a href="https://huggingface.co/zai-org/GLM-Image" rel="nofollow">here</a>.',Ge,P,Je,X,Ie,H,Te,E,ve,F,je,S,st="<li>Since the AR model used in GLM-Image is configured with <code>do_sample=True</code> and a temperature of <code>0.95</code> by default, the generated images can vary significantly across runs. We do not recommend setting do_sample=False, as this may lead to incorrect or degenerate outputs from the AR model.</li>",Ue,Q,xe,p,L,Re,ae,ot="Pipeline for text-to-image generation using GLM-Image.",Ye,ie,rt=`This pipeline integrates both the AR (autoregressive) model for token generation and the DiT (diffusion | |
| transformer) model for image decoding.`,Pe,I,A,Xe,le,mt="Function invoked when calling the pipeline for generation.",He,v,Ee,j,D,Fe,se,pt="Encodes the prompt into text encoder hidden states.",Se,U,q,Qe,oe,dt="Generate prior tokens for the DiT model using the AR model.",Le,x,K,Ae,re,ct="Extract glyph texts from prompt(s). Returns a list of lists for batch processing.",Be,O,Ze,T,ee,De,me,gt="Output class for CogView3 pipelines.",Ce,te,$e,ce,We;return w=new ne({props:{title:"GLM-Image",local:"glm-image",headingTag:"h1"}}),G=new ne({props:{title:"Overview",local:"overview",headingTag:"h2"}}),P=new ne({props:{title:"Usage examples",local:"usage-examples",headingTag:"h2"}}),X=new ne({props:{title:"Text to Image Generation",local:"text-to-image-generation",headingTag:"h3"}}),H=new qe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzLnBpcGVsaW5lcy5nbG1faW1hZ2UlMjBpbXBvcnQlMjBHbG1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MHdpdGglMjBhJTIwc3VidGxlJTIwcGFwZXIlMjB0ZXh0dXJlJTIwaW4lMjB0aGUlMjBiYWNrZ3JvdW5kJTJDJTIwZmVhdHVyaW5nJTIwY29tcGFjdCUyMGFuZCUyMG9yZGVybHklMjB0ZXh0JTIwYW5kJTIwaW1hZ2UlMjBsYXlvdXQlMjB3aXRoJTIwY2xlYXIlMjBpbmZvcm1hdGlvbiUyMGhpZXJhcmNoeS4lMjIlMEFpbWFnZSUyMCUzRCUyMHBpcGUoJTBBJTIwJTIwJTIwJTIwcHJvbXB0JTNEcHJvbXB0JTJDJTBBJTIwJTIwJTIwJTIwaGVpZ2h0JTNEMzIlMjAqJTIwMzIlMkMlMEElMjAlMjAlMjAlMjB3aWR0aCUzRDM2JTIwKiUyMDMyJTJDJTBBJTIwJTIwJTIwJTIwbnVtX2luZmVyZW5jZV9zdGVwcyUzRDMwJTJDJTBBJTIwJTIwJTIwJTIwZ3VpZGFuY2Vfc2NhbGUlM0QxLjUlMkMlMEElMjAlMjAlMjAlMjBnZW5lcmF0b3IlM0R0b3JjaC5HZW5lcmF0b3IoZGV2aWNlJTNEJTIyY3VkYSUyMikubWFudWFsX3NlZWQoNDIpJTJDJTBBKS5pbWFnZXMlNUIwJTVEJTBBJTBBaW1hZ2Uuc2F2ZSglMjJvdXRwdXRfdDJpLnBuZyUyMik=",highlighted:`<span class="hljs-keyword">import</span> torch | |
| <span class="hljs-keyword">from</span> diffusers.pipelines.glm_image <span class="hljs-keyword">import</span> GlmImagePipeline | |
| pipe = GlmImagePipeline.from_pretrained(<span class="hljs-string">"zai-org/GLM-Image"</span>,torch_dtype=torch.bfloat16,device_map=<span class="hljs-string">"cuda"</span>) | |
| prompt = <span class="hljs-string">"A beautifully designed modern food magazine style dessert recipe illustration, themed around a raspberry mousse cake. The overall layout is clean and bright, divided into four main areas: the top left features a bold black title 'Raspberry Mousse Cake Recipe Guide', with a soft-lit close-up photo of the finished cake on the right, showcasing a light pink cake adorned with fresh raspberries and mint leaves; the bottom left contains an ingredient list section, titled 'Ingredients' in a simple font, listing 'Flour 150g', 'Eggs 3', 'Sugar 120g', 'Raspberry puree 200g', 'Gelatin sheets 10g', 'Whipping cream 300ml', and 'Fresh raspberries', each accompanied by minimalist line icons (like a flour bag, eggs, sugar jar, etc.); the bottom right displays four equally sized step boxes, each containing high-definition macro photos and corresponding instructions, arranged from top to bottom as follows: Step 1 shows a whisk whipping white foam (with the instruction 'Whip egg whites to stiff peaks'), Step 2 shows a red-and-white mixture being folded with a spatula (with the instruction 'Gently fold in the puree and batter'), Step 3 shows pink liquid being poured into a round mold (with the instruction 'Pour into mold and chill for 4 hours'), Step 4 shows the finished cake decorated with raspberries and mint leaves (with the instruction 'Decorate with raspberries and mint'); a light brown information bar runs along the bottom edge, with icons on the left representing 'Preparation time: 30 minutes', 'Cooking time: 20 minutes', and 'Servings: 8'. The overall color scheme is dominated by creamy white and light pink, with a subtle paper texture in the background, featuring compact and orderly text and image layout with clear information hierarchy."</span> | |
| image = pipe( | |
| prompt=prompt, | |
| height=<span class="hljs-number">32</span> * <span class="hljs-number">32</span>, | |
| width=<span class="hljs-number">36</span> * <span class="hljs-number">32</span>, | |
| num_inference_steps=<span class="hljs-number">30</span>, | |
| guidance_scale=<span class="hljs-number">1.5</span>, | |
| generator=torch.Generator(device=<span class="hljs-string">"cuda"</span>).manual_seed(<span class="hljs-number">42</span>), | |
| ).images[<span class="hljs-number">0</span>] | |
| image.save(<span class="hljs-string">"output_t2i.png"</span>)`,wrap:!1}}),E=new ne({props:{title:"Image to Image Generation",local:"image-to-image-generation",headingTag:"h3"}}),F=new qe({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzLnBpcGVsaW5lcy5nbG1faW1hZ2UlMjBpbXBvcnQlMjBHbG1JbWFnZVBpcGVsaW5lJTBBZnJvbSUyMFBJTCUyMGltcG9ydCUyMEltYWdlJTBBJTBBcGlwZSUyMCUzRCUyMEdsbUltYWdlUGlwZW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5tYW51YWxfc2VlZCg0MiklMkMlMEEpLmltYWdlcyU1QjAlNUQlMEElMEFpbWFnZS5zYXZlKCUyMm91dHB1dF9pMmkucG5nJTIyKQ==",highlighted:`<span class="hljs-keyword">import</span> torch | |
| <span class="hljs-keyword">from</span> diffusers.pipelines.glm_image <span class="hljs-keyword">import</span> GlmImagePipeline | |
| <span class="hljs-keyword">from</span> PIL <span class="hljs-keyword">import</span> Image | |
| pipe = GlmImagePipeline.from_pretrained(<span class="hljs-string">"zai-org/GLM-Image"</span>,torch_dtype=torch.bfloat16,device_map=<span class="hljs-string">"cuda"</span>) | |
| image_path = <span class="hljs-string">"cond.jpg"</span> | |
| prompt = <span class="hljs-string">"Replace the background of the snow forest with an underground station featuring an automatic escalator."</span> | |
| image = Image.<span class="hljs-built_in">open</span>(image_path).convert(<span class="hljs-string">"RGB"</span>) | |
| image = pipe( | |
| prompt=prompt, | |
| image=[image], <span class="hljs-comment"># can input multiple images for multi-image-to-image generation such as [image, image1]</span> | |
| height=<span class="hljs-number">33</span> * <span class="hljs-number">32</span>, | |
| width=<span class="hljs-number">32</span> * <span class="hljs-number">32</span>, | |
| num_inference_steps=<span class="hljs-number">30</span>, | |
| guidance_scale=<span class="hljs-number">1.5</span>, | |
| generator=torch.Generator(device=<span class="hljs-string">"cuda"</span>).manual_seed(<span class="hljs-number">42</span>), | |
| ).images[<span class="hljs-number">0</span>] | |
| image.save(<span class="hljs-string">"output_i2i.png"</span>)`,wrap:!1}}),Q=new ne({props:{title:"GlmImagePipeline",local:"diffusers.GlmImagePipeline",headingTag:"h2"}}),L=new de({props:{name:"class diffusers.GlmImagePipeline",anchor:"diffusers.GlmImagePipeline",parameters:[{name:"tokenizer",val:": ByT5Tokenizer"},{name:"processor",val:": ProcessorMixin"},{name:"text_encoder",val:": T5EncoderModel"},{name:"vision_language_encoder",val:": PreTrainedModel"},{name:"vae",val:": AutoencoderKL"},{name:"transformer",val:": GlmImageTransformer2DModel"},{name:"scheduler",val:": FlowMatchEulerDiscreteScheduler"}],parametersDescription:[{anchor:"diffusers.GlmImagePipeline.tokenizer",description:`<strong>tokenizer</strong> (<code>PreTrainedTokenizer</code>) — | |
| Tokenizer for the text encoder.`,name:"tokenizer"},{anchor:"diffusers.GlmImagePipeline.processor",description:`<strong>processor</strong> (<code>AutoProcessor</code>) — | |
| Processor for the AR model to handle chat templates and tokenization.`,name:"processor"},{anchor:"diffusers.GlmImagePipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>T5EncoderModel</code>) — | |
| Frozen text-encoder for glyph embeddings.`,name:"text_encoder"},{anchor:"diffusers.GlmImagePipeline.vision_language_encoder",description:`<strong>vision_language_encoder</strong> (<code>GlmImageForConditionalGeneration</code>) — | |
| The AR model that generates image tokens from text prompts.`,name:"vision_language_encoder"},{anchor:"diffusers.GlmImagePipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/pr_13331/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) — | |
| Variational Auto-Encoder (VAE) Model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.GlmImagePipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/pr_13331/en/api/models/glm_image_transformer2d#diffusers.GlmImageTransformer2DModel">GlmImageTransformer2DModel</a>) — | |
| A text conditioned transformer to denoise the encoded image latents (DiT).`,name:"transformer"},{anchor:"diffusers.GlmImagePipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/pr_13331/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a>) — | |
| A scheduler to be used in combination with <code>transformer</code> to denoise the encoded image latents.`,name:"scheduler"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_glm_image.py#L161"}}),A=new de({props:{name:"__call__",anchor:"diffusers.GlmImagePipeline.__call__",parameters:[{name:"prompt",val:": str | list[str] | None = None"},{name:"image",val:": torch.Tensor | PIL.Image.Image | numpy.ndarray | list[torch.Tensor] | list[PIL.Image.Image] | list[numpy.ndarray] | None = None"},{name:"height",val:": int | None = None"},{name:"width",val:": int | None = None"},{name:"num_inference_steps",val:": int = 50"},{name:"timesteps",val:": list[int] | None = None"},{name:"sigmas",val:": list[float] | None = None"},{name:"guidance_scale",val:": float = 1.5"},{name:"num_images_per_prompt",val:": int = 1"},{name:"generator",val:": torch._C.Generator | list[torch._C.Generator] | None = None"},{name:"latents",val:": torch.Tensor | None = None"},{name:"prompt_embeds",val:": torch.Tensor | None = None"},{name:"negative_prompt_embeds",val:": torch.Tensor | None = None"},{name:"prior_token_ids",val:": torch.Tensor | None = None"},{name:"prior_token_image_ids",val:": list[torch.Tensor] | None = None"},{name:"source_image_grid_thw",val:": list[torch.Tensor] | None = None"},{name:"crops_coords_top_left",val:": tuple = (0, 0)"},{name:"output_type",val:": str = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"attention_kwargs",val:": dict[str, typing.Any] | None = None"},{name:"callback_on_step_end",val:": typing.Union[typing.Callable[[int, int, dict], NoneType], diffusers.callbacks.PipelineCallback, diffusers.callbacks.MultiPipelineCallbacks, NoneType] = None"},{name:"callback_on_step_end_tensor_inputs",val:": list = ['latents']"},{name:"max_sequence_length",val:": int = 2048"}],parametersDescription:[{anchor:"diffusers.GlmImagePipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>list[str]</code>, <em>optional</em>) — | |
| The prompt or prompts to guide the image generation. Must contain shape info in the format ’<sop>H | |
| W<eop>’ where H and W are token dimensions (d32). Example: “A beautiful sunset<sop>36 24<eop>” | |
| generates a 1152x768 image.</eop></sop></eop></sop>`,name:"prompt"},{anchor:"diffusers.GlmImagePipeline.__call__.image",description:"<strong>image</strong> — Optional condition images for image-to-image generation.",name:"image"},{anchor:"diffusers.GlmImagePipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>) — | |
| The height in pixels. If not provided, derived from prompt shape info.`,name:"height"},{anchor:"diffusers.GlmImagePipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>) — | |
| The width in pixels. If not provided, derived from prompt shape info.`,name:"width"},{anchor:"diffusers.GlmImagePipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to <code>50</code>) — | |
| The number of denoising steps for DiT.`,name:"num_inference_steps"},{anchor:"diffusers.GlmImagePipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to <code>1.5</code>) — | |
| Guidance scale for classifier-free guidance.`,name:"guidance_scale"},{anchor:"diffusers.GlmImagePipeline.__call__.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to <code>1</code>) — | |
| The number of images to generate per prompt.`,name:"num_images_per_prompt"},{anchor:"diffusers.GlmImagePipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) — | |
| Random generator for reproducibility.`,name:"generator"},{anchor:"diffusers.GlmImagePipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>"pil"</code>) — | |
| Output format: “pil”, “np”, or “latent”.`,name:"output_type"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_glm_image.py#L719",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>Generated images.</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p><code>GlmImagePipelineOutput</code> or <code>tuple</code></p> | |
| `}}),v=new _t({props:{anchor:"diffusers.GlmImagePipeline.__call__.example",$$slots:{default:[Gt]},$$scope:{ctx:ge}}}),D=new de({props:{name:"encode_prompt",anchor:"diffusers.GlmImagePipeline.encode_prompt",parameters:[{name:"prompt",val:": str | list[str]"},{name:"do_classifier_free_guidance",val:": bool = True"},{name:"num_images_per_prompt",val:": int = 1"},{name:"prompt_embeds",val:": torch.Tensor | None = None"},{name:"negative_prompt_embeds",val:": torch.Tensor | None = None"},{name:"device",val:": torch.device | None = None"},{name:"dtype",val:": torch.dtype | None = None"},{name:"max_sequence_length",val:": int = 2048"}],parametersDescription:[{anchor:"diffusers.GlmImagePipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>list[str]</code>, <em>optional</em>) — | |
| prompt to be encoded`,name:"prompt"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) — | |
| Whether to use classifier free guidance or not.`,name:"do_classifier_free_guidance"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.num_images_per_prompt",description:`<strong>num_images_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) — | |
| Number of images that should be generated per prompt. torch device to place the resulting embeddings on`,name:"num_images_per_prompt"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not | |
| provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.device",description:`<strong>device</strong> — (<code>torch.device</code>, <em>optional</em>): | |
| torch device`,name:"device"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.dtype",description:`<strong>dtype</strong> — (<code>torch.dtype</code>, <em>optional</em>): | |
| torch dtype`,name:"dtype"},{anchor:"diffusers.GlmImagePipeline.encode_prompt.max_sequence_length",description:`<strong>max_sequence_length</strong> (<code>int</code>, defaults to <code>2048</code>) — | |
| Maximum sequence length in encoded prompt. Can be set to other values but may lead to poorer results.`,name:"max_sequence_length"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_glm_image.py#L545"}}),q=new de({props:{name:"generate_prior_tokens",anchor:"diffusers.GlmImagePipeline.generate_prior_tokens",parameters:[{name:"prompt",val:": str | list[str]"},{name:"height",val:": int"},{name:"width",val:": int"},{name:"image",val:": list[list[PIL.Image.Image]] | None = None"},{name:"device",val:": torch.device | None = None"},{name:"generator",val:": torch._C.Generator | None = None"}],parametersDescription:[{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.prompt",description:"<strong>prompt</strong> — Single prompt or list of prompts",name:"prompt"},{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.height",description:"<strong>height</strong> — Target image height",name:"height"},{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.width",description:"<strong>width</strong> — Target image width",name:"width"},{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.image",description:`<strong>image</strong> — Normalized image input as List[List[PIL.Image]]. Should be pre-validated | |
| using _validate_and_normalize_images() before calling this method.`,name:"image"},{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.device",description:"<strong>device</strong> — Target device",name:"device"},{anchor:"diffusers.GlmImagePipeline.generate_prior_tokens.generator",description:"<strong>generator</strong> — Random generator for reproducibility",name:"generator"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_glm_image.py#L321",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <ul> | |
| <li>prior_token_ids: Tensor of shape (batch_size, num_tokens) with upsampled prior tokens</li> | |
| <li>prior_token_image_ids_per_sample: List of tensors, one per sample. Each tensor contains | |
| the upsampled prior token ids for all condition images in that sample. None for t2i.</li> | |
| <li>source_image_grid_thw_per_sample: List of tensors, one per sample. Each tensor has shape | |
| (num_condition_images, 3) with upsampled grid info. None for t2i.</li> | |
| </ul> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>Tuple of</p> | |
| `}}),K=new de({props:{name:"get_glyph_texts",anchor:"diffusers.GlmImagePipeline.get_glyph_texts",parameters:[{name:"prompt",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_glm_image.py#L476"}}),O=new ne({props:{title:"GlmImagePipelineOutput",local:"diffusers.pipelines.glm_image.pipeline_output.GlmImagePipelineOutput",headingTag:"h2"}}),ee=new de({props:{name:"class diffusers.pipelines.glm_image.pipeline_output.GlmImagePipelineOutput",anchor:"diffusers.pipelines.glm_image.pipeline_output.GlmImagePipelineOutput",parameters:[{name:"images",val:": list[PIL.Image.Image] | numpy.ndarray"}],parametersDescription:[{anchor:"diffusers.pipelines.glm_image.pipeline_output.GlmImagePipelineOutput.images",description:`<strong>images</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) — | |
| List of denoised PIL images of length <code>batch_size</code> or numpy array of shape <code>(batch_size, height, width, num_channels)</code>. PIL images or numpy array present the denoised images of the diffusion pipeline.`,name:"images"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/pipelines/glm_image/pipeline_output.py#L10"}}),te=new wt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/glm_image.md"}}),{c(){M=s("meta"),C=i(),J=s("p"),_=i(),d(w.$$.fragment),m=i(),d(G.$$.fragment),ue=i(),$=s("p"),$.textContent=Ke,he=i(),W=s("p"),W.textContent=Oe,fe=i(),k=s("ul"),k.innerHTML=et,Me=i(),N=s("p"),N.textContent=tt,ye=i(),z=s("ul"),z.innerHTML=nt,be=i(),V=s("p"),V.textContent=at,_e=i(),R=s("ul"),R.innerHTML=it,we=i(),Y=s("p"),Y.innerHTML=lt,Ge=i(),d(P.$$.fragment),Je=i(),d(X.$$.fragment),Ie=i(),d(H.$$.fragment),Te=i(),d(E.$$.fragment),ve=i(),d(F.$$.fragment),je=i(),S=s("ul"),S.innerHTML=st,Ue=i(),d(Q.$$.fragment),xe=i(),p=s("div"),d(L.$$.fragment),Re=i(),ae=s("p"),ae.textContent=ot,Ye=i(),ie=s("p"),ie.textContent=rt,Pe=i(),I=s("div"),d(A.$$.fragment),Xe=i(),le=s("p"),le.textContent=mt,He=i(),d(v.$$.fragment),Ee=i(),j=s("div"),d(D.$$.fragment),Fe=i(),se=s("p"),se.textContent=pt,Se=i(),U=s("div"),d(q.$$.fragment),Qe=i(),oe=s("p"),oe.textContent=dt,Le=i(),x=s("div"),d(K.$$.fragment),Ae=i(),re=s("p"),re.textContent=ct,Be=i(),d(O.$$.fragment),Ze=i(),T=s("div"),d(ee.$$.fragment),De=i(),me=s("p"),me.textContent=gt,Ce=i(),d(te.$$.fragment),$e=i(),ce=s("p"),this.h()},l(e){const t=bt("svelte-u9bgzb",document.head);M=o(t,"META",{name:!0,content:!0}),t.forEach(n),C=l(e),J=o(e,"P",{}),B(J).forEach(n),_=l(e),c(w.$$.fragment,e),m=l(e),c(G.$$.fragment,e),ue=l(e),$=o(e,"P",{"data-svelte-h":!0}),b($)!=="svelte-15flqe3"&&($.textContent=Ke),he=l(e),W=o(e,"P",{"data-svelte-h":!0}),b(W)!=="svelte-1q1zu6y"&&(W.textContent=Oe),fe=l(e),k=o(e,"UL",{"data-svelte-h":!0}),b(k)!=="svelte-133gzeb"&&(k.innerHTML=et),Me=l(e),N=o(e,"P",{"data-svelte-h":!0}),b(N)!=="svelte-1it5s4x"&&(N.textContent=tt),ye=l(e),z=o(e,"UL",{"data-svelte-h":!0}),b(z)!=="svelte-jzgaek"&&(z.innerHTML=nt),be=l(e),V=o(e,"P",{"data-svelte-h":!0}),b(V)!=="svelte-munah3"&&(V.textContent=at),_e=l(e),R=o(e,"UL",{"data-svelte-h":!0}),b(R)!=="svelte-176w1gr"&&(R.innerHTML=it),we=l(e),Y=o(e,"P",{"data-svelte-h":!0}),b(Y)!=="svelte-1j80z8f"&&(Y.innerHTML=lt),Ge=l(e),c(P.$$.fragment,e),Je=l(e),c(X.$$.fragment,e),Ie=l(e),c(H.$$.fragment,e),Te=l(e),c(E.$$.fragment,e),ve=l(e),c(F.$$.fragment,e),je=l(e),S=o(e,"UL",{"data-svelte-h":!0}),b(S)!=="svelte-1o00uvs"&&(S.innerHTML=st),Ue=l(e),c(Q.$$.fragment,e),xe=l(e),p=o(e,"DIV",{class:!0});var y=B(p);c(L.$$.fragment,y),Re=l(y),ae=o(y,"P",{"data-svelte-h":!0}),b(ae)!=="svelte-1xk2r6w"&&(ae.textContent=ot),Ye=l(y),ie=o(y,"P",{"data-svelte-h":!0}),b(ie)!=="svelte-1dlxp1f"&&(ie.textContent=rt),Pe=l(y),I=o(y,"DIV",{class:!0});var pe=B(I);c(A.$$.fragment,pe),Xe=l(pe),le=o(pe,"P",{"data-svelte-h":!0}),b(le)!=="svelte-v78lg8"&&(le.textContent=mt),He=l(pe),c(v.$$.fragment,pe),pe.forEach(n),Ee=l(y),j=o(y,"DIV",{class:!0});var ke=B(j);c(D.$$.fragment,ke),Fe=l(ke),se=o(ke,"P",{"data-svelte-h":!0}),b(se)!=="svelte-16q0ax1"&&(se.textContent=pt),ke.forEach(n),Se=l(y),U=o(y,"DIV",{class:!0});var Ne=B(U);c(q.$$.fragment,Ne),Qe=l(Ne),oe=o(Ne,"P",{"data-svelte-h":!0}),b(oe)!=="svelte-v91m4s"&&(oe.textContent=dt),Ne.forEach(n),Le=l(y),x=o(y,"DIV",{class:!0});var ze=B(x);c(K.$$.fragment,ze),Ae=l(ze),re=o(ze,"P",{"data-svelte-h":!0}),b(re)!=="svelte-19db0jn"&&(re.textContent=ct),ze.forEach(n),y.forEach(n),Be=l(e),c(O.$$.fragment,e),Ze=l(e),T=o(e,"DIV",{class:!0});var Ve=B(T);c(ee.$$.fragment,Ve),De=l(Ve),me=o(Ve,"P",{"data-svelte-h":!0}),b(me)!=="svelte-zlr6ro"&&(me.textContent=gt),Ve.forEach(n),Ce=l(e),c(te.$$.fragment,e),$e=l(e),ce=o(e,"P",{}),B(ce).forEach(n),this.h()},h(){Z(M,"name","hf:doc:metadata"),Z(M,"content",It),Z(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),Z(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),Z(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),Z(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),Z(p,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),Z(T,"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,t){r(document.head,M),a(e,C,t),a(e,J,t),a(e,_,t),g(w,e,t),a(e,m,t),g(G,e,t),a(e,ue,t),a(e,$,t),a(e,he,t),a(e,W,t),a(e,fe,t),a(e,k,t),a(e,Me,t),a(e,N,t),a(e,ye,t),a(e,z,t),a(e,be,t),a(e,V,t),a(e,_e,t),a(e,R,t),a(e,we,t),a(e,Y,t),a(e,Ge,t),g(P,e,t),a(e,Je,t),g(X,e,t),a(e,Ie,t),g(H,e,t),a(e,Te,t),g(E,e,t),a(e,ve,t),g(F,e,t),a(e,je,t),a(e,S,t),a(e,Ue,t),g(Q,e,t),a(e,xe,t),a(e,p,t),g(L,p,null),r(p,Re),r(p,ae),r(p,Ye),r(p,ie),r(p,Pe),r(p,I),g(A,I,null),r(I,Xe),r(I,le),r(I,He),g(v,I,null),r(p,Ee),r(p,j),g(D,j,null),r(j,Fe),r(j,se),r(p,Se),r(p,U),g(q,U,null),r(U,Qe),r(U,oe),r(p,Le),r(p,x),g(K,x,null),r(x,Ae),r(x,re),a(e,Be,t),g(O,e,t),a(e,Ze,t),a(e,T,t),g(ee,T,null),r(T,De),r(T,me),a(e,Ce,t),g(te,e,t),a(e,$e,t),a(e,ce,t),We=!0},p(e,[t]){const y={};t&2&&(y.$$scope={dirty:t,ctx:e}),v.$set(y)},i(e){We||(u(w.$$.fragment,e),u(G.$$.fragment,e),u(P.$$.fragment,e),u(X.$$.fragment,e),u(H.$$.fragment,e),u(E.$$.fragment,e),u(F.$$.fragment,e),u(Q.$$.fragment,e),u(L.$$.fragment,e),u(A.$$.fragment,e),u(v.$$.fragment,e),u(D.$$.fragment,e),u(q.$$.fragment,e),u(K.$$.fragment,e),u(O.$$.fragment,e),u(ee.$$.fragment,e),u(te.$$.fragment,e),We=!0)},o(e){h(w.$$.fragment,e),h(G.$$.fragment,e),h(P.$$.fragment,e),h(X.$$.fragment,e),h(H.$$.fragment,e),h(E.$$.fragment,e),h(F.$$.fragment,e),h(Q.$$.fragment,e),h(L.$$.fragment,e),h(A.$$.fragment,e),h(v.$$.fragment,e),h(D.$$.fragment,e),h(q.$$.fragment,e),h(K.$$.fragment,e),h(O.$$.fragment,e),h(ee.$$.fragment,e),h(te.$$.fragment,e),We=!1},d(e){e&&(n(C),n(J),n(_),n(m),n(ue),n($),n(he),n(W),n(fe),n(k),n(Me),n(N),n(ye),n(z),n(be),n(V),n(_e),n(R),n(we),n(Y),n(Ge),n(Je),n(Ie),n(Te),n(ve),n(je),n(S),n(Ue),n(xe),n(p),n(Be),n(Ze),n(T),n(Ce),n($e),n(ce)),n(M),f(w,e),f(G,e),f(P,e),f(X,e),f(H,e),f(E,e),f(F,e),f(Q,e),f(L),f(A),f(v),f(D),f(q),f(K),f(O,e),f(ee),f(te,e)}}}const It='{"title":"GLM-Image","local":"glm-image","sections":[{"title":"Overview","local":"overview","sections":[],"depth":2},{"title":"Usage examples","local":"usage-examples","sections":[{"title":"Text to Image Generation","local":"text-to-image-generation","sections":[],"depth":3},{"title":"Image to Image Generation","local":"image-to-image-generation","sections":[],"depth":3}],"depth":2},{"title":"GlmImagePipeline","local":"diffusers.GlmImagePipeline","sections":[],"depth":2},{"title":"GlmImagePipelineOutput","local":"diffusers.pipelines.glm_image.pipeline_output.GlmImagePipelineOutput","sections":[],"depth":2}],"depth":1}';function Tt(ge){return ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ct extends Mt{constructor(M){super(),yt(this,M,Tt,Jt,ut,{})}}export{Ct as component}; | |
Xet Storage Details
- Size:
- 35.9 kB
- Xet hash:
- fd10ce502a367f563342f7c9218828fccdaf6a1a1d74b0d0916f98ca57956b60
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.