Skip to content
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

Merged
merged 12 commits into from
Oct 3, 2024
Merged

Conversation

Jintao-Huang
Copy link
Collaborator

No description provided.

@@ -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:
Copy link
Collaborator Author

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']:
Copy link
Collaborator Author

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'))
Copy link
Collaborator Author

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

@Jintao-Huang Jintao-Huang merged commit 9989ef9 into modelscope:main Oct 3, 2024
2 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.

1 participant