OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[PyOV] Mitigate CVE vulnerability in `torch` (#31271)
Przemyslaw Wysocki586045ee9aa3
diff --git a/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt b/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txtindex 4562d3a703e..127c3546e42 100644--- a/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt+++ b/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt@@ -1,5 +1,5 @@--extra-index-url https://download.pytorch.org/whl/cpunetworkx<=3.2.1; python_version <= '3.9'-torch>=2.6.0+torch>=2.7.0torchvisionpillow>=9.0\ No newline at end of filediff --git a/tests/requirements_pytorch b/tests/requirements_pytorchindex 84950e3affe..29bbde5c341 100644--- a/tests/requirements_pytorch+++ b/tests/requirements_pytorch@@ -3,11 +3,11 @@# optimum still requires numpy<2.0.0numpy==1.26.4; python_version < "3.12"numpy==2.1.1; python_version >= "3.12"-torch==2.6.0+torch==2.7.0--extra-index-url https://download.pytorch.org/whl/cpu-torchvision==0.21.0-torchaudio==2.6.0+torchvision==0.22.0+torchaudio==2.7.0# before updating transformers version, make sure no tests (esp. sdpa2pa) are failingtransformers==4.47.1pytest==7.0.1; python_version < '3.10'