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

Update tensorflow.js version #232

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Update tensorflow.js version #232

merged 2 commits into from
Nov 27, 2024

Conversation

shiffman
Copy link
Member

I hope this resolves #231?

@shiffman
Copy link
Member Author

@ziyuan-linn unfortunately I am still getting the error although maybe I missed a step rebuilding the library, let me know if you have a chance to take a look!

@ziyuan-linn
Copy link
Member

@shiffman Looks like there was an entry "@tensorflow/tfjs-backend-webgpu": "^4.17.0" in devDependencies. I moved it to dependencies and upgraded it to 4.22. However, this did not stop the warning.

I then deleted yarn.lock and ran yarn to regenerate the lock file from scratch, and the warning is gone. I am not sure why this fix works though.

Could you please help me verify that the warning is gone on your end as well?

@shiffman
Copy link
Member Author

Yes, I can confirm the error is gone and also webgpu is working as the backend! I'm going to go ahead and merge this, shall I do a quick patch release?

@shiffman shiffman merged commit bf38c8b into main Nov 27, 2024
@ziyuan-linn
Copy link
Member

Great! Yes, I think we can do a patch release!

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.

Getting error message in console: Initialization of backend webgpu failed
2 participants