Update README.md
Browse files
README.md
CHANGED
|
@@ -32,6 +32,7 @@ huggingface-cli download microsoft/Phi-4-multimodal-instruct-onnx --include cpu_
|
|
| 32 |
pip install --pre onnxruntime-genai
|
| 33 |
|
| 34 |
# Please adjust the model directory (-m) accordingly
|
|
|
|
| 35 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 36 |
python model-mm.py -m cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4 -e cpu
|
| 37 |
``` -->
|
|
@@ -45,7 +46,8 @@ huggingface-cli download microsoft/Phi-4-multimodal-instruct-onnx --include gpu/
|
|
| 45 |
# Install the CUDA package of ONNX Runtime GenAI
|
| 46 |
pip install --pre onnxruntime-genai-cuda
|
| 47 |
|
| 48 |
-
# Please adjust the model directory (-m) accordingly
|
|
|
|
| 49 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 50 |
python model-mm.py -m gpu/gpu-int4-rtn-block-32 -e cuda
|
| 51 |
```
|
|
@@ -59,7 +61,8 @@ huggingface-cli download microsoft/Phi-4-multimodal-instruct-onnx --include gpu/
|
|
| 59 |
# Install the DML package of ONNX Runtime GenAI
|
| 60 |
pip install --pre onnxruntime-genai-directml
|
| 61 |
|
| 62 |
-
# Please adjust the model directory (-m) accordingly
|
|
|
|
| 63 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 64 |
python model-mm.py -m gpu/gpu-int4-rtn-block-32 -e dml
|
| 65 |
```
|
|
|
|
| 32 |
pip install --pre onnxruntime-genai
|
| 33 |
|
| 34 |
# Please adjust the model directory (-m) accordingly
|
| 35 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/common.py -o common.py
|
| 36 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 37 |
python model-mm.py -m cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4 -e cpu
|
| 38 |
``` -->
|
|
|
|
| 46 |
# Install the CUDA package of ONNX Runtime GenAI
|
| 47 |
pip install --pre onnxruntime-genai-cuda
|
| 48 |
|
| 49 |
+
# Please adjust the model directory (-m) accordingly
|
| 50 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/common.py -o common.py
|
| 51 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 52 |
python model-mm.py -m gpu/gpu-int4-rtn-block-32 -e cuda
|
| 53 |
```
|
|
|
|
| 61 |
# Install the DML package of ONNX Runtime GenAI
|
| 62 |
pip install --pre onnxruntime-genai-directml
|
| 63 |
|
| 64 |
+
# Please adjust the model directory (-m) accordingly
|
| 65 |
+
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/common.py -o common.py
|
| 66 |
curl https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/model-mm.py -o model-mm.py
|
| 67 |
python model-mm.py -m gpu/gpu-int4-rtn-block-32 -e dml
|
| 68 |
```
|