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
00ea4565
Unverified
Commit
00ea4565
authored
Nov 27, 2020
by
Stas Bekman
Committed by
GitHub
Nov 27, 2020
Browse files
suggest a numerical limit of 50MB for determining @slow (#8824)
parent
0a921b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
docs/source/testing.rst
docs/source/testing.rst
+4
-3
No files found.
docs/source/testing.rst
View file @
00ea4565
...
...
@@ -909,9 +909,10 @@ pipelines), then we should run that test in the non-slow test suite. If it's foc
such as the documentation or the examples, then we should run these tests in the slow test suite. And then, to refine
this approach we should have exceptions:
* All tests that need to download a heavy set of weights (e.g., model or tokenizer integration tests, pipeline
integration tests) should be set to slow. If you'
re
adding
a
new
model
,
you
should
create
and
upload
to
the
hub
a
tiny
version
of
it
(
with
random
weights
)
for
integration
tests
.
This
is
discussed
in
the
following
paragraphs
.
* All tests that need to download a heavy set of weights or a dataset that is larger than ~50MB (e.g., model or
tokenizer integration tests, pipeline integration tests) should be set to slow. If you'
re
adding
a
new
model
,
you
should
create
and
upload
to
the
hub
a
tiny
version
of
it
(
with
random
weights
)
for
integration
tests
.
This
is
discussed
in
the
following
paragraphs
.
*
All
tests
that
need
to
do
a
training
not
specifically
optimized
to
be
fast
should
be
set
to
slow
.
*
We
can
introduce
exceptions
if
some
of
these
should
-
be
-
non
-
slow
tests
are
excruciatingly
slow
,
and
set
them
to
``@
slow
``.
Auto
-
modeling
tests
,
which
save
and
load
large
files
to
disk
,
are
a
good
example
of
tests
that
are
marked
...
...
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