diff --git a/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm-4v/README.md b/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm-4v/README.md index cd5a5cb90d3..0bf8584a5c9 100644 --- a/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm-4v/README.md +++ b/python/llm/example/CPU/HF-Transformers-AutoModels/Model/glm-4v/README.md @@ -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: @@ -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 diff --git a/python/llm/example/GPU/HuggingFace/Multimodal/glm-4v/README.md b/python/llm/example/GPU/HuggingFace/Multimodal/glm-4v/README.md index d976b51ea1a..b4fc7341a27 100644 --- a/python/llm/example/GPU/HuggingFace/Multimodal/glm-4v/README.md +++ b/python/llm/example/GPU/HuggingFace/Multimodal/glm-4v/README.md @@ -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 @@ -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