1. 27 Jun, 2024 2 commits
  2. 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
  3. 20 Jun, 2024 2 commits
  4. 19 Jun, 2024 1 commit
  5. 18 Jun, 2024 3 commits
    • Michael Yang's avatar
      deepseek v2 graph · e873841c
      Michael Yang authored
      e873841c
    • Daniel Hiltgen's avatar
      Handle models with divergent layer sizes · 359b15a5
      Daniel Hiltgen authored
      The recent refactoring of the memory prediction assumed all layers
      are the same size, but for some models (like deepseek-coder-v2) this
      is not the case, so our predictions were significantly off.
      359b15a5
    • Daniel Hiltgen's avatar
      Tighten up memory prediction logging · 7784ca33
      Daniel Hiltgen authored
      Prior to this change, we logged the memory prediction multiple times
      as the scheduler iterates to find a suitable configuration, which can be
      confusing since only the last log before the server starts is actually valid.
      This now logs once just before starting the server on the final configuration.
      It also reports what library instead of always saying "offloading to gpu" when
      using CPU.
      7784ca33
  6. 17 Jun, 2024 5 commits
  7. 15 Jun, 2024 1 commit
  8. 14 Jun, 2024 6 commits
  9. 11 Jun, 2024 2 commits
  10. 09 Jun, 2024 2 commits
  11. 08 Jun, 2024 1 commit
  12. 07 Jun, 2024 3 commits
  13. 06 Jun, 2024 1 commit
  14. 04 Jun, 2024 4 commits
  15. 01 Jun, 2024 1 commit
  16. 31 May, 2024 2 commits
  17. 30 May, 2024 3 commits