Update README.md
Browse files
README.md
CHANGED
@@ -3,13 +3,18 @@ tags:
|
|
3 |
- npu
|
4 |
- amd
|
5 |
- llama3
|
|
|
6 |
---
|
7 |
|
8 |
-
This model is [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) AWQ quantized and converted version to run on the [NPU installed Ryzen AI PC](https://github.com/amd/RyzenAI-SW/issues/18), for example, Ryzen 9 7940HS Processor.
|
9 |
|
10 |
For set up Ryzen AI for LLMs in window 11, see [Running LLM on AMD NPU Hardware](https://www.hackster.io/gharada2013/running-llm-on-amd-npu-hardware-19322f).
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
|
14 |
### setup
|
15 |
In cmd windows.
|
@@ -18,6 +23,8 @@ conda activate ryzenai-transformers
|
|
18 |
<your_install_path>\RyzenAI-SW\example\transformers\setup.bat
|
19 |
|
20 |
pip install transformers==4.41.2
|
|
|
|
|
21 |
pip install tokenizers==0.19.1
|
22 |
|
23 |
git lfs install
|
|
|
3 |
- npu
|
4 |
- amd
|
5 |
- llama3
|
6 |
+
- Ryzen AI
|
7 |
---
|
8 |
|
9 |
+
This model is [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) AWQ quantized and converted version to run on the [NPU installed Ryzen AI PC](https://github.com/amd/RyzenAI-SW/issues/18), for example, Ryzen 9 7940HS Processor.
|
10 |
|
11 |
For set up Ryzen AI for LLMs in window 11, see [Running LLM on AMD NPU Hardware](https://www.hackster.io/gharada2013/running-llm-on-amd-npu-hardware-19322f).
|
12 |
|
13 |
+
The following sample assumes that the setup on the above page has been completed.
|
14 |
+
|
15 |
+
This model has only been tested on RyzenAI for Windows 11. It does not work in Linux environments such as WSL.
|
16 |
+
|
17 |
+
|
18 |
|
19 |
### setup
|
20 |
In cmd windows.
|
|
|
23 |
<your_install_path>\RyzenAI-SW\example\transformers\setup.bat
|
24 |
|
25 |
pip install transformers==4.41.2
|
26 |
+
# Updating the Transformers library will cause the LLama 2 sample to stop working.
|
27 |
+
# If you want to run LLama 2, revert to pip install transformers==4.34.0.
|
28 |
pip install tokenizers==0.19.1
|
29 |
|
30 |
git lfs install
|