Skip to content

Studio sd.cpp: pin the prebuilt resynced with upstream master-1050 - #17148

Merged
danielhanchen merged 2 commits into
mainfrom
studio-sd-cpp-pin-uba6ac30
Nov 9, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
studio-sd-cpp-pin-uba6ac30

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Moves Studio's stable-diffusion.cpp prebuilt from master-982-0518b34-uaba3a1c to master-982-0518b34-uba6ac30, the nightly built from unslothai/stable-diffusion.cpp#52. That PR merged upstream master-1050 into the fork, so this release carries 68 upstream commits that the current pin lacks. Two of them matter most for image renders on small or shared GPUs:

The tag keeps the master-982 prefix because the fork's release naming still counts from its last upstream release tag. Both releases have the same 11 bundle names.

Changes

  • studio/install_sd_cpp_prebuilt.py: DEFAULT_TAG now names the new release.
  • Tests that pin the release name and its asset list now point at the new tag. test_sd_cpp_args.py keeps the old pin in its list of builds that support --mmap.

No Studio code changes. Every flag Studio probes in --help is present in both builds; the new build only adds --taesd-preview-only and new sample methods.

Testing

  • The sd.cpp, args, families and install tests pass. The same two route tests and one fixture error fail on main and on this branch on this host, because its own GPUs leak into the test environment.
  • MOSS-Image-SFT Q8_0 GGUF through the Studio HTTP flow (the same load and generate calls the Images page makes), 1024x1024, Kaggle T4, main vs this branch. Each arm was a single run in its own kernel:
Free VRAM Steps main this branch
whole card 8 renders, 101 s renders, 113 s
6 GiB at load (an 8 GB desktop card) 25 renders, 263 s renders, 213 s
7.5 GiB at load, then taken down to 2 GiB 25 renders, 287 s renders, 215 s

Earlier, one Colab L4 job ran both builds directly through sd-server, twice each: 95.5 / 93.9 s on the current pin vs 73.2 / 73.2 s on this build with the whole card free, and 148.7 / 150.4 s vs 87.4 / 87.8 s with VRAM taken down to 2 GiB.

  • Z-Image-Turbo and Qwen-Image-2.1 GGUF render on both arms on the T4, but Studio routes them to the diffusers engine there, so they do not exercise the pin.
  • Windows 11 (AMD Radeon 8060S, the AMD CI runners): Studio installed from main, this branch and the merge commit, MOSS-Image-SFT Q8_0 loaded on the native engine and rendered 1024x1024 at 8 steps on all three (106 s / 102 s / 105 s).
  • Studio regression run (main vs this branch; auth, settings, image generation journeys, page crawl, diffusion imports): no functional regression, all 48 screenshots identical, including generate, image menu, recipe and stop on the Images page.
  • Cross-platform staging (Ubuntu, macOS 15, Windows): green.

Not covered

  • MiniMax-H3 was not rendered with this build. The resync dropped the fork's Metal ROPE_APPLY kernel and the cuDNN Sage path, so H3 may be slower on Apple Silicon and on Blackwell until they are ported to the new extension path.
  • No Windows + NVIDIA host.

@danielhanchen
danielhanchen marked this pull request as ready for review November 8, 2026 16:28
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T11:11:10.422990Z 4a36c3d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 4a36c3dae4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit e430c01 into main Nov 9, 2026
@danielhanchen
danielhanchen deleted the studio-sd-cpp-pin-uba6ac30 branch November 9, 2026 11:32
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