mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-10 23:34:35 +00:00
yaml: fix Marlin AssertionError
Marlin quantized linear only supports GPU device, when change generate_op
to "KLinearMarlin", generate_device need to be changed to "cuda" accordingly.
Fixes: e5b001d76f
("Update readme; Format code; Add example yaml.")
This commit is contained in:
parent
05f6cede37
commit
a12e8ab46e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
replace:
|
||||
class: ktransformers.operators.linear.KTransformersLinear
|
||||
kwargs:
|
||||
generate_device: "cpu"
|
||||
generate_device: "cuda"
|
||||
prefill_device: "cuda"
|
||||
generate_op: "KLinearMarlin"
|
||||
prefill_op: "KLinearTorch"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue