-
Notifications
You must be signed in to change notification settings - Fork 693
[BugFix] Compatibility fix for download feature links #6276
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
base: develop
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6276 +/- ##
==========================================
Coverage ? 66.69%
==========================================
Files ? 385
Lines ? 51272
Branches ? 7999
==========================================
Hits ? 34194
Misses ? 14592
Partials ? 2486
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| feature_info = f"type=paddle.Tensor, shape={feature.shape}, dtype={feature.dtype}" | ||
| elif isinstance(feature, np.ndarray): | ||
| feature_info = f"type=np.ndarray, shape={feature.shape}, dtype={feature.dtype}" | ||
| else: |
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.
音频场景这里拿到的 feature 是一个list,直接 feature.shape 会报错,可以再加一个list,打印一下长度
|
|
||
| try: | ||
| if isinstance(link, list) and len(link) > 0: | ||
| link = link[0] |
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.
视频每个 link 只会有一个url嘛?
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.
1131行会循环从bos_links取url下载,目前暂定匹配list[list[str], list[str], ...]这种形式
| else: | ||
| feature_info = f"type={type(feature).__name__}" | ||
|
|
||
| llm_logger.info(f"request {request.request_id} async download feature success: {feature_info}") |
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.
这里是不是可以再加一个计时,打印一下这条请求下载feature共耗时多少
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.
可以的
Motivation
1.修复FD多模download feature不兼容链路二维list的问题
2.增加bos download feature模块log信息
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.