Update image generation demo#4266
Open
atobiszei wants to merge 1 commit into
Open
Conversation
915d710 to
71c2e89
Compare
71c2e89 to
6a27492
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the image generation demo documentation to focus on GPU/NPU deployment paths and expands guidance around SDXL and LoRA usage, while also adding CLI parameter documentation for LoRA registration.
Changes:
- Documented the
--source_lorasCLI parameter in the global parameters reference. - Reworked the image generation demo to use GPU-oriented Docker/bare-metal commands, plus SDXL deployment and a “serve pre-downloaded model” option.
- Expanded the Multi-LoRA demo section with updated commands and embedded example outputs.
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/parameters.md | Adds --source_loras to the image-generation parameter table. |
| demos/image_generation/README.md | Updates deployment instructions (GPU/NPU), adds SDXL + pre-downloaded model sections, and refreshes LoRA examples and outputs. |
Comments suppressed due to low confidence (2)
demos/image_generation/README.md:604
- For HF repo sources with an explicit filename (
org/repo@file.safetensors), the filename should be the literal repo filename (spaces are allowed inside the quoted argument). Using%20here will be treated as part of the filename and likely fail to resolve the file on HuggingFace.
--source_loras "xray=DoctorDiffusion/doctor-diffusion-s-xray-xl-lora@DD-xray-v1.safetensors,thepoint=alvdansen/the-point@araminta_k_the_point.safetensors,ukiyo=KappaNeuro/ukiyo-e-art@Ukiyo-e%20Art.safetensors,vector=DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora@DD-vector-v2.safetensors,chalk=Norod78/sdxl-chalkboarddrawing-lora@SDXL_ChalkBoardDrawing_LoRA_r8.safetensors"
demos/image_generation/README.md:618
- Same as the Linux example: for HF repo sources with an explicit filename (
org/repo@file.safetensors),%20will be treated as a literal part of the filename. Keep the real filename (with space) inside the quoted string.
--source_loras "xray=DoctorDiffusion/doctor-diffusion-s-xray-xl-lora@DD-xray-v1.safetensors,thepoint=alvdansen/the-point@araminta_k_the_point.safetensors,ukiyo=KappaNeuro/ukiyo-e-art@Ukiyo-e%20Art.safetensors,vector=DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora@DD-vector-v2.safetensors,chalk=Norod78/sdxl-chalkboarddrawing-lora@SDXL_ChalkBoardDrawing_LoRA_r8.safetensors"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.