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

Solving the problem of requiring all two tensors to be on different d… #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

323135jx
Copy link

@323135jx 323135jx commented Nov 30, 2023

…evices in the Flask environment

Description

Types of change

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@323135jx
Copy link
Author

I find this problem in zh_core_web_trf 3.2.0 upgradation to 3.7.2,this code references spacy_transformers line 214-215

@323135jx
Copy link
Author

This may be better

@svlandeg svlandeg added the enhancement New feature or request label Dec 7, 2023
@adrianeboyd
Copy link
Contributor

Thanks for the PR! We think we understand where the underlying problem is, but we need to look into the details a bit more to make sure that we have a solution that's general enough to also support other devices like MPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants