Select the Appropriate APT Repository Based on CPU Type (#12023)

This commit is contained in:
Shaojun Liu 2024-09-05 17:06:07 +08:00 committed by GitHub
parent 5b18bb3c4a
commit e5581e6ded
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,9 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
#### For Linux kernel 6.2 #### For Linux kernel 6.2
* Install wget, gpg-agent * Choose one option below depending on your CPU type:
1. **Option 1**: For `Intel Core CPU` with multiple A770 Arc GPUs. Use the following repository:
```bash ```bash
sudo apt-get install -y gpg-agent wget sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \ wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
@ -28,6 +30,15 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
``` ```
2. **Option 2**: For `Intel Xeon-W/SP CPU` with multiple A770 Arc GPUs. Use this repository for better performance:
```bash
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" | \
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
sudo apt update
```
<img src="https://llm-assets.readthedocs.io/en/latest/_images/wget.png" width=100%; /> <img src="https://llm-assets.readthedocs.io/en/latest/_images/wget.png" width=100%; />
* Install drivers * Install drivers
@ -71,7 +82,9 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
#### For Linux kernel 6.5 #### For Linux kernel 6.5
* Install wget, gpg-agent * Choose one option below depending on your CPU type:
1. **Option 1**: For `Intel Core CPU` with multiple A770 Arc GPUs. Use the following repository:
```bash ```bash
sudo apt-get install -y gpg-agent wget sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \ wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
@ -80,6 +93,15 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
``` ```
2. **Option 2**: For `Intel Xeon-W/SP CPU` with multiple A770 Arc GPUs. Use this repository for better performance:
```bash
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" | \
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
sudo apt update
```
<img src="https://llm-assets.readthedocs.io/en/latest/_images/wget.png" width=100%; /> <img src="https://llm-assets.readthedocs.io/en/latest/_images/wget.png" width=100%; />
* Install drivers * Install drivers