Conversation
There was a problem hiding this comment.
i'm surprised flatbuffers works given that it should be a clear version mismatch
There was a problem hiding this comment.
need to support #include <locale> in onnxruntime/core/providers/cpu/text/string_normalizer.cc (& probably elsewhere).
without this a bunch of ContribOpTests fail (StringNormalizer* & WordConvEmbedding*)
There was a problem hiding this comment.
probably cleaner to factor out pytorch_cpuinfo rev & share that between the source & the clog version string.
also even though pytorch_clog doesn't seem to use gbenchmark it'll fail without -DUSE_SYSTEM_GOOGLEBENCHMARK=ON so we have to leave it there
There was a problem hiding this comment.
i feel like flatbuffers should fail given issues like microsoft/onnxruntime#14981; maybe the local build i tested out was flawed and it's actually not gonna work in CI
There was a problem hiding this comment.
i think this patch might be unnecessary, given the comment in onnxruntime/default.nix on the line where this patch is included
d512061 to
2423bcd
Compare
| onnx = fetchFromGitHub { | ||
| owner = "onnx"; | ||
| repo = "onnx"; | ||
| rev = "refs/tags/v1.14.1"; | ||
| hash = "sha256-ZVSdk6LeAiZpQrrzLxphMbc1b3rNUMpcxcXPP8s/5tE="; | ||
| rev = "refs/tags/v1.16.1"; | ||
| hash = "sha256-I1wwfn91hdH3jORIKny0Xc73qW2P04MjkVCgcaNnQUE="; | ||
| }; |
There was a problem hiding this comment.
why are we vendoring onnx? it looks like there's an open MR to bump to 1.16 which would be compatible here #299313
There was a problem hiding this comment.
@acairncross, since you're listed as the onnx maintainer
There was a problem hiding this comment.
IIRC, onnxruntime is loosely correlated to onnx (the python package) so the don't have to be in lockstep. Although, I would probably prefer that we try to move to a world where we don't vendor a local copy.
There was a problem hiding this comment.
so i can open a PR updating onnx to 1.16.1 & then reference the source here; is there a preference for how to structure that?
i guess python3Packages is already an argument, so it could just be python3Packages.onnx_1_16.src & some comment or assertion indicating that we want compatibility checks in a similar fashion to how other packages with source dependencies like this are structured?
There was a problem hiding this comment.
There's a tradeoff, as now if you bump onnx, you have to be concerned about onnxruntime. And it's a matter of if that should be the case.
| - FetchContent_Populate(eigen) | ||
| - set(eigen_INCLUDE_DIRS "${eigen_SOURCE_DIR}") | ||
| + FetchContent_MakeAvailable(eigen) | ||
| + add_library(eigen ALIAS Eigen3::Eigen) | ||
| + | ||
| + # Onnxruntime doesn't always use `eigen` as a target in | ||
| + # `target_link_libraries`, sometimes it just uses | ||
| + # `target_include_directories`: | ||
| + get_target_property(eigen_INCLUDE_DIRS Eigen3::Eigen INTERFACE_INCLUDE_DIRECTORIES) |
There was a problem hiding this comment.
I really need to upstream a -DPREFER_SYSTEM_LIBS type of switch..... tired of having to carry around patches which disable network behaviors.
| onnx = fetchFromGitHub { | ||
| owner = "onnx"; | ||
| repo = "onnx"; | ||
| rev = "refs/tags/v1.14.1"; | ||
| hash = "sha256-ZVSdk6LeAiZpQrrzLxphMbc1b3rNUMpcxcXPP8s/5tE="; | ||
| rev = "refs/tags/v1.16.1"; | ||
| hash = "sha256-I1wwfn91hdH3jORIKny0Xc73qW2P04MjkVCgcaNnQUE="; | ||
| }; |
There was a problem hiding this comment.
IIRC, onnxruntime is loosely correlated to onnx (the python package) so the don't have to be in lockstep. Although, I would probably prefer that we try to move to a world where we don't vendor a local copy.
|
okay looks like there are some failures with |
|
maybe a CXX_STANDARD issue? |
|
ah yeah might be; ...which i think is resolved by applying this patch from upstream which isn't in 1.18.0...? i guess i didn't run into this at work b/c we're on older versions of |
Release notes: - https://github.com/microsoft/onnxruntime/releases/tag/v1.17.0 - https://github.com/microsoft/onnxruntime/releases/tag/v1.17.1 - https://github.com/microsoft/onnxruntime/releases/tag/v1.17.3 - https://github.com/microsoft/onnxruntime/releases/tag/v1.18.0
2423bcd to
0f76878
Compare
Description of changes
version bump; release notes for versions between 1.16.3 & 1.18.0:
i haven't tested any of the CUDA stuff.
maintainers: @puffnfresh @ck3d @cbourjau
possibly interested parties from #309015: @wexder @madsmtm
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.