Skip to content

Commit

Permalink
LLM: fix installation of codellama (intel-analytics#9813)
Browse files Browse the repository at this point in the history
  • Loading branch information
plusbang authored Jan 2, 2024
1 parent 4d01069 commit 6584539
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ conda create -n llm python=3.9
conda activate llm

pip install bigdl-llm[all] # install bigdl-llm with 'all' option
pip install transformers==4.34.1 # CodeLlamaTokenizer is supported in higher version of transformers
```

### 2. Run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ conda create -n llm python=3.9 # recommend to use Python 3.9
conda activate llm

pip install --pre --upgrade bigdl-llm[all] # install the latest bigdl-llm nightly build with 'all' option
pip install transformers==4.34.1 # CodeLlamaTokenizer is supported in higher version of transformers
```

### 2. Run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ conda activate llm
# below command will install intel_extension_for_pytorch==2.0.110+xpu as default
# you can install specific ipex/torch version for your need
pip install --pre --upgrade bigdl-llm[xpu] -f https://developer.intel.com/ipex-whl-stable-xpu
pip install transformers==4.34.1 # CodeLlamaTokenizer is supported in higher version of transformers
```

### 2. Configures OneAPI environment variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ conda activate llm
# below command will install intel_extension_for_pytorch==2.0.110+xpu as default
# you can install specific ipex/torch version for your need
pip install --pre --upgrade bigdl-llm[xpu] -f https://developer.intel.com/ipex-whl-stable-xpu
pip install transformers==4.34.1 # CodeLlamaTokenizer is supported in higher version of transformers
```

### 2. Configures OneAPI environment variables
Expand Down

0 comments on commit 6584539

Please sign in to comment.