Repository navigation
[Gemma] Update expected values for A10G - #47976
Merged
Merged
Conversation
Update 7 failing Gemma integration tests to reflect output changes on
CUDA compute capability 8.x (A10G) after the PyTorch 2.8.0→2.9.0 upgrade
in the CI Docker image (`10d557123b`):
- test_model_2b_4bit: add ("cuda", 8) key with new brush output
- test_model_7b_fp16: add ("cuda", 8) key with "1995 4.0L 4x4" output
- test_model_7b_bf16: update ("cuda", 8) key[0] to "small game" output
- test_model_7b_fp16_static_cache: update ("cuda", 8) to "1999 4.0L 4x4"
- test_model_7b_4bit: update ("cuda", 8) with new quantization outputs
- test_compile_static_cache: add ("cuda", 8) key with "110bhp" variant
- test_export_static_cache: remove stale ("cuda", 8) key (A10G now matches (None, None))
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Collaborator
Author
|
run-slow: gemma |
Contributor
|
This comment contains models: ["models/gemma"] |
|
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. |
Contributor
CI ResultsCommit Info
Model CI Report❌ 1 new failed tests from this PR 😭
|
Update second element to "DIY mini-f" which is the output produced on a fresh CUDA context (as in CI). "DIY 3D" is produced on warm CUDA contexts (repeated SSH runs) due to different memory allocation and SDPA kernel selection on first vs subsequent process invocations. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…ted value" This reverts commit cf17b84.
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: gemma |
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
ydshieh
force-pushed
the
fix_gemma_expected_values
branch
from
August 14, 2026 19:43
76091e6 to
3cea30a
Compare
Contributor
CI ResultsCommit Info
Model CI Report❌ 1 new failed tests from this PR 😭
|
…rward Compiling model.forward causes a CUDA graph tree RuntimeError on PyTorch >= 2.9 when multiple generate() calls are made on the same model instance. Using model.__call__ (matching the Mistral test pattern) avoids the CUDA graph lifecycle conflict. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
ydshieh
force-pushed
the
fix_gemma_expected_values
branch
from
August 14, 2026 20:02
7a60c59 to
e864981
Compare
Contributor
CI recapDashboard: View test results in Grafana |
Collaborator
Author
|
run-slow: gemma |
Contributor
|
This comment contains models: ["models/gemma"] |
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
Fixes 7 failing `GemmaIntegrationTest` slow tests on CUDA compute capability 8.x (A10G) runners, and fixes `test_compile_static_cache` which was hitting a CUDA graph `RuntimeError`.
Root cause: The CI Docker image (`huggingface/transformers-all-latest-gpu`) upgraded PyTorch 2.8.0→2.9.0 on Oct 29–30 (commit `10d557123b`), shifting generation outputs on A10G GPUs. Subsequent PyTorch and codebase changes may further shift outputs over time — this is expected behavior. Importantly, the new outputs are semantically similar to the ones that passed under PyTorch 2.8 (e.g. coherent car/DIY descriptions, consistent numeric completions), so these are numerical drift artifacts rather than model correctness regressions.
Changes:
All actual outputs were verified by running each test individually on A10G SSH runners.
🤖 Generated with Claude Code