Update README.md
Browse files
README.md
CHANGED
|
@@ -35,6 +35,7 @@ huggingface-cli download microsoft/Phi-4-reasoning-onnx --include cpu_and_mobile
|
|
| 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-qa.py -o model-qa.py
|
| 39 |
python model-qa.py -m cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4 -e cpu
|
| 40 |
```
|
|
@@ -48,7 +49,8 @@ huggingface-cli download microsoft/Phi-4-reasoning-onnx --include gpu/* --local-
|
|
| 48 |
# Install the CUDA package of ONNX Runtime GenAI
|
| 49 |
pip install --pre onnxruntime-genai-cuda
|
| 50 |
|
| 51 |
-
# Please adjust the model directory (-m) accordingly
|
|
|
|
| 52 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-qa.py -o model-qa.py
|
| 53 |
python model-qa.py -m gpu/gpu-int4-rtn-block-32 -e cuda
|
| 54 |
```
|
|
@@ -62,7 +64,8 @@ huggingface-cli download microsoft/Phi-4-reasoning-onnx --include gpu/* --local-
|
|
| 62 |
# Install the DML package of ONNX Runtime GenAI
|
| 63 |
onnxruntime-genai-directml
|
| 64 |
|
| 65 |
-
# Please adjust the model directory (-m) accordingly
|
|
|
|
| 66 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-qa.py -o model-qa.py
|
| 67 |
python model-qa.py -m gpu/gpu-int4-rtn-block-32 -e dml
|
| 68 |
```
|
|
|
|
| 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/common.py -o common.py
|
| 39 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-qa.py -o model-qa.py
|
| 40 |
python model-qa.py -m cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4 -e cpu
|
| 41 |
```
|
|
|
|
| 49 |
# Install the CUDA package of ONNX Runtime GenAI
|
| 50 |
pip install --pre onnxruntime-genai-cuda
|
| 51 |
|
| 52 |
+
# Please adjust the model directory (-m) accordingly
|
| 53 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/common.py -o common.py
|
| 54 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-qa.py -o model-qa.py
|
| 55 |
python model-qa.py -m gpu/gpu-int4-rtn-block-32 -e cuda
|
| 56 |
```
|
|
|
|
| 64 |
# Install the DML package of ONNX Runtime GenAI
|
| 65 |
onnxruntime-genai-directml
|
| 66 |
|
| 67 |
+
# Please adjust the model directory (-m) accordingly
|
| 68 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/common.py -o common.py
|
| 69 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-qa.py -o model-qa.py
|
| 70 |
python model-qa.py -m gpu/gpu-int4-rtn-block-32 -e dml
|
| 71 |
```
|