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. 30 Jan, 2025 2 commits
  4. 29 Jan, 2025 1 commit
  5. 28 Jan, 2025 1 commit
  6. 27 Jan, 2025 1 commit
  7. 23 Jan, 2025 1 commit
  8. 22 Jan, 2025 1 commit
  9. 17 Jan, 2025 1 commit
  10. 15 Jan, 2025 3 commits
  11. 12 Jan, 2025 1 commit
  12. 08 Jan, 2025 2 commits
  13. 01 Jan, 2025 1 commit
  14. 31 Dec, 2024 2 commits
  15. 19 Dec, 2024 1 commit
  16. 18 Dec, 2024 2 commits
  17. 17 Dec, 2024 1 commit
  18. 14 Dec, 2024 2 commits
  19. 13 Dec, 2024 2 commits
  20. 10 Dec, 2024 1 commit
  21. 08 Dec, 2024 1 commit
  22. 28 Nov, 2024 1 commit
  23. 22 Nov, 2024 1 commit
  24. 13 Nov, 2024 1 commit
  25. 11 Nov, 2024 1 commit
  26. 08 Nov, 2024 2 commits
  27. 22 Oct, 2024 1 commit