Unverified Commit a989ca2b authored by Shanshan Shen's avatar Shanshan Shen Committed by GitHub
Browse files

[Bugfix] Add int8 torch dtype for KVCache (#15260)


Signed-off-by: default avatarshen-shanshan <467638484@qq.com>
parent 0fa3970d
...@@ -153,6 +153,7 @@ STR_DTYPE_TO_TORCH_DTYPE = { ...@@ -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 = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment