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

tfjs-backend-wasm-threaded-simd.wasm is not found starting from 2.8.1 #4524

Closed
lina128 opened this issue Jan 12, 2021 · 2 comments
Closed

tfjs-backend-wasm-threaded-simd.wasm is not found starting from 2.8.1 #4524

lina128 opened this issue Jan 12, 2021 · 2 comments
Labels
type:bug Something isn't working

Comments

@lina128
Copy link
Collaborator

lina128 commented Jan 12, 2021

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow.js):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow.js installed from (npm or script link):
  • TensorFlow.js version (use command below): 2.8.1
  • Browser version:
  • Tensorflow.js Converter Version: 2.8.1

Describe the current behavior
Reproduce steps:

  1. Turn on simd flag by going to chrome://flag and enable simd option
  2. Run this simple codepen example: https://codepen.io/na-li/pen/XWXqgdM
  3. Error message in developer console: Initialization of backend wasm failed. RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.

Describe the expected behavior
Expect simd wasm to load successfully. Change above codepen's dependency from 2.8.1 to 2.8.0 to see the normal behavior.

For reference, diff between 2.8.0 and 2.8.1: https://github.com/tensorflow/tfjs/releases/tag/tfjs-v2.8.1

@lina128 lina128 added the type:bug Something isn't working label Jan 12, 2021
@lina128
Copy link
Collaborator Author

lina128 commented Jan 14, 2021

#4528 fixed it, it has been released in 2.8.4.

@lina128 lina128 closed this as completed Jan 14, 2021
@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant