mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 05:04:58 +08:00
[Misc] Call ndarray.tobytes() directly instead of ndarray.data.tobytes() (#18347)
Signed-off-by: Lukas Geiger <lukas.geiger94@gmail.com>
This commit is contained in:
parent
cb506ecb5a
commit
54631f8262
@ -43,7 +43,7 @@ class MultiModalHasher:
|
||||
"ndarray", {
|
||||
"dtype": obj.dtype.str,
|
||||
"shape": obj.shape,
|
||||
"data": obj.data.tobytes(),
|
||||
"data": obj.tobytes(),
|
||||
})
|
||||
|
||||
logger.warning(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user