accelerate
c231e513 - Fix KMP_AFFINITY incorrectly set for non-CPU training (#3912)

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.
Author
Parents
Loading