1. 14 Jun, 2023 2 commits
  2. 13 Jun, 2023 7 commits
  3. 12 Jun, 2023 4 commits
  4. 10 Jun, 2023 1 commit
  5. 09 Jun, 2023 7 commits
  6. 08 Jun, 2023 2 commits
  7. 07 Jun, 2023 4 commits
  8. 06 Jun, 2023 4 commits
    • Sylvain Gugger's avatar
      Remote code improvements (#23959) · f1660d7e
      Sylvain Gugger authored
      
      
      * Fix model load when it has both code on the Hub and locally
      
      * Add input check with timeout
      
      * Add tests
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLysandre Debut <lysandre.debut@reseau.eseo.fr>
      
      * Some non-saved stuff
      
      * Add feature extractors
      
      * Add image processor
      
      * Add model
      
      * Add processor and tokenizer
      
      * Reduce timeout
      
      ---------
      Co-authored-by: default avatarLysandre Debut <lysandre.debut@reseau.eseo.fr>
      f1660d7e
    • Matt's avatar
      Move TF building to an actual build() method (#23760) · 4a55e478
      Matt authored
      * A fun new PR where I break the entire codebase again
      
      * A fun new PR where I break the entire codebase again
      
      * Handle cross-attention
      
      * Move calls to model(model.dummy_inputs) to the new build() method
      
      * Seeing what fails with the build context thing
      
      * make fix-copies
      
      * Let's see what fails with new build methods
      
      * Fix the pytorch crossload build calls
      
      * Fix the overridden build methods in vision_text_dual_encoder
      
      * Make sure all our build methods set self.built or call super().build(), which also sets it
      
      * make fix-copies
      
      * Remove finished TODO
      
      * Tentatively remove unneeded (?) line
      
      * Transpose b in deberta correctly and remove unused threading local
      
      * Get rid of build_with_dummies and all it stands for
      
      * Rollback some changes to TF-PT crossloading
      
      * Correctly call super().build()
      4a55e478
    • amyeroberts's avatar
      Add TimmBackbone model (#22619) · a717e031
      amyeroberts authored
      
      
      * Add test_backbone for convnext
      
      * Add TimmBackbone model
      
      * Add check for backbone type
      
      * Tidying up - config checks
      
      * Update convnextv2
      
      * Tidy up
      
      * Fix indices & clearer comment
      
      * Exceptions for config checks
      
      * Correclty update config for tests
      
      * Safer imports
      
      * Safer safer imports
      
      * Fix where decorators go
      
      * Update import logic and backbone tests
      
      * More import fixes
      
      * Fixup
      
      * Only import all_models if torch available
      
      * Fix kwarg updates in from_pretrained & main rebase
      
      * Tidy up
      
      * Add tests for AutoBackbone
      
      * Tidy up
      
      * Fix import error
      
      * Fix up
      
      * Install nattan in doc_test_job
      
      * Revert back to setting self._out_xxx directly
      
      * Bug fix - out_indices mapping from out_features
      
      * Fix tests
      
      * Dont accept output_loading_info for Timm models
      
      * Set out_xxx and don't remap
      
      * Use smaller checkpoint for test
      
      * Don't remap timm indices - check out_indices based on stage names
      
      * Skip test as it's n/a
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Cleaner imports / spelling is hard
      
      ---------
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      a717e031
    • Sylvain Gugger's avatar
  9. 05 Jun, 2023 3 commits
  10. 02 Jun, 2023 3 commits
  11. 01 Jun, 2023 1 commit
  12. 31 May, 2023 2 commits