Add explanation for Windows user to how to Create EXE files #418
fabiomatricardi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ciao,
I tried to ask in the Discord channel but I get no replies... so after 1 week of struggles I understood how to do it.
I would like this to be in the main page of the Repo
How to create .exe files in Windows
In my case i want the executable to run the API server with few more arguments (context length)
Create a
.arg
file as explained in Creating Llamafilesthe file will contain
in the terminal run the following to have the base binary
Then club together with zipalign the llamafile, the GGUF file and the arguments
Finally rename the
.llamafile
into.exe
Run the Qwen model
from the terminal run
This will load the model and start the webserver without opening the browser.
Python API call
Accepting multi line entries in the input: when finished Ctrl+Z and Enter
To exit type quit! and Ctrl+Z and Enter
Beta Was this translation helpful? Give feedback.
All reactions