-
Notifications
You must be signed in to change notification settings - Fork 690
[Docs] Add cli usage to docs #4569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your contribution! |
e92b8e6 to
67c1ffc
Compare
docs/cli/serve.md
Outdated
| |-|-|-| | ||
| |--config|从配置文件读取 CLI 选项(YAML 格式)|None| | ||
|
|
||
| 更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用相对文件路径链接,不要使用这种纯链接
docs/cli/bench.md
Outdated
| ``` | ||
| # 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 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我们应该没有支持trust_remote_code或者是tokenizer自定义(至少没测试过),所以文档建议不要写上
docs/cli/run-batch.md
Outdated
| | --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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改成使用相对文档链接
docs/zh/cli/run-batch.md
Outdated
| |--output-tmp-dir|在将输出文件上传到输出 URL 之前,用于存放输出文件的临时目录。|None| | ||
| |--model|模型路径|None| | ||
|
|
||
| 更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
docs/zh/cli/serve.md
Outdated
| |-|-|-| | ||
| |--config|从配置文件读取 CLI 选项(YAML 格式)|None| | ||
|
|
||
| 更多参数说明见:[FastDeploy 参数文档](https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/zh/parameters.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
67c1ffc to
fbaf5e2
Compare
fbaf5e2 to
83ccd9f
Compare
Motivation
添加CLI命令行工具说明文档
Modifications
Usage or Command
Accuracy Tests
Checklist
[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]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.