forked from openvinotoolkit/openvino.genai
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cache a model, rename genai target, fix Windows #14
Merged
pavel-esir
merged 205 commits into
pavel-esir:generate_pipeline
from
Wovchena:update-tests
Jun 4, 2024
Merged
Changes from 182 commits
Commits
Show all changes
205 commits
Select commit
Hold shift + click to select a range
d73346c
Fix noise images generated for '--num' > 1 in Stable Diffusion sample…
yatarkan 93f7670
update optimum intel commit in llm bench (#444)
eaidova cad3abb
Fix an attempt to add a string value to a numerical value (#447)
wgzintel d473e96
output no hook data warning when it is text gen model (#449)
wgzintel 41b07d3
Fix md5 hash for env that does not support usedforsecurity arg (#445)
eaidova 05a0f36
fix path based configuration (#456)
eaidova 03e78fe
Revert "Force to generate "inference count" tokens" (#455)
peterchen-intel d843229
enable
Wovchena 2c1d1ef
libtbb-dev
Wovchena 57ca2d4
move
Wovchena 37844c9
slash
Wovchena 5cff21e
install
Wovchena 561b55a
core_genai_dev
Wovchena 260d913
remove export
Wovchena b6cf954
rreorganaise components
Wovchena aaf5c78
add SOVERSION, and requirements-build.txt
Wovchena 5537d3b
repalce SKBUILD with EXCLUDE_FROM_ALL because the effect is the same
Wovchena 9966be4
fix NAMELINK_COMPONENT
Wovchena 2486e53
remove extraline
Wovchena 7953c0f
Merge branch 'generate_pipeline' into fix-archive
Wovchena 786eac7
add soft restrictions
Wovchena 7324da9
Fix build to unblock packaging
Wovchena 25909cc
verify beam search 1st token optimization (#426)
wgzintel e6f05c6
Output median min and avg values to csv (#450)
wgzintel 5577e84
improve naming
Wovchena b679fc7
install samples
Wovchena 26f9fe1
remove quotes
Wovchena 1dcd40b
use main target name because an alias can't be specified in cmake --t…
Wovchena 8c00ccb
define CMAKE_BUILD_PARALLEL_LEVEL
Wovchena 61fba58
Ensure ./requirements-build.txt won't outdate
Wovchena d78fa3b
Use ./requirements-build.txt in python lib build
Wovchena 757b738
Add missing &&
Wovchena 51ace23
Test Debug
Wovchena e53c525
add matrix for windows_genai_package
Wovchena 73ac7b1
openvino_tokenizers from form
Wovchena e7e50cb
update openvino_tokenizers
Wovchena 3339407
update openvino_tokenizers
Wovchena 9b5b915
update openvino_tokenizers
Wovchena 1fe85b9
revert openvino_tokenizers
Wovchena 7e23930
tokenizers from fork
Wovchena 62f5e34
update tokenizers
Wovchena 63262d7
centos7_2024.2.0.dev
Wovchena 2d5fc6f
copy target
Wovchena 6f53005
revert tokenizers
Wovchena d8e5bf9
reapply useful changes
Wovchena 9866f5c
copy so only
Wovchena 2c691c3
Update tokenizers, centos7_2024.2.0.dev
Wovchena 3507deb
single thread
Wovchena 18f8ca8
ubuntu22
Wovchena 3e914c5
nightyl
Wovchena ad49d94
--pre --extra-index-url
Wovchena 963a520
update tokenizers
Wovchena 72bede7
space
Wovchena e8f4cbe
move --pre --extra-index-url https://storage.openvinotoolkit.org/simp…
Wovchena 5afd763
release tokenizers
Wovchena b47d6d5
merge
Wovchena 7a28144
downgrade tokenizers
Wovchena b7493a1
downgrade
Wovchena ee97729
two steps
Wovchena 0a5d765
downgrade tokenizers
Wovchena f4e444f
dont setupvars
Wovchena 8bcf504
source
Wovchena f457faf
fix
Wovchena 7a2986a
submodule
Wovchena 25ea88c
releases/2024/2 tokenizers
Wovchena 2f88d0a
fix-2
Wovchena 829b40e
rebase
Wovchena 3a7db44
use make
Wovchena b5e5800
comment
Wovchena 72a041c
CMAKE_GENERATOR=Unix Makefiles
Wovchena 6116bd1
update openvino
Wovchena 959f0c2
space
Wovchena 312e0ae
optimum-cli from fork
Wovchena 0286c96
different commit
Wovchena 78666da
from branch
Wovchena 140b59c
Merge branch 'generate_pipeline' into fix-abi
Wovchena a413be8
remove exrtra-index for SD
Wovchena de3a17e
reorder pip install
Wovchena 4adaa33
revert unwanted changes
Wovchena 0d7f893
Ubuntu-22
Wovchena 82a7823
openvino_tokenizers~=2024.2.0.0
Wovchena 323e7ac
remove -pre . --extra-index-url https://storage.openvinotoolkit.org/s…
Wovchena 95e5a01
upgrade to prerelease
Wovchena 4f22d86
revert requirements.txt
Wovchena d94ba2e
remove --pre, setupvars
Wovchena 501cb8b
get openvino_tokenizers._ext_path
Wovchena 336036a
take release pybind, fix soversion, and tokenizers folder
Wovchena 3fd374f
spelling
Wovchena 2eaf369
dont copy libs
Wovchena 07e2385
put ov_tokenizers_path back
Wovchena 7a79f8d
GENAI_BUILD_DIR=../../build
Wovchena 2705867
Add extension near to genai library
Wovchena ce79a0e
include openvino/util/file_util.hpp
Wovchena f4d6c1f
get_absolute_file_path
Wovchena d99aca1
remove namepsace
Wovchena e375901
# include <limits.h>
Wovchena f9d9b18
more than one .
Wovchena 2ac081c
till next dot
Wovchena 0e18c9c
_ext_path
Wovchena 4c10755
-1
Wovchena 38076fc
+1
Wovchena d9edf2d
+1
Wovchena 8c44fdd
path
Wovchena 3030852
ext name
Wovchena dc885bb
with_openvino_tokenizers
Wovchena 6856b5e
char
Wovchena 5b5fd01
revert test
Wovchena 014e9ee
tokenizers from form
Wovchena adc1f72
update fork
Wovchena 4b806c0
lib
Wovchena cb81756
fix cherry-pick
Wovchena 0110e51
update fork
Wovchena c97f2f8
dont spoil source dir
Wovchena 934e438
Generator expressions to disable appending a per-configuration subdir…
Wovchena c976ff8
remove versions
Wovchena 9483cb6
fix path
Wovchena ebad130
try
Wovchena 38cbffd
try
Wovchena dc80b54
verbose
Wovchena 25059f0
spelling
Wovchena 3c5e130
rename file
Wovchena 60cb221
remove build.tool-args
Wovchena c52dc22
Release
Wovchena 9ef686a
dont speciify targets
Wovchena 13ad3d2
Merge branch 'generate_pipeline' into add-extension-near-to-genai-lib…
Wovchena 24e0e41
revert 81ec069
Wovchena 47b8dc8
Update tests
Wovchena c116786
No rule to make target package
Wovchena efbb579
skip step
Wovchena 0e2e953
test tokenizers are loaded
Wovchena 4662e78
CPU
Wovchena f5a95d9
dont test Debug
Wovchena 5fd221b
Merge branch 'generate_pipeline' into update-tests
Wovchena 85f584a
retrigger
Wovchena 76d6b45
minor
Wovchena 82e6b08
16-cores
Wovchena 97ee0cd
retrigger
Wovchena cbff245
retrigger
Wovchena db31fe8
retrigger
Wovchena 6e52dc9
Merge branch 'generate_pipeline' into update-tests
Wovchena 0317a68
-x
Wovchena a2e7e79
str
Wovchena b0cff66
less verbose
Wovchena 74cbfb2
less verbose
Wovchena 9b00070
less
Wovchena b8b4acb
less
Wovchena 2935cbf
Merge branch 'generate_pipeline' into update-tests
Wovchena 8f89d38
more
Wovchena 493dde8
no cache
Wovchena 0c5220d
conflicts
Wovchena b96798f
cache
Wovchena 2ad2dd0
export
Wovchena 1391d01
cached save
Wovchena 435b6e6
rename
Wovchena f6ee0c9
rename
Wovchena 8a0e499
16-cores
Wovchena b68bac8
no larg
Wovchena 5907990
save memory
Wovchena 9eb52f2
retrigger
Wovchena cdbe6d3
predownload
Wovchena 81b7cb1
comment
Wovchena 2acd90a
export name
Wovchena 50ef656
exports
Wovchena aaf9b56
supress
Wovchena 4f68779
revert
Wovchena 6677a0f
Merge branch 'generate_pipeline' into update-tests
Wovchena dcd9e7b
test_operator_wit_callback_batch_fail
Wovchena 05c2329
run test_beam_search_decoding only
Wovchena 9b85195
test_decoding
Wovchena a932c29
remove Phi
Wovchena 1c2f1fa
all
Wovchena a2f311c
Merge branch 'generate_pipeline' into update-tests
Wovchena b8911c3
Merge branch 'generate_pipeline' into update-tests
Wovchena 231d3c2
add return bool to streamer to stop generation
pavel-esir 258c34b
Merge branch 'generate_pipeline' into update-tests
Wovchena 3526911
add return bool to streamer to stop generation
pavel-esir 4965c81
Merge branch 'generate_pipeline' into update-tests
Wovchena 1c9fcd1
add return bool to streamer to stop generation
pavel-esir 469242d
Merge branch 'generate_pipeline' into update-tests
Wovchena dfb43d0
add return bool to streamer to stop generation
pavel-esir 5d6527f
Merge branch 'generate_pipeline' into update-tests
Wovchena 084330d
Merge branch 'generate_pipeline' into update-tests
Wovchena 1d23bfe
dont test StopCriteria.EARLY because it fails
Wovchena 91a9e15
update
Wovchena 290e753
remove sudo apt-get install libtbb-dev
Wovchena 6c40d97
submodule from fork
Wovchena f35da5c
update submodule
Wovchena 4553500
update submodule
Wovchena 4845adb
update submodule
Wovchena cadac67
update submodule
Wovchena d6e4667
Merge branch 'generate_pipeline' into update-tests
Wovchena 94ec94b
set upstream submodule, add copyright headers, shorten commands
Wovchena 5eff2ca
space
Wovchena 0204658
dir link
Wovchena dda7120
retrigger
Wovchena 8bd42a4
update
Wovchena fb5ffc5
Merge branch 'generate_pipeline' into update-tests
Wovchena 6e7794f
skip
Wovchena 3d3bbb2
Merge remote-tracking branch 'upstream/releases/2024/2' into update-t…
Wovchena d7542cb
test
Wovchena dd28fd7
put optimum-intel[openvino] back
Wovchena e9df462
flake8
Wovchena fb28adf
flake8
Wovchena dd8002d
optimum[openvino]==1.20.0
Wovchena 15dbf2e
update tests/python_tests/requirements.txt
Wovchena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,9 @@ dependencies = [ | |
] | ||
|
||
[tool.scikit-build] | ||
cmake.source-dir = "./" | ||
cmake.build-type = "Release" | ||
cmake.source-dir = "./" | ||
cmake.targets = ["py_generate_pipeline"] # Adding genai would trigger a Release build and Debug build after it. py_generate_pipeline depends on genai and genai will be built anyway. It's not been investigated why both build types are triggered. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe because of ninja multi-config which builds several build types at the same time? |
||
install.components = ["wheel_genai"] | ||
sdist.cmake = true | ||
wheel.packages = ["src/python/openvino_genai"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
// Copyright (C) 2023-2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#pragma once | ||
|
||
#include "openvino/core/visibility.hpp" | ||
|
||
#ifdef genai_EXPORTS | ||
#ifdef openvino_genai_EXPORTS | ||
# define OPENVINO_GENAI_EXPORTS OPENVINO_CORE_EXPORTS | ||
#else | ||
# define OPENVINO_GENAI_EXPORTS OPENVINO_CORE_IMPORTS | ||
#endif // genai_EXPORTS | ||
#endif // openvino_genai_EXPORTS |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
each line calls
w_openvino_toolkit_windows_2024.2.0.dev20240524_x86_64\setupvars.bat
, which make readability worsecan we use multiline script mode? I mean
- run: |
which assumes multiple lines after it.