only move model to device when model is in cpu and target device is xpu #3133
bug fix
2471af35
faaany
changed the title fix tensor device misalignment on xpu for model loaded with `device_map="auto"` only move model to device when model is in cpu and target device in xpu 1 year ago
faaany
changed the title only move model to device when model is in cpu and target device in xpu only move model to device when model is in cpu and target device is xpu 1 year ago
SunMarc
approved these changes
on 2024-09-30
muellerzr
approved these changes
on 2024-10-07
muellerzr
merged
10776115
into main 1 year ago
faaany
deleted the ipex-bug branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub