enable web-rwkv-py turbo
This commit is contained in:
parent
5bae637c67
commit
a38d5c3a25
2
backend-python/rwkv_pip/webgpu/model.py
vendored
2
backend-python/rwkv_pip/webgpu/model.py
vendored
@ -15,7 +15,7 @@ class RWKV:
|
|||||||
def __init__(self, model_path: str, strategy: str = None):
|
def __init__(self, model_path: str, strategy: str = None):
|
||||||
self.model = wrp.v5.Model(
|
self.model = wrp.v5.Model(
|
||||||
model_path,
|
model_path,
|
||||||
turbo=False,
|
turbo=True,
|
||||||
quant=32 if "i8" in strategy else None,
|
quant=32 if "i8" in strategy else None,
|
||||||
quant_nf4=26 if "i4" in strategy else None,
|
quant_nf4=26 if "i4" in strategy else None,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user