Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation guide #10880

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions docs/readthedocs/source/doc/LLM/Overview/install_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ IPEX-LLM GPU support on Linux has been verified on:

.. code-block:: bash

# First, Create a Python 3.11 enviroment and activate it.
conda create -n llm python=3.11
conda activate llm

export PYTHONUSERBASE=~/intel/oneapi
pip install dpcpp-cpp-rt==2024.0.2 mkl-dpcpp==2024.0.0 onednn==2024.0.0 --user

Expand All @@ -237,6 +241,9 @@ IPEX-LLM GPU support on Linux has been verified on:
.. note::
You can view the configured environment variables for your environment (e.g. with name ``llm``) by running ``conda env config vars list -n llm``.
You can continue with your working conda environment and install ``ipex-llm`` as guided in the next section.

.. note::
If you are using ``zsh`` instead of ``bash``, remember to replace ``~`` by ``${HOME}`` when setting environment variables.

.. note::

Expand Down Expand Up @@ -314,6 +321,10 @@ IPEX-LLM GPU support on Linux has been verified on:

.. code-block:: bash

# First, Create a Python 3.11 enviroment and activate it.
conda create -n llm python=3.11
conda activate llm

export PYTHONUSERBASE=~/intel/oneapi
pip install dpcpp-cpp-rt==2023.2.0 mkl-dpcpp==2023.2.0 onednn-cpu-dpcpp-gpu-dpcpp==2023.2.0 --user

Expand All @@ -330,7 +341,10 @@ IPEX-LLM GPU support on Linux has been verified on:
.. note::
You can view the configured environment variables for your environment (e.g. with name ``llm``) by running ``conda env config vars list -n llm``.
You can continue with your working conda environment and install ``ipex-llm`` as guided in the next section.


.. note::
If you are using ``zsh`` instead of ``bash``, remember to replace ``~`` by ``${HOME}`` when setting environment variables.

.. note::

You are recommended not to install other pip packages in the user-defined folder for oneAPI (e.g. ``~/intel/oneapi``).
Expand Down Expand Up @@ -418,6 +432,7 @@ We recommend using [miniconda](https://docs.conda.io/en/latest/miniconda.html) t

.. code-block:: bash

# Skip these two steps for PIP-installed oneAPI since the environment has already been created.
conda create -n llm python=3.11
conda activate llm

Expand All @@ -434,7 +449,8 @@ We recommend using [miniconda](https://docs.conda.io/en/latest/miniconda.html) t
.. tab:: CN

.. code-block:: bash


# Skip these two steps for PIP-installed oneAPI since the environment has already been created.
conda create -n llm python=3.11
conda activate llm

Expand All @@ -457,6 +473,7 @@ We recommend using [miniconda](https://docs.conda.io/en/latest/miniconda.html) t

.. code-block:: bash

# Skip these two steps for PIP-installed oneAPI since the environment has already been created.
conda create -n llm python=3.11
conda activate llm

Expand All @@ -466,6 +483,7 @@ We recommend using [miniconda](https://docs.conda.io/en/latest/miniconda.html) t

.. code-block:: bash

# Skip these two steps for PIP-installed oneAPI since the environment has already been created.
conda create -n llm python=3.11
conda activate llm

Expand Down