Repository navigation
Studio Images: SDXL-Turbo opens at its native 512x512 canvas - #16168
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
danielhanchen
pushed a commit
to danielhanchen/unsloth-staging-2
that referenced
this pull request
Oct 30, 2026
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
This was referenced Oct 30, 2026
danielhanchen
added a commit
that referenced
this pull request
Oct 30, 2026
## Problem `Repo tests (CPU, studio-install)` is red on main since #16145 (seen on the staging run for #16168, a frontend-only change): ``` tests/studio/install/test_studio_extra_matches_requirements.py::test_studio_extra_matches_requirements_file AssertionError: studio.txt lists ['usearch'] but the `studio` extra does not. tests/studio/install/test_studio_extra_matches_requirements.py::test_studio_extra_matches_requirement_versions AssertionError: studio.txt specifies [('usearch', '==2.26.6', '')] but the `studio` extra does not. ``` #16145 added `usearch==2.26.6` to `studio/backend/requirements/studio.txt` and `no-torch-runtime.txt` for the HNSW RAG tier, but not to the `studio` extra in `pyproject.toml`. So `pip install "unsloth[studio]"` resolves a different stack from the one `install.sh` builds, which is exactly what this guard is for. ## Fix Add `"usearch==2.26.6"` to the `studio` extra, next to `sqlite-vec`. usearch 2.26.6 ships wheels for every target (manylinux / musllinux x86_64 and aarch64, macOS x86_64 / arm64 / universal2, win_amd64, win_arm64), so it needs no platform marker, matching `studio.txt`. ## Verification - `tests/studio/install/test_studio_extra_matches_requirements.py`: 2 failed on main, all 7 pass with this change. `tests/studio/install/test_pymupdf_platform_pins.py` still passes. - `pyproject.toml` still parses.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SDXL-Turbo is a 512x512 model: its model card and reference workflow render 512x512 in 1 step at CFG 1. Studio already uses 1 step and guidance 0 for it, but every family opens at 1024x1024, so a fresh SDXL-Turbo render starts at four times its trained pixel count. At 1024 the subject comes out duplicated or tiled.
This gives the Images page a per-family native canvas, applied to every build of the family (pipeline, single file, GGUF, quantised), and lists SDXL-Turbo at 512x512. SDXL base and every other family keep 1024. The width and height are still the user's to change; this only sets the canvas Studio opens with and returns to on Reset.
Change
image-generation-defaults.ts:NATIVE_CANVAS(sdxl-turbo-> 512x512), checked first inresolutionForwith the same name folding as the steps table, soSDXL_Turboandunsloth/sdxl-turbomatch too.Results
stabilityai/sdxl-turbofp16 in diffusers, 1 step, guidance 0, 4 prompts, the same seed per prompt at both sizes. One Colab L4, 1 warm-up per size:Top row 512x512, bottom row 1024x1024:
At 1024 every prompt shows the subject doubled or tiled (two foxes, a split face, stacked fireplaces, two lighthouses); at 512 all four are single, coherent subjects.
Tests
image-generation-canvas-defaults.test.ts: 2 new tests (SDXL-Turbo is 512 on pipeline, int8, fp8 single file and GGUF builds under three spellings; SDXL base keeps 1024). The SDXL-Turbo test fails on main.image-generation-canvas-defaults.test.ts+image-generation-defaults.test.ts: 29 passed.Not proven