intel / intel-extension-for-deepspeed

Intel® Extension for DeepSpeed* is an extension to DeepSpeed that brings feature support with SYCL kernels on Intel GPU(XPU) device. Note XPU is already supported in stock DeepSpeed (upstream).
MIT License
56 stars 19 forks source link

Can't instantiate abstract class XPU_Accelerator. #46

Closed teabagk7 closed 1 year ago

teabagk7 commented 1 year ago

Trying to install deepspeed after installing intel-extension-for-deepspeed and having the next error:

File "..../DeepSpeed/deepspeed/accelerator/real_accelerator.py", line 147, in get_accelerator
    ds_accelerator = XPU_Accelerator()
TypeError: Can't instantiate abstract class XPU_Accelerator with abstract method supported_dtypes

Any ideas how to fix this?

teabagk7 commented 1 year ago

Installing extension from source helped. Related to PR https://github.com/intel/intel-extension-for-deepspeed/pull/39