Skip to content

Conversation

@xiaolei373
Copy link
Collaborator

Motivation

添加CLI命令行工具说明文档

Modifications

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Oct 23, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Oct 23, 2025
@xiaolei373 xiaolei373 force-pushed the add_cli_docs branch 2 times, most recently from e92b8e6 to 67c1ffc Compare October 27, 2025 03:15
sunlei1024
sunlei1024 previously approved these changes Oct 27, 2025
|-|-|-|
|--config|从配置文件读取 CLI 选项(YAML 格式)|None|

更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用相对文件路径链接,不要使用这种纯链接

```
# Run task evaluation on an online service
fastdeploy bench eval --model local-completions \
--model_args pretrained=./baidu/ERNIE-4.5-0.3B-Paddle,base_url=http://0.0.0.0:8490/v1/completions,tokenizer=./baidu/ERNIE-4.5-0.3B-Paddle,trust_remote_code=True \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我们应该没有支持trust_remote_code或者是tokenizer自定义(至少没测试过),所以文档建议不要写上

| --output-tmp-dir | Temporary directory used to store the output file before uploading it to the output URL. | None |
| --model | Path to the model | None |

For more details on additional parameters, see the [FastDeploy Parameter Documentation](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/en/parameters.md).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成使用相对文档链接

|--output-tmp-dir|在将输出文件上传到输出 URL 之前,用于存放输出文件的临时目录。|None|
|--model|模型路径|None|

更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

|-|-|-|
|--config|从配置文件读取 CLI 选项(YAML 格式)|None|

更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

@Jiang-Jia-Jun Jiang-Jia-Jun merged commit 0b196d8 into PaddlePaddle:develop Oct 28, 2025
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants