From 76355a299e331886b1ac7dffb05081cd663accb6 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Wed, 6 Mar 2024 17:01:35 +0100 Subject: [PATCH 1/2] simplify test dep (#60) --- pyproject.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e9aca2841..c87baeb31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,11 +28,7 @@ transformers = [ ] # chatglm2 custom tokenizer file imports torch, have to add torch dependency for tests torch = [ - 'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp38-cp38-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.8"', - 'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp39-cp39-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.9"', - 'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp310-cp310-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.10"', - 'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp311-cp311-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.11"', - 'torch ; sys_platform != "linux"' + 'torch' ] dev = [ "ruff", From f702d689f6e06eb968df84de557660ddedc01baa Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Wed, 6 Mar 2024 19:33:20 +0100 Subject: [PATCH 2/2] stric dep on ov 2024 (#61) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c87baeb31..da2232b2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] dependencies = [ - "openvino" + "openvino==2024.0.0" ] [project.optional-dependencies]