1. 22 Jun, 2021 7 commits
    • Patrick von Platen's avatar
      [Flax] Main doc for event orga (#12305) · 64029abe
      Patrick von Platen authored
      * fix_torch_device_generate_test
      
      * remove @
      
      * push
      
      * finish
      
      * some typos
      
      * add more info on communication
      
      * add suggestions
      64029abe
    • Kilian Kluge's avatar
      Fix and improve documentation for LEDForConditionalGeneration (#12303) · 032d56a4
      Kilian Kluge authored
      * Replace conditional generation example (fixes #12268)
      
      * Replace model in summarization example with finetuned checkpoint, adapt example text
      
      * Fix typo in new summarization example
      
      * Fix docstring formatting, add missing import statement to example
      032d56a4
    • Suraj Patil's avatar
    • Stefan Schweter's avatar
      2affeb29
    • Hamid Shojanazeri's avatar
      Fix for the issue of device-id getting hardcoded for token_type_ids during Tracing [WIP] (#11252) · af6e01c5
      Hamid Shojanazeri authored
      
      
      * registering a buffer for token_type_ids, to pass the error of device-id getting hardcoded when tracing
      
      * sytle format
      
      * adding persistent flag to the resgitered buffers that prevent from adding them to the state_dict and addresses the Backward compatibility issue
      
      * adding the try catch to the fix as persistent flag is only available from PT >1.6
      
      * adding version check
      
      * added the condition to only use the token_type_ids buffer when its autogenerated not passed by user
      
      * adding comments and making the conidtion where token_type_ids are None to use the registered buffer
      
      * taking out position-embeddding from the if block
      
      * adding comments
      
      * handling the case if buffer for position_ids was not registered
      
      * reverted the changes on position_ids, fix the issue with size of token_type_ids buffer, moved the modification for generated token_type_ids to Bertmodel, instead of Embeddings
      
      * reverting the token_type_ids in case of None to the previous version
      
      * reverting changes on position_ids adding back the if block
      
      * changes added by running make fix-copies
      
      * changes added by running make fix-copies and added the import version as it was getting used
      
      * changes added by running make fix-copies
      
      * changes added by running make fix-copies
      
      * fixing the import format
      
      * fixing the import format
      
      * modified to use temp tensor for trimed and expanded token_type_ids buffer
      
      * changes made by fix-copies after temp tensor modifications
      
      * changes made by fix-copies after temp tensor modifications
      
      * changes made by fix-copies after temp tensor modifications
      
      * clean up
      
      * clean up
      
      * clean up
      
      * clean up
      
      * Nit
      
      * Nit
      
      * Nit
      
      * modified according to support device conversion on traced models
      
      * modified according to support device conversion on traced models
      
      * modified according to support device conversion on traced models
      
      * modified according to support device conversion on traced models
      
      * changes based on latest in master
      
      * Adapt templates
      
      * Add version import
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-32-81.us-west-2.compute.internal>
      Co-authored-by: default avatarLysandre <lysandre.debut@reseau.eseo.fr>
      af6e01c5
    • Stas Bekman's avatar
      [tests] multiple improvements (#12294) · 0d97ba8a
      Stas Bekman authored
      * [tests] multiple improvements
      
      * cleanup
      
      * style
      
      * todo to investigate
      
      * fix
      0d97ba8a
    • Stas Bekman's avatar
      [trainer + examples] set log level from CLI (#12276) · dad414d5
      Stas Bekman authored
      
      
      * set log level from CLI
      
      * add log_level_replica + test + extended docs
      
      * cleanup
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * rename datasets objects to allow datasets module
      
      * improve the doc
      
      * style
      
      * doc improve
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      dad414d5
  2. 21 Jun, 2021 10 commits
  3. 18 Jun, 2021 4 commits
  4. 17 Jun, 2021 9 commits
  5. 16 Jun, 2021 6 commits
  6. 15 Jun, 2021 4 commits