transformers
fix: Updated the `is_torch_mps_available()` function to include `min_version` argument
#32545
Merged

fix: Updated the `is_torch_mps_available()` function to include `min_version` argument #32545

Sai-Suraj-27
Sai-Suraj-27 Fixed wrong argument in is_torch_mps_available() function call.
c408e068
muellerzr
Sai-Suraj-27 Fixed wrong argument in is_torch_mps_available() function call.
f0dd929f
Sai-Suraj-27 sorted the import.
183c6730
Sai-Suraj-27
Sai-Suraj-27 Sai-Suraj-27 changed the title fix: Removed wrong argument in `is_torch_mps_available()` function call fix: Fixed wrong argument in `is_torch_mps_available()` function call 1 year ago
muellerzr
muellerzr commented on 2024-08-08
Sai-Suraj-27 Fixed wrong argument in is_torch_mps_available() function call.
3ce985d9
Sai-Suraj-27 Sai-Suraj-27 changed the title fix: Fixed wrong argument in `is_torch_mps_available()` function call fix: Updated the `is_torch_mps_available()` function to include `min_version` argument 1 year ago
Sai-Suraj-27 Fixed wrong argument in is_torch_mps_available() function call.
1535f119
Sai-Suraj-27 Merge branch 'main' of https://github.com/huggingface/transformers in…
742957a4
Sai-Suraj-27 Merge branch 'main' of https://github.com/huggingface/transformers in…
8d3cef28
ArthurZucker
ArthurZucker commented on 2024-08-12
Sai-Suraj-27 Update src/transformers/utils/import_utils.py
ca8f2d64
Sai-Suraj-27 Merge branch 'main' of https://github.com/huggingface/transformers in…
ee83d391
Sai-Suraj-27 Merge branch 'fix_is_torch_mps_available' of https://github.com/Sai-S…
71250aa0
Sai-Suraj-27 removed extra space.
718308c9
amyeroberts
amyeroberts approved these changes on 2024-08-12
Sai-Suraj-27 Added type hint for the min_version parameter.
7976ce39
Sai-Suraj-27 Added missing import.
7d9e0a62
amyeroberts amyeroberts merged 2a5a6ad1 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone