Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ Here are some of the optimized configurations we have added:
|
|
| 23 |
1. ONNX model for int4 NPU: ONNX model for Qualcomm NPU using int4 quantization.
|
| 24 |
|
| 25 |
## Model Run
|
| 26 |
-
You can see how to run this model with ORT GenAI [here](https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/model-
|
| 27 |
|
| 28 |
For NPU:
|
| 29 |
|
|
@@ -35,8 +35,8 @@ hf download microsoft/Fara-7B-onnx --include npu/qnn-int4/* --local-dir .
|
|
| 35 |
pip install --pre onnxruntime-genai
|
| 36 |
|
| 37 |
# Please adjust the model directory (-m) accordingly
|
| 38 |
-
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-
|
| 39 |
-
python model-
|
| 40 |
```
|
| 41 |
|
| 42 |
## Model Description
|
|
|
|
| 23 |
1. ONNX model for int4 NPU: ONNX model for Qualcomm NPU using int4 quantization.
|
| 24 |
|
| 25 |
## Model Run
|
| 26 |
+
You can see how to run this model with ORT GenAI [here](https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/model-mm.py).
|
| 27 |
|
| 28 |
For NPU:
|
| 29 |
|
|
|
|
| 35 |
pip install --pre onnxruntime-genai
|
| 36 |
|
| 37 |
# Please adjust the model directory (-m) accordingly
|
| 38 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 39 |
+
python model-mm.py -m npu/qnn-int4 --max_length 4096 --use_winml
|
| 40 |
```
|
| 41 |
|
| 42 |
## Model Description
|