Skip to content

Commit

Permalink
Update llamafile.yml: Put gotchas back as it is resulting in binary e…
Browse files Browse the repository at this point in the history
…xec error
  • Loading branch information
rabilrbl authored Jan 4, 2024
1 parent 2db8f48 commit 367782e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/llamafile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 367782e

Please sign in to comment.