transformers/tests/generation
Yao Matrix 24e311f42b
fix XPU UT error case brough by RNG difference btw XPU and CUDA (#37121)
* fix XPU UT error case brough by RNG difference btw XPU and CUDA

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* enable tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits and tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits_bf16 on xpu

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* Revert "enable tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits and tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits_bf16 on xpu"

This reverts commit 3ef83a4f02.

---------

Signed-off-by: YAO Matrix <matrix.yao@intel.com>
2025-04-01 13:52:55 +01:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_beam_constraints.py chore: fix typos in tests directory (#36785) 2025-03-18 10:31:13 +01:00
test_beam_search.py Fix more inefficient PT operations (#37060) 2025-03-31 16:31:24 +01:00
test_candidate_generator.py Universal Speculative Decoding CandidateGenerator (#35029) 2025-02-26 16:14:02 +00:00
test_configuration_utils.py fix typos in the tests directory (#36717) 2025-03-17 17:45:57 +00:00
test_fsdp.py [MLU] Fix FA2 check error, remove deepspeed-mlu deps. (#36159) 2025-03-31 11:02:49 +02:00
test_logits_process.py fix XPU UT error case brough by RNG difference btw XPU and CUDA (#37121) 2025-04-01 13:52:55 +01:00
test_stopping_criteria.py fix typos in the tests directory (#36717) 2025-03-17 17:45:57 +00:00
test_streamers.py Enable pytest live log and show warning logs on GitHub Actions CI runs (#35912) 2025-02-10 13:36:20 +01:00
test_utils.py enable test_assisted_decoding_in_different_gpu test on XPU (#37120) 2025-04-01 11:22:59 +02:00