Views
No views yet
1conda create -n onnx python=3.10
2conda activate onnxwinget install -e --id GitHub.GitLFSpip install huggingface-hub[cli]huggingface-cli download EmbeddedLLM/gemma-2b-it-onnx --include="onnx/directml/*" --local-dir .\gemma-2b-it-onnx1pip install numpy==1.26.4
2pip install onnxruntime-directml
3pip install --pre onnxruntime-genai-directmlconda install conda-forge::vs2015_runtimeInvoke-WebRequest -Uri "https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/phi3-qa.py" -OutFile "phi3-qa.py"python phi3-qa.py -m .\gemma-2b-it-onnx