onnxruntime/js/node/src
Yulong Wang bd5dbf86fe
support WebGPU EP in Node.js binding (#22660)
### Description

This change enhances the Node.js binding with the following features:
- support WebGPU EP
- lazy initialization of `OrtEnv`
- being able to initialize ORT with default log level setting from
`ort.env.logLevel`.
- session options:
  - `enableProfiling` and `profileFilePrefix`: support profiling.
  - `externalData`: explicit external data (optional in Node.js binding)
- `optimizedModelFilePath`: allow dumping optimized model for diagnosis
purpose
  - `preferredOutputLocation`: support IO binding.

======================================================
`Tensor.download()` is not implemented in this PR.
Build pipeline update is not included in this PR.
2024-11-04 21:09:07 +00:00
..
common.h [js] change default formatter for JavaScript/TypeScript from clang-format to Prettier (#21728) 2024-08-14 16:51:22 -07:00
directml_load_helper.cc [js] change default formatter for JavaScript/TypeScript from clang-format to Prettier (#21728) 2024-08-14 16:51:22 -07:00
directml_load_helper.h Added DML and CUDA provider support in onnxruntime-node (#16050) 2023-08-25 16:57:06 -07:00
inference_session_wrap.cc support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00
inference_session_wrap.h support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00
main.cc
run_options_helper.cc [js] change default formatter for JavaScript/TypeScript from clang-format to Prettier (#21728) 2024-08-14 16:51:22 -07:00
run_options_helper.h [js] change default formatter for JavaScript/TypeScript from clang-format to Prettier (#21728) 2024-08-14 16:51:22 -07:00
session_options_helper.cc support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00
session_options_helper.h support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00
tensor_helper.cc support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00
tensor_helper.h support WebGPU EP in Node.js binding (#22660) 2024-11-04 21:09:07 +00:00