Skip to content

Commit

Permalink
Remove Out of tree Driver from GPU driver installation document (#11728)
Browse files Browse the repository at this point in the history
GPU drivers are already upstreamed to Kernel 6.2+. Remove the out-of-tree driver (intel-i915-dkms) for 6.2-6.5. https://dgpu-docs.intel.com/driver/kernel-driver-types.html#gpu-driver-support
* Remove intel-i915-dkms intel-fw-gpu (only for kernel 5.19)
  • Loading branch information
qiyuangong authored Aug 7, 2024
1 parent e7f7141 commit e32d13d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
17 changes: 12 additions & 5 deletions docs/mddocs/Quickstart/install_linux_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
dkms \
linux-headers-$(uname -r) \
libc6-dev
sudo apt install intel-i915-dkms intel-fw-gpu
sudo apt-get install -y gawk libc6-dev udev\
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
Expand All @@ -60,7 +60,7 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
sudo gpasswd -a ${USER} render
newgrp render
# Verify the device is working with i915 driver
# Verify the device is working with i915 driver
sudo apt-get install -y hwinfo
hwinfo --display
```
Expand Down Expand Up @@ -94,14 +94,21 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo
sudo apt install -y intel-i915-dkms intel-fw-gpu
sudo reboot
```

<img src="https://llm-assets.readthedocs.io/en/latest/_images/gawk.png" width=100%; />

* Configure permissions
```bash
sudo gpasswd -a ${USER} render
newgrp render
# Verify the device is working with i915 driver
sudo apt-get install -y hwinfo
hwinfo --display
```

#### (Optional) Update Level Zero on Intel Core™ Ultra iGPU
For Intel Core™ Ultra integrated GPU, please make sure level_zero version >= 1.3.28717. The level_zero version can be checked with `sycl-ls`, and verison will be tagged behind `[ext_oneapi_level_zero:gpu]`.
Expand Down
17 changes: 12 additions & 5 deletions docs/readthedocs/source/doc/LLM/Quickstart/install_linux_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
dkms \
linux-headers-$(uname -r) \
libc6-dev
sudo apt install intel-i915-dkms intel-fw-gpu
sudo apt-get install -y gawk libc6-dev udev\
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo
sudo reboot
```

Expand All @@ -51,7 +51,7 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
sudo gpasswd -a ${USER} render
newgrp render
# Verify the device is working with i915 driver
# Verify the device is working with i915 driver
sudo apt-get install -y hwinfo
hwinfo --display
```
Expand Down Expand Up @@ -85,14 +85,21 @@ IPEX-LLM currently supports the Ubuntu 20.04 operating system and later, and sup
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo
sudo apt install -y intel-i915-dkms intel-fw-gpu
sudo reboot
```

<img src="https://llm-assets.readthedocs.io/en/latest/_images/gawk.png" width=100%; />

* Configure permissions
```bash
sudo gpasswd -a ${USER} render
newgrp render
# Verify the device is working with i915 driver
sudo apt-get install -y hwinfo
hwinfo --display
```

#### (Optional) Update Level Zero on Intel Core™ Ultra iGPU
For Intel Core™ Ultra integrated GPU, please make sure level_zero version >= 1.3.28717. The level_zero version can be checked with `sycl-ls`, and verison will be tagged behind `[ext_oneapi_level_zero:gpu]`.
Expand Down

0 comments on commit e32d13d

Please sign in to comment.