1. 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
  2. 11 Jun, 2024 1 commit
  3. 08 Jun, 2024 1 commit
  4. 07 Jun, 2024 1 commit
  5. 04 Jun, 2024 1 commit
  6. 21 May, 2024 1 commit
  7. 20 May, 2024 3 commits
  8. 24 Apr, 2024 1 commit
  9. 16 Apr, 2024 2 commits
  10. 15 Apr, 2024 1 commit
  11. 10 Apr, 2024 1 commit
  12. 01 Apr, 2024 1 commit
  13. 29 Mar, 2024 1 commit
  14. 26 Mar, 2024 1 commit
  15. 15 Mar, 2024 1 commit
  16. 12 Mar, 2024 1 commit
  17. 08 Mar, 2024 1 commit
  18. 07 Mar, 2024 1 commit
  19. 21 Feb, 2024 1 commit
  20. 24 Jan, 2024 1 commit
  21. 12 Jan, 2024 1 commit
  22. 08 Jan, 2024 1 commit
  23. 11 Dec, 2023 1 commit
  24. 05 Dec, 2023 3 commits
  25. 22 Nov, 2023 1 commit
  26. 09 Nov, 2023 1 commit
  27. 23 Oct, 2023 1 commit
    • Michael Yang's avatar
      ggufv3 · 125d0a01
      Michael Yang authored
      ggufv3 adds support for big endianness, mainly for s390x architecture.
      while that's not currently supported for ollama, the change is simple.
      
      loosen version check to be more forward compatible. unless specified,
      gguf versions other v1 will be decoded into v2.
      125d0a01
  28. 03 Oct, 2023 1 commit
  29. 25 Sep, 2023 1 commit
  30. 21 Sep, 2023 1 commit
  31. 18 Sep, 2023 1 commit
    • Bruce MacDonald's avatar
      subprocess improvements (#524) · 66003e1d
      Bruce MacDonald authored
      * subprocess improvements
      
      - increase start-up timeout
      - when runner fails to start fail rather than timing out
      - try runners in order rather than choosing 1 runner
      - embed metal runner in metal dir rather than gpu
      - refactor logging and error messages
      
      * Update llama.go
      
      * Update llama.go
      
      * simplify by using glob
      66003e1d
  32. 14 Sep, 2023 1 commit
  33. 12 Sep, 2023 2 commits
  34. 07 Sep, 2023 1 commit