"test/srt/vscode:/vscode.git/clone" did not exist on "1083e7e3df1e637f3f9fe246f0e87162fa7199a1"
  1. 09 Feb, 2022 1 commit
  2. 07 Feb, 2022 2 commits
    • Michael Benayoun's avatar
      FX tracing improvement (#14321) · 0fe17f37
      Michael Benayoun authored
      * Change the way tracing happens, enabling dynamic axes out of the box
      
      * Update the tests and modeling xlnet
      
      * Add the non recoding of leaf modules to avoid recording more values for the methods to record than what will be seen at tracing time (which would otherwise desynchronize the recorded values and the values that need to be given to the proxies during tracing, causing errors).
      
      * Comments and making tracing work for gpt-j and xlnet
      
      * Refactore things related to num_choices (and batch_size, sequence_length)
      
      * Update fx to work on PyTorch 1.10
      
      * Postpone autowrap_function feature usage for later
      
      * Add copyrights
      
      * Remove unnecessary file
      
      * Fix issue with add_new_model_like
      
      * Apply suggestions
      0fe17f37
    • Patrick von Platen's avatar
      [torch_int_div] Correct true division in generation (#15498) · c47d2592
      Patrick von Platen authored
      * [torch_int_div] Correct true division in generation
      
      * up
      
      * up
      c47d2592
  3. 02 Feb, 2022 1 commit
  4. 21 Jan, 2022 1 commit
    • Sylvain Gugger's avatar
      Refine errors for pretrained objects (#15261) · 6ac77534
      Sylvain Gugger authored
      * Refine errors for pretrained objects
      
      * PoC to avoid using get_list_of_files
      
      * Adapt tests to use new errors
      
      * Quality + Fix PoC
      
      * Revert "PoC to avoid using get_list_of_files"
      
      This reverts commit cb93b7cae8504ef837c2a7663cb7955e714f323e.
      
      * Revert "Quality + Fix PoC"
      
      This reverts commit 3ba6d0d4ca546708b31d355baa9e68ba9736508f.
      
      * Fix doc
      
      * Revert PoC
      
      * Add feature extractors
      
      * More tests and PT model
      
      * Adapt error message
      
      * Feature extractor tests
      
      * TF model
      
      * Flax model and test
      
      * Merge flax auto tests
      
      * Add tokenization
      
      * Fix test
      6ac77534
  5. 20 Jan, 2022 1 commit
  6. 18 Jan, 2022 1 commit
  7. 28 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc styler examples (#14953) · b5e2b183
      Sylvain Gugger authored
      * Fix bad examples
      
      * Add black formatting to style_doc
      
      * Use first nonempty line
      
      * Put it at the right place
      
      * Don't add spaces to empty lines
      
      * Better templates
      
      * Deal with triple quotes in docstrings
      
      * Result of style_doc
      
      * Enable mdx treatment and fix code examples in MDXs
      
      * Result of doc styler on doc source files
      
      * Last fixes
      
      * Break copy from
      b5e2b183
  8. 27 Dec, 2021 3 commits
  9. 21 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Mass conversion of documentation from rst to Markdown (#14866) · 27b3031d
      Sylvain Gugger authored
      * Convert docstrings of all configurations and tokenizers
      
      * Processors and fixes
      
      * Last modeling files and fixes to models
      
      * Pipeline modules
      
      * Utils files
      
      * Data submodule
      
      * All the other files
      
      * Style
      
      * Missing examples
      
      * Style again
      
      * Fix copies
      
      * Say bye bye to rst docstrings forever
      27b3031d
  10. 20 Dec, 2021 1 commit
  11. 01 Dec, 2021 1 commit
  12. 18 Nov, 2021 1 commit
  13. 16 Nov, 2021 1 commit
  14. 10 Nov, 2021 1 commit
  15. 04 Nov, 2021 1 commit
  16. 28 Oct, 2021 1 commit
  17. 22 Oct, 2021 1 commit
  18. 21 Oct, 2021 1 commit
  19. 14 Oct, 2021 1 commit
  20. 11 Oct, 2021 1 commit
  21. 08 Oct, 2021 1 commit
    • Stella Biderman's avatar
      Adds `PreTrainedModel.framework` attribute (#13817) · de344815
      Stella Biderman authored
      
      
      * Added `framework` attribute
      
      * Update modeling_utils.py
      
      * Update modeling_flax_utils.py
      
      * Update modeling_tf_utils.py
      
      * Update modeling_utils.py
      
      * Update modeling_tf_utils.py
      
      * Update modeling_tf_utils.py
      
      * Update modeling_flax_utils.py
      
      * Update modeling_tf_utils.py
      
      * Update modeling_utils.py
      
      * Update modeling_utils.py
      
      * Update modeling_tf_utils.py
      
      * Update modeling_flax_utils.py
      
      * string -> str
      
      * Update modeling_tf_utils.py
      
      * string -> str
      
      * fixup
      
      * make flake happy
      Co-authored-by: default avatarpatil-suraj <surajp815@gmail.com>
      de344815
  22. 07 Oct, 2021 2 commits
  23. 05 Oct, 2021 1 commit
  24. 24 Sep, 2021 1 commit
    • Josh Devins's avatar
      Make assertions only if actually chunking forward (#13598) · 678bb248
      Josh Devins authored
      This moves the assertion on checking input dimensions into a block that will only be called if the function is actually going to do chunking forward. This is often not the case at inference time and PyTorch tracing a model with this assertion in it leads to a tracing warning.
      
      TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
        input_tensor.shape[chunk_dim] == tensor_shape for input_tensor in input_tensors
      678bb248
  25. 23 Sep, 2021 1 commit
    • Stas Bekman's avatar
      1x model size CPU memory usage for `from_pretrained` (#13466) · 62832c96
      Stas Bekman authored
      * one possible solution
      
      * low mem from_pretrained
      
      * edge cases
      
      * solve the persistent buffers
      
      * style
      
      * parametrize
      
      * for later
      
      * proper solution
      
      * cleanup
      
      * refactor; rework based on suggestions
      
      * revert splitting into 2 parts, move checks into main func
      62832c96
  26. 22 Sep, 2021 1 commit
  27. 17 Sep, 2021 1 commit
  28. 16 Sep, 2021 1 commit
  29. 15 Sep, 2021 1 commit
  30. 08 Sep, 2021 1 commit
  31. 30 Aug, 2021 1 commit
  32. 26 Aug, 2021 1 commit
  33. 06 Aug, 2021 1 commit
    • Sylvain Gugger's avatar
      Tpu tie weights (#13030) · 7fcee113
      Sylvain Gugger authored
      * Fix tied weights on TPU
      
      * Manually tie weights in no trainer examples
      
      * Fix for test
      
      * One last missing
      
      * Gettning owned by my scripts
      
      * Address review comments
      
      * Fix test
      
      * Fix tests
      
      * Fix reformer tests
      7fcee113
  34. 04 Aug, 2021 1 commit
  35. 17 Jul, 2021 1 commit
  36. 13 Jul, 2021 1 commit