diff --git a/.github/workflows/genai_python_lib.yml b/.github/workflows/genai_python_lib.yml index 1be6705e30..2b549fb339 100644 --- a/.github/workflows/genai_python_lib.yml +++ b/.github/workflows/genai_python_lib.yml @@ -23,9 +23,9 @@ jobs: # GitHub Actions already provides what is listed in ./requirements-build.txt but the internal # build system doesn't. Install ./requirements-build.txt to detect possible conflicts. - run: source ./ov/setupvars.sh && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] -r ./requirements-build.txt -r ./tests/python_tests/requirements.txt --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release --verbose --verbose --verbose - - run: source ./ov/setupvars.sh && PYTHONPATH=./build/:$PYTHONPATH python -m pytest ./tests/python_tests/test_generate_api.py + - run: source ./ov/setupvars.sh && PYTHONPATH=./build/:$PYTHONPATH python -m pytest ./tests/python_tests/test_generate_api.py -x - run: source ./ov/setupvars.sh && python -m pip install . --config-settings=build-dir="build" --verbose --verbose --verbose - - run: python -m pytest ./tests/python_tests/test_generate_api.py + - run: python -m pytest ./tests/python_tests/test_generate_api.py -x windows_genai_python_lib: runs-on: windows-latest diff --git a/src/cpp/include/openvino/genai/llm_pipeline.hpp b/src/cpp/include/openvino/genai/llm_pipeline.hpp index 73905616e5..11bc1d4adc 100644 --- a/src/cpp/include/openvino/genai/llm_pipeline.hpp +++ b/src/cpp/include/openvino/genai/llm_pipeline.hpp @@ -209,8 +209,8 @@ class OPENVINO_GENAI_EXPORTS LLMPipeline { std::unique_ptr m_pimpl; }; -std::pair streamer(StreamerVariant func); -std::pair generation_config(const GenerationConfig& config); +OPENVINO_GENAI_EXPORTS std::pair streamer(StreamerVariant func); +OPENVINO_GENAI_EXPORTS std::pair generation_config(const GenerationConfig& configOPENVINO_GENAI_EXPORTS ); } // namespace genai } // namespace ov