Add the XPU device check for pipeline mode #28326
Add the XPU check for pipeline mode
e5079304
Don't move model to device when hf_device_map isn't None
4e738524
Raise the error when xpu is not available
688ba52c
Update src/transformers/pipelines/base.py
3145caf1
Update src/transformers/pipelines/base.py
2da5cbc3
Modify the error message
0924141f
Change message format.
83a00b3d
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub