Skip to content

[Community Notebook] Add Super Resolution with Stable Diffusion X4 Upscaler#622

Open
jeannineshiu wants to merge 4 commits intohuggingface:mainfrom
jeannineshiu:main
Open

[Community Notebook] Add Super Resolution with Stable Diffusion X4 Upscaler#622
jeannineshiu wants to merge 4 commits intohuggingface:mainfrom
jeannineshiu:main

Conversation

@jeannineshiu
Copy link
Copy Markdown

This notebook demonstrates image super resolution using the
stabilityai/stable-diffusion-x4-upscaler model.

  • Shows how to load and run the SR pipeline
  • Includes visual comparison of LR vs SR results
  • Runs on free Colab T4 GPU
  • Complements the existing latent_diffusion_upscaler.ipynb
    with a more recent SD X4 approach

Add super resolution with stable diffusion x4 upscaler notebook
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Copy Markdown
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, what do you think @sayakpaul?

@review-notebook-app
Copy link
Copy Markdown

review-notebook-app bot commented Mar 27, 2026

View / edit / reply to this conversation on ReviewNB

sayakpaul commented on 2026-03-27T10:08:25Z
----------------------------------------------------------------

For some reason "#️️Image Super Resolution with HuggingFace Diffusers" is not rendering properly.


@review-notebook-app
Copy link
Copy Markdown

review-notebook-app bot commented Mar 27, 2026

View / edit / reply to this conversation on ReviewNB

sayakpaul commented on 2026-03-27T10:08:25Z
----------------------------------------------------------------

Line #13.    )

(nit): we could do the device placement here instead of the next line.


@review-notebook-app
Copy link
Copy Markdown

review-notebook-app bot commented Mar 27, 2026

View / edit / reply to this conversation on ReviewNB

sayakpaul commented on 2026-03-27T10:08:26Z
----------------------------------------------------------------

Line #2.    prompt = "a high quality, sharp photograph"

Would it make sense to expand on this section to guide the users about the recommended hyperparameters? Like what happens if they use a different prompt?


@jeannineshiu
Copy link
Copy Markdown
Author

Hi @sayakpaul, I've addressed all the review comments — fixed the title rendering, merged .to("cuda") into one line, and added a prompt & hyperparameter guidance section. Please take a look when you have a chance!

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