Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Feb 3, 2025
1 parent c1d3210 commit bf40591
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 146 deletions.
2 changes: 1 addition & 1 deletion docs/source/Instruction/命令行参数.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ App参数继承于[部署参数](#部署参数), [Web-UI参数](#Web-UI参数)

- num_return_sequences:采样返回的原始sequence数量。默认为64,本参数对`sample`采样有效
- cache_files:为避免同时加载prm和generator造成显存OOM,可以分两步进行采样,第一步将prm和orm置为`None`,则所有结果都会输出到文件中,第二次运行采样将sampler_engine置为`no`并传入`--cache_files`为上次采样的输出文件,则会使用上次输出的结果进行prm和orm评估并输出最终结果。
- 注意:使用cache_files时,--dataset仍然需要传入,这是因为cache_files的id是由原始数据计算的md5,需要把两部分信息结合使用。
- 注意:使用cache_files时,`--dataset`仍然需要传入,这是因为cache_files的id是由原始数据计算的md5,需要把两部分信息结合使用。


## 特定模型参数
Expand Down
Loading

0 comments on commit bf40591

Please sign in to comment.