fix(ml): incorrect outputs on alchemist and battlemage (#32148)
fix(ml): incorrect outputs on alchemist and battlemage (#32110) Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
co-authored by
mertalev
parent
ed3073624b
commit
c5343f3f35
@@ -89,14 +89,14 @@ FROM python:3.13-slim-trixie@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9
|
|||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install --no-install-recommends -yqq ocl-icd-libopencl1 wget && \
|
apt-get install --no-install-recommends -yqq ocl-icd-libopencl1 wget && \
|
||||||
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/v2.36.3/intel-igc-core-2_2.36.3+21719_amd64.deb && \
|
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/v2.41.5/intel-igc-core-2_2.41.5+22716_amd64.deb && \
|
||||||
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/v2.36.3/intel-igc-opencl-2_2.36.3+21719_amd64.deb && \
|
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/v2.41.5/intel-igc-opencl-2_2.41.5+22716_amd64.deb && \
|
||||||
wget -nv https://github.com/intel/compute-runtime/releases/download/26.22.38646.4/intel-opencl-icd_26.22.38646.4-0_amd64.deb && \
|
wget -nv https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/intel-opencl-icd_26.35.39758.10-0_amd64.deb && \
|
||||||
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-core_1.0.17537.24_amd64.deb && \
|
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-core_1.0.17537.24_amd64.deb && \
|
||||||
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-opencl_1.0.17537.24_amd64.deb && \
|
wget -nv https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-opencl_1.0.17537.24_amd64.deb && \
|
||||||
wget -nv https://github.com/intel/compute-runtime/releases/download/24.35.30872.36/intel-opencl-icd-legacy1_24.35.30872.36_amd64.deb && \
|
wget -nv https://github.com/intel/compute-runtime/releases/download/24.35.30872.36/intel-opencl-icd-legacy1_24.35.30872.36_amd64.deb && \
|
||||||
# TODO: Figure out how to get renovate to manage this differently versioned libigdgmm file
|
# TODO: Figure out how to get renovate to manage this differently versioned libigdgmm file
|
||||||
wget -nv https://github.com/intel/compute-runtime/releases/download/26.22.38646.4/libigdgmm12_22.10.0_amd64.deb && \
|
wget -nv https://github.com/intel/compute-runtime/releases/download/26.35.39758.10/libigdgmm12_22.10.0_amd64.deb && \
|
||||||
dpkg -i *.deb && \
|
dpkg -i *.deb && \
|
||||||
rm *.deb && \
|
rm *.deb && \
|
||||||
apt-get remove wget -yqq && \
|
apt-get remove wget -yqq && \
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ lint = [
|
|||||||
]
|
]
|
||||||
dev = ["locust>=2.15.1", { include-group = "test" }, { include-group = "lint" }]
|
dev = ["locust>=2.15.1", { include-group = "test" }, { include-group = "lint" }]
|
||||||
# the image replaces onnxruntime-openvino with one built against and bundling this openvino
|
# the image replaces onnxruntime-openvino with one built against and bundling this openvino
|
||||||
onnxruntime-openvino-build = ["openvino>=2026.4.1,<2027", "setuptools", "wheel"]
|
onnxruntime-openvino-build = ["openvino==2026.5.0.dev20261005", "setuptools", "wheel"]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
cpu = ["onnxruntime>=1.23.2,<2"]
|
cpu = ["onnxruntime>=1.23.2,<2"]
|
||||||
@@ -64,8 +64,14 @@ compile-bytecode = true
|
|||||||
override-dependencies = ["opencv-python ; sys_platform == 'never'"] # only install the headless version
|
override-dependencies = ["opencv-python ; sys_platform == 'never'"] # only install the headless version
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
immich-model = { git = "https://github.com/immich-app/ml-models.git", rev = "88d2b64ff95ce7117760660681d95e0e1308819b" }
|
immich-model = { git = "https://github.com/immich-app/ml-models.git", rev = "8bf3fd1b44b0c8608f52fb6e50ddff52826576d8" }
|
||||||
onnxruntime-gpu = { index = "onnxruntime-cuda-12" }
|
onnxruntime-gpu = { index = "onnxruntime-cuda-12" }
|
||||||
|
openvino = { index = "openvino-nightly" }
|
||||||
|
|
||||||
|
[[tool.uv.index]]
|
||||||
|
name = "openvino-nightly"
|
||||||
|
url = "https://storage.openvinotoolkit.org/simple/wheels/nightly"
|
||||||
|
explicit = true
|
||||||
|
|
||||||
[[tool.uv.index]]
|
[[tool.uv.index]]
|
||||||
name = "onnxruntime-cuda-12"
|
name = "onnxruntime-cuda-12"
|
||||||
|
|||||||
Generated
+23
-23
@@ -1,5 +1,5 @@
|
|||||||
version = 1
|
version = 1
|
||||||
revision = 5
|
revision = 3
|
||||||
requires-python = ">=3.12, <4.0"
|
requires-python = ">=3.12, <4.0"
|
||||||
resolution-markers = [
|
resolution-markers = [
|
||||||
"python_full_version >= '3.15' and sys_platform == 'darwin'",
|
"python_full_version >= '3.15' and sys_platform == 'darwin'",
|
||||||
@@ -769,7 +769,7 @@ requires-dist = [
|
|||||||
{ name = "fastapi", specifier = ">=0.95.2,<1.0" },
|
{ name = "fastapi", specifier = ">=0.95.2,<1.0" },
|
||||||
{ name = "gunicorn", specifier = ">=21.1.0" },
|
{ name = "gunicorn", specifier = ">=21.1.0" },
|
||||||
{ name = "huggingface-hub", specifier = ">=1.0,<2.0" },
|
{ name = "huggingface-hub", specifier = ">=1.0,<2.0" },
|
||||||
{ name = "immich-model", git = "https://github.com/immich-app/ml-models.git?rev=88d2b64ff95ce7117760660681d95e0e1308819b" },
|
{ name = "immich-model", git = "https://github.com/immich-app/ml-models.git?rev=8bf3fd1b44b0c8608f52fb6e50ddff52826576d8" },
|
||||||
{ name = "numpy", specifier = ">=2.4.0,<3.0" },
|
{ name = "numpy", specifier = ">=2.4.0,<3.0" },
|
||||||
{ name = "onnx", specifier = ">=1.22.0" },
|
{ name = "onnx", specifier = ">=1.22.0" },
|
||||||
{ name = "onnxruntime", marker = "extra == 'armnn'", specifier = ">=1.23.2,<2" },
|
{ name = "onnxruntime", marker = "extra == 'armnn'", specifier = ">=1.23.2,<2" },
|
||||||
@@ -819,7 +819,7 @@ lint = [
|
|||||||
{ name = "types-ujson", specifier = ">=5.10.0.20240515" },
|
{ name = "types-ujson", specifier = ">=5.10.0.20240515" },
|
||||||
]
|
]
|
||||||
onnxruntime-openvino-build = [
|
onnxruntime-openvino-build = [
|
||||||
{ name = "openvino", specifier = ">=2026.4.1,<2027" },
|
{ name = "openvino", specifier = "==2026.5.0.dev20261005", index = "https://storage.openvinotoolkit.org/simple/wheels/nightly" },
|
||||||
{ name = "setuptools" },
|
{ name = "setuptools" },
|
||||||
{ name = "wheel" },
|
{ name = "wheel" },
|
||||||
]
|
]
|
||||||
@@ -841,7 +841,7 @@ types = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "immich-model"
|
name = "immich-model"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = { git = "https://github.com/immich-app/ml-models.git?rev=88d2b64ff95ce7117760660681d95e0e1308819b#88d2b64ff95ce7117760660681d95e0e1308819b" }
|
source = { git = "https://github.com/immich-app/ml-models.git?rev=8bf3fd1b44b0c8608f52fb6e50ddff52826576d8#8bf3fd1b44b0c8608f52fb6e50ddff52826576d8" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "numpy" },
|
{ name = "numpy" },
|
||||||
{ name = "onnx" },
|
{ name = "onnx" },
|
||||||
@@ -1444,7 +1444,7 @@ name = "opencv-python"
|
|||||||
version = "4.11.0.86"
|
version = "4.11.0.86"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "numpy" },
|
{ name = "numpy", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/17/06/68c27a523103dad5837dc5b87e71285280c4f098c60e4fe8a8db6486ab09/opencv-python-4.11.0.86.tar.gz", hash = "sha256:03d60ccae62304860d232272e4a4fda93c39d595780cb40b161b310244b736a4", size = 95171956, upload-time = "2025-01-16T13:52:24.737Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/17/06/68c27a523103dad5837dc5b87e71285280c4f098c60e4fe8a8db6486ab09/opencv-python-4.11.0.86.tar.gz", hash = "sha256:03d60ccae62304860d232272e4a4fda93c39d595780cb40b161b310244b736a4", size = 95171956, upload-time = "2025-01-16T13:52:24.737Z" }
|
||||||
|
|
||||||
@@ -1469,29 +1469,29 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "openvino"
|
name = "openvino"
|
||||||
version = "2026.4.1"
|
version = "2026.5.0.dev20261005"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://storage.openvinotoolkit.org/simple/wheels/nightly" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "numpy" },
|
{ name = "numpy" },
|
||||||
{ name = "openvino-telemetry" },
|
{ name = "openvino-telemetry" },
|
||||||
]
|
]
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/b3/4e/865889882a3be23beaf9808f93069c05e2eb8c8ff4e9b913568fc0383ce4/openvino-2026.4.1-22982-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:726ac547b8474a5e7b145bc1ae5a8bb6fbcbb60b79bd9a611c67eec2c74b7a5f", size = 33341733, upload-time = "2026-10-01T09:58:47.515Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp312-cp312-macosx_11_0_arm64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ec/3a/2a173ac1ad749ff0b041788eefc1ade0d410231fedfc43f77474f3b806cc/openvino-2026.4.1-22982-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:6b4375c17ddcac83a5180349e2e2bb811185c261066e2a920659892d58ef0e3b", size = 59144434, upload-time = "2026-10-01T09:58:51.34Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp312-cp312-manylinux_2_28_x86_64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b2/d7/390c0ec5b81b6e089b012aaba6a2dc14f3ac7c52bfd78d10f074e72616ab/openvino-2026.4.1-22982-cp312-cp312-manylinux_2_35_aarch64.whl", hash = "sha256:82efccb2f9f1bdc7e5a1996e05a3b719ebff9232dd54b44150d6d2e983a86b7d", size = 30332437, upload-time = "2026-10-01T09:58:54.385Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp312-cp312-manylinux_2_35_aarch64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d0/44/66a61b7cfccea1dfa20e95a04b4157f07a0e4dc3f7e894b22a92abb8822b/openvino-2026.4.1-22982-cp312-cp312-win_amd64.whl", hash = "sha256:4e04316abff1b99e29b8cbd38deaef9bde4739eba216d982d4b3981e456ecd87", size = 84964415, upload-time = "2026-10-01T09:58:59.18Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp312-cp312-win_amd64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/3e/75/66fc1f74a4c9cdc7bf2d4773dd7e199589ec87884d10b9e58b4eca1e3a50/openvino-2026.4.1-22982-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:60496e3153122913c8a2fa69d86b3a77ccc4e2469db87d76eb8acb49a5d22d63", size = 33341974, upload-time = "2026-10-01T09:59:03.149Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp313-cp313-macosx_11_0_arm64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/7f/8b/d2fb2611cd8160cb4c0e5401b9d87312961d77891eade431381e396a8d83/openvino-2026.4.1-22982-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:a9b637846c579d7b81b17b6585e0c7b1947574e8d13cf83d7307ce50cd2c352e", size = 59142703, upload-time = "2026-10-01T09:59:06.972Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp313-cp313-manylinux_2_28_x86_64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/4f/2b/e3b9cb3870cfeb0f9b2ad0f9adba18e06e0168e0c72ed14a11adb66982e1/openvino-2026.4.1-22982-cp313-cp313-manylinux_2_35_aarch64.whl", hash = "sha256:fc45339ff7d539de76e6d7b04135c120504c797cfc8c2a0dde3d2d616b30c758", size = 30333747, upload-time = "2026-10-01T09:59:10.03Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp313-cp313-manylinux_2_35_aarch64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/35/e2/917952cd8d21351d10bf0ce694421de92a2b14a6269f0ba13d2504fcf6a9/openvino-2026.4.1-22982-cp313-cp313-win_amd64.whl", hash = "sha256:37c270c99d6de23439965e97cb5106389d3c8985f3b8bb90909a6ea0270db3f2", size = 84964362, upload-time = "2026-10-01T09:59:15.467Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp313-cp313-win_amd64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/fa/0d/113b7dad0f3a2a87b394898bfafa810c50a97ebfa10e91ab03a9bbce11d6/openvino-2026.4.1-22982-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f57d1cc75c77c18b2be8ab628d8e0a8e01f4be44f521823b6fba7ede31d708d3", size = 33317735, upload-time = "2026-10-01T09:59:20.236Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314-macosx_11_0_arm64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/77/cf/830aff97404d73b8ada3ba3f02a626089a384299322cb94b52c37eaebd18/openvino-2026.4.1-22982-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:3631dd889dccf3d5087775948590a6609a662f90c24a9cf85bb4dfa0cdd7fd2f", size = 59145072, upload-time = "2026-10-01T09:59:24.04Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314-manylinux_2_28_x86_64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/5d/97/6fe7443b66179413c21cca9e36267e22711398debdd3ba4ad59fa2f933b3/openvino-2026.4.1-22982-cp314-cp314-manylinux_2_35_aarch64.whl", hash = "sha256:b70a01f6961bf8fe4b647b14fb122be4d30ece02292a9831f9241a64be089676", size = 30342100, upload-time = "2026-10-01T09:59:27.175Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314-manylinux_2_35_aarch64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/56/bc/5ebb236e5c10155d7693ea282308b9dbfe4142c5f3350a77203ab859684b/openvino-2026.4.1-22982-cp314-cp314-win_amd64.whl", hash = "sha256:96d5ecb8cca4d61a3eee754c9e477702509cf782eb45596c653a00ddb2176d96", size = 84966232, upload-time = "2026-10-01T09:59:32.323Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314-win_amd64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/14/b0/a0e6a1b0938ed87107a1db91d27c0f57168e20b066a3681adc430c51cd46/openvino-2026.4.1-22982-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:24c73d3c61a8b71c09bf512a294d37ff8ea6e4b0c65c1b136bb842bbbd6c9c31", size = 33553140, upload-time = "2026-10-01T09:59:35.894Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314t-macosx_11_0_arm64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/e6/81/f437957dbb73002e38a3c25cfcb0eddf3faa3b328bae586836d40ff13cc2/openvino-2026.4.1-22982-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:645e8788370b1037cc21d19078f2f235478292e23938b00ab4fe0d2614a5f7d0", size = 59189953, upload-time = "2026-10-01T09:59:39.877Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314t-manylinux_2_28_x86_64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/da/d1/3904a8913f717d92ef383e7f105425944012ed73c816d85f790dc2fb5923/openvino-2026.4.1-22982-cp314-cp314t-manylinux_2_35_aarch64.whl", hash = "sha256:6c5672d6cc0fba4e22fd8d1352ffd7e395f6135da741e002bfad7a0344c183f2", size = 27452183, upload-time = "2026-10-01T09:59:43.135Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314t-manylinux_2_35_aarch64.whl" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/e2/b4/0f24c785d915269fa2fc087cc2242b1216f6ed2584598ba0f8bada2d53e9/openvino-2026.4.1-22982-cp314-cp314t-win_amd64.whl", hash = "sha256:c383422d3e7e457441ec88911da0b16ed5132f55b8c9fb21411749d3eff90a60", size = 85132406, upload-time = "2026-10-01T09:59:47.575Z" },
|
{ url = "https://storage.openvinotoolkit.org/wheels/nightly/openvino/openvino-2026.5.0.dev20261005-23342-cp314-cp314t-win_amd64.whl" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
Reference in New Issue
Block a user