-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onnxruntime] Refactor install process #23768
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 830818f..967d62e 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..9c7641e 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "faee025bc77f3bae54d9305bc6361e622df4c719",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
@snnn
Can you please take a look? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 830818f..967d62e 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..a3b3d33 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "a8f1f30171b4d44a83e0efc2821411a6ecbf86ce",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..f63f063 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "8c4232954897e70f090c4131096a09e49e93703d",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index bfb2ad5..d1e4ae6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -15,10 +15,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..f9197d1 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "2839acfe6ee1afcd94eef0b0a04bb3b5635fefe1",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
Depends on #23811. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..1b98c05 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "00e2252146848f97d5e8b2b84d77225b4edc2c2c",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..a36d46b 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "dc4c461689a81d7dfaf5feeab01fdd7c9829026d",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..3f02e28 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "1405a1116eb6b44b3b6350832b085bd750233c79",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout a76eb002a71b6cf7bad343f5e3376dfe6bb83c5c -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 71358c2..eabd793 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..5ebfa50 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "4185126f99ca2098f10764a890aa902f9850d449",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5f62686b96cecc91a5d02ea188857a24efd3ef4f -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 316e85c..f9296b2 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..5ebfa50 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "4185126f99ca2098f10764a890aa902f9850d449",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/onnxruntime-gpu/vcpkg.json b/ports/onnxruntime-gpu/vcpkg.json
index 8e9bb62..6bce1d6 100644
--- a/ports/onnxruntime-gpu/vcpkg.json
+++ b/ports/onnxruntime-gpu/vcpkg.json
@@ -19,10 +19,10 @@
"protobuf",
"re2",
"safeint",
- "wil",
{
"name": "vcpkg-cmake",
"host": true
- }
+ },
+ "wil"
]
}
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5f62686b96cecc91a5d02ea188857a24efd3ef4f -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index a63c42f..c3ecd68 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5005,8 +5005,8 @@
"port-version": 0
},
"onnxruntime-gpu": {
- "baseline": "1.5.1",
- "port-version": 1
+ "baseline": "1.10.0",
+ "port-version": 0
},
"oof": {
"baseline": "2021-11-23",
diff --git a/versions/o-/onnxruntime-gpu.json b/versions/o-/onnxruntime-gpu.json
index 1fe9baf..434e0f4 100644
--- a/versions/o-/onnxruntime-gpu.json
+++ b/versions/o-/onnxruntime-gpu.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "1a50c883e0cb4a121331129b4c078326e181ae40",
+ "version": "1.10.0",
+ "port-version": 0
+ },
{
"git-tree": "9741bef63d2b0c74277568da67ab7aa1ab50c51b",
"version": "1.5.1",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
The regression is a nvidia cub issue: https://developer.nvidia.com/nvidia_bug/3597169 and was fixed by cub 1.16.0: NVIDIA/cub#423. Waiting for the next cuda release. |
Requires #24000. |
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstream PR: microsoft/onnxruntime#11136
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for onnxruntime but no changes to version or port version.
-- Version: 1.10.0
-- Old SHA: 997e14c6182e9be576208cb664d65ce15fc25545
-- New SHA: 97dbbd1a31ff884c4ecfe95f8849303dfaab5f82
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
…rnal compiler error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for onnxruntime but no changes to version or port version.
-- Version: 1.10.0
-- Old SHA: 997e14c6182e9be576208cb664d65ce15fc25545
-- New SHA: 97dbbd1a31ff884c4ecfe95f8849303dfaab5f82
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for onnxruntime but no changes to version or port version.
-- Version: 1.10.0
-- Old SHA: 997e14c6182e9be576208cb664d65ce15fc25545
-- New SHA: 97dbbd1a31ff884c4ecfe95f8849303dfaab5f82
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/onnxruntime-gpu/vcpkg.json
Valid values for the license field can be found in the documentation
-Donnxruntime_BUILD_UNIT_TESTS=OFF | ||
-Donnxruntime_BUILD_CSHARP=OFF | ||
-Donnxruntime_BUILD_OBJC=OFF | ||
-Donnxruntime_USE_PREINSTALLED_EIGEN=ON |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this vendored stuff? (Maybe it's entirely encapsulated in their DLL though...)
-Donnxruntime_USE_AVX=OFF | ||
-Donnxruntime_USE_AVX2=OFF | ||
-Donnxruntime_USE_AVX512=OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure about these? It probably makes any cpu use of this thing useless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When onnxruntime_USE_AVX is ON, the target CPU must have AVX, otherwise the generated binaries will crash. The build machine might not be the one which will run the code, so it doesn't know if the target CPU has AVX or not.
However, even when all these options are off, our math lib, mlas, still can use AVX/AVX2/AVX512 instructions. It dynamically detect the target CPU's capability. Eigen doesn't do it. ONNX Runtime uses Eigen too. So these options are mainly for the kernels that do not use mlas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. That probably deserves a comment.
-Donnxruntime_USE_VALGRIND=OFF | ||
-Donnxruntime_RUN_MODELTEST_IN_DEBUG_MODE=OFF | ||
-Donnxruntime_FUZZ_TEST=OFF | ||
-Donnxruntime_USE_NCCL=OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NCCL is part of CUDA. Should this one be controlled by the GPU feature?
-Donnxruntime_USE_TENSORRT=OFF | ||
-Donnxruntime_ENABLE_LTO=ON | ||
-Donnxruntime_DEBUG_NODE_INPUTS_OUTPUTS=OFF | ||
-Donnxruntime_USE_ROCM=OFF # AMD GPU SUPPORT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This suggests that the name of the feature should be "cuda" rather than "gpu"? (If the AMD support ever gets fixed that lets us introduce a feature in the future "gpu" that depends on both cuda and amdgpu or similar)
-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF | ||
-Donnxruntime_GENERATE_TEST_REPORTS=OFF | ||
-Donnxruntime_ENABLE_STATIC_ANALYSIS=OFF | ||
-Donnxruntime_ENABLE_PYTHON=OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to still pass a python binary given that you set ENABLE_PYTHON to off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When onnxruntime_BUILD_SHARED_LIB is ON, we need a python interpreter to do codegen. See: https://github.com/microsoft/onnxruntime/blob/master/cmake/onnxruntime.cmake#L49 The script generates a DLL def file.
-Donnxruntime_CROSS_COMPILING=${CROSS_BUILD} | ||
-DCMAKE_INSTALL_INCLUDEDIR=include | ||
"-DPython_EXECUTABLE=${PYTHON3}" | ||
-Donnxruntime_RUN_ONNX_TESTS=OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do these options compare to the options used to build the DLLs that we used to download/deploy? (Will customers see one of these things that are off and consider it a regression?)
"cuda", | ||
"cudnn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These mean the port is expected to call vcpkg_find_cuda
but I don't see such a call here?
I will continue this PR when the next CUDA release published. |
Hi, I guess you meant the 11.7 release? Does that mean you will soon continue on this, now that 11.7 got released? Would love to use this package. Not sure if I can help somehow (maybe by testing or something) |
@Dr-Electron Yes, the current CUDA version has a critical bug that stop onnxruntime build. |
To clarify: Is the problem that our VMs have CUDA 11.6 rather than 11.7, or that it isn't fixed in 11.7 yet either? |
cuda_11.6.2_511.65_windows has the bug, but I found CUDA already published cuda_11.7.0_516.01_windows. |
The bug preventing this is that Cub 1.5 has a bug affecting windows macros in Windows.h. |
No, CUDA 11.7.0 doesn't contain the bug fix. |
Note to me: upstream bug: https://developer.nvidia.com/nvidia_bug/3597169. |
Thanks for clarifying! |
What would be my options to wait for CTK 12.x for the fix when it comes to building the onnxruntime .dlls? |
I think this is useless, CUDA still forces the internal cub to be used even though the cub containing the fixed version of vcpkg is declared to be used. |
cub 1.16.0 is still TBD: https://github.com/NVIDIA/cub/blob/main/README.md#releases |
Not sure why this was closed. If CUDA is an issue. Could we do it two steps |
We should always ensure that already supported features are always guaranteed to be available. |
The purpose of this PR is to change the direct installation of precompiled binaries to generate binaries via the cmake build system:
onnxruntime-gpu
.onnxruntime-cpu
toonnxruntime
and add featuregpu
.onnxruntime-gpu
as a empty port and depends ononnxruntime[gpu]
.Fixes #20548.