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

Improve trim tensor implementation #423

Merged
merged 23 commits into from
May 13, 2024

Conversation

as-suvorov
Copy link
Contributor

Ticket: 140109

@@ -459,6 +469,7 @@ jobs:
source ./ov/setupvars.sh
python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
python -m pip install ./thirdparty/openvino_tokenizers/[transformers]
sudo apt-get install libtbb-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can install TBB only when it's required?
and in cmake we will check:

find_package(TBB COMPONENTS tbb)
if(TBB_FOUND)
    target_link_libraries(speculative_decoding_lm PRIVATE TBB::tbb)
endif()

Copy link
Contributor

@ilya-lavrenov ilya-lavrenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general

text_generation/causal_lm/cpp/README.md Outdated Show resolved Hide resolved
text_generation/causal_lm/cpp/README.md Outdated Show resolved Hide resolved
@ilya-lavrenov
Copy link
Contributor

BTW, it's a temporary change until we merge and release openvinotoolkit/openvino#24359

@Wovchena Wovchena merged commit 07193b6 into openvinotoolkit:master May 13, 2024
12 checks passed
@as-suvorov
Copy link
Contributor Author

@sammysun0711 , your trim tensor improvement proposal has been merged. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants