1. 02 Mar, 2023 15 commits
  2. 01 Mar, 2023 19 commits
  3. 28 Feb, 2023 6 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
    • Yih-Dar's avatar
      Make Slack CI reporting stronger (#21823) · aab895c3
      Yih-Dar authored
      
      
      * Use token
      
      * Avoid failure
      
      * better error
      
      * Fix
      
      * fix style
      
      ---------
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      aab895c3