Skip to content

Commit

Permalink
upgrade glm-4v example transformers version (#11719)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinBridger authored Aug 6, 2024
1 parent bbdff6e commit 11650b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ conda activate llm
# install ipex-llm with 'all' option
pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu

pip install torchvision tiktoken
pip install torchvision tiktoken transformers==4.42.4 trl
```

On Windows:
Expand All @@ -30,7 +30,7 @@ conda activate llm
pip install --pre --upgrade ipex-llm[all]
pip install torchvision tiktoken
pip install torchvision tiktoken transformers==4.42.4 trl
```

### 2. Run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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/

pip install tiktoken
pip install tiktoken transformers==4.42.4 trl
```

#### 1.2 Installation on Windows
Expand All @@ -27,7 +27,7 @@ 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/

pip install tiktoken
pip install tiktoken transformers==4.42.4 trl
```

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

0 comments on commit 11650b6

Please sign in to comment.