DeepSpeed
1d819673 - Fix the TypeError for XPU Accelerator (#5531)

Commit
1 year ago
Fix the TypeError for XPU Accelerator (#5531) Fixing following error /datadisk2/wengshiy/llm.devkit/DeepSpeed/deepspeed/runtime/utils.py return get_accelerator().FloatTensor(float(v)).detach() TypeError: new(): data must be a sequence (got float) cuda accelerator modified the interface for fixing warning: https://github.com/microsoft/DeepSpeed/commit/177dc14331a64e61f6dcce2c4b8071576bcb22db --------- Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>
Author
Parents
Loading