1. 02 Feb, 2025 1 commit
  2. 31 Jan, 2025 1 commit
    • Chen Zhang's avatar
      [v1][Bugfix] Add extra_keys to block_hash for prefix caching (#12603) · 89003c40
      Chen Zhang authored
      
      
      This pr adds extra key to block hash, to generate different hash value
      for two blocks with the same token string but different extra_keys in
      their parent blocks. For example, it can generate different hash value
      for the second block of the following two requests:
      ```python
      request1 = make_request(
              request_id=0,
              prompt_token_ids=[_ for _ in range(6)],
              mm_positions=[{
                  "offset": 0,
                  "length": 3
              }, {
                  "offset": 3,
                  "length": 3
              }],
              mm_hashes=["hash1", "hash2"],
          )
          request2 = make_request(
              request_id=1,
              prompt_token_ids=[_ for _ in range(6)],
              mm_positions=[{
                  "offset": 0,
                  "length": 3
              }, {
                  "offset": 3,
                  "length": 3
              }],
              mm_hashes=["hash3", "hash2"],
          )
      ```
      
      ---------
      Signed-off-by: default avatarChen Zhang <zhangch99@outlook.com>
      89003c40
  3. 27 Jan, 2025 1 commit
  4. 24 Jan, 2025 1 commit
  5. 23 Jan, 2025 1 commit
  6. 22 Jan, 2025 1 commit
  7. 21 Jan, 2025 1 commit
  8. 17 Jan, 2025 1 commit
  9. 15 Jan, 2025 1 commit
  10. 13 Jan, 2025 1 commit
  11. 12 Jan, 2025 1 commit
  12. 10 Jan, 2025 1 commit
  13. 06 Jan, 2025 2 commits
  14. 04 Jan, 2025 2 commits
  15. 03 Jan, 2025 1 commit
  16. 01 Jan, 2025 1 commit
  17. 31 Dec, 2024 2 commits
  18. 28 Dec, 2024 2 commits
  19. 27 Dec, 2024 1 commit
  20. 26 Dec, 2024 1 commit
  21. 18 Dec, 2024 1 commit
  22. 13 Dec, 2024 1 commit
  23. 12 Dec, 2024 1 commit
  24. 03 Dec, 2024 1 commit
  25. 28 Nov, 2024 2 commits
  26. 26 Nov, 2024 1 commit
  27. 25 Nov, 2024 1 commit
  28. 22 Nov, 2024 1 commit
  29. 13 Nov, 2024 2 commits
  30. 11 Nov, 2024 1 commit
  31. 08 Nov, 2024 1 commit