Yulong Wang
Yulong Wang
we added a [new example](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/js/quick-start_onnxruntime-node-bundler) for using bundlers on ort-node with nodejs. in this example we use `webpack-node-externals` in webpack config so that it preserves the folder structure.
Considering those dependencies are standard dynamic libraries, it is hard to make this change. Does https://webpack.js.org/plugins/copy-webpack-plugin/ works for you?
replaced by #14239
/azp run ONNX Runtime React Native CI Pipeline
/azp run ONNX Runtime React Native CI Pipeline
/azp run Windows ARM64 QNN CI Pipeline,Windows x64 QNN CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,ONNX Runtime Web CI Pipeline,Linux CPU CI Pipeline,Linux CPU Minimal...
/azp run Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline,orttraining-amd-gpu-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed,onnxruntime-python-checks-ci-pipeline,onnxruntime-binary-size-checks-ci-pipeline
ORT for react native requires an absolute file path of either unix path format or a file:// scheme, for `InferenceSession.create()`. Please refer to https://github.com/fs-eire/ort-rn-hello-world for an example. In this example...
most of the configs (including threads) are available via [SessionOptions](https://onnxruntime.ai/docs/api/js/interfaces/InferenceSession.SessionOptions.html). Their implementation are: - [android](https://github.com/microsoft/onnxruntime/blob/master/js/react_native/android/src/main/java/ai/onnxruntime/reactnative/OnnxruntimeModule.java) - [ios](https://github.com/microsoft/onnxruntime/blob/master/js/react_native/ios/OnnxruntimeModule.mm) CoreML and NNAPI is not supported yet
If you are not using expo-asset, you need to manually add the model file into your projects (android and ios) as asset (see [this link](https://github.com/expo/expo/blob/main/packages/expo-asset/src/resolveAssetSource.ts) for asset resolve of expo-asset)....