Skip to content

[MiniCPMV4_6] Update test_small_model_vision_generation_batch expected output (value drift) - #48406

Merged
remi-or merged 3 commits into
mainfrom
update_minicpmv4_6_batch_expected_output
Sep 1, 2026
Merged

remi-or merged 3 commits into
mainfrom
update_minicpmv4_6_batch_expected_output

Conversation

@ydshieh

@ydshieh ydshieh commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator

CPU CI GPU run-slow

Summary

test_small_model_vision_generation_batch started failing after #47625 refactored the Gated Delta Rule (GDR) computation in modeling_qwen3_5.py. MiniCPMV4_6 uses Qwen3_5 as its text backbone, so the output drift propagates.

Bisect result:

Output diff:

Text
Before "...also known as the Eurasian pystylus or snow leopard cat. It's a"
After "...also known as a Pystylus cat or Eurasian pystylus. It"

The drift is expected — #47625 is an intentional algorithmic improvement (UT transform baked in, torch.linalg.solve_triangular replacing the explicit loop, per-channel decay support), not a pure refactor.

Fix

Update the hardcoded expected strings in test_small_model_vision_generation_batch to match the new deterministic output.

…d output (value drift)

Output drifted after #47625 refactored the Gated Delta Rule computation in
`modeling_qwen3_5.py` (MiniCPMV4_6's text backbone). Verified by bisect:
parent commit passes 3/3, the PR commit fails consistently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ydshieh
ydshieh requested a review from remi-or August 29, 2026 13:02
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: minicpmv4_6

@remi-or remi-or left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Added the expectations for b200 as well.

@remi-or

remi-or commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

run-slow: minicpmv4_6

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/minicpmv4_6"]
quantizations: []

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 33464599431:1
Result: success | Jobs: 2 | Tests: 25 | Failures: 0 | Duration: 2m 28s

@remi-or
remi-or added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit a932513 Sep 1, 2026
36 of 37 checks passed
@remi-or
remi-or deleted the update_minicpmv4_6_batch_expected_output branch September 1, 2026 04:12
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN 5d132d92 workflow commit (merge commit)
PR 1608da4e branch commit (from PR)
main 899f55f8 base commit (on main)

Model CI Report

❌ 2 new failed tests from this PR 😭

  • minicpmv4_6:
    tests/models/minicpmv4_6/test_modeling_minicpmv4_6.py::MiniCPMV4_6IntegrationTest::test_small_model_vision_generation_batch (❌ ⟹ ❌)
    tests/models/minicpmv4_6/test_modeling_minicpmv4_6.py::MiniCPMV4_6IntegrationTest::test_small_model_vision_generation_batch_mixed (❌ ⟹ ❌)

sbucaille pushed a commit to sbucaille/transformers that referenced this pull request Sep 16, 2026
…d output (value drift) (huggingface#48406)

* [MiniCPMV4_6] Update test_small_model_vision_generation_batch expected output (value drift)

Output drifted after huggingface#47625 refactored the Gated Delta Rule computation in
`modeling_qwen3_5.py` (MiniCPMV4_6's text backbone). Verified by bisect:
parent commit passes 3/3, the PR commit fails consistently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Added expectations for b200

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: remi-or <remi.pierre_o@orange.fr>
Co-authored-by: Rémi Ouazan <83456801+remi-or@users.noreply.github.com>
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.

3 participants