Metadata-Version: 2.1
Name: intel-extension-for-deepspeed
Version: 0.9.4
Summary: Intel® Extension for DeepSpeed*
Home-page: https://github.com/intel/intel-extension-for-deepspeed
Author: Intel Corporation
License: https://opensource.org/license/mit
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: setuptools

# Intel® Extension for DeepSpeed*
Intel® Extension for DeepSpeed* is an extension that brings Intel GPU (XPU) support to DeepSpeed(https://github.com/Microsoft/DeepSpeed). It comes with the following components:
1. DeepSpeed Accelerator Interface implementation
2. DeepSpeed op builder implmentation for XPU
3. DeepSpeed op builder kernel code

DeepSpeed would automatically use Intel® Extension for DeepSpeed* when it is installed as a python package.   After installation, models ported for DeepSpeed Accelerator Interface that run on DeepSpeed could run on Intel GPU device.

## Installation

1. Install Intel® Extension for PyTorch* following [Installation Guide](https://intel.github.io/intel-extension-for-pytorch/xpu/latest/tutorials/installation.html)

2. Install Intel® Extension for DeepSpeed*
```python
pip install intel-extension-for-deepspeed
```
 Or, you can build from source:
```python
source ${DPCPPROOT}/env/vars.sh
python setup.py install
```
Generally, DPCPPROOT is /opt/intel/oneapi/compiler/latest for root account, ${HOME}/intel/oneapi/compiler/latest for other accounts.

3. Install DeepSpeed

```python
pip install deepspeed
```
## Get Started
Refer to [examples](https://github.com/intel/intel-extension-for-deepspeed/tree/main/examples#readme)


## Security Policy
Please report security issues or vulnerabilities to the [Intel Security Center].

For more information on how Intel works to resolve security issues, see
[Vulnerability Handling Guidelines].

[Intel Security Center]:https://www.intel.com/security
[Vulnerability Handling Guidelines]:https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html


