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

Temp #13

Draft
wants to merge 718 commits into
base: releases/2023/3
Choose a base branch
from
Draft

Temp #13

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
718 commits
Select commit Hold shift + click to select a range
4228131
Fix to throw exception in case of empty chat template in chat scenari…
olpipi Jul 30, 2024
3f55103
update optimum commit for master (#710)
eaidova Jul 31, 2024
a170436
Update _check_default_4bit_configs usage (#698)
nikita-savelyevv Jul 31, 2024
cd188b9
change commit for optimum (#715)
eaidova Jul 31, 2024
621254d
Correct samples requirements update (#653)
Wovchena Jul 31, 2024
5f16634
Bump versions (#627)
Wovchena Jul 31, 2024
3c8b770
Bump optimum[openvino] from 1.20.0 to 1.21.2 in /samples (#716)
dependabot[bot] Jul 31, 2024
47fbb5e
Merge releases/2024/3 into master (#720)
Wovchena Aug 1, 2024
fd8a71f
Rename benchmark_genai leftover (#729)
Wovchena Aug 2, 2024
4e66950
Add benchmark_genai to root list (#727)
Wovchena Aug 2, 2024
97a05e1
Allow to build GenAI with OpenVINO via extra modules
ilya-lavrenov Aug 2, 2024
66f9d62
Simplified partial preemption algorithm. (#730)
popovaan Aug 2, 2024
2599eed
Move tokenizers_relative_to_genai impl to cpp from header (#728)
olpipi Aug 2, 2024
3cb2829
[CI] OV local build (#602)
mryzhov Aug 2, 2024
3304798
[Continuous batching] Late token vector initialization in sampling (#…
mzegla Aug 2, 2024
dc9ef33
Merge releases/2024/3 into master (#731)
Wovchena Aug 5, 2024
eeabbad
fix python code example for perf metrics (#739)
eaidova Aug 5, 2024
f50aaf7
[CPU] Change kvcache type if user sets `INFERENCE_PRECISION_HINT` (#690)
luo-cheng2021 Aug 5, 2024
4e1e755
Use sequence length axis in tensor trim (#723)
as-suvorov Aug 5, 2024
50182b4
Small cmake improvements (#741)
ilya-lavrenov Aug 5, 2024
d9324ea
[Continuous batching] Enable python tests (#746)
mzegla Aug 6, 2024
c3c7acb
Remove needless checks, add copyright headers (#742)
Wovchena Aug 6, 2024
ab9add6
Add set_chat_template (#734)
Wovchena Aug 6, 2024
eb248db
[Continuous batching] Add finish reason to generation output (#725)
mzegla Aug 6, 2024
0be2620
Add an option to drop the request (#732)
dkalinowski Aug 6, 2024
eed1863
Made an option to build tokenizers (#750)
ilya-lavrenov Aug 7, 2024
ab57b24
Detect KV cache sequence length axis (#744)
as-suvorov Aug 7, 2024
f439d22
Set onnx version to <=1.16.1 (#754)
skuros Aug 7, 2024
36deb03
Add config for open-llama-3b-v2 (#743)
nikita-savelyevv Aug 7, 2024
d2563ce
cherry-pick from release: Add custom streamer doc (#749)
pavel-esir Aug 7, 2024
e505352
Corrected FDT, SDT metrics in case of empty outputs (#733)
ljaljushkin Aug 8, 2024
22ef6c4
[Docs] Add instructions for building GenAI as OpenVINO extra module (…
yatarkan Aug 9, 2024
85fb5f9
[Continuous batching] Enable the rest of python tests (#747)
Wovchena Aug 9, 2024
7c144d6
Rename config key according to DLB folder name (#735)
nikita-savelyevv Aug 9, 2024
05207cc
Cherry-pick: WA static llm pipeline config access (#755)
TolyaTalamanov Aug 9, 2024
d3d7d9e
Enable u8 KV cache precision for CB (#759)
ilya-lavrenov Aug 9, 2024
5f78871
Add test case for native pytorch model (#722)
wgzintel Aug 12, 2024
5ec8926
Remove dataset parameter for orca-mini-3b (#760)
nikita-savelyevv Aug 12, 2024
bf271ed
Remove platform type from the onnx requirement (#768)
skuros Aug 13, 2024
ebf6ff3
Remove conda from image generation samples tests (#761)
yatarkan Aug 13, 2024
6bf616d
Update chat_sample.cpp (#770)
raymondlo84 Aug 14, 2024
762fc93
Prefix caching improvements (#758)
popovaan Aug 14, 2024
d36666e
Remove conda from image generation readme files (#772)
yatarkan Aug 14, 2024
aba7c24
Patch head_size for u8 kv cache (#773)
ilya-lavrenov Aug 15, 2024
0957b5d
Catch all exceptions, handle EOF (#775)
Wovchena Aug 15, 2024
33c5f3d
Set ZIP as default Windows CPack generator (#777)
yatarkan Aug 15, 2024
09363b5
Update config for open-llama-3b-v2 (#778)
nikita-savelyevv Aug 19, 2024
7104288
update optimum commit (#779)
eaidova Aug 19, 2024
b789edc
Scheduler config (#752)
olpipi Aug 19, 2024
4e53f3c
Add common requirements to image generation workflows triggers (#781)
yatarkan Aug 19, 2024
4a90815
[Continuous Batching] Optimizing top_p path for multinomial sample (…
mzegla Aug 19, 2024
2bf27ae
Bump optimum[openvino] from 1.21.2 to 1.21.3 in /samples (#767)
dependabot[bot] Aug 19, 2024
1f1c063
Bump optimum[openvino] from 1.21.2 to 1.21.3 in /tests/python_tests (…
dependabot[bot] Aug 19, 2024
9f0fa99
Add USS metric (#762)
wgzintel Aug 20, 2024
e0f3b6a
update optimum intel to include fp16/bf16 conversion memory optimiza…
eaidova Aug 20, 2024
553d37f
handle non unicode prints in llm bench logging (#783)
eaidova Aug 20, 2024
331ce3f
Bump diffusers from 0.29.2 to 0.30.0 (#764)
dependabot[bot] Aug 20, 2024
1e63545
Bump optimum[openvino] from 1.21.3 to 1.21.4 (#784)
dependabot[bot] Aug 20, 2024
911f862
Update utils path with parent directories (#454)
sstrehlk Aug 20, 2024
7b26556
Prefix caching optimization (#785)
popovaan Aug 20, 2024
5f23d1f
Use 10.15 macos target platform because of changes in OpenVINO (#786)
ilya-lavrenov Aug 20, 2024
4e5e167
Update StaticLLMPipeline execution approach (#787)
TolyaTalamanov Aug 21, 2024
040a4e0
Static LLM Pipeline hotfixes (#790)
TolyaTalamanov Aug 21, 2024
1814d55
Updated tokenizers
ilya-lavrenov Aug 20, 2024
68e1525
Updated nightly archives
ilya-lavrenov Aug 22, 2024
69576dd
Update once again
ilya-lavrenov Aug 23, 2024
0010b27
Recent tokenizers
ilya-lavrenov Aug 23, 2024
13cb5d3
Updated nihghtly archives
ilya-lavrenov Aug 23, 2024
54db755
Keep tokenizers as is
ilya-lavrenov Aug 23, 2024
060be60
Update causal_lm_cpp.yml
ilya-lavrenov Aug 23, 2024
489169e
Update causal_lm_cpp.yml
ilya-lavrenov Aug 24, 2024
779c298
Handle common plugin config for StaticLLMPipeline (#792)
TolyaTalamanov Aug 26, 2024
d6bd822
Transition to default int4 compression configs from optimum-intel (#689)
nikita-savelyevv Aug 26, 2024
6aa71fc
Bump diffusers from 0.30.0 to 0.30.1 (#797)
dependabot[bot] Aug 27, 2024
795bb00
Control KV-cache size for StaticLLMPipeline (#795)
TolyaTalamanov Aug 27, 2024
7a13435
update readme to use optimum-cli for conversion (#796)
wgzintel Aug 27, 2024
54a5a9f
Bump optimum[openvino] from 1.21.3 to 1.21.4 in /tests/python_tests (…
dependabot[bot] Aug 27, 2024
127ba5d
Fixed partial preemption for beam search. (#799)
popovaan Aug 27, 2024
e0f6b41
Fixed prefix caching for cases with multiple requests with identical …
popovaan Aug 27, 2024
8313a53
update tokenizers (#794)
pavel-esir Aug 28, 2024
601c8a9
Improve py docs (#803)
olpipi Aug 28, 2024
2cc8771
Added mutex.lock() during restoring of cache. (#804)
popovaan Aug 28, 2024
d60455d
Updated to recent OV / Tokenizers state (#805)
ilya-lavrenov Aug 28, 2024
1674f80
update optimum-intel version (#812)
eaidova Sep 2, 2024
fd9287c
update optimum-intel commit to include mxfp4 (#816)
eaidova Sep 3, 2024
f2545c2
Use latest OpenVINO (#807)
ilya-lavrenov Sep 3, 2024
6a41498
Bump diffusers from 0.30.1 to 0.30.2 (#815)
dependabot[bot] Sep 3, 2024
d30f62f
Fixed Android build (#809)
ilya-lavrenov Sep 4, 2024
0a54dc9
[Port] Change Stable Diffusion v1.5 model (#825)
yatarkan Sep 4, 2024
179de15
use perf metrics genai in llm_bench (#818)
eaidova Sep 5, 2024
ecafec3
Fix perf metrics (#829)
pavel-esir Sep 5, 2024
72730a4
changing dimensions of batch size, kv cache and num_input_heads (#793)
lamiayous Sep 6, 2024
e0a0c85
Add perf metrics for Static LLM Pipeline (#808)
guweixin Sep 6, 2024
2eb9cbd
Updated GenAI
ilya-lavrenov Sep 4, 2024
fe7bfd0
Use tarballs
ilya-lavrenov Sep 5, 2024
0a53c91
Updated tokenizers
ilya-lavrenov Sep 6, 2024
0dc2acf
updated pybind version
mryzhov Sep 6, 2024
547dc47
improve utf8 handling for DecodedResults in pybind
pavel-esir Sep 6, 2024
9ed0e9f
alighn printing DecodedResults scores in py_generate_pipeline and llm…
pavel-esir Sep 6, 2024
63f3ce3
replace invalid utf8 bytes when file is opened
pavel-esir Sep 6, 2024
4b78bd8
print with 'cat pred.txt' for debug
pavel-esir Sep 6, 2024
37cd3f1
replace � -> ""
pavel-esir Sep 6, 2024
6b435c6
unskip beam_search_causal_lm
pavel-esir Sep 6, 2024
1a1526e
[GHA] Added overall GHA workflow status
ilya-lavrenov Sep 6, 2024
fc2cce3
Added device and OV config options into WWB
AlexKoff88 Sep 6, 2024
3a52eba
Fixed style
AlexKoff88 Sep 6, 2024
a722f8d
Update pyproject.toml (#844)
ilya-lavrenov Sep 9, 2024
38eed7d
[perf metrics] Added infer timing stats and bug fixes (#843)
ialbrecht Sep 9, 2024
dcdf07c
Update optimum-intel version (#851)
jane-intel Sep 11, 2024
2c133af
StaticLLMPipeline[chery-pick]: Handle single element list of prompts …
TolyaTalamanov Sep 11, 2024
5df42fb
Update pybind11 to 2.13.5 (#850)
akuporos Sep 11, 2024
1bceaca
Update utils.hpp (#847)
pobin6 Sep 12, 2024
8887760
Merge releases/2024/4 into master (#854)
yatarkan Sep 12, 2024
5d14718
Add GPU support for continuous batching (#831)
sshlyapn Sep 13, 2024
e82ac0a
WWB: control number of samples. Added verbose mode with diff (#857)
AlexKoff88 Sep 13, 2024
b8603ce
Drop Python 3.8 (#856)
Wovchena Sep 13, 2024
ba97a22
[GHA] Use dynamic OV refs (#862)
akladiev Sep 13, 2024
c43b945
Remove link from WWB README.md (#860)
l-bat Sep 16, 2024
1f8adb5
Bump optimum[openvino] from 1.21.4 to 1.22.0 in /tests/python_tests (…
dependabot[bot] Sep 16, 2024
904006f
Bump optimum[openvino] from 1.21.4 to 1.22.0 (#869)
dependabot[bot] Sep 16, 2024
d18fae8
Added mutex for sequence ID counter. (#866)
popovaan Sep 16, 2024
15d0bd5
Added blobs support for Static LLM pipeline (#811)
AsyaPronina Sep 17, 2024
6003234
WWB: Added Chinese language and language autodetect (#873)
AlexKoff88 Sep 17, 2024
6221e86
Add WWB label (#876)
peterchen-intel Sep 18, 2024
d831e64
Support multiple prompt files (#863)
wgzintel Sep 19, 2024
7b81bcb
Add whisper pipeline - Initial commit (#789)
as-suvorov Sep 19, 2024
0e5510a
StaticLLMPipeline: Fix perf-metrics (#872)
TolyaTalamanov Sep 19, 2024
b092408
add llama3.1 models to supported list (#877)
dtrawins Sep 19, 2024
20238a5
Added WWB tests (#880)
AlexKoff88 Sep 19, 2024
40f962d
C++ text to image pipeline (#881)
ilya-lavrenov Sep 19, 2024
de77f96
Fixed logprobs for greedy. (#886)
popovaan Sep 20, 2024
eecf70f
Added support of HF and GenAI models into CLI (#887)
AlexKoff88 Sep 21, 2024
718f7ca
Bump diffusers from 0.30.2 to 0.30.3 in /samples (#891)
dependabot[bot] Sep 24, 2024
e9d4cae
Fixed regression in multinomial. (#889)
popovaan Sep 25, 2024
c36a2d6
[ Continuous batching ] Implement interface for cb pipeline (#892)
iefode Sep 26, 2024
50bc8d4
LoRA Adapter (#871)
slyalin Sep 26, 2024
cf88a7e
DDIM scheduler (#897)
likholat Sep 26, 2024
ee5aa1e
[ cb ] Remove penalties from Greedy config (#896)
iefode Sep 26, 2024
6961842
add support cb (#902)
eaidova Sep 26, 2024
e530cb7
DDIM: rescale_betas_zero_snr support, add asserts for params (#899)
likholat Sep 26, 2024
219698d
use streaming for cb (#903)
eaidova Sep 26, 2024
4bb683e
Whisper pipeline: add language, task support (#883)
as-suvorov Sep 26, 2024
c58ba64
Add/skip special tokens in runtime (#859)
pavel-esir Sep 26, 2024
2ed9889
Token eviction (#757)
vshampor Sep 27, 2024
f053e5e
Change -1 to N/A (#885)
wgzintel Sep 27, 2024
616ab12
Add kvcache convert to fp16 for StaticLLMPipeline (#898)
eshiryae Oct 2, 2024
0f672a8
Split core_plugin and compile_plugin configs (#908)
as-suvorov Oct 2, 2024
9177756
convert.py script deprecation and llm-bench README update (#916)
andrei-kochin Oct 3, 2024
b11f0d9
StaticLLMPipeline: Enable DQ (#878)
TolyaTalamanov Oct 7, 2024
41f1e7b
LoRA in Text2ImagePipeline (#911)
slyalin Oct 7, 2024
db14fd0
WWB: Add comparison for SD models (#901)
AlexKoff88 Oct 8, 2024
ff38f90
Remove excess comma in src/cpp/CMakeLists.txt (#927)
ilya-lavrenov Oct 8, 2024
a0b78c0
Update README.md
rkazants Oct 8, 2024
8c9a240
Update samples/cpp/text2image/README.md
rkazants Oct 8, 2024
abbc695
Fix the misprint (#928)
andrei-kochin Oct 8, 2024
93927b5
MiniCPM-V-2_6 with image input (#912)
Wovchena Oct 8, 2024
a5fb3a6
Fix misprint (#929)
Wovchena Oct 8, 2024
aa7bfd6
fix cb llm bench for gpu, allow string config
eaidova Oct 8, 2024
117d790
fix cb llm bench for gpu, allow string config (#931)
andrei-kochin Oct 8, 2024
aaf731c
fix linting issue in llm bench (#932)
eaidova Oct 8, 2024
3bc9163
Add model type to vlm config
yatarkan Oct 2, 2024
8701288
Add llava specific config params to processor config
yatarkan Oct 2, 2024
5b4f145
Add model type to vision encoder, separate encode methods for llava a…
yatarkan Oct 2, 2024
14df316
disable md5 check assert for CB
eaidova Oct 8, 2024
be3fab4
Enable llava model in vlm pipeline, separate preparing inputs embeds …
yatarkan Oct 2, 2024
2ec5ef8
Add test for vlm sample with llava model
yatarkan Oct 4, 2024
49447b9
Restore function for merging text and image embeds for llava
yatarkan Oct 8, 2024
790981f
Move getting input embeds for minicpm to separate method
yatarkan Oct 8, 2024
09c5742
disable md5 check assert for CB (#933)
andrei-kochin Oct 8, 2024
4465727
Use older MSVC toolchain version
ilya-lavrenov Oct 8, 2024
7f9a579
Use OpenVINO runners
ilya-lavrenov Oct 8, 2024
9d1e7e3
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
2c56899
Try to fix Windows
ilya-lavrenov Oct 8, 2024
4aa01ca
Added &
ilya-lavrenov Oct 8, 2024
0afb553
Update stable_diffusion_1_5_cpp.yml
ilya-lavrenov Oct 8, 2024
4ae6b18
Update stable_diffusion_1_5_cpp.yml
ilya-lavrenov Oct 8, 2024
3e772fd
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
0b55cd0
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
22c573d
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
fcd6670
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
e7c1371
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
78bbf62
Update .github/workflows/stable_diffusion_1_5_cpp.yml
ilya-lavrenov Oct 8, 2024
581e2c1
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
d43773c
SDXL Pipeline, Euler Discrete scheduler
likholat Sep 27, 2024
0663533
text2image Readme update
likholat Oct 7, 2024
f4e90aa
num_images_per_prompt>1 for demo, unet reshape fix, num_hidden_layers…
likholat Oct 8, 2024
ea8b9fa
Readme update
likholat Oct 8, 2024
df2161d
codestyle fixes
likholat Oct 8, 2024
8db0301
Apply suggestions from code review
ilya-lavrenov Oct 8, 2024
b9eed0a
Added VLM bindings and a Python sample. (#914)
popovaan Oct 9, 2024
a1feff9
Prevent overwriting of the sampling strategy. (#937)
andreyanufr Oct 9, 2024
1b5435c
Add vlm model type enum class
yatarkan Oct 9, 2024
6ccfce4
Merge branch 'master' into yt/add-llava-1-5
yatarkan Oct 9, 2024
8912b56
Fix typo in minicpm model type
yatarkan Oct 9, 2024
6d2763a
Multiple images miniCPM-V-2_6 (#919)
Wovchena Oct 9, 2024
5018f73
Readme draft (#930)
yury-gorbachev Oct 9, 2024
d0f89da
Clean up VLMPipeline (#923)
Wovchena Oct 9, 2024
cfb6e02
rm src/cpp/src/stb_image.hpp (#939)
Wovchena Oct 10, 2024
dcb2336
[CB] Add validation mode to Sampler (#904)
iefode Oct 10, 2024
bc643e1
Merge branch 'master' into yt/add-llava-1-5
yatarkan Oct 10, 2024
8143634
Whisper pipeline: return timestamps (#910)
as-suvorov Oct 10, 2024
5dbd3ab
Returned VLM chat sample in CI. (#935)
popovaan Oct 10, 2024
304f6ed
Merge branch 'master' into yt/add-llava-1-5
ilya-lavrenov Oct 10, 2024
e151391
Re-added images under LFS (#943)
ilya-lavrenov Oct 10, 2024
0d5fa93
Trying to fix compilation with MSVC 2022 14.41 toolchain (#942)
ilya-lavrenov Oct 10, 2024
6839175
Update optimum-intel (#945)
wgzintel Oct 11, 2024
cdff0c1
Merge branch 'master' into yt/add-llava-1-5
yatarkan Oct 11, 2024
729b063
Add llava to supported models
yatarkan Oct 11, 2024
18b49c7
Switch to optimum-intel from git in requirements
yatarkan Oct 11, 2024
4592cd6
Remove redundant optimum install
yatarkan Oct 11, 2024
8f30428
Reorder supported vlm models
yatarkan Oct 11, 2024
04a0014
Reuse m_vision_encoder
yatarkan Oct 11, 2024
d9feaea
Fix samples requirements with lowering numpy for macos
yatarkan Oct 11, 2024
8f1e347
Fix python tests requirements with numpy for macos
yatarkan Oct 11, 2024
dbb1f7c
Enable LLaVa-1.5 in VLM Pipeline (#917)
andrei-kochin Oct 11, 2024
82d6697
disable assert for nonequal output for cb (#949)
eaidova Oct 11, 2024
e5ec1cc
CB: fix deadlock (#948)
Wovchena Oct 12, 2024
67bcef1
Slice the last matmull in stateful llm pipeline (#814)
olpipi Oct 12, 2024
6151231
Hide VLM files and API
Wovchena Oct 12, 2024
7d94e1a
Remove unused concatenate_mid_dim
Wovchena Oct 12, 2024
eeb818d
Initialize m_image_id in constructor similar to the reset of the fields
Wovchena Oct 12, 2024
20a6954
Retrigger
Wovchena Oct 12, 2024
84cb99b
Some updates to Text 2 image pipeline (#944)
ilya-lavrenov Oct 13, 2024
0737db2
Move to visual_language
Wovchena Oct 14, 2024
0bddfba
Correct py_vlm_pipeline.cpp include
Wovchena Oct 14, 2024
1b2da2d
fix
Wovchena Oct 14, 2024
7f0ef7a
Move vision_encoder, pipeline.hpp
Wovchena Oct 14, 2024
457024c
Replace export_MiniCPM-V-2_6.py
Wovchena Oct 14, 2024
0659a5d
Align impl (#954)
Wovchena Oct 14, 2024
d11f18d
Downgrade optimum
Wovchena Oct 14, 2024
bb6e307
VLM pipeline test (#922)
popovaan Oct 14, 2024
a82fe79
Everywhere python -m pip install -U optimum<1.23 --no-dependencies
Wovchena Oct 14, 2024
6d37b64
Remove duplicates
Wovchena Oct 14, 2024
b8fd628
Fix dtype
Wovchena Oct 14, 2024
510fcd3
add_special_tokens = false for chat (#962)
pavel-esir Oct 14, 2024
d041d88
Fixed misprint (#965)
jane-intel Oct 14, 2024
3f01a95
Generic fixes for CB integration via LLMPipeline (#961)
ilya-lavrenov Oct 14, 2024
7833ed6
[SDXL] fix for euler_scheduler (#964)
likholat Oct 14, 2024
deb4ae2
[CI] Changed OpenVINO wheels path (#938)
mryzhov Oct 14, 2024
684251c
Use Constant ctor to share memory (#963)
praasz Oct 14, 2024
04879dd
Update Stable Diffusion models comparison (#956)
AlexKoff88 Oct 14, 2024
3d0fcee
Hide VLM files and API (#951)
Wovchena Oct 15, 2024
00e532d
Add hook sample for new transformers (#801)
wgzintel Oct 15, 2024
0aa6742
Whisper pipeline: support long-form audio (#941)
as-suvorov Oct 15, 2024
b5bad1f
Merge branch 'master' into replace-export_MiniCPM-V-2_6.py
Wovchena Oct 15, 2024
7bdce55
fix merge
Wovchena Oct 15, 2024
ff4f4be
delete src/cpp/src/visual_language/vlm_pipeline.cpp
Wovchena Oct 15, 2024
34d3c91
Temp
Wovchena Oct 15, 2024
508767d
temp
Wovchena Oct 15, 2024
e7ae5cf
Add matching test
Wovchena Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BasedOnStyle: Google
IndentWidth: 4
UseTab: Never
ColumnLimit: 120

Language: Cpp
Standard: Cpp11

AccessModifierOffset: -4
AlignConsecutiveMacros: true
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: false
BinPackParameters: false
CommentPragmas: '^#'
DerivePointerAlignment: false
FixNamespaceComments: true
IndentCaseLabels: false
IndentPPDirectives: AfterHash
ForEachMacros:
- foreach
- FOREACH_CHILD
67 changes: 67 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
*.py text eol=lf
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
*.PNG filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.vsdx filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "./"
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "image_generation/stable_diffusion_1_5/cpp/scripts/"
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "image_generation/lcm_dreamshaper_v7/cpp/scripts/"
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "./tests/python_tests/"
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "samples/"
schedule:
interval: "weekly"
13 changes: 13 additions & 0 deletions .github/label_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://github.com/actions/labeler

# Add label to the PRs changing files under llm_bench/
llm_bench:
- changed-files:
- any-glob-to-any-file:
- 'llm_bench/**'
- '.github/workflows/llm_bench-python.yml'

WWB:
- changed-files:
- any-glob-to-any-file:
- 'llm_bench/python/who_what_benchmark/**'
25 changes: 25 additions & 0 deletions .github/workflows/assign_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Take Issue

on:
issue_comment:
types:
- created
- edited

permissions: read-all # Required by https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions

jobs:
take-issue:
name: Take issue
runs-on: ubuntu-latest
permissions:
issues: write
timeout-minutes: 10
steps:
- name: take an issue
uses: bdougie/take-action@v1.6.1
with:
message: Thank you for looking into this issue! Please let us know if you have any questions or require any help.
issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue.
trigger: .take
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: python -m bandit --recursive --configfile bandit.yml .
on:
pull_request:
paths-ignore:
- 'thirdparty'
- '**.md'
permissions: read-all # Required by https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions
jobs:
bandit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- run: python -m pip install bandit
- run: python -m bandit --recursive --configfile bandit.yml .
Loading
Loading