We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67f2a8 commit 57c3749Copy full SHA for 57c3749
vllm/v1/core/kv_cache_utils.py
@@ -43,7 +43,7 @@ class BlockHashType(NamedTuple):
43
# This aligns with the behavior of Python's hash() function, which also uses
44
# a random seed if PYTHONHASHSEED is not set.
45
NONE_HASH = int.from_bytes(os.urandom(32), byteorder="big") if os.getenv(
46
- 'PYTHONHASHSEED') is not None else sha256(os.getenv('PYTHONHASHSEED'))
+ 'PYTHONHASHSEED') is None else sha256(os.getenv('PYTHONHASHSEED'))
47
48
49
class PrefixCachingMetrics:
0 commit comments