Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ python3 tools/spec_benchmark.py \

#### 1. 离线推理

如果需要通过`transformers`加载量化模型,请在量化模型配置的`global`中设置`deploy_backend: huggingface`,或者直接手动将量化产出模型路径下`config.json`配置中的`ignored_layers`字段改为`ignore`。
如果需要通过`transformers`加载量化模型,请在量化模型配置的`global`中设置`deploy_backend: huggingface`,或者直接手动将量化产出模型路径下`config.json`配置中的key `ignored_layers`改为`ignore`。

测试`transformers`加载量化模型离线推理:

Expand Down