From 5f9691da42c4ce1fb2b05cd7a8344f239aff9930 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Fri, 17 Jan 2025 10:30:47 +0100 Subject: [PATCH] Use manylinux --- .github/workflows/causal_lm_cpp.yml | 4 +++- .github/workflows/genai-tools.yml | 2 +- .github/workflows/linux.yml | 2 +- pyproject.toml | 1 - src/cpp/src/make_tokenizer_stateful.hpp | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/causal_lm_cpp.yml b/.github/workflows/causal_lm_cpp.yml index 9cca3141b8..58d4d3e0be 100644 --- a/.github/workflows/causal_lm_cpp.yml +++ b/.github/workflows/causal_lm_cpp.yml @@ -20,6 +20,7 @@ env: l_u22_ov_link: https://storage.openvinotoolkit.org/repositories/openvino/packages/pre-release/2025.0.0rc1/l_openvino_toolkit_ubuntu22_2025.0.0.dev20250116_x86_64.tgz m_ov_link: https://storage.openvinotoolkit.org/repositories/openvino/packages/pre-release/2025.0.0rc1/m_openvino_toolkit_macos_12_6_2025.0.0.dev20250116_x86_64.tgz w_ov_link: https://storage.openvinotoolkit.org/repositories/openvino/packages/pre-release/2025.0.0rc1/w_openvino_toolkit_windows_2025.0.0.dev20250116_x86_64.zip + jobs: cpp-multinomial-greedy_causal_lm-ubuntu: runs-on: ubuntu-20.04-8-cores @@ -463,6 +464,7 @@ jobs: env: PYTHONPATH: "./build/:$PYTHONPATH" LD_LIBRARY_PATH: "./build/openvino_genai/:$LD_LIBRARY_PATH" + cpp-prompt_lookup_decoding_lm-ubuntu: runs-on: ubuntu-20.04-16-cores defaults: @@ -520,6 +522,7 @@ jobs: env: PYTHONPATH: "./build/:$PYTHONPATH" LD_LIBRARY_PATH: "./build/openvino_genai/:$LD_LIBRARY_PATH" + cpp-Phi-1_5: runs-on: ubuntu-20.04-16-cores defaults: @@ -697,7 +700,6 @@ jobs: diff pred2.txt ref.txt echo "Chat sample python" passed - visual_language_chat_sample-ubuntu-minicpm_v2_6: runs-on: ubuntu-22.04-16-cores steps: diff --git a/.github/workflows/genai-tools.yml b/.github/workflows/genai-tools.yml index 75ae67efeb..2d7f6d9793 100644 --- a/.github/workflows/genai-tools.yml +++ b/.github/workflows/genai-tools.yml @@ -42,7 +42,7 @@ jobs: - uses: openvinotoolkit/openvino/.github/actions/openvino_provider@releases/2025/0 id: openvino_download with: - platform: ubuntu22 + platform: centos7 commit_packages_to_provide: wheels revision: 2025.0.0rc1 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b9dc591566..2c85f9a878 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -50,7 +50,7 @@ jobs: - uses: openvinotoolkit/openvino/.github/actions/openvino_provider@releases/2025/0 id: openvino_download with: - platform: ubuntu22 + platform: centos7 commit_packages_to_provide: wheels revision: 2025.0.0rc1 diff --git a/pyproject.toml b/pyproject.toml index 27318d42ed..5f611aa8af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,6 @@ options = {"BUILD_TOKENIZERS" = "OFF"} requires = [ "py-build-cmake==0.3.4", "openvino~=2025.0.0.0.dev", - "pybind11-stubgen==2.5.1", "cmake~=3.23.0" ] build-backend = "py_build_cmake.build" diff --git a/src/cpp/src/make_tokenizer_stateful.hpp b/src/cpp/src/make_tokenizer_stateful.hpp index 1f25d2ad21..9ad06ae07a 100644 --- a/src/cpp/src/make_tokenizer_stateful.hpp +++ b/src/cpp/src/make_tokenizer_stateful.hpp @@ -34,7 +34,7 @@ namespace genai { **/ class MakeCombineSegmentsSatateful : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MakeCombineSegmentsSatateful", "0"); + OPENVINO_MODEL_PASS_RTTI("MakeCombineSegmentsSatateful"); bool run_on_model(const std::shared_ptr& model) override; }; @@ -70,7 +70,7 @@ class MakeCombineSegmentsSatateful : public ov::pass::ModelPass { **/ class MakeVocabDecoderSatateful : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MakeVocabDecoderSatateful", "0"); + OPENVINO_MODEL_PASS_RTTI("MakeVocabDecoderSatateful"); bool run_on_model(const std::shared_ptr& model) override; };