tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.5k stars 1.93k forks source link

tfjs-node fails to run on election #8431

Open charliez0 opened 1 week ago

charliez0 commented 1 week ago

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

Describe the current behavior Failed to load .node bindings, copying tensorflow.dll can solve the problem Describe the expected behavior tfjs can load without any hacking method Standalone code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab/CodePen/any notebook.

Other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

shmishra99 commented 3 days ago

Hi @charliez0 ,

I apologize for the delayed response. This is a known issue with tfjs-node. To temporarily resolve it, please manually copy the tensorflow.dll file from @tensorflow\tfjs-node\lib\napi-v9 to @tensorflow\tfjs-node\lib\napi-v8. We're working on a permanent fix.

Thank You!!

charliez0 commented 3 days ago

Hi @charliez0 ,

I apologize for the delayed response. This is a known issue with tfjs-node. To temporarily resolve it, please manually copy the tensorflow.dll file from @tensorflow\tfjs-node\lib\napi-v9 to @tensorflow\tfjs-node\lib\napi-v8. We're working on a permanent fix.

Thank You!!

I know that and waiting for a permanent fix

shmishra99 commented 2 days ago

Sure, I'll let you know as soon as it's resolved.