93 Commits
Author SHA1 Message Date
Patrick Devine 1713eddcd0 Fix import image width (#6528) 2024-08-27 14:19:47 -07:00
Patrick Devine ac80010db8 update the import docs (#6104) 2024-08-26 19:57:26 -07:00
Patrick Devine 0c819e167b convert safetensor adapters into GGUF (#6327) 2024-08-23 11:29:56 -07:00
Patrick Devine 057d31861e remove template (#5655) 2024-07-13 20:56:24 -07:00
Patrick Devine 4dc7fb9525 update 40xx gpu compat matrix (#5036) 2024-06-13 17:10:33 -07:00
Patrick Devine 94618b2365 add OLLAMA_MODELS to envconfig (#5029) 2024-06-13 12:52:03 -07:00
Patrick Devine c69bc19e46 move OLLAMA_HOST to envconfig (#5009) 2024-06-12 18:48:16 -04:00
Patrick Devine 4cc3be3035 Move envconfig and consolidate env vars (#4608) 2024-05-24 14:57:15 -07:00
Patrick Devine 3bade04e10 doc updates for the faq/troubleshooting (#4565) 2024-05-21 15:30:09 -07:00
Patrick Devine ccdf0b2a44 Move the parser back + handle utf16 files (#4533) 2024-05-20 11:26:45 -07:00
Patrick Devine 105186aa17 add OLLAMA_NOHISTORY to turn off history in interactive mode (#4508) 2024-05-18 11:51:57 -07:00
Patrick Devine d1692fd3e0 fix the cpu estimatedTotal memory + get the expiry time for loading models (#4461) 2024-05-15 15:43:16 -07:00
Patrick Devine f2cf97d6f1 fix typo in modelfile generation (#4439) 2024-05-14 15:34:29 -07:00
Patrick Devine c344da4c5a fix keepalive for non-interactive mode (#4438) 2024-05-14 15:17:04 -07:00
Patrick Devine a4b8d1f89a re-add system context (#4435) 2024-05-14 11:38:20 -07:00
Patrick Devine 7ca71a6b0f don't abort when an invalid model name is used in /save (#4416) 2024-05-13 18:48:28 -07:00
Patrick Devine f1548ef62d update the FAQ to be more clear about windows env variables (#4415) 2024-05-13 18:01:13 -07:00
Patrick Devine 6845988807 Ollama ps command for showing currently loaded models (#4327) 2024-05-13 17:17:36 -07:00
Patrick Devine 1e1634daca update go deps (#4324) 2024-05-10 21:39:27 -07:00
Patrick Devine 2a21363bb7 validate the format of the digest when getting the model path (#4175) 2024-05-05 11:46:12 -07:00
Patrick Devine 9009bedf13 better checking for OLLAMA_HOST variable (#3661) 2024-04-29 19:14:07 -04:00
Patrick Devine 74d2a9ef9a add OLLAMA_KEEP_ALIVE env variable to FAQ (#3865) 2024-04-23 21:06:51 -07:00
Patrick Devine 14476d48cc fixes for gguf (#3863) 2024-04-23 20:57:20 -07:00
Patrick Devine ce8ce82567 add mixtral 8x7b model conversion (#3859) 2024-04-23 20:17:04 -07:00
Patrick Devine 9f8691c6c8 Add llama2 / torch models for ollama create (#3607) 2024-04-15 11:26:42 -07:00
Patrick Devine 3b6a9154dd Simplify model conversion (#3422) 2024-04-01 16:14:53 -07:00
Patrick DevineandMichael Yang 5a5efee46b Add gemma safetensors conversion (#3250)
Co-authored-by: Michael Yang <mxyng@pm.me>
2024-03-28 18:54:01 -07:00
Patrick Devine 1b272d5bcd change github.com/jmorganca/ollama to github.com/ollama/ollama (#3347) 2024-03-26 13:04:17 -07:00
Patrick DevineandChris-AS1 47cfe58af5 Default Keep Alive environment variable (#3094)
---------

Co-authored-by: Chris-AS1 <8493773+Chris-AS1@users.noreply.github.com>
2024-03-13 13:29:40 -07:00
Patrick Devine ba7cf7fb66 add more docs on for the modelfile message command (#3087) 2024-03-12 16:41:41 -07:00
Patrick Devine 2c017ca441 Convert Safetensors to an Ollama model (#2824) 2024-03-06 21:01:51 -08:00
Patrick Devine 9a7a4b9533 add faqs for memory pre-loading and the keep_alive setting (#2601) 2024-02-19 14:45:25 -08:00
Patrick Devine 42e77e2a69 handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
Patrick Devine b5cf31b460 add keep_alive to generate/chat/embedding api endpoints (#2146) 2024-01-26 14:28:02 -08:00
Patrick Devine 7c40a67841 Save and load sessions (#2063) 2024-01-25 12:12:36 -08:00
Patrick Devine eef50accb4 Fix show parameters (#2017) 2024-01-16 10:34:44 -08:00
Patrick Devine 565f8a3c44 Convert the REPL to use /api/chat for interactive responses (#1936) 2024-01-12 12:05:52 -08:00
Patrick Devine 9c2941e61b switch api for ShowRequest to use the name field (#1816) 2024-01-05 15:06:43 -08:00
Patrick Devine 238ac5e765 Add unit tests for Parser (#1815) 2024-01-05 14:04:31 -08:00
Patrick Devine d0409f772f keyboard shortcut help (#1764) 2024-01-02 18:04:12 -08:00
Patrick Devine a607d922f0 add FAQ for slow networking in WSL2 (#1646) 2023-12-20 16:27:24 -08:00
Patrick Devine 3948c6ea06 add magic header for unit tests (#1558) 2023-12-18 10:41:02 -08:00
Patrick Devine 86b0dd4b16 add API create/copy handlers (#1541) 2023-12-15 11:59:18 -08:00
Patrick Devine 0174665d0e add API tests for list handler (#1535) 2023-12-14 18:18:25 -08:00
Patrick Devine 630518f0d9 Add unit test of API routes (#1528) 2023-12-14 16:47:40 -08:00
Patrick Devine d9e60f634b add image support to the chat api (#1490) 2023-12-12 13:28:58 -08:00
Patrick DevineandMatt Apperson 910e9401d0 Multimodal support (#1216)
---------

Co-authored-by: Matt Apperson <mattapperson@Matts-MacBook-Pro.local>
2023-12-11 13:56:22 -08:00
Patrick Devine bf704423c5 revert cli to use /api/generate (#1383) 2023-12-04 16:35:29 -08:00
Patrick Devine 2113c9d31a make linewrap still work when the terminal width has changed (#1350) 2023-12-04 14:14:56 -08:00
Patrick Devine 6681d37861 allow setting the system and template for prompts in the repl (#1335) 2023-12-01 09:28:35 -08:00
Patrick Devine cde31cb220 Allow setting parameters in the REPL (#1294) 2023-11-29 09:56:42 -08:00
Patrick Devine a79f030e75 add bracketed paste mode (#922) 2023-10-26 15:57:00 -07:00
Patrick Devine 5b2cf16397 fix docker build annotations (#917) 2023-10-26 12:00:33 -07:00
Patrick Devine deeac961bb new readline library (#847) 2023-10-25 16:41:18 -07:00
Patrick Devine 61ff1946e6 revise help text (#706) 2023-10-05 11:36:07 -07:00
Patrick Devine 1852755154 show a default message when license/parameters/system prompt/template aren't specified (#681) 2023-10-02 14:34:52 -07:00
Patrick Devine 99d5161e8a don't wordwrap when stdout is redirected or piped (#662) 2023-10-02 11:50:55 -07:00
Patrick Devine 76db4a49cf allow the user to cancel generating with ctrl-C (#641) 2023-09-28 17:13:01 -07:00
Patrick Devine 92c20fdae6 fix error messages for unknown commands in the repl (#611) 2023-09-28 14:19:45 -07:00
Patrick Devine b5614f3ebc fix end-of-line issue with the new prompt (#582) 2023-09-23 17:20:30 -07:00
Patrick Devine c928ceb927 add word wrapping for lines which are longer than the terminal width (#553) 2023-09-22 13:36:08 -07:00
Patrick Devine 87d9efb364 switch to forked readline lib which doesn't wreck the repl prompt (#578) 2023-09-22 12:17:45 -07:00
Patrick Devine 24580df958 only add a layer if there is actual data (#535) 2023-09-18 13:47:45 -07:00
Patrick Devine 80dd44e80a Cmd changes (#541) 2023-09-18 12:26:56 -07:00
Patrick Devine 8efbc5df55 DRAFT: add a simple python client to access ollama (#522) 2023-09-14 16:37:38 -07:00
Patrick Devine 45ac07cd02 create the blobs directory correctly (#508) 2023-09-11 14:54:52 -07:00
Patrick Devine e7e91cd71c add autoprune to remove unused layers (#491) 2023-09-11 11:46:35 -07:00
Patrick Devine 1adfa67589 tighten up the error string for ollama show flags (#476) 2023-09-06 13:38:49 -07:00
Patrick Devine 790d24eb7b add show command (#474) 2023-09-06 11:04:17 -07:00
Patrick Devine 8bbff2df98 add model IDs (#439) 2023-08-28 20:50:24 -07:00
Patrick Devine 14220d9833 set the scopes correctly (#368) 2023-08-16 21:42:02 -07:00
Patrick Devine d9cf18e28d add maximum retries when pushing (#334) 2023-08-11 15:41:55 -07:00
Patrick Devine 9770e3b325 Generate private/public keypair for use w/ auth (#324) 2023-08-11 10:58:23 -07:00
Patrick Devine be989d89d1 Token auth (#314) 2023-08-10 11:34:25 -07:00
Patrick Devine 39bb25d5f6 allow multiline text using three double-quotes (#239) 2023-07-29 13:35:23 -07:00
Patrick Devine 01d155c969 show system/template/license layers from cmd prompt (#223) 2023-07-27 16:58:40 -07:00
Patrick Devine 4cb42ca55e add copy command (#191) 2023-07-24 11:27:28 -04:00
Patrick Devine 88c55199f8 change push to chunked uploads from monolithic (#179) 2023-07-22 17:31:26 -07:00
Patrick Devine 6d6b0d3321 change error handler behavior and fix error when a model isn't found (#173) 2023-07-21 23:02:12 -07:00
Patrick Devine 3b43cc019a fix extended tag names (#171) 2023-07-21 20:27:25 -07:00
Patrick Devine b8421dce3d get the proper path for blobs to delete (#168) 2023-07-21 17:30:40 -07:00
Patrick Devine 9f6e97865c allow pushing/pulling to insecure registries (#157) 2023-07-21 15:42:19 -07:00
Patrick Devine e7a393de54 add rm command for models (#151) 2023-07-20 16:09:23 -07:00
Patrick Devine a3badaf103 add ls alias (#152) 2023-07-20 15:28:27 -07:00
Patrick Devine e4d7f3e287 vendor in progress bar and change to bytes instead of bibytes (#130) 2023-07-19 17:24:03 -07:00
Patrick Devine 56b6a1720f add llama2:13b model to the readme (#126) 2023-07-19 08:21:28 -07:00
Patrick Devine 572fc9099f add license layers to the parser (#116) 2023-07-18 22:49:38 -07:00
Patrick Devine 9e15635c2d attempt two for skipping files in the file walk (#105) 2023-07-18 15:37:01 -07:00
Patrick Devine 9658a5043b skip files in the list if we can't get the correct model path (#100) 2023-07-18 12:39:08 -07:00
Patrick Devine 5bea29f610 add new list command (#97) 2023-07-18 09:09:45 -07:00
Patrick Devine 4a28a2f093 add modelpaths (#96) 2023-07-17 22:44:21 -07:00
Patrick DevineandJeffrey Morgan 2fb52261ad basic distribution w/ push/pull (#78)
* basic distribution w/ push/pull

* add the parser

* add create, pull, and push

* changes to the parser, FROM line, and fix commands

* mkdirp new manifest directories

* make `blobs` directory if it does not exist

* fix go warnings

* add progressbar for model pulls

* move model struct

---------

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
2023-07-16 17:02:22 -07:00
Patrick Devine 3d73ad0c56 Merge pull request #52 from jmorganca/go-opts
pass model and predict options
2023-07-07 10:59:11 -07:00