From 25eab78b50d3cf4615d767fc054834d27f8c37f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:20:10 +0000 Subject: [PATCH] deps(dev): update torch requirement Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version. - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v2.8.0...v2.9.0) --- updated-dependencies: - dependency-name: torch dependency-version: 2.9.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6dd022f5..3e303667 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,8 +83,8 @@ Source = "https://github.com/CAIIVS/raitap/" [project.optional-dependencies] # Backend module -torch-cpu = ["torch>=2.8.0,<2.9.0", "torchvision>=0.20.0,<0.24.0"] -torch-cuda = ["torch>=2.8.0,<2.9.0", "torchvision>=0.20.0,<0.24.0"] +torch-cpu = ["torch>=2.8.0,<2.10.0", "torchvision>=0.20.0,<0.24.0"] +torch-cuda = ["torch>=2.8.0,<2.10.0", "torchvision>=0.20.0,<0.24.0"] torch-intel = [ # Intel XPU stays on torch>=2.10.0 (unchanged from main): the only torch in the # 2.8 window on the xpu index is 2.8.0+xpu, whose pinned pytorch-triton-xpu==3.4.0 @@ -102,13 +102,13 @@ torch-intel = [ onnx-cpu = [ "onnx>=1.21.0", "onnxruntime>=1.24.4", - "torch>=2.8.0,<2.9.0", + "torch>=2.8.0,<2.10.0", "torchvision>=0.20.0,<0.24.0", ] onnx-cuda = [ "onnx>=1.21.0", "onnxruntime-gpu>=1.24.4", - "torch>=2.8.0,<2.9.0", + "torch>=2.8.0,<2.10.0", "torchvision>=0.20.0,<0.24.0", ] onnx-intel = [ @@ -138,7 +138,7 @@ transparency = ["raitap[shap,captum]"] # compute. Bundled here and routed to the CPU index in [tool.uv.sources] (like # onnx-cpu bundles torch); XGBoost runs on CPU here, so the CPU build suffices and # this extra stays hardware-variant-free. -xgboost = ["xgboost>=2.0", "scikit-learn>=1.3", "torch>=2.8.0,<2.9.0"] +xgboost = ["xgboost>=2.0", "scikit-learn>=1.3", "torch>=2.8.0,<2.10.0"] # Text model backend (HuggingFace) — AutoModelForSequenceClassification + # AutoTokenizer loading for the text input modality. Does not bundle torch: