diff --git a/.github/workflows/llamafile.yml b/.github/workflows/llamafile.yml index 3c97c04..6cd65c8 100644 --- a/.github/workflows/llamafile.yml +++ b/.github/workflows/llamafile.yml @@ -45,6 +45,13 @@ jobs: restore-keys: | ${{ runner.os }}- + - name: llamafile gotchas error + run: | + sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf + sudo chmod +x /usr/bin/ape + sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" + sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" + - name: Find model name id: model_name run: |