transformers
f62407f7 - Extend import utils to cover "editable" torch versions (#29000)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Extend import utils to cover "editable" torch versions (#29000) * Extend import utils to cover "editable" torch versions * Re-add type hint * Remove whitespaces * Double quote strings * Update comment Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> * Restore package_exists * Revert "Restore package_exists" This reverts commit 66fd2cd5c33d1b9a26a8f3e8adef2e6ec1214868. --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Author
Parents
  • src/transformers/utils
    • File
      import_utils.py