1. 05 Dec, 2023 6 commits
    • Michael Yang's avatar
      split from into one or more models · 2cb0fa7d
      Michael Yang authored
      2cb0fa7d
    • Michael Yang's avatar
      go mod tidy · 7232f1fa
      Michael Yang authored
      7232f1fa
    • 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
    • Michael Yang's avatar
      unnecessary ReadSeeker for DecodeGGML · b2816bca
      Michael Yang authored
      b2816bca
    • Patrick Devine's avatar
      revert cli to use /api/generate (#1383) · bf704423
      Patrick Devine authored
      bf704423
  2. 04 Dec, 2023 4 commits
  3. 03 Dec, 2023 2 commits
  4. 02 Dec, 2023 2 commits
  5. 01 Dec, 2023 4 commits
  6. 30 Nov, 2023 6 commits
  7. 29 Nov, 2023 9 commits
  8. 28 Nov, 2023 3 commits
  9. 27 Nov, 2023 3 commits
  10. 26 Nov, 2023 1 commit