FIX [CI] require_read_token in the llama FA2 test (#29361)

Update test_modeling_llama.py
This commit is contained in:
Younes Belkada
2024-02-29 04:49:01 +01:00
committed by GitHub
parent 8d8ac9c2df
commit b647acdb53

View File

@@ -398,6 +398,7 @@ class LlamaModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixi
@require_torch_gpu
@require_bitsandbytes
@pytest.mark.flash_attn_test
@require_read_token
@slow
def test_flash_attn_2_generate_padding_right(self):
"""