Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Wovchena committed Oct 7, 2023
1 parent c729dcc commit bafac5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/llm_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
sudo ov/install_dependencies/install_openvino_dependencies.sh
sudo apt install libopencv-dev
- name: Build llm_demo
working-directory: build
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DOpenVINO_DIR=../ov/runtime/cmake ../demos
cmake --build . --target llm_demo --config Release -j
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DOpenVINO_DIR=ov/runtime/cmake demos
cmake --build build --target llm_demo --config Release -j
- uses: actions/checkout@v4
with:
repository: openlm-research/open_llama_3b_v2
Expand All @@ -28,11 +27,12 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.11
cache: 'pip'
- name: Download and convert open_llama_3b_v2 and the vocab
working-directory: open_llama_3b_v2
run: |
git lfs checkout
python -m pip install git+https://github.com/huggingface/optimum-intel.git
python -m pip install --extra-index-url https://download.pytorch.org/whl/cpu git+https://github.com/huggingface/optimum-intel.git
python -c "from optimum.intel.openvino import OVModelForCausalLM; model = OVModelForCausalLM.from_pretrained('.', export=True); model.save_pretrained('.')"
python ../demos/thirdparty/llama.cpp/convert.py . --vocab-only --outfile vocab.gguf
- name: Run llm_demo
Expand Down

0 comments on commit bafac5c

Please sign in to comment.