Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
Update install tiktoken required for GLM-4
  • Loading branch information
lzivan committed Jun 11, 2024
1 parent 83b514d commit 32b44a3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ conda create -n llm python=3.11
conda activate llm
# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

#### 1.2 Installation on Windows
Expand All @@ -24,6 +27,9 @@ conda activate llm

# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

### 2. Configures OneAPI environment variables for Linux
Expand Down Expand Up @@ -149,6 +155,9 @@ conda create -n llm python=3.11
conda activate llm
# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

#### 1.2 Installation on Windows
Expand All @@ -159,6 +168,9 @@ conda activate llm

# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

### 2. Configures OneAPI environment variables for Linux
Expand Down
6 changes: 6 additions & 0 deletions python/llm/example/GPU/PyTorch-Models/Model/glm4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ conda create -n llm python=3.11
conda activate llm
# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

#### 1.2 Installation on Windows
Expand All @@ -24,6 +27,9 @@ conda activate llm

# below command will install intel_extension_for_pytorch==2.1.10+xpu as default
pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

# install tiktoken required for GLM-4
pip install tiktoken
```

### 2. Configures OneAPI environment variables for Linux
Expand Down

0 comments on commit 32b44a3

Please sign in to comment.