1. 07 Jun, 2024 1 commit
  2. 22 May, 2024 1 commit
  3. 22 Apr, 2024 1 commit
  4. 11 Jan, 2024 1 commit
  5. 13 Nov, 2023 1 commit
  6. 31 Oct, 2023 1 commit
    • Hz, Ji's avatar
      device agnostic models testing (#27146) · 50378cbf
      Hz, Ji authored
      * device agnostic models testing
      
      * add decorator `require_torch_fp16`
      
      * make style
      
      * apply review suggestion
      
      * Oops, the fp16 decorator was misused
      50378cbf
  7. 30 Oct, 2023 1 commit
  8. 05 Oct, 2023 1 commit
  9. 03 Oct, 2023 1 commit
  10. 05 Sep, 2023 1 commit
  11. 02 Aug, 2023 2 commits
  12. 27 Jun, 2023 1 commit
  13. 20 Jun, 2023 1 commit
  14. 12 Jun, 2023 1 commit
  15. 07 Jun, 2023 1 commit
  16. 02 Jun, 2023 1 commit
  17. 21 Mar, 2023 1 commit
  18. 01 Mar, 2023 1 commit
    • Arthur's avatar
      prepare for "__floordiv__ is deprecated and its behavior will change in a... · 44e3e3fb
      Arthur authored
      prepare for "__floordiv__ is deprecated  and its behavior will change in a future version of pytorch" (#20211)
      
      * rounding_mode = "floor"  instead of // to prevent behavioral change
      
      * add other TODO
      
      * use `torch_int_div` from pytrch_utils
      
      * same for tests
      
      * fix copies
      
      * style
      
      * use relative imports when needed
      
      * Co-authored-by: sgugger <sylvain.gugger@gmail.com>
      44e3e3fb
  19. 28 Feb, 2023 1 commit
    • Yih-Dar's avatar
      馃敟Rework pipeline testing by removing `PipelineTestCaseMeta` 馃殌 (#21516) · 871c31a6
      Yih-Dar authored
      
      
      * Add PipelineTesterMixin
      
      * remove class PipelineTestCaseMeta
      
      * move validate_test_components
      
      * Add for ViT
      
      * Add to SPECIAL_MODULE_TO_TEST_MAP
      
      * style and quality
      
      * Add feature-extraction
      
      * update
      
      * raise instead of skip
      
      * add tiny_model_summary.json
      
      * more explicit
      
      * skip tasks not in mapping
      
      * add availability check
      
      * Add Copyright
      
      * A way to diable irrelevant tests
      
      * update with main
      
      * remove disable_irrelevant_tests
      
      * skip tests
      
      * better skip message
      
      * better skip message
      
      * Add all pipeline task tests
      
      * revert
      
      * Import PipelineTesterMixin
      
      * subclass test classes with PipelineTesterMixin
      
      * Add pipieline_model_mapping
      
      * Fix import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix one more import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix test issues
      
      * Fix import requirements
      
      * Fix mapping for MobileViTModelTest
      
      * Update
      
      * Better skip message
      
      * pipieline_model_mapping could not be None
      
      * Remove some PipelineTesterMixin
      
      * Fix typo
      
      * revert tests_fetcher.py
      
      * update
      
      * rename
      
      * revert
      
      * Remove PipelineTestCaseMeta from ZeroShotAudioClassificationPipelineTests
      
      * style and quality
      
      * test fetcher for all pipeline/model tests
      
      ---------
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      871c31a6
  20. 13 Feb, 2023 1 commit
  21. 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
  22. 27 Dec, 2022 1 commit
  23. 27 Oct, 2022 1 commit
  24. 18 Oct, 2022 1 commit
  25. 16 Sep, 2022 1 commit
  26. 12 May, 2022 1 commit
  27. 03 May, 2022 1 commit
    • Yih-Dar's avatar
      Move test model folders (#17034) · 19420fd9
      Yih-Dar authored
      
      
      * move test model folders (TODO: fix imports and others)
      
      * fix (potentially partially) imports (in model test modules)
      
      * fix (potentially partially) imports (in tokenization test modules)
      
      * fix (potentially partially) imports (in feature extraction test modules)
      
      * fix import utils.test_modeling_tf_core
      
      * fix path ../fixtures/
      
      * fix imports about generation.test_generation_flax_utils
      
      * fix more imports
      
      * fix fixture path
      
      * fix get_test_dir
      
      * update module_to_test_file
      
      * fix get_tests_dir from wrong transformers.utils
      
      * update config.yml (CircleCI)
      
      * fix style
      
      * remove missing imports
      
      * update new model script
      
      * update check_repo
      
      * update SPECIAL_MODULE_TO_TEST_MAP
      
      * fix style
      
      * add __init__
      
      * update self-scheduled
      
      * fix add_new_model scripts
      
      * check one way to get location back
      
      * python setup.py build install
      
      * fix import in test auto
      
      * update self-scheduled.yml
      
      * update slack notification script
      
      * Add comments about artifact names
      
      * fix for yolos
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      19420fd9
  28. 29 Apr, 2022 1 commit
  29. 19 Apr, 2022 1 commit
  30. 11 Apr, 2022 1 commit
  31. 23 Feb, 2022 1 commit
  32. 07 Feb, 2022 1 commit
  33. 31 Jan, 2022 1 commit
  34. 18 Jan, 2022 1 commit
  35. 16 Jan, 2022 1 commit
  36. 28 Dec, 2021 1 commit
    • Patrick von Platen's avatar
      [Wav2Vec2] Rename model's feature extractor to feature encoder (#14959) · 600496fa
      Patrick von Platen authored
      * rename classes
      
      * clean up more namings
      
      * remove bogus file
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * replace more names
      
      * more regex replace
      
      * make style
      
      * correct
      
      * correct more
      
      * make style
      
      * finish
      
      * correct more in wav2vec2
      
      * make style
      
      * improve freeze_extractor
      
      * add aliases
      
      * add tf aliases
      600496fa
  37. 23 Dec, 2021 1 commit
  38. 17 Dec, 2021 1 commit
  39. 16 Dec, 2021 1 commit