Skip to content

docs: add Diffusers inference example - #506

Closed
idgafpixel wants to merge 1 commit into
NVlabs:mainfrom
idgafpixel:idgafpixel-adapt-diffusers-usage
Closed

idgafpixel wants to merge 1 commit into
NVlabs:mainfrom
idgafpixel:idgafpixel-adapt-diffusers-usage

Conversation

@idgafpixel

Copy link
Copy Markdown

Why

Make the documented Sana Diffusers workflow directly runnable from this repository, rather than requiring users to manually adapt the inline snippet.

What changed

  • Added scripts/inference_diffusers.py, a CLI wrapper for loading a Sana Diffusers checkpoint and generating an image.
  • Added options for the model, prompt, dimensions, guidance scale, inference steps, seed, and output path.
  • Linked the script from the Diffusers installation quick start.

Validation

  • python -m py_compile scripts/inference_diffusers.py
  • git diff --check

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@idgafpixel idgafpixel closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants