Skip to content

Commit

Permalink
Update split string in doctest to reflect huggingface#28087 (huggingf…
Browse files Browse the repository at this point in the history
  • Loading branch information
amyeroberts authored and staghado committed Jan 15, 2024
1 parent dd07e4f commit 2348f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/test_doc_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_sdpa_support_list(self):
doctext = f.read()

doctext = doctext.split(
"For now, Transformers supports inference and training through SDPA for the following architectures:"
"For now, Transformers supports SDPA inference and training for the following architectures:"
)[1]
doctext = doctext.split("Note that FlashAttention can only be used for models using the")[0]

Expand Down

0 comments on commit 2348f4d

Please sign in to comment.