diff --git a/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm4/README.md b/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm4/README.md index cf4c99d1201..dea525d94f1 100644 --- a/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm4/README.md +++ b/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm4/README.md @@ -17,8 +17,8 @@ conda activate llm # install the latest ipex-llm nightly build with 'all' option pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu -# install tiktoken required for GLM-4 -pip install "tiktoken>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` On Windows: @@ -29,7 +29,7 @@ conda activate llm pip install --pre --upgrade ipex-llm[all] -pip install "tiktoken>=0.7.0" +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` ## 2. Run diff --git a/python/llm/example/CPU/PyTorch-Models/Model/glm4/README.md b/python/llm/example/CPU/PyTorch-Models/Model/glm4/README.md index 2af60c6f49a..6c05d588e38 100644 --- a/python/llm/example/CPU/PyTorch-Models/Model/glm4/README.md +++ b/python/llm/example/CPU/PyTorch-Models/Model/glm4/README.md @@ -20,8 +20,8 @@ conda activate llm # install the latest ipex-llm nightly build with 'all' option pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu -# install tiktoken required for GLM-4 -pip install "tiktoken>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` On Windows: @@ -32,7 +32,7 @@ conda activate llm pip install --pre --upgrade ipex-llm[all] -pip install "tiktoken>=0.7.0" +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` ### 2. Run diff --git a/python/llm/example/GPU/HuggingFace/LLM/glm4/README.md b/python/llm/example/GPU/HuggingFace/LLM/glm4/README.md index 14d3f645f61..2f6757b9c96 100644 --- a/python/llm/example/GPU/HuggingFace/LLM/glm4/README.md +++ b/python/llm/example/GPU/HuggingFace/LLM/glm4/README.md @@ -13,8 +13,8 @@ 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>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` ### 1.2 Installation on Windows @@ -26,8 +26,8 @@ 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>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` ## 2. Configures OneAPI environment variables for Linux diff --git a/python/llm/example/GPU/PyTorch-Models/Model/glm4/README.md b/python/llm/example/GPU/PyTorch-Models/Model/glm4/README.md index f7e95fddacc..b9082c45a4c 100644 --- a/python/llm/example/GPU/PyTorch-Models/Model/glm4/README.md +++ b/python/llm/example/GPU/PyTorch-Models/Model/glm4/README.md @@ -15,8 +15,8 @@ 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>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` #### 1.2 Installation on Windows @@ -28,8 +28,8 @@ 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>=0.7.0" +# install packages required for GLM-4 +pip install "tiktoken>=0.7.0" transformers==4.42.4 trl ``` ### 2. Configures OneAPI environment variables for Linux