From 07f224466cacd69c6319d571d6a575ba698012fe Mon Sep 17 00:00:00 2001 From: AuroDeepta Date: Fri, 24 Jan 2025 15:36:47 -0800 Subject: [PATCH] Update README.md --- python/llm/example/GPU/HuggingFace/LLM/llama3.1/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/llm/example/GPU/HuggingFace/LLM/llama3.1/README.md b/python/llm/example/GPU/HuggingFace/LLM/llama3.1/README.md index c2454e723b1..6cc0324fd87 100644 --- a/python/llm/example/GPU/HuggingFace/LLM/llama3.1/README.md +++ b/python/llm/example/GPU/HuggingFace/LLM/llama3.1/README.md @@ -15,9 +15,10 @@ 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/ -# transformers>=4.43.1 is required for Llama3.1 with IPEX-LLM optimizations -pip install transformers==4.43.1 -pip install "trl<0.12.0" +# transformers>=4.47.1 is required for Llama3.1 with IPEX-LLM optimizations +pip install transformers==4.47.1 +pip install 'accelerate>=0.26.0' +pip install trl ``` #### 1.2 Installation on Windows