1. 10 Jul, 2024 3 commits
  2. 09 Jul, 2024 1 commit
  3. 08 Jul, 2024 1 commit
  4. 07 Jul, 2024 4 commits
  5. 06 Jul, 2024 8 commits
  6. 05 Jul, 2024 7 commits
  7. 04 Jul, 2024 1 commit
  8. 03 Jul, 2024 3 commits
  9. 01 Jul, 2024 2 commits
  10. 29 Jun, 2024 1 commit
  11. 27 Jun, 2024 2 commits
  12. 25 Jun, 2024 1 commit
    • Blake Mizerany's avatar
      llm: speed up gguf decoding by a lot (#5246) · cb42e607
      Blake Mizerany authored
      Previously, some costly things were causing the loading of GGUF files
      and their metadata and tensor information to be VERY slow:
      
        * Too many allocations when decoding strings
        * Hitting disk for each read of each key and value, resulting in a
          not-okay amount of syscalls/disk I/O.
      
      The show API is now down to 33ms from 800ms+ for llama3 on a macbook pro
      m3.
      
      This commit also prevents collecting large arrays of values when
      decoding GGUFs (if desired). When such keys are encountered, their
      values are null, and are encoded as such in JSON.
      
      Also, this fixes a broken test that was not encoding valid GGUF.
      cb42e607
  13. 21 Jun, 2024 1 commit
    • Daniel Hiltgen's avatar
      Enable concurrency by default · 17b7186c
      Daniel Hiltgen authored
      This adjusts our default settings to enable multiple models and parallel
      requests to a single model.  Users can still override these by the same
      env var settings as before.  Parallel has a direct impact on
      num_ctx, which in turn can have a significant impact on small VRAM GPUs
      so this change also refines the algorithm so that when parallel is not
      explicitly set by the user, we try to find a reasonable default that fits
      the model on their GPU(s).  As before, multiple models will only load
      concurrently if they fully fit in VRAM.
      17b7186c
  14. 20 Jun, 2024 2 commits
  15. 19 Jun, 2024 1 commit
  16. 18 Jun, 2024 2 commits