Update README.md
Browse files
README.md
CHANGED
|
@@ -21,21 +21,18 @@ Options can be passed in to expose the api etc. See their [docs](https://github.
|
|
| 21 |
[Mozilla Blog Announcement for Llamafile](https://hacks.mozilla.org/2023/11/introducing-llamafile/)
|
| 22 |
|
| 23 |
|
| 24 |
-
Windows note:
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
-
If that fails too, just navigate to `/proc/sys/fs/binfmt_msc` and see what files look like `WSLInterop` and echo a -1 to whatever it's called by changing that part of the recommended command.
|
| 37 |
|
| 38 |
-
|
| 39 |
-
FreeBSD note:
|
| 40 |
-
|
| 41 |
-
Yes, it actually works on a fresh install of FreeBSD.
|
|
|
|
| 21 |
[Mozilla Blog Announcement for Llamafile](https://hacks.mozilla.org/2023/11/introducing-llamafile/)
|
| 22 |
|
| 23 |
|
| 24 |
+
- Windows note: If it's over 4gb and you want to use it on Windows, you'll have to run it from WSL.
|
| 25 |
|
| 26 |
+
- WSL note: If you get the error about APE, and the recommended command
|
| 27 |
|
| 28 |
+
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'`
|
| 29 |
|
| 30 |
+
doesn't work, the WSLInterop file might be named something else. I had success with
|
| 31 |
|
| 32 |
+
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop-late'`
|
| 33 |
|
| 34 |
+
If that fails too, just navigate to `/proc/sys/fs/binfmt_msc` and see what files look like `WSLInterop`
|
| 35 |
+
and echo a -1 to whatever they're called by changing that part of the recommended command.
|
| 36 |
|
|
|
|
| 37 |
|
| 38 |
+
- FreeBSD note: Yes, it actually works on a fresh install of FreeBSD.
|
|
|
|
|
|
|
|
|