Skip to content

Enable generic backend init for ESRGAN upscaler#2245

Merged
gianni-cor merged 59 commits into
mainfrom
feat/esrgan-upscaler-generic-backend
May 25, 2026
Merged

Enable generic backend init for ESRGAN upscaler#2245
gianni-cor merged 59 commits into
mainfrom
feat/esrgan-upscaler-generic-backend

Conversation

@gabrielgrigoras-serv

Copy link
Copy Markdown
Collaborator

Recreated after repository history rewrite.

Original PR: #2033

Summary

  • Enables generic GGML backend init for ESRGAN upscaler.
  • Adds ESRGAN backend device reporting.
  • Keeps Android ESRGAN forced to CPU for gpu/auto to avoid unstable mobile GPU/OpenCL path.
  • Keeps the OpenCL/Adreno investigation separate.

Notes

The old PR #2033 could not be reopened after the repository history rewrite.

The mandatory upstream flow has also been started:

tetherto/qvac-ext-stable-diffusion.cpp#6

After the sd.cpp PR is merged, the follow-up is:

  1. update qvac-vcpkg-registry
  2. update this qvac PR to consume the registry version
  3. remove temporary overlay patches if no longer needed

…generic-backend

# Conflicts:
#	packages/diffusion-cpp/addon/src/handlers/SdCtxHandlers.hpp
#	packages/diffusion-cpp/addon/src/utils/LoggingMacros.hpp
…generic-backend

# Conflicts:
#	packages/diffusion-cpp/addon.js
Avoid constructing log strings from null GGML device names or descriptions while keeping the C++ files clang-format clean.

Co-authored-by: Cursor <cursoragent@cursor.com>
gianni-cor
gianni-cor previously approved these changes May 25, 2026
@gianni-cor

Copy link
Copy Markdown
Contributor

/review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

verified Authorize secrets / label-gate in PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants