mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-11 07:44:35 +00:00
fix local_chat.py chunk_size not effect experts
This commit is contained in:
parent
adc0906967
commit
71a5fc5770
2 changed files with 3 additions and 2 deletions
|
@ -70,6 +70,7 @@ def local_chat(
|
|||
torch.set_grad_enabled(False)
|
||||
|
||||
Config().cpu_infer = cpu_infer
|
||||
Config().chunk_size = chunk_size
|
||||
if torch.xpu.is_available():
|
||||
use_cuda_graph = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue