mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-05-01 21:21:12 +00:00
处理检视意见
This commit is contained in:
parent
df15a40720
commit
15dddc20c0
10 changed files with 465 additions and 122 deletions
|
|
@ -67,7 +67,7 @@ def del_meta(module:nn.Module):
|
|||
def gen_optimize_config(module: nn.Module, out_data: Mapping, rule_list: List, prefix: str="", default_device: str = "cuda:0"):
|
||||
module_name = prefix[:-1]
|
||||
if use_torch_npu:
|
||||
translated_name = translate_name_to_gguf(prefix)[:-1] #TODO 主仓中没有使用此变量
|
||||
translated_name = translate_name_to_gguf(prefix)[:-1]
|
||||
recursive = True
|
||||
for rule in rule_list:
|
||||
match_meta = rule["match"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue