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

Add mps support #77

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

sibeliu
Copy link

@sibeliu sibeliu commented Nov 21, 2024

This is working code, with modifications to put embeddings and models to the mps device if available. Centralized device definition using from vec2text.models.model_utils import device

HOWEVER it does not improve performance. I still see all computation happening on one core out of 10.

Any ideas?

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