1. 05 Sep, 2023 1 commit
    • Abhilash Majumder's avatar
      Patch with accelerate xpu (#25714) · 70a98024
      Abhilash Majumder authored
      * patch with accelerate xpu
      
      * patch with accelerate xpu
      
      * formatting
      
      * fix tests
      
      * revert ruff unrelated fixes
      
      * revert ruff unrelated fixes
      
      * revert ruff unrelated fixes
      
      * fix test
      
      * review fixes
      
      * review fixes
      
      * black fixed
      
      * review commits
      
      * review commits
      
      * style fix
      
      * use pytorch_utils
      
      * revert markuplm test
      70a98024
  2. 01 Sep, 2023 1 commit
  3. 15 Aug, 2023 1 commit
    • Zach Mueller's avatar
      Make training args fully immutable (#25435) · ca514992
      Zach Mueller authored
      * Make training args fully immutable
      
      * Working tests, PyTorch
      
      * In test_trainer
      
      * during testing
      
      * Use proper dataclass way
      
      * Fix test
      
      * Another one
      
      * Fix tf
      
      * Lingering slow
      
      * Exception
      
      * Clean
      ca514992
  4. 24 Jul, 2023 1 commit
  5. 18 Jul, 2023 1 commit
  6. 17 Apr, 2023 1 commit
  7. 12 Apr, 2023 1 commit
  8. 06 Feb, 2023 1 commit
    • Sylvain Gugger's avatar
      Update quality tooling for formatting (#21480) · 6f79d264
      Sylvain Gugger authored
      * Result of black 23.1
      
      * Update target to Python 3.7
      
      * Switch flake8 to ruff
      
      * Configure isort
      
      * Configure isort
      
      * Apply isort with line limit
      
      * Put the right black version
      
      * adapt black in check copies
      
      * Fix copies
      6f79d264
  9. 18 Jan, 2023 1 commit
    • jeffhataws's avatar
      Add AWS Neuron torchrun support (#20806) · c59d71b2
      jeffhataws authored
      * Add XLA torchrun support
      
      * Clarify that currently DDP doesn't work with torch.distributed XLA backend yet
      
      * Enable DDP with torchrun and XLA (now available in PT-XLA 1.13)
      
      * Add check for AWS Neuron availability and AWS Neuron specific compiler flag
      
      * Change the new test's name to TestTrainerDistributedNeuronCore
      
      * Remove "assert" and replace raised exception
      
      * Remove compiler flag as it is optional. If needed, will be another PR.
      
      * Use TORCHELASTIC_RUN_ID to determine whether torchrun is used
      c59d71b2
  10. 23 Feb, 2022 1 commit
  11. 19 Aug, 2021 1 commit
  12. 15 Jun, 2021 1 commit
  13. 31 Mar, 2021 1 commit
  14. 23 Mar, 2021 1 commit
  15. 18 Mar, 2021 1 commit
  16. 07 Dec, 2020 1 commit
  17. 10 Nov, 2020 1 commit
  18. 28 Oct, 2020 1 commit
  19. 14 Oct, 2020 1 commit
  20. 20 Aug, 2020 1 commit
    • Sylvain Gugger's avatar
      Add tests to Trainer (#6605) · 573bdb0a
      Sylvain Gugger authored
      * Add tests to Trainer
      
      * Test if removing long breaks everything
      
      * Remove ugly hack
      
      * Fix distributed test
      
      * Use float for number of epochs
      573bdb0a
  21. 25 Jun, 2020 1 commit
    • Thomas Wolf's avatar
      [Tokenization] Fix #5181 - make #5155 more explicit - move back the default... · 27cf1d97
      Thomas Wolf authored
      [Tokenization] Fix #5181 - make #5155 more explicit - move back the default logging level in tests to WARNING (#5252)
      
      * fix-5181
      
      Padding to max sequence length while truncation to another length was wrong on slow tokenizers
      
      * clean up and fix #5155
      
      * fix XLM test
      
      * Fix tests for Transfo-XL
      
      * logging only above WARNING in tests
      
      * switch slow tokenizers tests in @slow
      
      * fix Marian truncation tokenization test
      
      * style and quality
      
      * make the test a lot faster by limiting the sequence length used in tests
      27cf1d97
  22. 15 Jun, 2020 1 commit
  23. 20 May, 2020 1 commit
  24. 19 May, 2020 1 commit