Skip to content

Commit

Permalink
Release llamafile v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Dec 28, 2023
1 parent 5c7ff6e commit f6ea6bf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ enable you to work around Windows' 4GB executable file size limit.
For Windows users, here's an example for the Mistral LLM:

```sh
curl -L -o llamafile.exe https://github.com/Mozilla-Ocho/llamafile/releases/download/0.4/llamafile-server-0.4
curl -L -o llamafile.exe https://github.com/Mozilla-Ocho/llamafile/releases/download/0.4.1/llamafile-server-0.4.1
curl -L -o mistral.gguf https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf
.\llamafile.exe -m mistral.gguf
```

Here's the same example, but for macOS, Linux, and BSD users:

```sh
curl -L https://github.com/Mozilla-Ocho/llamafile/releases/download/0.4/llamafile-server-0.4 >llamafile
curl -L https://github.com/Mozilla-Ocho/llamafile/releases/download/0.4.1/llamafile-server-0.4.1 >llamafile
curl -L https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf >mistral.gguf
chmod +x llamafile
./llamafile -m mistral.gguf
Expand Down
2 changes: 0 additions & 2 deletions llamafile/cuda.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"

nvcc -arch=all ^
--shared ^
--forward-unknown-to-host-compiler ^
Expand Down
2 changes: 1 addition & 1 deletion llamafile/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define LLAMAFILE_MAJOR 0
#define LLAMAFILE_MINOR 4
#define LLAMAFILE_PATCH 0
#define LLAMAFILE_PATCH 1
#define LLAMAFILE_VERSION (100000000 * LLAMAFILE_MAJOR + 1000000 * LLAMAFILE_MINOR + LLAMAFILE_PATCH)

#define MKVERSION__(x, y, z) #x "." #y "." #z
Expand Down

0 comments on commit f6ea6bf

Please sign in to comment.