ipex-llm/python/llm/example/CPU/Deepspeed-AutoTP/install.sh
Heyang Sun af94058203 [LLM] Support CPU deepspeed distributed inference (#9259)
* [LLM] Support CPU Deepspeed distributed inference

* Update run_deepspeed.py

* Rename

* fix style

* add new codes

* refine

* remove annotated codes

* refine

* Update README.md

* refine doc and example code
2023-11-06 17:56:42 +08:00

9 lines
375 B
Bash

#!/bin/bash
# install torch
pip install torch==2.1.0
# install torchccl
pip install https://intel-extension-for-pytorch.s3.amazonaws.com/torch_ccl/cpu/oneccl_bind_pt-2.1.0%2Bcpu-cp39-cp39-linux_x86_64.whl
# install deepspeed
pip install deepspeed==0.11.1
# exclude intel deepspeed extension, which is only for XPU
pip uninstall intel-extension-for-deepspeed --ignore-missing