Update windows installation guide regarding troubleshooting (#12270)

This commit is contained in:
Yuwen Hu 2024-10-25 14:32:38 +08:00 committed by GitHub
parent 93895b2ac2
commit 94c4568988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,13 +169,7 @@ Please also set the following environment variable if you would like to run LLMs
#### 1. Error loading `intel_extension_for_pytorch` #### 1. Error loading `intel_extension_for_pytorch`
If you met error when importing `intel_extension_for_pytorch`, please ensure that you have completed the following steps: If you met error when importing `intel_extension_for_pytorch`, please ensure that `libuv` is installed in your conda environment. This can be done during the creation of the environment with the command:
* Ensure that you have installed Visual Studio with "Desktop development with C++" workload.
* Make sure that the correct version of oneAPI, specifically 2024.0, is installed.
* Ensure that `libuv` is installed in your conda environment. This can be done during the creation of the environment with the command:
```cmd ```cmd
conda create -n llm python=3.11 libuv conda create -n llm python=3.11 libuv
``` ```
@ -184,12 +178,6 @@ If you met error when importing `intel_extension_for_pytorch`, please ensure tha
conda install libuv conda install libuv
``` ```
<!-- * For oneAPI installed using the Offline installer, make sure you have configured oneAPI environment variables in your Miniforge 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 Miniforge Prompt window. -->
## Linux ## Linux
### Prerequisites ### Prerequisites