Skip to content

High performance self-hosted photo and video management solution.

chore(ml): allow insightface 1.x (#28595)

Aaron Liu5386b62dc49e
diff --git a/machine-learning/pyproject.toml b/machine-learning/pyproject.toml
index f706a1f125..4a74c6405e 100644
--- a/machine-learning/pyproject.toml
+++ b/machine-learning/pyproject.toml
@@ -10,7 +10,7 @@ dependencies = [
"fastapi>=0.95.2,<1.0",
"gunicorn>=21.1.0",
"huggingface-hub>=1.0,<2.0",
- "insightface>=0.7.3,<1.0",
+ "insightface>=0.7.3,<2.0",
"numpy>=2.4.0,<3.0",
"opencv-python-headless>=4.7.0.72,<5.0",
"orjson>=3.9.5",
diff --git a/machine-learning/uv.lock b/machine-learning/uv.lock
index 5623c553df..145ee5f9e5 100644
--- a/machine-learning/uv.lock
+++ b/machine-learning/uv.lock
@@ -1004,7 +1004,7 @@ requires-dist = [
{ name = "fastapi", specifier = ">=0.95.2,<1.0" },
{ name = "gunicorn", specifier = ">=21.1.0" },
{ name = "huggingface-hub", specifier = ">=1.0,<2.0" },
- { name = "insightface", specifier = ">=0.7.3,<1.0" },
+ { name = "insightface", specifier = ">=0.7.3,<2.0" },
{ name = "numpy", specifier = ">=2.4.0,<3.0" },
{ name = "onnxruntime", marker = "extra == 'armnn'", specifier = ">=1.23.2,<2" },
{ name = "onnxruntime", marker = "extra == 'cpu'", specifier = ">=1.23.2,<2" },