Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
bd7a3561
Unverified
Commit
bd7a3561
authored
Dec 19, 2023
by
amyeroberts
Committed by
GitHub
Dec 19, 2023
Browse files
Update split string in doctest to reflect #28087 (#28135)
parent
5aec50ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/utils/test_doc_samples.py
tests/utils/test_doc_samples.py
+1
-1
No files found.
tests/utils/test_doc_samples.py
View file @
bd7a3561
...
@@ -60,7 +60,7 @@ class TestDocLists(unittest.TestCase):
...
@@ -60,7 +60,7 @@ class TestDocLists(unittest.TestCase):
doctext
=
f
.
read
()
doctext
=
f
.
read
()
doctext
=
doctext
.
split
(
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
]
)[
1
]
doctext
=
doctext
.
split
(
"Note that FlashAttention can only be used for models using the"
)[
0
]
doctext
=
doctext
.
split
(
"Note that FlashAttention can only be used for models using the"
)[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment