Commit graph

3067 commits

Author SHA1 Message Date
Jeffrey Morgan
97ab37095d fix spacing in README.md 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
40dc9310bc add advanced usage to readme 2023-07-06 16:34:44 -04:00
Michael Yang
0637632258 simple pull response 2023-07-06 16:34:44 -04:00
Michael Yang
dd960d1d5e update generate response 2023-07-06 16:34:44 -04:00
Michael Yang
2c80eddd71 more free 2023-07-06 16:34:44 -04:00
Bruce MacDonald
d436d51c78 clean up model pull 2023-07-06 16:34:44 -04:00
Bruce MacDonald
350aec772b clean up unessesary comments 2023-07-06 16:34:44 -04:00
Bruce MacDonald
c9f45abef3 resumable downloads 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
7ee75e19ec only check for updates if packaged 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
90d4ea9d71 move dock hide to on ready 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
c90d1d8c89 always use ollama binary 2023-07-06 16:34:44 -04:00
Eva Ho
9952c39319 remove electron-builder 2023-07-06 16:34:44 -04:00
Eva Ho
5a3bd59fd3 rebase into go 2023-07-06 16:34:44 -04:00
Eva Ho
bba1cc933d fix path for system tray 2023-07-06 16:34:44 -04:00
Eva Ho
ea9f0e7dbf removing icon and electron-builder 2023-07-06 16:34:44 -04:00
Eva Ho
703e10ca68 convert the desktop app to system tray 2023-07-06 16:34:44 -04:00
Michael Yang
9b8a456c7d embed templates 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
39f4d8edaa always use ollama binary 2023-07-06 16:34:44 -04:00
Bruce MacDonald
7cf5905063 display pull progress 2023-07-06 16:34:44 -04:00
Michael Yang
580fe8951c free llama model 2023-07-06 16:34:44 -04:00
Michael Yang
5079282120 tcp socket 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
3c3c09a523 set version at build time 2023-07-06 16:34:44 -04:00
Michael Yang
68e6b4550c use prompt templates 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
f805a65c42 add .metal file to the app build 2023-07-06 16:34:44 -04:00
Bruce MacDonald
a6494f8211 pull models 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
0833f5af3a tweak CLI install text 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
03eca6ea54 fix path to ollama 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
4f3cfea646 prompt to install the ollama cli on macOS 2023-07-06 16:34:44 -04:00
Bruce MacDonald
926ffa7f8c refactor cmd 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
4a36f374a2 update README.md build instructions 2023-07-06 16:34:44 -04:00
Bruce MacDonald
58f416aad8 Update models.json 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
879e996ca4 update app to use go binary 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
9fe018675f use Makefile for dependency building instead of go generate 2023-07-06 16:34:44 -04:00
Bruce MacDonald
e423421f03 Update models.json 2023-07-06 16:34:44 -04:00
Bruce MacDonald
2416a5ba6c Update models.json 2023-07-06 16:34:44 -04:00
Michael Yang
1b7183c5a1 enable metal gpu acceleration
ggml-metal.metal must be in the same directory as the ollama binary
otherwise llama.cpp will not be able to find it and load it.

1. go generate llama/llama_metal.go
2. go build .
3. ./ollama serve
2023-07-06 16:34:44 -04:00
Jeffrey Morgan
b9fb988112 fix api docs 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
944bd13de1 Go 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
0998d4f0a4 remove debug print statements 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
79a999e95d fix crash in bindings 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
6559a5b48f updated readme 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
b0e986fb96 add binary to .gitignore 2023-07-06 16:34:44 -04:00
Bruce MacDonald
8ea5e5e147 separate routes 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
fd962a36e5 client updates 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
6292f4b64c update Dockerfile 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
0240165388 fix llama.cpp build 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
9164981d72 move prompt templates out of python bindings 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
6093a88c1a add llama.cpp go bindings 2023-07-06 16:34:44 -04:00
Jeffrey Morgan
76cb60d496 wip go engine
Co-authored-by: Patrick Devine <pdevine@sonic.net>
2023-07-06 16:34:44 -04:00
Jeffrey Morgan
172274b809 fix auto update route 2023-07-06 16:18:40 -04:00