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

fix: allow only one concurrent thread for from_pretrained due to vertex problem #117

Merged
merged 6 commits into from
Sep 5, 2024

Conversation

roman-romanov-o
Copy link
Contributor

@roman-romanov-o roman-romanov-o commented Sep 3, 2024

Currently we can't use make_async due to this issue, that causes deadlock:
googleapis/python-aiplatform#4342

Also created feature request for async version of from_pretrained:
googleapis/python-aiplatform#4343

@roman-romanov-o roman-romanov-o changed the title fix: move blocking vertexai processes into lifespan fix: allow only one concurrent thread for from_pretrained due to vertex problem Sep 5, 2024
@roman-romanov-o roman-romanov-o marked this pull request as ready for review September 5, 2024 10:18
@roman-romanov-o roman-romanov-o merged commit 5b4ee19 into development Sep 5, 2024
6 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.

2 participants