Views
No views yet
1conda create -n onnx python=3.10
2conda activate onnx
3winget install -e --id GitHub.GitLFS
4pip install huggingface-hub[cli]
5huggingface-cli download EmbeddedLLM/llama-2-7b-chat-int4-onnx-directml --local-dir .\llama-2-7b-chat
6pip install numpy==1.26.4
7Invoke-WebRequest -Uri "https://raw.githubusercontent.com/microsoft/onnxruntime-genai/main/examples/python/phi3-qa.py" -OutFile "phi3-qa.py"
8pip install onnxruntime-directml
9pip install --pre onnxruntime-genai-directml
10conda install conda-forge::vs2015_runtime
11python phi3-qa.py -m .\llama-2-7b-chat