This website requires JavaScript.
Explore
Help
Sign In
gered
/
ollama
Watch
1
Star
0
Fork
You've already forked ollama
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
1f11b52511
ollama
/
llm
/
generate
/
generate_darwin.go
4 lines
53 B
Go
Raw
Normal View
History
Unescape
Escape
Code shuffle to clean up the llm dir
2024-01-04 12:40:15 -05:00
package
generate
Add cgo implementation for llama.cpp Run the server.cpp directly inside the Go runtime via cgo while retaining the LLM Go abstractions.
2023-11-13 20:20:34 -05:00
Switch back to subprocessing for llama.cpp This should resolve a number of memory leak and stability defects by allowing us to isolate llama.cpp in a separate process and shutdown when idle, and gracefully restart if it has problems. This also serves as a first step to be able to run multiple copies to support multiple models concurrently.
2024-03-14 13:24:13 -04:00
//go:generate bash ./gen_darwin.sh
Reference in a new issue
Copy permalink