Skip to content

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

Open
323135jx wants to merge 2 commits into
explosion:mainfrom
323135jx:main
Open

Solving the problem of requiring all two tensors to be on different d…#25
323135jx wants to merge 2 commits into
explosion:mainfrom
323135jx:main

Conversation

@323135jx

@323135jx 323135jx commented Nov 30, 2023

Copy link
Copy Markdown

…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
Copy Markdown
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
Copy Markdown
Author

This may be better

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

Copy link
Copy Markdown
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