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