-
Notifications
You must be signed in to change notification settings - Fork 2k
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-node-gpu 0.2.3 fails to install on Windows #1121
Comments
Can you install |
Hello @kangyizhang Fresh VM from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ I am doing 2 non standard things here: node 8 and vs2015. Will do additional tests and see if using the latest versions of these applications change anything. |
The tool for building native Node.js plugins |
@nkreeger Thank you for the reply, will look into the recommended issue. I also forgot to restart the VM after installing vs2015 and later vs2017, will give another go Tomorrow. |
More info: This line checks if tensorflow.dll exist: it does not so it empties the deps directory: then it downloads: Now the GPU zip has a different layout then CPU zip, and fails to install. |
Same here. Node v10, VS 2015. |
Looks like some more Windows build fun - I had something similar and this fixed it for me: Open an administrative prompt and run the following: npm --add-python-to-path='true' --debug install --global windows-build-tools Then try re-installing/yarn'ing. If that does not work - try running From a clone of yarn enable-gpu That will download the GPU binaries and re-compile. Let me know if this helps. More info here: tensorflow/tfjs-node#206 |
@iacovlev-pavel Oh OK sorry I missed the part about the GPU layout. I'll try and fix that this week. We switched to different hosted binaries for libtensorflow. I don't know why GPU Win64 builds are packaged differently... |
@nkreeger Thank you |
Fix in here tensorflow/tfjs-node#208 |
Please try with 0.3.1 (just published) |
It's working. v0.3.1 on Windows 10. |
v0.3.1 contains the following, which surprisingly enough doesn't compile well...
I'm guessing that's from your machine, mr kreeger? |
Aren't there tests for this? Something that tries to install and build from a windows machine? |
TensorFlow.js version
tensorflow/tfjs-node-gpu: 0.2.3
Browser version
node: v8.15.0
Describe the problem or feature request
npm i @tensorflow/tfjs-node-gpu
results in an error.0.2.2 also fails, while 0.2.1 works, this means the breaking change was added in 0.2.2.
If I download the .zip of 0.2.3 manually and then run
node scripts/install.js
it works.Code to reproduce the bug / link to feature request
2019-01-23T14_41_47_959Z-debug.log
The text was updated successfully, but these errors were encountered: