-
Notifications
You must be signed in to change notification settings - Fork 446
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
Support quant mllm #2177
Support quant mllm #2177
Conversation
@@ -196,11 +198,6 @@ def preprocess(self, d: Dict[str, Any]) -> Dict[str, Any]: | |||
} | |||
medias = self.parse_medias(d) | |||
self.media_replacer(row, medias) | |||
if self.media_type: |
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.
too slow
@@ -66,6 +66,8 @@ def new_preprocess(self, row: Dict[str, Any]) -> Dict[str, Any]: | |||
column_state = self.column_state | |||
row = preprocess(self, row) | |||
for k, v in row.items(): | |||
if k in ['images', 'videos', 'audios']: |
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.
FIX #2185
@@ -19,7 +19,7 @@ | |||
|
|||
|
|||
def _get_request_kwargs(api_key: Optional[str] = None) -> Dict[str, Any]: | |||
timeout = float(os.getenv('TIMEOUT', '300')) | |||
timeout = float(os.getenv('TIMEOUT', '1800')) |
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.
FIX pt & batch infer: timeout
No description provided.