accelerate
c231e513
- Fix KMP_AFFINITY incorrectly set for non-CPU training (#3912)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
28 days ago
Fix KMP_AFFINITY incorrectly set for non-CPU training (#3912) The string "False" is truthy in Python, so `if current_env["ACCELERATE_USE_CPU"]:` always evaluates to True. Use parse_flag_from_env() for proper boolean parsing.
References
#3912 - Fix KMP_AFFINITY incorrectly set for non-CPU training
Author
hexfaker
Parents
00e4d264
Loading