mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-08 17:07:13 +08:00
[Bugfix] Add int8 torch dtype for KVCache (#15260)
Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
parent
0fa3970deb
commit
a989ca2bf6
@ -153,6 +153,7 @@ STR_DTYPE_TO_TORCH_DTYPE = {
|
|||||||
"fp8": torch.uint8,
|
"fp8": torch.uint8,
|
||||||
"fp8_e4m3": torch.uint8,
|
"fp8_e4m3": torch.uint8,
|
||||||
"fp8_e5m2": torch.uint8,
|
"fp8_e5m2": torch.uint8,
|
||||||
|
"int8": torch.int8,
|
||||||
}
|
}
|
||||||
|
|
||||||
TORCH_DTYPE_TO_NUMPY_DTYPE = {
|
TORCH_DTYPE_TO_NUMPY_DTYPE = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user