Skip to content

Commit 470d968

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fix_streamer_hieroglyph_master
2 parents 27d5325 + d8f2f0b commit 470d968

File tree

266 files changed

+508
-390
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+508
-390
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
- uses: actions/setup-python@v4
1414
with:
1515
python-version: 3.11
16-
- run: python -m pip install bandit==1.8.0
16+
- run: python -m pip install bandit
1717
- run: python -m bandit --recursive --configfile bandit.yml .

.github/workflows/genai-tools.yml

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
platform: ubuntu22
4646
commit_packages_to_provide: wheels
47-
revision: latest_available_commit
47+
revision: ed470e7e40129d6b2bf728bc9527316937a69ef7
4848

4949
llm_bench:
5050
name: 'LLM bench tests'
@@ -90,36 +90,39 @@ jobs:
9090
working-directory: ${{ env.OV_INSTALL_DIR }}
9191
- name: Test native pytorch model
9292
run: |
93-
git clone --depth 1 https://huggingface.co/katuni4ka/tiny-random-qwen
94-
python ./tools/llm_bench/benchmark.py -m tiny-random-qwen -d cpu -n 1 -f pt -ic 20
95-
rm -rf tiny-random-qwen
96-
env:
97-
GIT_LFS_SKIP_SMUDGE: 0
98-
- name: Test tiny-random-baichuan2 Optimum Intel
93+
huggingface-cli download katuni4ka/tiny-random-qwen --local-dir ./tiny-random-qwen
94+
python ./tools/llm_bench/benchmark.py -m ./tiny-random-qwen -d cpu -n 1 -f pt -ic 20
95+
rm -rf ./tiny-random-qwen
96+
- name: Test katuni4ka/tiny-random-baichuan2 Optimum Intel
9997
run: |
100-
optimum-cli export openvino --model katuni4ka/tiny-random-baichuan2 --trust-remote-code --weight-format fp16 ./ov_models/tiny-random-baichuan2/pytorch/dldt/FP16
101-
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-baichuan2/pytorch/dldt/FP16/ -d cpu -n 1 --optimum -ic 10
102-
rm -rf ./ov_models/tiny-random-baichuan2
103-
- name: Test OpenVINO/LCM_Dreamshaper_v7-int8-ov Optimum Intel
98+
optimum-cli export openvino --model katuni4ka/tiny-random-baichuan2 --trust-remote-code --weight-format fp16 ./ov_models/tiny-random-baichuan2
99+
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-baichuan2/ -d cpu -n 1 --optimum -ic 10
100+
rm -rf ./ov_models/
101+
- name: Create prompt file for for image generation
104102
run: |
105-
huggingface-cli download OpenVINO/LCM_Dreamshaper_v7-int8-ov --local-dir ov_models/lcm_dreamshaper_v7
106-
python ./tools/llm_bench/benchmark.py -m ./ov_models/lcm_dreamshaper_v7/ -pf ./tools/llm_bench/prompts/stable-diffusion.jsonl -d cpu -n 1 --optimum --num_steps 4
107-
- name: Test OpenVINO/LCM_Dreamshaper_v7-int8-ov with GenAI
103+
prompt="side profile centered painted portrait, Gandhi rolling a blunt, Gloomhaven, matte painting concept art, art nouveau, 8K HD Resolution, beautifully background"
104+
json_template='{steps: $steps, width: $width, height: $height, guidance_scale: $guidance_scale, prompt: $prompt}'
105+
jq -n -c --arg steps "30" --arg width "64" --arg height "128" --arg guidance_scale "1.0" --arg prompt "$prompt" "$json_template" > ./image_generation.jsonl
106+
jq -n -c --arg steps "4" --arg width "64" --arg height "32" --arg guidance_scale "7.0" --arg prompt "$prompt" "$json_template" >> ./image_generation.jsonl
107+
- name: Test echarlaix/tiny-random-latent-consistency Optimum Intel
108108
run: |
109-
python ./tools/llm_bench/benchmark.py -m ./ov_models/lcm_dreamshaper_v7/ -pf ./tools/llm_bench/prompts/stable-diffusion.jsonl -d cpu -n 1 --num_steps 4
110-
- name: Test OpenVINO/LCM_Dreamshaper_v7-int8-ov with GenAI and LoRA
109+
optimum-cli export openvino --model echarlaix/tiny-random-latent-consistency --trust-remote-code --weight-format fp16 ./ov_models/tiny-random-latent-consistency
110+
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-latent-consistency/ -pf ./image_generation.jsonl -d cpu -n 1 --optimum --num_steps 4
111+
- name: Test echarlaix/tiny-random-latent-consistency with GenAI
112+
run: python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-latent-consistency/ -pf ./image_generation.jsonl -d cpu -n 1 --num_steps 4
113+
- name: Test echarlaix/tiny-random-latent-consistency with GenAI and LoRA
111114
run: |
112-
wget -O ./ov_models/soulcard.safetensors https://civitai.com/api/download/models/72591
113-
python ./tools/llm_bench/benchmark.py -m ./ov_models/lcm_dreamshaper_v7/ -pf ./tools/llm_bench/prompts/stable-diffusion.jsonl -d cpu -n 1 --lora ./ov_models/soulcard.safetensors --lora_alphas 0.7 --num_steps 4
114-
rm -rf ./ov_models/lcm_dreamshaper_v7/
115+
huggingface-cli download katuni4ka/tiny-random-latent-consistency-lora --local-dir ./lora
116+
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-latent-consistency/ -pf ./image_generation.jsonl -d cpu -n 1 --num_steps 4 --lora ./lora/tiny-random-latent-consistency-lora.safetensors --lora_alphas 0.7
117+
rm -rf ./ov_models/ ./lora ./image_generation.jsonl
115118
- name: Test TinyLlama-1.1B-Chat-v1.0 in Speculative Decoding via GenAI
116119
run: |
117120
optimum-cli export openvino --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 --trust-remote-code --weight-format fp16 ov_models/TinyLlama-1.1B-Chat-v1.0/FP16
118121
optimum-cli export openvino --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 --trust-remote-code --weight-format int8 ov_models/TinyLlama-1.1B-Chat-v1.0/INT8
119122
python ./tools/llm_bench/benchmark.py -m ./ov_models/TinyLlama-1.1B-Chat-v1.0/FP16/ --draft_model ./ov_models/TinyLlama-1.1B-Chat-v1.0/INT8/ -p "Why is the Sun yellow?" -d cpu --draft_device cpu -n 1 --assistant_confidence_threshold 0.4 -ic 20
120123
python ./tools/llm_bench/benchmark.py -m ./ov_models/TinyLlama-1.1B-Chat-v1.0/FP16/ --draft_model ./ov_models/TinyLlama-1.1B-Chat-v1.0/INT8/ -p "Why is the Sun yellow?" -d cpu --draft_device cpu -n 1 --num_assistant_tokens 5 -ic 20
121124
rm -rf ov_models/TinyLlama-1.1B-Chat-v1.0
122-
- name: Test whisper-tiny via GenAI
125+
- name: Test openai/whisper-tiny via Optimum
123126
run: |
124127
GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 --branch main --single-branch https://huggingface.co/datasets/facebook/multilingual_librispeech
125128
cd multilingual_librispeech
@@ -129,15 +132,19 @@ jobs:
129132
cd ..
130133
optimum-cli export openvino --trust-remote-code --model openai/whisper-tiny ./ov_models/whisper-tiny
131134
python ./tools/llm_bench/benchmark.py -m ./ov_models/whisper-tiny --media multilingual_librispeech/data/mls_polish/train/audio/3283_1447_000/3283_1447_000000.flac -d cpu -n 1 --optimum
135+
- name: Test openai/whisper-tiny via GenAI
136+
run: |
132137
python ./tools/llm_bench/benchmark.py -m ./ov_models/whisper-tiny --media multilingual_librispeech/data/mls_polish/train/audio/3283_1447_000/3283_1447_000000.flac -d cpu -n 1
133138
rm -rf ./ov_models/whisper-tiny
134139
rm -rf multilingual_librispeech
135-
- name: Text InternVL2-1B via GenAI
140+
- name: Test katuni4ka/tiny-random-llava via Optimum
141+
run: |
142+
optimum-cli export openvino --model katuni4ka/tiny-random-llava ./ov_models/tiny-random-llava --task image-text-to-text --trust-remote-code
143+
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-llava --media https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11 --prompt "What is unusual on this image?" -ic 20 --optimum
144+
- name: Test katuni4ka/tiny-random-llava via GenAI
136145
run: |
137-
optimum-cli export openvino --model OpenGVLab/InternVL2-1B ./ov_models/internvl2-1B --task image-text-to-text --trust-remote-code
138-
python ./tools/llm_bench/benchmark.py -m ./ov_models/internvl2-1B --media https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11 --prompt "What is unusual on this image?" -ic 20
139-
python ./tools/llm_bench/benchmark.py -m ./ov_models/internvl2-1B --media https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11 --prompt "What is unusual on this image?" -ic 20 --optimum
140-
rm -rf ./ov_models/internvl2-1B
146+
python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-llava --media https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11 --prompt "What is unusual on this image?" -ic 20
147+
rm -rf ./ov_models
141148
142149
wwb:
143150
name: 'WWB tests'

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
platform: ubuntu22
5454
commit_packages_to_provide: wheels
55-
revision: latest_available_commit
55+
revision: ed470e7e40129d6b2bf728bc9527316937a69ef7
5656

5757
- name: Clone docker tag from OpenVINO repo
5858
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/stable_diffusion_1_5_cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
platform: ubuntu22
4747
commit_packages_to_provide: wheels
48-
revision: latest_available_commit
48+
revision: ed470e7e40129d6b2bf728bc9527316937a69ef7
4949

5050
openvino_download_windows:
5151
name: Download OpenVINO for Windows
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
platform: windows
7373
commit_packages_to_provide: wheels
74-
revision: latest_available_commit
74+
revision: ed470e7e40129d6b2bf728bc9527316937a69ef7
7575

7676
stable_diffusion_1_5_cpp-linux:
7777
runs-on: ubuntu-22.04-8-cores

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
env:
1919
PYTHON_VERSION: '3.11'
20-
OV_BRANCH: 'master'
20+
OV_BRANCH: 'ed470e7e40129d6b2bf728bc9527316937a69ef7'
2121
OV_TARBALL: ''
2222

2323
jobs:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2018-2024 Intel Corporation
1+
# Copyright (C) 2018-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33
#
44

bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
# IPAS Required Checkers. Do not disable these
8080
# Additional checkers may be added if desired
8181
tests:
82-
[ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B320', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B410', 'B411', 'B412', 'B413']
82+
[ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B411', 'B412', 'B413']
8383

8484
# (optional) list skipped test IDs here, eg '[B101, B406]':
8585
# The following checkers are not required but be added to tests list if desired

cmake/features.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2018-2024 Intel Corporation
1+
# Copyright (C) 2018-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33
#
44

cmake/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2018-2024 Intel Corporation
1+
# Copyright (C) 2018-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33
#
44

samples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2018-2024 Intel Corporation
1+
# Copyright (C) 2018-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33
#
44

samples/cpp/image_generation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
find_package(OpenVINOGenAI REQUIRED

samples/cpp/image_generation/heterogeneous_stable_diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/image_generation/text2image_pipeline.hpp"

samples/cpp/image_generation/image2image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/image_generation/image2image_pipeline.hpp"

samples/cpp/image_generation/imwrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <fstream>

samples/cpp/image_generation/imwrite.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#pragma once

samples/cpp/image_generation/inpainting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/image_generation/inpainting_pipeline.hpp"

samples/cpp/image_generation/load_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright (C) 2023-2024 Intel Corporation
2+
// Copyright (C) 2023-2025 Intel Corporation
33
// SPDX-License-Identifier: Apache-2.0
44

55
#include <sstream>

samples/cpp/image_generation/load_image.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright (C) 2023-2024 Intel Corporation
2+
// Copyright (C) 2023-2025 Intel Corporation
33
// SPDX-License-Identifier: Apache-2.0
44

55
#pragma once

samples/cpp/image_generation/lora_text2image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/image_generation/text2image_pipeline.hpp"

samples/cpp/image_generation/text2image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/image_generation/text2image_pipeline.hpp"

samples/cpp/text_generation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
find_package(OpenVINOGenAI REQUIRED

samples/cpp/text_generation/beam_search_causal_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <openvino/genai/llm_pipeline.hpp>

samples/cpp/text_generation/benchmark_genai.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"
@@ -8,7 +8,7 @@ int main(int argc, char* argv[]) try {
88
cxxopts::Options options("benchmark_vanilla_genai", "Help command");
99

1010
options.add_options()
11-
("m,model", "Path to model and tokenizers base directory", cxxopts::value<std::string>()->default_value("."))
11+
("m,model", "Path to model and tokenizers base directory", cxxopts::value<std::string>())
1212
("p,prompt", "Prompt", cxxopts::value<std::string>()->default_value("The Sky is blue because"))
1313
("nw,num_warmup", "Number of warmup iterations", cxxopts::value<size_t>()->default_value(std::to_string(1)))
1414
("n,num_iter", "Number of iterations", cxxopts::value<size_t>()->default_value(std::to_string(3)))
@@ -35,15 +35,15 @@ int main(int argc, char* argv[]) try {
3535
std::string device = result["device"].as<std::string>();
3636
size_t num_warmup = result["num_warmup"].as<size_t>();
3737
size_t num_iter = result["num_iter"].as<size_t>();
38-
38+
3939
ov::genai::GenerationConfig config;
4040
config.max_new_tokens = result["max_new_tokens"].as<size_t>();
4141

4242
ov::genai::LLMPipeline pipe(models_path, device);
43-
43+
4444
for (size_t i = 0; i < num_warmup; i++)
4545
pipe.generate(prompt, config);
46-
46+
4747
ov::genai::DecodedResults res = pipe.generate(prompt, config);
4848
ov::genai::PerfMetrics metrics = res.perf_metrics;
4949
for (size_t i = 0; i < num_iter - 1; i++) {
@@ -60,7 +60,7 @@ int main(int argc, char* argv[]) try {
6060
std::cout << "TPOT: " << metrics.get_tpot().mean << " ± " << metrics.get_tpot().std << " ms/token " << std::endl;
6161
std::cout << "Throughput: " << metrics.get_throughput().mean << " ± " << metrics.get_throughput().std << " tokens/s" << std::endl;
6262

63-
return 0;
63+
return EXIT_SUCCESS;
6464
} catch (const std::exception& error) {
6565
try {
6666
std::cerr << error.what() << '\n';

samples/cpp/text_generation/chat_sample.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"

samples/cpp/text_generation/encrypted_model_causal_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"

samples/cpp/text_generation/greedy_causal_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"

samples/cpp/text_generation/lora_greedy_causal_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"

samples/cpp/text_generation/multinomial_causal_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "openvino/genai/llm_pipeline.hpp"

samples/cpp/text_generation/prompt_lookup_decoding_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <openvino/openvino.hpp>

samples/cpp/text_generation/speculative_decoding_lm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <openvino/openvino.hpp>

samples/cpp/visual_language_chat/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
find_package(OpenVINOGenAI REQUIRED

samples/cpp/visual_language_chat/benchmark_vlm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <cxxopts.hpp>

samples/cpp/visual_language_chat/load_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright (C) 2023-2024 Intel Corporation
2+
// Copyright (C) 2023-2025 Intel Corporation
33
// SPDX-License-Identifier: Apache-2.0
44

55
#include <sstream>

samples/cpp/visual_language_chat/load_image.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright (C) 2023-2024 Intel Corporation
2+
// Copyright (C) 2023-2025 Intel Corporation
33
// SPDX-License-Identifier: Apache-2.0
44

55
#pragma once

samples/cpp/whisper_speech_recognition/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
find_package(OpenVINOGenAI REQUIRED

samples/cpp/whisper_speech_recognition/audio_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "audio_utils.hpp"

samples/cpp/whisper_speech_recognition/audio_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#pragma once

samples/cpp/whisper_speech_recognition/whisper_speech_recognition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2023-2024 Intel Corporation
1+
// Copyright (C) 2023-2025 Intel Corporation
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "audio_utils.hpp"

samples/python/text_generation/benchmark_genai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
import argparse
55
import openvino_genai as ov_genai
66

77
def main():
88
parser = argparse.ArgumentParser(description="Help command")
9-
parser.add_argument("-m", "--model", type=str, help="Path to model and tokenizers base directory")
9+
parser.add_argument("-m", "--model", type=str, required=True, help="Path to model and tokenizers base directory")
1010
parser.add_argument("-p", "--prompt", type=str, default="The Sky is blue because", help="Prompt")
1111
parser.add_argument("-nw", "--num_warmup", type=int, default=1, help="Number of warmup iterations")
1212
parser.add_argument("-n", "--num_iter", type=int, default=2, help="Number of iterations")

samples/python/visual_language_chat/benchmark_vlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (C) 2023-2024 Intel Corporation
2+
# Copyright (C) 2023-2025 Intel Corporation
33
# SPDX-License-Identifier: Apache-2.0
44

55
import argparse

0 commit comments

Comments
 (0)