From 88351f971fe7c982dff5a1f6e26f58c13cde1634 Mon Sep 17 00:00:00 2001 From: Antonis Makropoulos Date: Wed, 17 Jan 2024 11:52:36 +0200 Subject: [PATCH] try with space --- .github/workflows/test_mac.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_mac.yml b/.github/workflows/test_mac.yml index 3ba8d864..55779d7e 100644 --- a/.github/workflows/test_mac.yml +++ b/.github/workflows/test_mac.yml @@ -8,14 +8,12 @@ jobs: run: uname -m - name: download llamafile run: curl -L -o llamafile-0.6.zip https://github.com/Mozilla-Ocho/llamafile/releases/download/0.6/llamafile-0.6.zip - - name: unzip llamafile - run: unzip llamafile-0.6.zip - - name: ls - run: ls -R llamafile* + - name: unzip llamafile + run: unzip llamafile-0.6.zip -d llamafile' 'spaces - name: chmod run: chmod -R a+rwx llamafile* - name: download model run: curl -L -o model.gguf https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q2_K.gguf?download=true - name: run command - run: sh -c "llamafile-0.6/bin/llamafile --port 13333 -m model.gguf --log-disable --nobrowser" + run: sh -c "llamafile' 'spaces/llamafile-0.6/bin/llamafile --port 13333 -m model.gguf --log-disable --nobrowser" timeout-minutes: 1 \ No newline at end of file