Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note for pybind ov::Tensor issue #659

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
cmake --install ./build/ --config Release --prefix ov
```

> **NOTE**: There is a known Python API issue with `ov::Tensor`. The issue is reproduced when building OpenVINO GenAI from sources while using OpenVINO from archives. Using `ov::Tensor` with OpenVINO GenAI will fail on Windows and Linux Systems. Possible errors: `TypeError: generate(): incompatible function arguments.`, `TypeError: __init__(): incompatible constructor arguments.`, `TypeError: Unregistered type : ov::Tensor`.
Wovchena marked this conversation as resolved.
Show resolved Hide resolved
Wovchena marked this conversation as resolved.
Show resolved Hide resolved
Wovchena marked this conversation as resolved.
Show resolved Hide resolved
The preferred approach is to build both OpenVINO and OpenVINO GenAI from sources using the same build environment. Or to install OpenVINO GenAI from [distribution channels](https://docs.openvino.ai/2024/get-started/install-openvino.html).
Wovchena marked this conversation as resolved.
Show resolved Hide resolved

## Build for Windows Systems

### Software Requirements
Expand Down Expand Up @@ -60,6 +63,9 @@
cmake --install ./build/ --config Release --prefix ov
```

> **NOTE**: There is a known Python API issue with `ov::Tensor`. The issue is reproduced when building OpenVINO GenAI from sources while using OpenVINO from archives. Using `ov::Tensor` with OpenVINO GenAI will fail on Windows and Linux Systems. Possible errors: `TypeError: generate(): incompatible function arguments.`, `TypeError: __init__(): incompatible constructor arguments.`, `TypeError: Unregistered type : ov::Tensor`.
The preferred approach is to build both OpenVINO and OpenVINO GenAI from sources using the same build environment. Or to install OpenVINO GenAI from [distribution channels](https://docs.openvino.ai/2024/get-started/install-openvino.html).

## Build for macOS Systems

### Software Requirements
Expand Down
Loading