Skip to content

[infer] get_output and save_output recover input without msg_queue_id #10574

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

Merged
merged 3 commits into from
May 13, 2025

Conversation

ckl117
Copy link
Contributor

@ckl117 ckl117 commented May 9, 2025

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

Others

PR changes

Others

Description

恢复save_output和get_output的输入不传入msg_queue_id,改为通过环境变量INFERENCE_MSG_QUEUE_ID获得。
修复动态插入输入为input_text的报错。

Copy link

paddle-bot bot commented May 9, 2025

Thanks for your contribution!

Copy link

codecov bot commented May 9, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 48.36%. Comparing base (624510a) to head (53c20b4).
Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trl/llm_utils.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project status has failed because the head coverage (48.36%) is below the target coverage (58.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10574      +/-   ##
===========================================
- Coverage    48.71%   48.36%   -0.36%     
===========================================
  Files          768      776       +8     
  Lines       126959   128473    +1514     
===========================================
+ Hits         61847    62134     +287     
- Misses       65112    66339    +1227     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ckl117 ckl117 changed the title [infer] env_var_get_msg_queue_id [infer] get_output and save_output recover input without msg_queue_id May 12, 2025
@ZHUI ZHUI merged commit 47de2c6 into PaddlePaddle:develop May 13, 2025
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants