Skip to content

Commit

Permalink
Hide pip installer for windows install (#10568)
Browse files Browse the repository at this point in the history
* Hide oneAPI install with pip installer for now

* Small fix
  • Loading branch information
Oscilloscope98 authored Mar 27, 2024
1 parent 51d34ca commit 1bae5f4
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions docs/readthedocs/source/doc/LLM/Overview/install_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ To apply Intel GPU acceleration, there're several prerequisite steps for tools i

* Step 2: Install or update to latest [GPU driver](https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html)

* Step 3: Install Intel® oneAPI Base Toolkit 2024.0
* Step 3: Install Intel® oneAPI Base Toolkit 2024.0: download and install [Intel® oneAPI Base Toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=window&distributions=offline>) version 2024.0 through Offline Installer.

During installation, you could just continue with "Recommended Installation". If you would like to continue with "Custom Installation", please note that oneAPI Deep Neural Network Library, oneAPI Math Kernel Library, and oneAPI DPC++/C++ Compiler are required, the other components are optional.

Intel® oneAPI Base Toolkit 2024.0 installation methods:
<!-- Intel® oneAPI Base Toolkit 2024.0 installation methods:
```eval_rst
.. tabs::
Expand All @@ -38,7 +40,7 @@ Intel® oneAPI Base Toolkit 2024.0 installation methods:
.. note::
Activating your working conda environment will automatically configure oneAPI environment variables.
```
``` -->

### Install IPEX-LLM From PyPI

Expand Down Expand Up @@ -91,7 +93,9 @@ pip install --pre --upgrade ipex-llm[xpu]

To use GPU acceleration on Windows, several environment variables are required before running a GPU example.

Make sure you are using CMD (Anaconda Prompt if using conda) as PowerShell is not supported. For oneAPI installed using the Offline installer, configure oneAPI environment variables with:
<!-- Make sure you are using CMD (Anaconda Prompt if using conda) as PowerShell is not supported. For oneAPI installed using the Offline installer, configure oneAPI environment variables with: -->

Make sure you are using CMD (Anaconda Prompt if using conda) as PowerShell is not supported, and configure oneAPI environment variables with:

```cmd
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
Expand Down Expand Up @@ -143,13 +147,18 @@ If you met error when importing `intel_extension_for_pytorch`, please ensure tha
```cmd
conda install libuv
```

* For oneAPI installed using the Offline installer, make sure you have configured oneAPI environment variables in your Anaconda Prompt through
* Make sure you have configured oneAPI environment variables in your Anaconda Prompt through
```cmd
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
```
Please note that you need to set these environment variables again once you have a new Anaconda Prompt window.

<!-- * For oneAPI installed using the Offline installer, make sure you have configured oneAPI environment variables in your Anaconda Prompt through
```cmd
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
```
Please note that you need to set these environment variables again once you have a new Anaconda Prompt window. -->

## Linux

### Prerequisites
Expand Down

0 comments on commit 1bae5f4

Please sign in to comment.