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

Create async version of from_pretrained method for model garden #4343

Open
roman-romanov-o opened this issue Sep 5, 2024 · 0 comments
Open
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.

Comments

@roman-romanov-o
Copy link

Best solution for my issue
would be not to use ThreadPoolExecutor at all, if we would have some async version of ChatModel.from_pretrained

I see, that only network call that is made inside of from_pretrained is get_publisher_model inside of _get_model_info

And such method is present in async client as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.
Projects
None yet
Development

No branches or pull requests

1 participant