-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(ml): update ONNX Runtime, OpenVINO and ROCm stack #23458
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
6dd73ce
feat: update openvino and onnxruntime
savely-krasovsky 66bd84a
feat: avoid forcing 3.13
savely-krasovsky 330f176
feat: add legacy driver
savely-krasovsky 464bf0c
fix: binary incompatibility fix
savely-krasovsky 258a27d
Merge branch 'main' into main
savely-krasovsky b529019
fix: address rocm failing build
savely-krasovsky 2d57bda
feat: rocm build cache support
savely-krasovsky f137537
Merge branch 'main' into main
savely-krasovsky 895cae5
Merge branch 'main' into main
savely-krasovsky 354580d
Merge branch 'main' into main
savely-krasovsky ebb2b89
Merge branch 'main' into main
savely-krasovsky a791440
feat: cache capacity change option
savely-krasovsky 00d5e8a
Merge branch 'main' into main
savely-krasovsky 21cbe80
pad
mertalev a2389a6
Merge branch 'main' into main
savely-krasovsky 2386219
Merge branch 'main' into main
savely-krasovsky f4a11ce
fix: small config fix
savely-krasovsky c9c1b4f
Merge remote-tracking branch 'upstream/main'
savely-krasovsky a7d9bc9
style: fix
savely-krasovsky a6ecf4d
feat: rocm built against numpy 2.x; gfx906 support added
savely-krasovsky e969ce9
feat: remove AMD Radeon 890M support :(
savely-krasovsky b9ad52e
Merge branch 'main' into main
savely-krasovsky fb53b1a
exp: try to reuse kernels
savely-krasovsky 5ee96a5
Merge branch 'main' into main
savely-krasovsky e921d8f
style: uv run black
savely-krasovsky 4fafebe
Merge branch 'main' into main
savely-krasovsky 1de57c6
feat: update igc
savely-krasovsky 5dee060
Merge branch 'immich-app:main' into main
savely-krasovsky 2f9e1e4
feat: update intel compute runtime
savely-krasovsky 6110511
feat: update onnxruntime
savely-krasovsky df5a375
Merge remote-tracking branch 'upstream/main' into main-bmg
savely-krasovsky 5822ce7
Merge pull request #1 from savely-krasovsky/main-bmg
savely-krasovsky 409534d
feat: remove empty patch
savely-krasovsky 79d6c02
feat: remove eigen patch since it's fixed in upstream
savely-krasovsky 2017308
Merge branch 'main' into main
savely-krasovsky 4c49939
Merge branch 'main' into main
savely-krasovsky ac5fff7
feat: update intel compute runtime and igc versions
savely-krasovsky 4d24756
Merge branch 'main' into main
savely-krasovsky 91dbcba
Merge branch 'main' into main
savely-krasovsky e28339e
fix: uv.lock fix
savely-krasovsky 9f1ef5b
fix: uv.lock fix
savely-krasovsky 9ab7e8a
fix: uv.lock fix
savely-krasovsky ed7f807
feat: check mertalev hypothesis for OCR
savely-krasovsky 33674de
feat: check mertalev hypothesis for OCR
savely-krasovsky 7083d18
Merge branch 'main' into main
savely-krasovsky e9ae918
Revert "feat: check mertalev hypothesis for OCR"
savely-krasovsky b482782
Revert "feat: check mertalev hypothesis for OCR"
savely-krasovsky b75264f
feat: remove everything unnecessary
savely-krasovsky d92bf01
fix: remove unnecessary import
savely-krasovsky 932a674
Merge branch 'main' into main
savely-krasovsky 4cabe17
fix: unit test fix
savely-krasovsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| diff --git a/dockerfiles/scripts/install_common_deps.sh b/dockerfiles/scripts/install_common_deps.sh | ||
| index bbb672a99e..8c6430d919 100644 | ||
| --- a/dockerfiles/scripts/install_common_deps.sh | ||
| +++ b/dockerfiles/scripts/install_common_deps.sh | ||
| @@ -8,16 +8,17 @@ apt-get update && apt-get install -y --no-install-recommends \ | ||
| curl \ | ||
| libcurl4-openssl-dev \ | ||
| libssl-dev \ | ||
| - python3-dev | ||
| + python3-dev \ | ||
| + python3-numpy \ | ||
| + python3-packaging \ | ||
| + python3-wheel \ | ||
| + ccache | ||
|
|
||
| # Dependencies: conda | ||
| wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O ~/miniconda.sh --no-check-certificate && /bin/bash ~/miniconda.sh -b -p /opt/miniconda | ||
| rm ~/miniconda.sh | ||
| /opt/miniconda/bin/conda clean -ya | ||
|
|
||
| -pip install numpy | ||
| -pip install packaging | ||
| -pip install "wheel>=0.35.1" | ||
| rm -rf /opt/miniconda/pkgs | ||
|
|
||
| # Dependencies: cmake |
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
machine-learning/patches/0003-eigen-switch-to-mirror-backport.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| diff --git a/cmake/deps.txt b/cmake/deps.txt | ||
| index d0bab93d3c..1edc309ed0 100644 | ||
| --- a/cmake/deps.txt | ||
| +++ b/cmake/deps.txt | ||
| @@ -22,7 +22,9 @@ dlpack;https://github.com/dmlc/dlpack/archive/refs/tags/v0.6.zip;4d565dd2e5b3132 | ||
| # it contains changes on top of 3.4.0 which are required to fix build issues. | ||
| # Until the 3.4.1 release this is the best option we have. | ||
| # Issue link: https://gitlab.com/libeigen/eigen/-/issues/2744 | ||
| -eigen;https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip;5ea4d05e62d7f954a46b3213f9b2535bdd866803 | ||
| +# Moved to github mirror to avoid gitlab issues. | ||
| +# Issue link: https://github.com/bazelbuild/bazel-central-registry/issues/4355 | ||
| +eigen;https://github.com/eigen-mirror/eigen/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip;05b19b49e6fbb91246be711d801160528c135e34 | ||
| flatbuffers;https://github.com/google/flatbuffers/archive/refs/tags/v23.5.26.zip;59422c3b5e573dd192fead2834d25951f1c1670c | ||
| fp16;https://github.com/Maratyszcza/FP16/archive/0a92994d729ff76a58f692d3028ca1b64b145d91.zip;b985f6985a05a1c03ff1bb71190f66d8f98a1494 | ||
| fxdiv;https://github.com/Maratyszcza/FXdiv/archive/63058eff77e11aa15bf531df5dd34395ec3017c8.zip;a5658f4036402dbca7cebee32be57fb8149811e1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.