Skip to content

Conversation

@DDDivano
Copy link
Collaborator

Motivation

当前 FastDeploy 在大模型推理接口中对 n 参数(多样本生成数量)和 stream 模式的行为未覆盖完整测试。
本 PR 旨在补充针对 n 参数的功能性验证与流式输出的正确性验证,以完善 API 层面测试覆盖度。

主要目标:
• 验证非流式场景下 n 参数输出条数与内容一致性
• 验证流式输出 (stream=True) 模式下多路输出的完整性与正确解码
• 保障接口在不同参数组合下的行为一致性与可回归性

Accuracy Tests

该 PR 仅补充测试用例,不涉及模型前向逻辑或算子实现,无需额外精度验证。

@paddle-bot
Copy link

paddle-bot bot commented Oct 21, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Oct 21, 2025
@EmmonsCurse EmmonsCurse merged commit 2b53c4d into PaddlePaddle:develop Oct 21, 2025
23 of 27 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.

2 participants