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

TensorFlowJS fails reliably on Intel GPU running Windows, otherwise succeeds #8274

Open
neurolabusc opened this issue May 8, 2024 · 1 comment
Assignees

Comments

@neurolabusc
Copy link

This issue is easy to replicate from the web browser by opening the niivue-brainchop live demo and choosing Extract the brain (High acc, slow) from the drop down menu.

Note that the web page crashes for machines running Intel GPUs on the Windows operating system. In contrast, the model succeeds using Intel GPUs on MacOS and Linux operating systems. Likewise, the model succeeds with Apple, NVidia and AMD GPUs regardless of operating system.

While the live demo is the easiest way to replicate this, you can also replicate the problem with a hot reloadable source code that allows you to edit JavaScript and immediately see the results.

git clone git@github.com:niivue/niivue-brainchop.git
cd niivue-brainchop
npm install
npm run dev

You can automatically run one of the failing models (model 10) by changing lines 200 and 201 to read:

     modelSelect.selectedIndex = 10
     modelSelect.onchange()

System information

  • We have tested this on numerous machines, and the results are consistent across many. Note that the Intel-based Macs that succeed are older than the Intel-based Windows computers that fail. An example of one of our Windows machines that fails is a Xiaomi Book Pro 16 2022 i5-1240P 16G 512GB SSD 4K OLED Touch Screen Notebook Window 11.
@neurolabusc neurolabusc added the type:bug Something isn't working label May 8, 2024
@gyagp
Copy link
Collaborator

gyagp commented May 8, 2024

This looks like an Intel specific issue, so we'll investigate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants