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: tensor class import for hermes #7947

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

paradite
Copy link
Contributor

@paradite paradite commented Sep 6, 2023

Fixes #6526 using suggestion in #5972 (comment)

The fix has been verified using my reproduction repo: https://github.com/paradite/tfjs-hermes-bug

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.

@paradite paradite changed the title feat: fix tensor class import for hermes fix: tensor class import for hermes Sep 6, 2023
@pyu10055
Copy link
Collaborator

/gcbrun

@paradite
Copy link
Contributor Author

Hi @pyu10055 the CI passed but merging requires linear history so I merged master into the branch.

Let me know if it is okay for me to update, or tfjs team can help to update the PR.

@paradite
Copy link
Contributor Author

Hi @pyu10055 can help to review the PR? More people are experiencing the issue. Thanks!

@paradite
Copy link
Contributor Author

paradite commented Oct 5, 2023

hi @mattsoulanille @pyu10055, please help to review the PR. It would help with people using React Native which is using hermes by default now: https://reactnative.dev/docs/hermes

Hermes is used by default by React Native and no additional configuration is required to enable it.

Others are also reporting the issue: #7977

Copy link
Member

@mattsoulanille mattsoulanille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@mattsoulanille
Copy link
Member

/gcbrun

@mattsoulanille
Copy link
Member

@pyu10055 Please take a look when you get a chance. Thanks!

@pyu10055 pyu10055 enabled auto-merge (squash) October 11, 2023 20:42
@pyu10055
Copy link
Collaborator

/gcbrun

@pyu10055 pyu10055 merged commit 4e5170d into tensorflow:master Oct 11, 2023
2 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.

tfjs does not work with hermes engine
3 participants