1. 15 Jul, 2024 1 commit
    • royjhan's avatar
      Introduce `/api/embed` endpoint supporting batch embedding (#5127) · b9f5e16c
      royjhan authored
      * Initial Batch Embedding
      
      * Revert "Initial Batch Embedding"
      
      This reverts commit c22d54895a280b54c727279d85a5fc94defb5a29.
      
      * Initial Draft
      
      * mock up notes
      
      * api/embed draft
      
      * add server function
      
      * check normalization
      
      * clean up
      
      * normalization
      
      * playing around with truncate stuff
      
      * Truncation
      
      * Truncation
      
      * move normalization to go
      
      * Integration Test Template
      
      * Truncation Integration Tests
      
      * Clean up
      
      * use float32
      
      * move normalize
      
      * move normalize test
      
      * refactoring
      
      * integration float32
      
      * input handling and handler testing
      
      * Refactoring of legacy and new
      
      * clear comments
      
      * merge conflicts
      
      * touches
      
      * embedding type 64
      
      * merge conflicts
      
      * fix hanging on single string
      
      * refactoring
      
      * test values
      
      * set context length
      
      * clean up
      
      * testing clean up
      
      * testing clean up
      
      * remove function closure
      
      * Revert "remove function closure"
      
      This reverts commit 55d48c6ed17abe42e7a122e69d603ef0c1506787.
      
      * remove function closure
      
      * remove redundant error check
      
      * clean up
      
      * more clean up
      
      * clean up
      b9f5e16c
  2. 07 Jul, 2024 2 commits
  3. 05 Jul, 2024 1 commit
  4. 03 Jul, 2024 1 commit
  5. 29 Jun, 2024 1 commit
  6. 19 Jun, 2024 1 commit
  7. 14 Jun, 2024 1 commit
  8. 11 Jun, 2024 1 commit
  9. 09 Jun, 2024 1 commit
  10. 01 Jun, 2024 1 commit
  11. 29 May, 2024 3 commits
  12. 23 May, 2024 2 commits
  13. 20 May, 2024 1 commit
    • Sam's avatar
      feat: add support for flash_attn (#4120) · e15307fd
      Sam authored
      * feat: enable flash attention if supported
      
      * feat: enable flash attention if supported
      
      * feat: enable flash attention if supported
      
      * feat: add flash_attn support
      e15307fd
  14. 09 May, 2024 1 commit
  15. 04 May, 2024 1 commit
  16. 30 Apr, 2024 3 commits
  17. 17 Apr, 2024 1 commit
  18. 16 Apr, 2024 1 commit
  19. 01 Apr, 2024 2 commits
    • Daniel Hiltgen's avatar
      Apply 01-cache.diff · 0a0e9f3e
      Daniel Hiltgen authored
      0a0e9f3e
    • Daniel Hiltgen's avatar
      Switch back to subprocessing for llama.cpp · 58d95cc9
      Daniel Hiltgen authored
      This should resolve a number of memory leak and stability defects by allowing
      us to isolate llama.cpp in a separate process and shutdown when idle, and
      gracefully restart if it has problems.  This also serves as a first step to be
      able to run multiple copies to support multiple models concurrently.
      58d95cc9
  20. 26 Mar, 2024 1 commit
  21. 23 Mar, 2024 1 commit
  22. 16 Mar, 2024 1 commit
  23. 12 Mar, 2024 2 commits