This commit is contained in:
Adam Wilson
2025-05-15 09:37:29 -06:00
parent bf145e70b6
commit 5654622f62
+2 -3
View File
@@ -20,9 +20,8 @@ jobs:
- name: 'set up Microsoft Phi-3 Mini 4k LLM from HuggingFace'
run: |
mkdir ${{ github.workspace }}/tests/llm/phi3
pip install huggingface-hub[cli]
huggingface-cli download microsoft/Phi-3-mini-4k-instruct --local-dir ${{ github.workspace }}/tests/llm/phi3
huggingface-cli download microsoft/Phi-3-mini-4k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir ${{ github.workspace }}/tests/llm
- name: 'test'
run: |
@@ -32,5 +31,5 @@ jobs:
pip install transformers
pip install accelerate
pip install optimum[exporters,onnxruntime]
python -m tests.llm.llm_rag --prompt "What is the capital of France?"
python -m tests.llm.llm_rag