diff --git a/llm/cpu/index.html b/llm/cpu/index.html index 2f2f0826a..aea3a04b5 100644 --- a/llm/cpu/index.html +++ b/llm/cpu/index.html @@ -125,7 +125,7 @@

Installation

Install From Prebuilt Wheel Files

-
python -m pip install torch==2.1.0.dev20230711+cpu torchvision==0.16.0.dev20230711+cpu torchaudio==2.1.0.dev20230711+cpu --index-url https://download.pytorch.org/whl/nightly/cpu
+
python -m pip install https://download.pytorch.org/whl/nightly/cpu/torch-2.1.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl https://download.pytorch.org/whl/nightly/cpu/torchvision-0.16.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl https://download.pytorch.org/whl/nightly/cpu/torchaudio-2.1.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl
 python -m pip install https://intel-extension-for-pytorch.s3.amazonaws.com/ipex_dev/cpu/intel_extension_for_pytorch-2.1.0.dev0%2Bcpu.llm-cp39-cp39-linux_x86_64.whl
 conda install -y libstdcxx-ng=12 -c conda-forge
 
@@ -133,7 +133,13 @@

Install From Prebuilt Wheel Files

Compile From Source

+
+

Note

+

Make sure you are using a Python 3.9 conda environment.

+
wget https://github.com/intel/intel-extension-for-pytorch/raw/v2.1.0.dev%2Bcpu.llm/scripts/compile_bundle.sh
+sed -i "18 i conda update -y sysroot_linux-64" compile_bundle.sh
+sed -i "49s|.*|python -m pip install https://download.pytorch.org/whl/nightly/cpu/torch-2.1.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl https://download.pytorch.org/whl/nightly/cpu/torchvision-0.16.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl https://download.pytorch.org/whl/nightly/cpu/torchaudio-2.1.0.dev20230711%2Bcpu-cp39-cp39-linux_x86_64.whl|" compile_bundle.sh
 bash compile_bundle.sh
 
@@ -332,4 +338,4 @@

Distributed Performance with DeepSpeed (autoTP)