mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Remove the extensions submodule (#17097)
### Description Remove the onnxruntime-extensions submodule since it now was used via cmake FetchContent ### Motivation and Context The submodule relies on an outdated version of the extensions, and the build instructions should be updated to eliminate any confusion.
This commit is contained in:
parent
68ea9631af
commit
d052c8a45c
3 changed files with 1 additions and 12 deletions
|
|
@ -108,16 +108,6 @@
|
|||
"comments": "git submodule at cmake/external/onnx"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"commitHash": "81e7799c69044c745239202085eb0a98f102937b",
|
||||
"repositoryUrl": "https://github.com/microsoft/onnxruntime-extensions.git"
|
||||
},
|
||||
"comments": "git submodule at cmake/external/onnxruntime-extensions"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
|
|
|
|||
1
cmake/external/onnxruntime-extensions
vendored
1
cmake/external/onnxruntime-extensions
vendored
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 81e7799c69044c745239202085eb0a98f102937b
|
||||
|
|
@ -6,7 +6,7 @@ ONNXRuntime Extensions is a comprehensive package to extend the capability of th
|
|||
onnxruntime-extensions supports many useful custom operators to enhance the text processing capability of ONNXRuntime, which include some widely used **string operators** and popular **tokenizers**. For custom operators supported and how to use them, please check the documentation [custom operators](https://github.com/microsoft/onnxruntime-extensions/blob/main/docs/custom_text_ops.md).
|
||||
|
||||
## Build ONNXRuntime with Extensions
|
||||
We have supported build onnxruntime-extensions as a static library and link it into ONNXRuntime. To enable custom operators from onnxruntime-extensions, you should add argument `--use_extensions`, which will use onnxruntime-extensions from git submodule in path cmake/external/onnxruntime-extensions **by default**.
|
||||
We have supported build onnxruntime-extensions as a static library and link it into ONNXRuntime. To enable custom operators from onnxruntime-extensions, you should add argument `--use_extensions`, which will fetch onnxruntime-extensions and build it as static library from https://github.com/microsoft/onnxruntime-extensions **by default**.
|
||||
|
||||
If you want to build ONNXRuntime with a pre-pulled onnxruntime-extensions, pass extra argument `--extensions_overridden_path <path-to-onnxruntime-extensions>`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue