transformers
df6f36a1 - deprecate function `get_default_device` in `tools/base.py` (#26774)

Commit
2 years ago
deprecate function `get_default_device` in `tools/base.py` (#26774) * get default device through `PartialState().default_device` as is has been officially released * apply code review suggestion * apply code review suggestion Co-authored-by: Zach Mueller <muellerzr@gmail.com> --------- Co-authored-by: Zach Mueller <muellerzr@gmail.com>
Author
Parents
Loading