Skip to content

fix: missing ggml_backend_free on the upscaler#1491

Open
wbruna wants to merge 3 commits into
leejet:masterfrom
wbruna:sd_free_upscaler_backend
Open

fix: missing ggml_backend_free on the upscaler#1491
wbruna wants to merge 3 commits into
leejet:masterfrom
wbruna:sd_free_upscaler_backend

Conversation

@wbruna
Copy link
Copy Markdown
Contributor

@wbruna wbruna commented May 12, 2026

Included a small refactor to make it easier to manage the ggml_backend_t instances, and deduplicate the *-on-cpu backends.

Maybe it would be better to replace the backend raw pointers with shared_ptrs everywhere instead, but I didn't want a huge diff just for this fix.

@wbruna wbruna force-pushed the sd_free_upscaler_backend branch from 56b88af to 4927a42 Compare May 15, 2026 01:02
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.

1 participant