1. 31 May, 2023 1 commit
  2. 23 May, 2023 1 commit
  3. 07 Apr, 2023 1 commit
  4. 17 Mar, 2023 1 commit
  5. 06 Mar, 2023 1 commit
  6. 27 Feb, 2023 1 commit
  7. 16 Feb, 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. 03 Feb, 2023 1 commit
  10. 23 Jan, 2023 1 commit
  11. 08 Jan, 2023 1 commit
    • Arthur's avatar
      Replace `past` with `past_key_values` (#20944) · f0577df6
      Arthur authored
      * start cleanup
      
      * more updates
      
      * more models are affected
      
      * more updates
      
      * update generation utils
      
      * style
      
      * revert change that removed reorder cachce
      
      * update generation utils
      
      * style
      
      * style
      
      * remove reorder cache
      f0577df6
  12. 08 Dec, 2022 1 commit
  13. 14 Nov, 2022 1 commit
  14. 04 Oct, 2022 1 commit
  15. 12 Aug, 2022 1 commit
  16. 04 Aug, 2022 1 commit
    • Thomas Wang's avatar
      [BLOOM] Clean modeling code (#18344) · b69a62d5
      Thomas Wang authored
      
      
      * Cleanup some code
      
      * Improve signatures
      
      * Try to reduce the number of reshape/copies
      
      * I don't think we actually need the layer_num scaling trick
      
      * No need for duplication
      
      * Try to fix beam_search
      
      * Fix beam search
      
      * Removing layer num normalization seems to be breaking
      
      * Not sure self.layer_number normalization actually matters
      
      * Try and be backward compatible
      
      * Try to fix beam_search
      
      * Revert attempt to be backward compatible
      
      * Improve documentation on past_key_values format
      
      * Optimize the device allocation in case of hidden_states in multiple devices
      
      * No need to manually cast the values to a specific device
      
      * Rename with long version of variables
      
      * Improve type hinting
      
      * Add comment that explains that some methods return views
      
      * Actually i think the attention casting only makes sense when we use torch.float16
      
      * We don't actually need layer_number to be passed anymore
      
      * Fix FX test
      
      * Bypass torch.baddbmm
      
      * Apply suggestions from code review
      
      * Add comment about support for torchScript v1.11
      
      * fix ONNX support for bloom (#18456)
      Co-authored-by: default avatarNiklas Muennighoff <n.muennighoff@gmail.com>
      Co-authored-by: default avatarNouamane Tazi <nouamane98@gmail.com>
      b69a62d5
  17. 29 Jul, 2022 1 commit
    • Michael Benayoun's avatar
      [FX] Symbolic trace for Bloom (#18356) · 4e2f4a92
      Michael Benayoun authored
      * Bloom model can now be traced
      
      * Bloom traced model can be torch scripted and serialized
      
      * Bloom can be traced with variable keyword arguments
      
      * Enable XLNet support
      
      * Disable XLNet for now
      4e2f4a92
  18. 28 Jul, 2022 1 commit
  19. 27 Jul, 2022 1 commit
  20. 18 Jul, 2022 2 commits
  21. 11 Jul, 2022 1 commit
  22. 10 Jul, 2022 1 commit
  23. 04 Jul, 2022 1 commit
  24. 01 Jul, 2022 1 commit
  25. 27 Jun, 2022 1 commit
  26. 14 Jun, 2022 1 commit
  27. 09 Jun, 2022 1 commit