"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "9740a03f61eee729fc153fd3ec43bf3e631270d1"
auto-detect device when no device is passed to pipeline (#31398)
* fix device * Update src/transformers/pipelines/base.py Co-authored-by:amyeroberts <22614925+amyeroberts@users.noreply.github.com> * bug fix * add warning --------- Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Showing
Please register or sign in to comment