mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-15 10:38:23 +06:00
![]() * Switch to plain unittest for skipping slow tests.
Add a RUN_SLOW environment variable for running them.
* Switch to plain unittest for PyTorch dependency.
* Switch to plain unittest for TensorFlow dependency.
* Avoid leaking open files in the test suite.
This prevents spurious warnings when running tests.
* Fix unicode warning on Python 2 when running tests.
The warning was:
UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
* Support running PyTorch tests on a GPU.
Reverts
|
||
---|---|---|
.. | ||
_static | ||
imgs | ||
main_classes | ||
model_doc | ||
benchmarks.md | ||
bertology.rst | ||
conf.py | ||
converting_tensorflow_models.rst | ||
examples.md | ||
index.rst | ||
installation.md | ||
migration.md | ||
multilingual.rst | ||
notebooks.rst | ||
pretrained_models.rst | ||
quickstart.md | ||
serialization.rst | ||
torchscript.rst |