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

Always move HF tozenizer encodings to the target device #274

Conversation

jeremyfowers
Copy link
Collaborator

@jeremyfowers jeremyfowers commented Jan 22, 2025

Closes #273

Alternative solution to #270, attn @apsonawane

@jeremyfowers jeremyfowers self-assigned this Jan 22, 2025
@jeremyfowers jeremyfowers marked this pull request as ready for review January 22, 2025 20:33
@jeremyfowers jeremyfowers enabled auto-merge (squash) January 24, 2025 19:27
@jeremyfowers jeremyfowers merged commit 30eb2eb into main Jan 24, 2025
9 checks passed
@jeremyfowers jeremyfowers deleted the 273-wrap-the-huggingface-tokenizer-with-an-adapter-that-automatically-applies-to branch January 24, 2025 19:34
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.

Wrap the Huggingface tokenizer with an adapter that automatically applies .to()
2 participants