1. 06 Mar, 2023 2 commits
  2. 03 Mar, 2023 3 commits
  3. 02 Mar, 2023 9 commits
  4. 01 Mar, 2023 6 commits
  5. 28 Feb, 2023 9 commits
    • Sylvain Gugger's avatar
      Fix flaky test for log level (#21776) · b29e2dca
      Sylvain Gugger authored
      * Fix flaky test for log level
      
      * Fix other flaky test
      b29e2dca
    • Matt's avatar
      Improve TF weight loading, especially PT crossloading (#21792) · acfb714b
      Matt authored
      * First commit for the improved PT-TF weight loading
      
      * Remove workarounds from TFEncoderDecoder tests
      
      * Allow a custom weight renaming function in from_pretrained and use that to clean up EncoderDecoder
      
      * make fixup
      
      * First attempt at visionencoderdecoder
      
      * Disable tensorfloat32 in tests to get consistent outputs
      
      * Quick fix to tf_vision_encoder_decoder tests
      
      * make fixup
      
      * Update Blenderbot tests
      
      * Remove unused arg in modeling_tf_opt
      
      * load_tf_sharded_weights had strict=True! This meant transfer learning was impossible, so I'm setting it to False.
      
      * Support prefixes when loading sharded TF checkpoints
      
      * make fixup
      
      * Add test to load sharded models with a weight prefix
      
      * Fix sharded weight loading test
      
      * Add a test for transfer from a sharded checkpoint
      
      * make fixup
      
      * Add test to check that crossloading from PT with a prefix works
      
      * Refactor from_pretrained in the encoderdecoder classes
      
      * Refactor from_pretrained in the encoderdecoder classes
      
      * missmatched -> mismatched
      
      * Explicitly check for None
      
      * No comments showing my very impressive and attractive knowledge of Py3.9+
      
      * Disable TF32 across all TF tests
      acfb714b
    • 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
    • Anahita Bhiwandiwalla's avatar
      Add loss for BridgeTowerForMaskedLM and BridgeTowerForImageAndTextRetrieval (#21684) · 4cb5ffa9
      Anahita Bhiwandiwalla authored
      
      
      * Add loss for BridgeTowerForMaskedLM and BridgeTowerForImageAndTextRetrieval
      
      * minor fix return_dict
      
      * implement test for loss computation
      
      ---------
      Co-authored-by: default avatarTiep Le <97980157+tileintel@users.noreply.github.com>
      Co-authored-by: default avatarTiep Le <tiep.le@intel.com>
      4cb5ffa9
    • Younes Belkada's avatar
      [`Blip2`] Fix Blip-2 multi gpu (#21707) · 7f4f8b97
      Younes Belkada authored
      
      
      * fix blip multi gpu
      
      * fix
      
      * final changes
      
      * adapt suggestions
      
      * fix failing slow test
      
      * forward contrib credits from testing and suggestions
      
      * reformat
      
      ---------
      Co-authored-by: default avatarakkikiki <akkikiki@users.noreply.github.com>
      7f4f8b97
    • raghavanone's avatar
      Fix the issue of blip model returning loss even when the label is not provided. (#21811) · eec76042
      raghavanone authored
      * Fix the issue of blip model returning loss even when the label is not provoided
      
      * Fix ruff failure
      
      * Incorporate PR feedbacks
      
      * Incorporate PR feedbacks
      
      * Incorporate PR feedbacks
      
      * Incorporate PR feedbacks
      eec76042
    • Younes Belkada's avatar
      [`Blip2`] Add `Blip2Model` (#21817) · b8de7e44
      Younes Belkada authored
      * add v1
      
      * add `Blip2Model`
      
      - add relevant functions
      - add tests
      - add on automapping
      
      * fix docs
      
      * fix doctest
      b8de7e44
    • Younes Belkada's avatar
      [`T5`] Fix torchquant issue (#21843) · ae9230af
      Younes Belkada authored
      * fix torchquant issue
      
      * add tests
      ae9230af
    • Yih-Dar's avatar
      Rename `MobileViTModelTest` to `TFMobileViTModelTest` (#21825) · a9dd1243
      Yih-Dar authored
      Let's give TF a bit more love 🙏
      
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      a9dd1243
  6. 27 Feb, 2023 4 commits
  7. 24 Feb, 2023 6 commits
  8. 23 Feb, 2023 1 commit