Skip to content

Commit 5ed0a30

Browse files
committed
Merge branch 'master' of https://github.com/openvinotoolkit/openvino.genai into lt/eval_milebench
2 parents 7283a08 + 22a6979 commit 5ed0a30

File tree

449 files changed

+26206
-6357
lines changed

Some content is hidden

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

449 files changed

+26206
-6357
lines changed

.github/CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
1. See [pull_request_template.md](/.github/pull_request_template.md) for pull request (PR) requirements.
2+
2. See [BUILD.md](/src/docs/BUILD.md) for instructions on how to build `OpenVINO™ GenAI`.
3+
3. Code style is determined by the file the change is made in. If ambiguous, look into the neighboring files of the same type. In case of contradiction, pick any of the options but stay consistent in your choice.
4+
4. Don't push branches directly to the upstream repository. Once a branch is pushed to upstream, non-admins lose push access to it, preventing you from updating your changes. Instead, push to your fork and open PRs from there.
5+
5. Your PR will be tested after one of the developers approves the tests run.
6+
6. Branching policy is aligned with [OpenVINO's policy](https://github.com/openvinotoolkit/openvino/blob/71ee9cc42ec63b3affb2801dbbc4a77e6d8003f6/CONTRIBUTING_PR.md#branching-policy).
7+
8+
# New feature contribution
9+
In order to get accepted PR with new features, the following list of items MUST be completed. Otherwise, PR will be rejected.
10+
1. Proof of Concept (PoC) pipeline including model preparation step using `optimum-intel` and `GenAI` inference implementation.
11+
2. Pass architectural review with
12+
1. API proposal for `optimum-intel` and `GenAI`
13+
2. Working PoC
14+
3. Command line arguments for model conversion with `optimum-cli export openvino`
15+
4. `GenAI` sample

.github/actions/install_wheel/package-lock.json

Lines changed: 50 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/install_wheel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@actions/core": "^1.11.1",
26-
"glob": "^11.0.1"
26+
"glob": "^11.1.0"
2727
},
2828
"devDependencies": {
2929
"@vercel/ncc": "^0.38.3",

.github/dependabot.yml

Lines changed: 8 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ updates:
1212
time: "09:00"
1313
timezone: "Europe/Dublin"
1414
open-pull-requests-limit: 3
15-
15+
1616
#
1717
# Enable version updates for npm
1818
#
@@ -24,44 +24,17 @@ updates:
2424
timezone: "Europe/Dublin"
2525
open-pull-requests-limit: 3
2626
versioning-strategy: increase-if-necessary
27-
27+
2828
#
2929
# Python dependencies
3030
#
3131
- package-ecosystem: "pip"
32-
directory: "./tests/python_tests/"
33-
schedule:
34-
interval: "daily"
35-
time: "09:00"
36-
timezone: "Europe/Dublin"
37-
versioning-strategy: increase-if-necessary
38-
39-
- package-ecosystem: "pip"
40-
directory: "./tools/llm_bench/"
41-
schedule:
42-
interval: "daily"
43-
time: "09:00"
44-
timezone: "Europe/Dublin"
45-
versioning-strategy: increase-if-necessary
46-
47-
- package-ecosystem: "pip"
48-
directory: "./tools/who_what_benchmark/"
49-
schedule:
50-
interval: "daily"
51-
time: "09:00"
52-
timezone: "Europe/Dublin"
53-
versioning-strategy: increase-if-necessary
54-
55-
- package-ecosystem: "pip"
56-
directory: "samples/"
57-
schedule:
58-
interval: "daily"
59-
time: "09:00"
60-
timezone: "Europe/Dublin"
61-
versioning-strategy: increase-if-necessary
62-
63-
- package-ecosystem: "pip"
64-
directory: "/"
32+
directories:
33+
- "/"
34+
- "./samples/"
35+
- "./tests/python_tests/"
36+
- "./tools/llm_bench/"
37+
- "./tools/who_what_benchmark/"
6538
schedule:
6639
interval: "daily"
6740
time: "09:00"

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
- 'tools/continuous_batching/**/*'
151151
- 'tools/cacheviz/**/*'
152152
- 'tests/python_tests/test_continuous_batching.py'
153-
- 'tests/python_tests/test_kv_cache_eviction.py'
153+
- 'tests/python_tests/test_kv_cache_eviction/**/*'
154154
- 'tests/cpp/data/**/*'
155155
- 'tests/cpp/block_allocator.cpp'
156156
- 'tests/cpp/block_hash_store.cpp'

.github/pull_request_template.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Keep your pull requests (PRs) as atomic as possible. That increases the likelihood that an individual PR won't be stuck because of adjacent problems, merge conflicts, or code review.
2+
Your merged PR is going to appear in the automatically generated release notes on GitHub. So the clearer the title the better. -->
3+
## Description
4+
<!-- Please include a summary of the change. Also include relevant motivation and context. -->
5+
6+
<!-- Jira ticket number (e.g., 123). Delete if there's no ticket. -->
7+
CVS-###
8+
9+
<!-- Remove if not applicable -->
10+
Fixes #(issue)
11+
12+
## Checklist:
13+
- [ ] Tests have been updated or added to cover the new code. <!-- If the change isn't maintenance related, update the tests at https://github.com/openvinotoolkit/openvino.genai/tree/master/tests or explain in the description why the tests don't need an update. -->
14+
- [ ] This patch fully addresses the ticket. <!--- If follow-up pull requests are needed, specify in description. -->
15+
- [ ] I have made corresponding changes to the documentation. <!-- Run github.com/\<username>/openvino.genai/actions/workflows/deploy_gh_pages.yml on your fork with your branch as a parameter to deploy a test version with the updated content. Replace this comment with the link to the built docs. -->

.github/workflows/coverity.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ jobs:
4444
platform: ubuntu22
4545
commit_packages_to_provide: wheels
4646
revision: latest_available_commit
47+
# Set specific revision and uncomment to use OV from its PR build:
48+
# branch_name: master
49+
# event_name: pull_request
4750

4851
- name: Clone docker tag from OpenVINO repo
49-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
52+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
5053
with:
5154
repository: 'openvinotoolkit/openvino'
5255
path: 'openvino'
@@ -83,7 +86,7 @@ jobs:
8386

8487
steps:
8588
- name: Clone openvino.genai
86-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
89+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
8790
with:
8891
path: openvino.genai
8992

@@ -97,7 +100,7 @@ jobs:
97100
- name: Restore Coverity Tool
98101
if: github.event_name == 'pull_request'
99102
id: cache-coverity
100-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
103+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
101104
with:
102105
path: ${{ env.COV_TOOL_DIR }}
103106
key: coverity-${{ runner.os }}-${{ github.sha }}
@@ -125,7 +128,7 @@ jobs:
125128
126129
- name: Build for coverity
127130
run: |
128-
${{ env.COV_TOOL_DIR }}/bin/cov-build --config ${{ env.COV_TOOL_DIR }}/config/coverity_config.xml --tmpdir cov_temp --dir ${BUILD_DIR}/cov-int --fs-capture-search ./openvino.genai sh build.sh
131+
${{ env.COV_TOOL_DIR }}/bin/cov-build --config ${{ env.COV_TOOL_DIR }}/config/coverity_config.xml --tmpdir cov_temp --dir ${BUILD_DIR}/cov-int sh build.sh
129132
130133
- name: Pack for analysis submission
131134
run: tar -cvf - cov-int | pigz > openvino-genai.tgz
@@ -162,21 +165,21 @@ jobs:
162165

163166
- name: Save Coverity Tool
164167
if: always() && github.event_name == 'schedule'
165-
uses: actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
168+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
166169
with:
167170
key: coverity-${{ runner.os }}-${{ github.sha }}
168171
path: ${{ env.COV_TOOL_DIR }}
169172

170173
- name: Upload Coverity build log
171-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
174+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
172175
if: always()
173176
with:
174177
name: coverity_logs
175178
path: ${{ env.BUILD_DIR }}/cov-int/build-log.txt
176179
if-no-files-found: 'error'
177180

178181
- name: Upload Coverity build archive
179-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
182+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
180183
if: always()
181184
with:
182185
name: coverity_archive

.github/workflows/deploy_gh_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
contents: write
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2626
with:
2727
lfs: true
2828

2929
- name: Setup Node.js
30-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
30+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
3131
with:
3232
node-version: 20
3333

0 commit comments

Comments
 (0)