SIGN IN SIGN UP

[InternVL] Fix stale expected values for Llama integration tests (cuda sm_80) (#48153)

* [InternVL] Fix stale expected values for Llama integration tests (cuda sm_80)

The expected logits and generated text for `("cuda", 8)` (Ampere GPUs)
in `test_llama_small_model_integration_forward` and
`test_llama_small_model_integration_generate_text_only` were stale
after the CI docker was updated to torch 2.10 (commit c0fe6164d0,
"Update Nvidia CI docker file to use torch 2.10").

The actual model outputs are identical across all code commits; the
drift is purely due to the torch version change.

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

* [InternVL] Fix stale expected value for interleaved test output[0] (cuda sm_80)

`test_llama_small_model_integration_interleaved_images_videos` started
failing for `("cuda", 8)` (output[0]) after the CI docker was updated
to torch 2.13.0 / CUDA 13.0 (commit `d79d0c1ed3`, PR #47738).

Verified: both the passing commit (`b3a36037d3`, Aug 3 CI run) and the
failing commit (`ff2421c67f`, Aug 4 CI run) produce identical actual
output when run under the current docker. No code regression; the drift
is purely from the torch version change.

New value matches the existing `("cuda", 7)` expected string.

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

* [InternVL] Remove ("cuda", 7) entries from all integration test Expectations

cuda sm_70 (Volta) is no longer in the CI runner fleet; remove all
stale entries to keep the test file clean.

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

* [InternVL] Add ("cuda", 8) entries to all Expectations blocks

After removing ("cuda", 7) entries, blocks with only xpu/rocm keys left
cuda sm_80 with no match (ValueError) or the wrong rocm fallback. Add
explicit ("cuda", 8) entries with the correct values to all affected
Expectations blocks.

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

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Y
Yih-Dar committed
0c92811846095910816a87aca50050d10c545270
Parent: 9511951
Committed by GitHub <noreply@github.com> on 8/20/2026, 3:36:43 PM