mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 07:24:56 +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", {
|
"ndarray", {
|
||||||
"dtype": obj.dtype.str,
|
"dtype": obj.dtype.str,
|
||||||
"shape": obj.shape,
|
"shape": obj.shape,
|
||||||
"data": obj.data.tobytes(),
|
"data": obj.tobytes(),
|
||||||
})
|
})
|
||||||
|
|
||||||
logger.warning(
|
logger.warning(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user