1. 23 Dec, 2019 1 commit
  2. 22 Dec, 2019 4 commits
  3. 21 Dec, 2019 2 commits
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
    • Aymeric Augustin's avatar
      Prevent parallel downloads of the same file with a lock. · a4c9338b
      Aymeric Augustin authored
      Since the file is written to the filesystem, a filesystem lock is the
      way to go here. Add a dependency on the third-party filelock library to
      get cross-platform functionality.
      a4c9338b
  4. 20 Dec, 2019 2 commits
  5. 19 Dec, 2019 1 commit
  6. 17 Dec, 2019 2 commits
  7. 13 Dec, 2019 1 commit
  8. 10 Dec, 2019 1 commit
  9. 06 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove dependency on pytest for running tests (#2055) · 35401fe5
      Aymeric Augustin authored
      * 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 27e015bd.
      
      * Tests no longer require pytest.
      
      * Make tests pass on cuda
      35401fe5
  10. 04 Dec, 2019 1 commit
  11. 03 Dec, 2019 1 commit
  12. 26 Nov, 2019 1 commit
  13. 11 Oct, 2019 1 commit
  14. 09 Oct, 2019 1 commit
  15. 26 Sep, 2019 3 commits
  16. 08 Sep, 2019 1 commit
  17. 05 Sep, 2019 1 commit
  18. 04 Sep, 2019 1 commit
  19. 28 Aug, 2019 1 commit
  20. 24 Aug, 2019 1 commit
  21. 23 Aug, 2019 1 commit
  22. 15 Aug, 2019 1 commit
  23. 05 Aug, 2019 1 commit
  24. 16 Jul, 2019 2 commits
  25. 05 Jul, 2019 2 commits
  26. 21 Jun, 2019 1 commit
  27. 25 Apr, 2019 1 commit
  28. 18 Feb, 2019 1 commit
  29. 17 Feb, 2019 1 commit
  30. 13 Feb, 2019 1 commit