Skip to content

fix(image-gen): grok-imagine-image 2.0 must not default upscale on - #90080

Closed
CocaKova wants to merge 1 commit into
NousResearch:mainfrom
CocaKova:fix/grok-imagine-upscale-default
Closed

fix(image-gen): grok-imagine-image 2.0 must not default upscale on#90080
CocaKova wants to merge 1 commit into
NousResearch:mainfrom
CocaKova:fix/grok-imagine-upscale-default

Conversation

@CocaKova

Copy link
Copy Markdown
Contributor

What

One line: the xai/grok-imagine-image/v2.0 FAL catalog entry defaults "upscale": True; this flips it to opt-in like every other entry.

Why

f06c41522e removed default-on upscaling globally ("opt-in only"), including the sub-2MP rationale this entry's comment revives. TestFalCatalog::test_upscale_defaults_are_all_off enforces that invariant — so Python tests / slice 12 has been red on main since the v2.0 entry landed in ceabb030fb (Aug 15). Every open PR currently inherits the failure.

Read the original intent before flipping the other way: the invariant commit is the later, deliberate decision — the upscale pass costs an extra model call per image, which is exactly why it was made opt-in per call. Callers who want it still get it by asking.

Tests: 0 added, 51 passing in tests/tools/test_image_generation.py

The v2.0 catalog entry (ceabb03) shipped "upscale": True with the
sub-2MP rationale — the exact default-on pattern f06c415 removed
globally (opt-in per call only). TestFalCatalog::
test_upscale_defaults_are_all_off enforces that invariant, so main's
test slice has been red since the entry landed. Flip the default off;
callers who want the pass request it.

Tests: 0 added, 51 passing in tests/tools/test_image_generation.py
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have tool/vision Vision analysis and image generation provider/xai xAI (Grok) duplicate This issue or pull request already exists labels Aug 19, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

This was generated by AI during triage.

Duplicate of #89933. The diff makes the same one-line Grok Imagine 2.0 default-upscale change.

@CocaKova

Copy link
Copy Markdown
Contributor Author

Confirmed — closing as a duplicate. #89933 landed the same one-line change and is merged; the test_upscale_defaults_are_all_off invariant passes on current main (7b25941b0e), so there's nothing left here. Thanks for the triage.

Noting for anyone arriving from #90077: that PR's comment points here for the slice-12 CI failure — the actual fix is #89933, and that branch is being rebased onto post-fix main.

@CocaKova CocaKova closed this Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists P3 Low — cosmetic, nice to have provider/xai xAI (Grok) tool/vision Vision analysis and image generation type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants