1. 05 Dec, 2023 3 commits
    • Michael Yang's avatar
      split from into one or more models · 2cb0fa7d
      Michael Yang authored
      2cb0fa7d
    • Michael Yang's avatar
      use NewLayer for CreateBlobHandler · a3737cbd
      Michael Yang authored
      a3737cbd
    • Michael Yang's avatar
      refactor layer creation · 70a93057
      Michael Yang authored
      previous layer creation was not ideal because:
      
      1. it required reading the input file multiple times, once to calculate
         the sha256 checksum, another to write it to disk, and potentially one
         more to decode the underlying gguf
      2. used io.ReadSeeker which is prone to user error. if the file isn't
         reset correctly or in the right place, it could end up reading an
         empty file
      
      there are also some brittleness when reading existing layers else
      writing the inherited layers will error reading an already closed file
      
      this commit aims to fix these issues by restructuring layer creation.
      
      1. it will now write the layer to a temporary file as well as the hash
         function and move it to the final location on Commit
      2. layers are read once once when copied to the destination. exception
         is raw model files which still requires a second read to decode the
         model metadata
      70a93057
  2. 04 Dec, 2023 1 commit
    • Bruce MacDonald's avatar
      chat api (#991) · 7a0899d6
      Bruce MacDonald authored
      - update chat docs
      - add messages chat endpoint
      - remove deprecated context and template generate parameters from docs
      - context and template are still supported for the time being and will continue to work as expected
      - add partial response to chat history
      7a0899d6
  3. 01 Dec, 2023 1 commit
  4. 30 Nov, 2023 2 commits
  5. 29 Nov, 2023 5 commits
  6. 21 Nov, 2023 1 commit
  7. 20 Nov, 2023 1 commit
  8. 19 Nov, 2023 12 commits
  9. 18 Nov, 2023 1 commit
  10. 17 Nov, 2023 3 commits
  11. 16 Nov, 2023 3 commits
  12. 15 Nov, 2023 7 commits