-
Notifications
You must be signed in to change notification settings - Fork 732
[Other] support video_fps args for video bench #7077
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -548,6 +548,9 @@ class CompletionRequest(BaseModel): | |
|
|
||
| collect_metrics: Optional[bool] = False | ||
|
|
||
| # NOTE(Wanglongzhi2001): temporary parameter for video understanding benchmark | ||
| video_fps: Optional[float] = None | ||
|
|
||
|
Comment on lines
+551
to
+553
|
||
| def to_dict_for_infer(self, request_id=None, prompt=None): | ||
| """ | ||
| Convert the request parameters into a dictionary | ||
|
|
@@ -734,6 +737,9 @@ class ChatCompletionRequest(BaseModel): | |
|
|
||
| collect_metrics: Optional[bool] = False | ||
|
|
||
| # NOTE(Wanglongzhi2001): temporary parameter for video understanding benchmark | ||
| video_fps: Optional[float] = None | ||
|
|
||
|
Comment on lines
+740
to
+742
|
||
| def to_dict_for_infer(self, request_id=None): | ||
| """ | ||
| Convert the request parameters into a dictionary | ||
|
|
||
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.
当前 PR 标题使用了
[Other],但仓库 PR 模板的 tag list 中是[Others](见 .github/pull_request_template.md 的 Checklist)。建议把标题 tag 调整为已有的[Others]或新增语义更明确的 tag,以满足仓库约定。