tensorflow / tfjs

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

Support node v22 prebuilt binary #8430

Open charliez0 opened 3 weeks ago

charliez0 commented 3 weeks ago

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

System information

Describe the problem @tfjs-node does not support nodev22.x prebuilt binary

$ npm view @tensorflow/tfjs-node binary
{
  module_name: 'tfjs_binding',
  module_path: './lib/napi-v{napi_build_version}',
  host: 'https://storage.googleapis.com/tf-builds/pre-built-binary',
  remote_path: './napi-v{napi_build_version}/{version}/',
  napi_versions: [ 3, 4, 5, 6, 7, 8 ]
}

Provide the exact sequence of commands / steps that you executed before running into the problem

Any 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.