Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
905 commits
Select commit Hold shift + click to select a range
3d2fe12
Enable filters resetting
yatarkan Jan 12, 2024
ee5331a
fix quantization subset collection (#1617)
eaidova Jan 15, 2024
ec133e1
Fix ts error
yatarkan Jan 15, 2024
4b8d962
Enable sections for tasks filters
yatarkan Jan 15, 2024
1b8cf53
Fix escaped html symbols in title
yatarkan Jan 15, 2024
5eb22cd
Skip markdown links in title
yatarkan Jan 15, 2024
e15393e
Set torch and transformer minimum versions to avoid errors (#1616)
aleksandr-mokrov Jan 15, 2024
f28d750
migrate whisper notebook on pypi package (#1618)
eaidova Jan 15, 2024
75a1929
Fix dataset usage in lcm perf benchmarking (#1619)
eaidova Jan 15, 2024
a35743f
Add dropdown component
yatarkan Jan 15, 2024
9038bcd
Add chevron icon
yatarkan Jan 15, 2024
90c7eed
Enable notebooks sorting
yatarkan Jan 15, 2024
035beb9
Enable tags filtering
yatarkan Jan 15, 2024
9b94632
Enable icon only mode for button
yatarkan Jan 15, 2024
13d8a23
Add double chevron icon
yatarkan Jan 15, 2024
3f0db14
Fix button icon disabled color
yatarkan Jan 15, 2024
fa7e5ad
Add pagination component
yatarkan Jan 15, 2024
bc6061c
Enable notebooks pagination
yatarkan Jan 15, 2024
d02b310
Add direction prop for dropdown popover
yatarkan Jan 16, 2024
95c4593
Enable scrolling to the top on page and filters change
yatarkan Jan 16, 2024
f6a533c
Add view for empty notebooks list
yatarkan Jan 16, 2024
a2900b4
Fix creating dist dir for notebooks map file generation
yatarkan Jan 16, 2024
fff4114
Fix images in notebooks metadata
yatarkan Jan 16, 2024
a2104db
Fix images in notebooks metadata
yatarkan Jan 16, 2024
1f1e699
Merge branch 'main' into yt/notebooks-metadata
yatarkan Jan 16, 2024
9d6300a
Rename method
yatarkan Jan 16, 2024
5f00f34
Rename models directory to shared
yatarkan Jan 16, 2024
04a0f1f
Remove empty styles file
yatarkan Jan 16, 2024
e33712e
Remove description metadata field from validation
yatarkan Jan 16, 2024
15b1f07
Fix generating notebooks metadata map on vite build plugin
yatarkan Jan 16, 2024
889b06a
Fix key for notebooks list item
yatarkan Jan 17, 2024
92a9290
Use stateful models in LLM notebooks (#1622)
eaidova Jan 17, 2024
a3368f1
Change filter tab title
yatarkan Jan 17, 2024
72319d4
Add todo
yatarkan Jan 17, 2024
54e2006
Add Video-LLaVA tutorial (#1572)
itrushkin Jan 17, 2024
69eb976
Setting higher timeout value (#1624)
sgolebiewski-intel Jan 18, 2024
0e19acb
fix notebook conversion files by timeout (#1625)
eaidova Jan 18, 2024
3942314
Update CLIP notebook (#1628)
nikita-savelyevv Jan 19, 2024
6b2982d
Bump jupyter-lsp from 2.2.1 to 2.2.2 in /.docker (#1629)
dependabot[bot] Jan 19, 2024
ad04ef6
Move pipes removal and the gc to the separate cells (#1626)
DimaPastushenkov Jan 19, 2024
4e70504
FP16 Calibration Script Upgrade (#1602)
nikita-savelyevv Jan 19, 2024
d3545d0
Stable Diffusion with OV TorchDynamo backend (#1338)
likholat Jan 19, 2024
0429d63
fix table of content style and dependencies install in sd torchdynamo…
eaidova Jan 19, 2024
8fd0ec8
Lightweight text to image generation with aMUSED (#1620)
aleksandr-mokrov Jan 22, 2024
4825f7c
fix vegart syntax error, update stable zephyr (#1634)
eaidova Jan 22, 2024
26c35a7
update jupyterlab (#1635)
eaidova Jan 22, 2024
689bac2
fix dependencies install in whisper notebook (#1637)
eaidova Jan 23, 2024
d62e745
Fixing references to docs (#1638)
sgolebiewski-intel Jan 23, 2024
251830c
[403] Changing the way of downloading files from OMZ command to noteb…
Roszczyk Jan 23, 2024
1c8bbd1
Fixing references (#1640)
sgolebiewski-intel Jan 23, 2024
ffc1c75
update pil in docker (#1641)
eaidova Jan 24, 2024
0942708
fix perf benchmarking in vegart notebook (#1642)
eaidova Jan 24, 2024
50062d4
Stable diffusion with IP-Adapter notebook (#1630)
eaidova Jan 24, 2024
3047747
Fix reame (#1644)
eaidova Jan 24, 2024
8294d5d
Add MobileVLM tutorial (#1627)
itrushkin Jan 24, 2024
a484c4e
update for 2023.3.0 release (#1645)
eaidova Jan 24, 2024
73df723
add depth anything notebook (#1639)
eaidova Jan 24, 2024
5fa65cf
remove unused functions from paint from example (#1646)
eaidova Jan 24, 2024
44ba1ea
update some notebooks requirements (#1647)
eaidova Jan 24, 2024
aaf3c62
fix links (#1651)
eaidova Jan 25, 2024
ca1c925
Added option to run a regular Whisper model in Distil-Whisper noteboo…
nikita-savelyevv Jan 25, 2024
b139f75
fix llm notebooks dependencies (#1652)
eaidova Jan 25, 2024
36fd474
Image thumbnails for notebooks (#1653)
sgolebiewski-intel Jan 26, 2024
8e47bfb
Kosmos2 model (#1483)
aleksandr-mokrov Jan 29, 2024
5d20286
Added quantization to DeciDiffusion notebook (#1643)
l-bat Jan 29, 2024
4ed7fb1
Update pdf reader dependency (#1655)
openvino-dev-samples Jan 29, 2024
87f4b54
Remove 111 notebook
as-suvorov Jan 29, 2024
8063ecb
Merge pull request #1657 from as-suvorov/asuvorov/pot-removal
andrei-kochin Jan 29, 2024
467f2d5
Add SigLIP model (#1649)
as-suvorov Jan 29, 2024
7027c38
Swith torch QAT example to PTQ implementation (#1623)
daniil-lyakhov Jan 29, 2024
2a57cc8
Import InferRequestWrapper from optimum-intel instead of re-defining …
nikita-savelyevv Jan 29, 2024
f5b1fa0
fix installing gradio-imageslider for python<3.10 (#1662)
eaidova Jan 29, 2024
4733f83
add 281-photo-maker notebook (#1632)
openvino-dev-samples Jan 29, 2024
8cc9313
move photomaker notebook (#1663)
eaidova Jan 29, 2024
fd16cad
Bump aiohttp from 3.9.1 to 3.9.2 in /.docker (#1664)
dependabot[bot] Jan 30, 2024
cb38a76
Fix notebooks issues (#1666)
eaidova Jan 30, 2024
3026845
Merge branch 'main' into yt/notebooks-metadata
yatarkan Jan 30, 2024
fec075d
Filter deleted files from validate metadata workflow
yatarkan Jan 30, 2024
27363ae
Fix empty modified data
yatarkan Jan 30, 2024
f10ebac
Add metadata for new notebooks
yatarkan Jan 30, 2024
1b1a487
Add workflow for manual GH Pages deploy
yatarkan Jan 31, 2024
01cf41e
Merge branch 'yt/notebooks-metadata' into yt/notebooks-selector
yatarkan Jan 31, 2024
9d72cb1
Update actions versions
yatarkan Jan 31, 2024
1379c9d
Set build base in vite config
yatarkan Jan 31, 2024
d8c83ea
Enable cincurency for GH Pages manual deploy workflow
yatarkan Jan 31, 2024
9337564
Update actions/upload-pages-artifact version
yatarkan Jan 31, 2024
e111952
Fix fetching notebooks metadata map file
yatarkan Jan 31, 2024
022c0c7
move videpth notebook on pytorch frontend (#1661)
eaidova Jan 31, 2024
c0f4b7d
Remove libraries and other tags groups
yatarkan Jan 31, 2024
e2a3043
Make filters within one tab exclusive
yatarkan Jan 31, 2024
4565621
Set default sorting to recently added
yatarkan Jan 31, 2024
dea7bd6
fix outdated links on documentation (#1669)
eaidova Jan 31, 2024
45205a6
Add tag component
yatarkan Jan 31, 2024
2c00e1b
Add AI Trends tag to notebook card
yatarkan Jan 31, 2024
7b4bd59
Enable highlighting selected option in dropdown
yatarkan Jan 31, 2024
8f24a5b
Add optional tasks showing to notebook card
yatarkan Feb 1, 2024
fb76b8d
Remove unused Spark Design css components
yatarkan Feb 1, 2024
f5a8818
Remove todo
yatarkan Feb 1, 2024
44ec530
Enable notebooks metadata with tags and image URLs (#1568)
yatarkan Feb 1, 2024
ff9103d
Bump vite from 5.0.6 to 5.0.12 in /selector (#1673)
dependabot[bot] Feb 1, 2024
14dd08b
Remove esnext build target
yatarkan Feb 1, 2024
387af32
fix gha workfolws (#1675)
eaidova Feb 1, 2024
63c33b2
Merge branch 'main' into yt/notebooks-selector
yatarkan Feb 1, 2024
862bb12
BiT Image Classification Quantization NNCF notebook (#1571)
spradeep28 Feb 1, 2024
de82a90
add metadata to bit quantization notebook (#1676)
eaidova Feb 1, 2024
c4cd575
Merge branch 'main' into yt/notebooks-selector
yatarkan Feb 2, 2024
00a245f
Add task tag metadata to 127 notebook
yatarkan Feb 2, 2024
0b8e419
Add warning message for tasks tags validator
yatarkan Feb 2, 2024
2fe19f4
Make tasks tags in metadata mandatory
yatarkan Feb 2, 2024
5920095
Add tasks tags for rest of the notebooks
yatarkan Feb 2, 2024
39f26f3
Introduce separate class for notebook content reading
yatarkan Feb 2, 2024
70e5e71
add OpenVoice (#1633)
pavel-esir Feb 5, 2024
c402bf8
Add method for getting notebook code cells
yatarkan Feb 5, 2024
46e0ca8
Add notebooks libraries tags
yatarkan Feb 5, 2024
2dca4c2
Enable collecting of libraries tags from notebooks content
yatarkan Feb 5, 2024
eb9261f
Add libraries tags and sections to filters panel
yatarkan Feb 5, 2024
3194fe1
Fixing a minor problem with libraries installing (#1684)
Roszczyk Feb 5, 2024
f8eaf90
update image for RAG notebook (#1685)
eaidova Feb 5, 2024
3794586
update llava notebook for support llava v1.6 (#1686)
eaidova Feb 5, 2024
ae471c6
fix image bind after torchvision upgrade and videpth with empty depth…
eaidova Feb 6, 2024
ea000db
update cryptography in docker (#1689)
eaidova Feb 6, 2024
66723e5
remove visual deblur notebook (#1691)
eaidova Feb 6, 2024
a749049
install typings packages for depth-anything (#1690)
eaidova Feb 6, 2024
f0fd45c
Merge branch 'main' into yt/notebooks-selector
yatarkan Feb 6, 2024
8b6b997
Reorganizing table of contents for better conversion to docs (#1668)
sgolebiewski-intel Feb 6, 2024
e969344
Revert "Reorganizing table of contents for better conversion to docs …
andrei-kochin Feb 6, 2024
87487f7
Merge pull request #1694 from openvinotoolkit/revert-1668-reorganize-…
andrei-kochin Feb 6, 2024
c53b08f
Merge branch 'main' into yt/notebooks-selector
yatarkan Feb 8, 2024
56027ae
Merge pull request #1679 from yatarkan/yt/notebooks-selector
andrei-kochin Feb 8, 2024
b69a1ba
Merge branch 'main' into yt/notebooks-libraries-tags
yatarkan Feb 8, 2024
edd5cf2
Fix header logo alignment
yatarkan Feb 8, 2024
19567a3
update script and notebooks without table of content (#1700)
eaidova Feb 9, 2024
b3c4a13
Enable torch scaled dot product attention for bark (#1702)
eaidova Feb 12, 2024
708ad18
Added quantization to DepthAnything notebook (#1701)
l-bat Feb 12, 2024
7274573
Adding new thumbnails for notebooks (#1705)
sgolebiewski-intel Feb 12, 2024
bbd325e
Add Surya model (#1695)
as-suvorov Feb 12, 2024
7ce13fe
Merge branch 'main' into yt/notebooks-libraries-tags
yatarkan Feb 12, 2024
3cb5d3e
Remove duplicated directory
yatarkan Feb 12, 2024
4d251af
InstantID notebook (#1698)
eaidova Feb 13, 2024
8128bdf
Merge pull request #1699 from yatarkan/yt/notebooks-libraries-tags
andrei-kochin Feb 13, 2024
288af9e
run all notebooks in directory during testing (#1708)
eaidova Feb 13, 2024
898d8d4
update image and dependencies in film notebook (#1710)
eaidova Feb 13, 2024
cd2251c
update u2net-lite model link in background removal notebook (#1711)
eaidova Feb 14, 2024
a3239df
Update VideoLLava notebook
itrushkin Feb 14, 2024
db4d146
Fix flake8
itrushkin Feb 14, 2024
f4164d3
update testing in precommit (#1715)
eaidova Feb 15, 2024
25ab13c
integrate minicpm into chatbot notebook (#1716)
eaidova Feb 15, 2024
3033e0f
fix docker precommit (#1717)
eaidova Feb 15, 2024
fd4d894
Merge pull request #1713 from itrushkin/videollava_update
andrei-kochin Feb 15, 2024
e616d9c
fix imports (#1719)
eaidova Feb 16, 2024
e175b12
Added hybrid quantization of UNet for Stable Diffusion v2 text-to-ima…
nikita-savelyevv Feb 16, 2024
2a09d6f
Added quantization to 235-controlnet-stable-diffusion notebook (#1718)
l-bat Feb 16, 2024
c43db38
fix int8 model compression in llm question answering (#1721)
eaidova Feb 16, 2024
68ae37b
Fix RAG notebook conversion (#1722)
eaidova Feb 16, 2024
b5a4994
Bump cryptography from 42.0.0 to 42.0.2 in /.docker (#1725)
dependabot[bot] Feb 19, 2024
8b2ad4c
rebase (#1714)
openvino-dev-samples Feb 19, 2024
19d9b50
[GH Pages] Make GitHub Pages app adaptive and responsive for embedded…
yatarkan Feb 20, 2024
7432077
[128] Add OpenVINO Tokenziers Notebook (#1697)
apaniukov Feb 20, 2024
414128d
Add GH Pages link to README (#1730)
yatarkan Feb 20, 2024
9ccee7e
[128] OpenVINO Tokenizers Notebook Small Fixes (#1729)
apaniukov Feb 21, 2024
4876ae6
Remove MIXED quantization preset for transformer models (#1728)
nikita-savelyevv Feb 21, 2024
65a5210
fix notebooks reported by nightly (#1732)
eaidova Feb 21, 2024
24e1019
fix peft version (#1734)
eaidova Feb 21, 2024
ab02aed
update logs 276 (#1735)
eaidova Feb 21, 2024
7e14a94
Update LLM notebooks to transition to weight compression via optimum-…
nikita-savelyevv Feb 21, 2024
c0490b4
add missed deps for yolov7 (#1736)
eaidova Feb 21, 2024
aba796c
Resolve device selection issues part1 (#1737)
eaidova Feb 21, 2024
ae9afed
Fix ignored scope (#1739)
aleksandr-mokrov Feb 22, 2024
7347121
Bump cryptography from 42.0.2 to 42.0.4 in /.docker (#1738)
dependabot[bot] Feb 22, 2024
6ed9e7b
Add device selection for Surya notebook (#1740)
as-suvorov Feb 22, 2024
dd317aa
add device widget to notebooks part2 (#1741)
eaidova Feb 22, 2024
62b5319
Updated Dockerfile to fix nodejs installation (#1744)
day0hero Feb 23, 2024
cd7408f
add gemma support in llm notebook (#1747)
eaidova Feb 23, 2024
94feee1
Mark Surya as a trend model (#1749)
as-suvorov Feb 25, 2024
ff11eb6
Fix typo in 235-controlnet-stable-diffusion notebook (#1751)
l-bat Feb 26, 2024
7c164c0
fix openvoice notebook (#1752)
eaidova Feb 26, 2024
7647e44
update device selection part3 (#1748)
eaidova Feb 26, 2024
5b4a132
update langchain's api (#1745)
openvino-dev-samples Feb 26, 2024
e76e0a9
fix depthanything execution with python3.8 (#1753)
eaidova Feb 26, 2024
55b2092
update check install (#1755)
eaidova Feb 26, 2024
5ad4a5a
Improve clarity and efficiency in "pip conflicts check" workflow (#1731)
itrushkin Feb 26, 2024
5f47edc
refactor clip notebook (#1756)
eaidova Feb 26, 2024
7aad9fa
remove unidecode dep (#1757)
eaidova Feb 26, 2024
1584604
[GH Pages] Embedded mode configuration (#1733)
yatarkan Feb 26, 2024
2b96b63
switch llm chatbot to tinyllama by default (#1759)
eaidova Feb 27, 2024
aedf676
Modification to 236 "OpenVINO Optimum Intel" demos (#1743)
Feb 27, 2024
438a552
merge blip notebooks (#1761)
eaidova Feb 27, 2024
722bc1a
236- OV_model and CPU default device (#1764)
Feb 28, 2024
f66c34d
remove redundant codes (#1762)
openvino-dev-samples Feb 28, 2024
6f2d087
fix removing rag_chain if gradio is not launched (#1767)
eaidova Feb 28, 2024
8adcdfc
manually download datasets in yolov8 (#1768)
eaidova Feb 28, 2024
19485aa
yolov9 notebook (#1758)
eaidova Feb 29, 2024
77c8d3b
add images for notebooks preview (#1769)
eaidova Feb 29, 2024
7697a7d
[GH Pages] Add gif preview to README (#1774)
yatarkan Mar 1, 2024
19f10e5
[214-grammar-correction] Switch to InferRequestWrapper from for calib…
nikita-savelyevv Mar 3, 2024
1e11ecb
update LLM chat_template and RAG notebook (#1778)
openvino-dev-samples Mar 4, 2024
e5830a1
Add optimization to 286-instant-id notebook (#1760)
l-bat Mar 4, 2024
86b32be
apply gpu configuration for yolo8 according recomendation (#1779)
eaidova Mar 4, 2024
92da3bc
specify runtime for binder (#1782)
eaidova Mar 4, 2024
77fac7a
fix infer request busy issue for RAG notebook (#1780)
openvino-dev-samples Mar 5, 2024
e7a8b27
Update stable zephyr notebook (#1787)
eaidova Mar 5, 2024
d604a22
fix syntax in yolov8 (#1790)
eaidova Mar 6, 2024
5b8d9cc
Notebook to run inference for LCM using Optimum Intel with OpenVINO …
DimaPastushenkov Mar 6, 2024
3708612
change binder links (#1791)
eaidova Mar 6, 2024
66e4101
fix fstring in 301 (#1792)
eaidova Mar 6, 2024
bdef6c8
fix yolov8 (#1794)
eaidova Mar 6, 2024
0cc873f
fix ov install in openvoice notebook (#1795)
eaidova Mar 6, 2024
2662a36
Remove table of notebooks from readme (#1796)
eaidova Mar 6, 2024
10d042a
prepare to 2024.0 (#1793)
eaidova Mar 7, 2024
286382a
Add quantization (#1773)
aleksandr-mokrov Mar 7, 2024
623715b
allow running yolov9 with static shapes (#1798)
eaidova Mar 7, 2024
f935d5c
remove checking vs existing for pytorch quantization (#1799)
eaidova Mar 7, 2024
7b51a15
add internlm2 in LLM notebook (#1788)
openvino-dev-samples Mar 7, 2024
05a0659
Fix doc version (#1805)
aleksandr-mokrov Mar 7, 2024
75466b3
update README CN (#1808)
openvino-dev-samples Mar 8, 2024
2b16bc6
fix matplotlib for windows (#1811)
eaidova Mar 8, 2024
376bade
Add GroundingSAM (GroundingDino + SAM) (#1720)
pavel-esir Mar 8, 2024
169094e
Fix GroundedSAM preview (#1812)
pavel-esir Mar 8, 2024
1241edb
[DOCS] Updating references to docs 2024 (#1810)
sgolebiewski-intel Mar 11, 2024
2de66b5
fix imports in 112 (#1814)
eaidova Mar 11, 2024
3b0b55a
Add mobileclip notebook (#1804)
eaidova Mar 12, 2024
8eae3f0
add table of content to mobileclip notebook (#1816)
eaidova Mar 12, 2024
42d80f8
remove vs detection in 110 notebook (#1815)
eaidova Mar 12, 2024
985420f
fix errors reported by nightly (#1818)
eaidova Mar 13, 2024
dd5db32
[DOCS] Fix listing of notebooks with badges (#1819)
sgolebiewski-intel Mar 13, 2024
659cb7e
[DOCS] Fix listing of notebooks with badges (#1820)
sgolebiewski-intel Mar 13, 2024
792d917
add filter for non-rag model (#1809)
openvino-dev-samples Mar 14, 2024
4e015a5
Revert "add filter for non-rag model" (#1823)
eaidova Mar 14, 2024
9b6c6b7
[DOCS] Update listing of notebooks with badges (#1825)
sgolebiewski-intel Mar 18, 2024
adb6401
Unpin numpy version (#1828)
aleksandr-mokrov Mar 19, 2024
df781ca
Add RAG model filter (#1824)
openvino-dev-samples Mar 19, 2024
daa7e4b
disable winograd for fast segment anything for GPU (#1829)
eaidova Mar 19, 2024
8b75c93
YOLOv8 OBB model (#1821)
aleksandr-mokrov Mar 19, 2024
c8fe348
resolve strict dependency on torch 1.13 for mobileclip (#1830)
eaidova Mar 19, 2024
17a646f
merge convert and optimize notebooks for image-bind (#1832)
eaidova Mar 19, 2024
5b8316c
Add Explainable AI and OV Tokenizers Tags (#1833)
apaniukov Mar 20, 2024
51fdaf3
Bump black from 21.7b0 to 24.3.0 in /.ci (#1835)
dependabot[bot] Mar 20, 2024
e1a53f8
add magika file type recognition notebook (#1826)
eaidova Mar 20, 2024
8f7c16e
fix notebooks bugs (#1840)
eaidova Mar 24, 2024
8b43684
update tf notebooks (#1842)
eaidova Mar 24, 2024
dfea613
fix tf in notebooks (#1843)
eaidova Mar 25, 2024
2d2ab8f
Add Stable Diffusion with KerasCV and OpenVINO notebook (#1836)
as-suvorov Mar 25, 2024
d26ec22
fix notebooks issues reported by nightly (#1844)
eaidova Mar 25, 2024
e2ec5ab
move stable diffusion keras (#1845)
eaidova Mar 25, 2024
1f4e336
Add redirect link to each notebook and main README (#1873)
yatarkan Apr 1, 2024
ef554db
New opencl from the official unified repo (#1875)
dtrawins Apr 3, 2024
7e329c4
update links for removed notebooks in main (#1988)
eaidova May 1, 2024
dc3f8f3
remove transition links for deprecated (#2080)
eaidova Jun 6, 2024
d062c3f
remove notes in deprecated notebooks in main (#2144)
eaidova Jun 24, 2024
9be6a92
Remove deploy workflow for main branch (#2145)
yatarkan Jun 24, 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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .binder/apt.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
libpython3.7-dev
ffmpeg
libsm6
libxext6
1 change: 1 addition & 0 deletions .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.8
37 changes: 34 additions & 3 deletions .ci/check_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@
import mistune
import requests
import urllib.parse
import urllib.request

from pathlib import Path

NOTEBOOKS_ROOT = Path(__file__).resolve().parents[1]

EXCEPTIONS_URLs = [
"medium.com",
"https://www.paddlepaddle.org.cn/",
"mybinder.org",
"https://arxiv.org",
"http://host.robots.ox.ac.uk",
"https://gitee.com/"
]

def get_all_ast_nodes(ast_nodes):
for node in ast_nodes:
yield node
Expand All @@ -27,6 +35,18 @@ def get_all_references_from_md(md_path):
yield node['link']


def validate_colab_url(url: str) -> bool:
OPENVINO_COLAB_URL_PREFIX = 'https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/main/'

if not url.startswith(OPENVINO_COLAB_URL_PREFIX):
return

notebook_path = url.split(OPENVINO_COLAB_URL_PREFIX)[1]
absolute_notebook_path = NOTEBOOKS_ROOT / notebook_path

if not absolute_notebook_path.exists():
raise ValueError(f'notebook not found for colab url {url!r}')

def main():
all_passed = True

Expand Down Expand Up @@ -55,11 +75,22 @@ def complain(message):
continue

try:
get = requests.get(url)
validate_colab_url(url)
except ValueError as err:
complain(f'{md_path}: {err}')

try:
get = requests.get(url, timeout=10)
if get.status_code != 200:
if get.status_code in [500, 429, 443] and any([known_url in url for known_url in EXCEPTIONS_URLs]):
print(f'SKIP - {md_path}: URL can not be reached {url!r}, status code {get.status_code}')
continue
complain(f'{md_path}: URL can not be reached {url!r}, status code {get.status_code}')
except Exception as err:
complain(f'{md_path}: URL can not be reached {url!r}, error {err}')
if any([known_url in url for known_url in EXCEPTIONS_URLs]):
print(f'SKIP - {md_path}: URL can not be reached {url!r}, error {err}')
else:
complain(f'{md_path}: URL can not be reached {url!r}, error {err}')

sys.exit(0 if all_passed else 1)

Expand Down
28 changes: 23 additions & 5 deletions .ci/convert_notebooks.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
import argparse
import shutil
import subprocess
import subprocess # nosec - disable B404:import-subprocess check
import time
from pathlib import Path
import nbformat


def disable_gradio_debug(notebook_path):
nb = nbformat.read(notebook_path, as_version=nbformat.NO_CONVERT)
found = False
for cell in nb["cells"]:
if "gradio" in cell["source"] and "debug" in cell["source"]:
found = True
cell["source"] = cell["source"].replace("debug=True", "debug=False")

if found:
print(f"Disabled gradio debug mode for {notebook_path}")
nbformat.write(nb, str(notebook_path), version=nbformat.NO_CONVERT)

def arguments():
parser = argparse.ArgumentParser()
parser.add_argument("--exclude_execution_file")
parser.add_argument("--exclude_conversion_file")
parser.add_argument("--timeout", type=float, default=3600,
parser.add_argument("--timeout", type=float, default=7200,
help="timeout for notebook execution")
parser.add_argument("--rst_dir", type=Path,
help="rst files output directory", default=Path("rst"))
Expand Down Expand Up @@ -40,12 +53,17 @@ def main():
notebook_path = notebook.relative_to(root)
if str(notebook_path) in ignore_conversion_list:
continue
disable_gradio_debug(notebook_path)
notebook_executed = notebook_path.parent / notebook_path.name.replace(".ipynb", "-with-output.ipynb")
start = time.perf_counter()
print(f"Convert {notebook_path}")
if str(notebook_path) not in ignore_execution_list:
retcode = subprocess.run(["jupyter", "nbconvert", "--log-level=INFO", "--execute", "--to", "notebook", "--output",
str(notebook_executed), '--output-dir', str(root), '--ExecutePreprocessor.kernel_name=python3', str(notebook_path)], timeout=args.timeout).returncode
try:
retcode = subprocess.run(["jupyter", "nbconvert", "--log-level=INFO", "--execute", "--to", "notebook", "--output",
str(notebook_executed), '--output-dir', str(root), '--ExecutePreprocessor.kernel_name=python3', str(notebook_path)], timeout=args.timeout).returncode
except subprocess.TimeoutExpired:
retcode = -42
print(f"TIMEOUT: {notebook_path}")
if retcode:
failed_notebooks.append(str(notebook_path))
continue
Expand All @@ -61,7 +79,7 @@ def main():
print(f"Notebook conversion took: {end:.4f} s")
if rst_retcode:
rst_failed.append(str(notebook_path))

if failed_notebooks:
print("EXECUTION FAILED:")
print("\n".join(failed_notebooks))
Expand Down
12 changes: 9 additions & 3 deletions .ci/convert_notebooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@

ignore_list=$*
rstdir=$PWD"/rst_files"
binderlist=$rstdir"/notebooks_with_buttons.txt"
binderlist=$rstdir"/notebooks_with_binder_buttons.txt"
colablist=$rstdir"/notebooks_with_colab_buttons.txt"
notebooklist=$rstdir"/all_notebooks_paths.txt"
tagslist=$rstdir"/notebooks_tags.json"
mkdir -p $rstdir

# List all notebooks that contain binder buttons based on readme
cat README.md | cut -d'|' --output-delimiter=$'\n' -f2- | grep -E ".*mybinder.*[0-9]{3}.*" | cut -f1 -d] | cut -f2 -d[ | sort | uniq > $binderlist
# List all notebooks that contain binder or colab buttons based on readme
for n in $(git ls-files '*.md'); do
cat $n | grep -oP "https://mybinder.org/v2.*?[0-9]{3}.*?ipynb" | sed 's#%2F#/#g' | sed -e 's|[^/]*/||g' -e 's|.ipynb$||' | sort | uniq >> $binderlist
cat $n | grep -oP "https://colab.research.google.com/github.*?[0-9]{3}.*?ipynb" | sed -e 's|[^/]*/||g' -e 's|.ipynb$||' | sort | uniq >> $colablist
done
find notebooks -maxdepth 2 -name "*.ipynb" | sort > $notebooklist
taggerpath=$(git ls-files "*tagger.py")
notebookspath=$(git ls-files "*.ipynb"| head -n 1)
keywordspath=$(git ls-files "*keywords.json")
Expand Down
6 changes: 4 additions & 2 deletions .ci/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
# black==21.8 requires typing-extensions>3.10 which is incompatible
# with other packages
-r ../requirements.txt
black==21.7b0 # format Python code
black==24.3.0 # format Python code
isort # sort imports
jupyterlab-code-formatter # format code in notebooks in Jupyter Lab
jupyterlab-git # checkout and commit code in Jupyter Lab
nbqa[toolchain] # automatic code quality checking
nbval # pytest plugin for automatic notebook testing
treon # test framework for Jupyter Notebooks
toml # used for validating docker requirements
mistune==2.0.4 # use for parsing README.md
requests==2.28.1 # use for checking links
requests==2.31.0 # use for checking links
pyspelling # automating spell checking
60 changes: 58 additions & 2 deletions .ci/ignore_convert_execution.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,64 @@
notebooks/107-speech-recognition-quantization/107-speech-recognition-quantization-data2vec.ipynb
notebooks/108-gpu-device/108-gpu-device.ipynb
notebooks/117-model-server/117-model-server.ipynb
notebooks/122-quantizing-model-with-accuracy-control/122-speech-recognition-quantization-wav2vec2.ipynb
notebooks/122-quantizing-model-with-accuracy-control/122-yolov8-quantization-with-accuracy-control.ipynb
notebooks/211-speech-to-text/211-speech-to-text.ipynb
notebooks/214-grammar-correction/214-grammar-correction.ipynb
notebooks/215-image-inpainting/215-image-inpainting.ipynb
notebooks/220-cross-lingual-books-alignment/220-cross-lingual-books-alignment.ipynb
notebooks/225-stable-diffusion-text-to-image/225-stable-diffusion-text-to-image.ipynb
notebooks/230-yolov8-optimization/230-yolov8-optimization.ipynb
notebooks/227-whisper-subtitles-generation/227-whisper-convert.ipynb
notebooks/227-whisper-subtitles-generation/227-whisper-nncf-quantize.ipynb
notebooks/228-clip-zero-shot-image-classification/228-clip-zero-shot-classification.ipynb
notebooks/230-yolov8-optimization/230-yolov8-instance-segmentation.ipynb
notebooks/230-yolov8-optimization/230-yolov8-keypoint-detection.ipynb
notebooks/230-yolov8-optimization/230-yolov8-object-detection.ipynb
notebooks/230-yolov8-optimization/230-yolov8-obb.ipynb
notebooks/231-instruct-pix2pix-image-editing/231-instruct-pix2pix-image-editing.ipynb
notebooks/235-controlnet-stable-diffusion/235-controlnet-stable-diffusion.ipynb
notebooks/232-clip-language-saliency-map/232-clip-language-saliency-map.ipynb
notebooks/233-blip-visual-language-processing/233-blip-visual-language-processing.ipynb
notebooks/235-controlnet-stable-diffusion/235-controlnet-stable-diffusion.ipynb
notebooks/236-stable-diffusion-v2/236-stable-diffusion-v2-infinite-zoom.ipynb
notebooks/236-stable-diffusion-v2/236-stable-diffusion-v2-text-to-image.ipynb
notebooks/236-stable-diffusion-v2/236-stable-diffusion-v2-optimum-demo-comparison.ipynb
notebooks/236-stable-diffusion-v2/236-stable-diffusion-v2-optimum-demo.ipynb
notebooks/236-stable-diffusion-v2/236-stable-diffusion-v2-text-to-image-demo.ipynb
notebooks/237-segment-anything/237-segment-anything.ipynb
notebooks/238-deepfloyd-if/238-deep-floyd-if-convert.ipynb
notebooks/238-deepfloyd-if/238-deep-floyd-if-optimize.ipynb
notebooks/239-image-bind/239-image-bind.ipynb
notebooks/240-dolly-2-instruction-following/240-dolly-2-instruction-following.ipynb
notebooks/241-riffusion-text-to-music/241-riffusion-text-to-music.ipynb
notebooks/244-named-entity-recognition/244-named-entity-recognition.ipynb
notebooks/248-stable-diffusion-xl/248-stable-diffusion-xl.ipynb
notebooks/248-stable-diffusion-xl/248-segmind-vegart.ipynb
notebooks/248-stable-diffusion-xl/248-ssd-b1.ipynb
notebooks/249-oneformer-segmentation/249-oneformer-segmentation.ipynb
notebooks/251-tiny-sd-image-generation/251-tiny-sd-image-generation.ipynb
notebooks/252-fastcomposer-image-generation/252-fastcomposer-image-generation.ipynb
notebooks/253-zeroscope-text2video/253-zeroscope-text2video.ipynb
notebooks/254-llm-chatbot/254-llm-chatbot.ipynb
notebooks/254-llm-chatbot/254-rag-chatbot.ipynb
notebooks/255-mms-massively-multilingual-speech/255-mms-massively-multilingual-speech.ipynb
notebooks/256-bark-text-to-audio/256-bark-text-to-audio.ipynb
notebooks/257-llava-multimodal-chatbot/257-llava-multimodal-chatbot.ipynb
notebooks/257-llava-multimodal-chatbot/257-videollava-multimodal-chatbot.ipynb
notebooks/258-blip-diffusion-subject-generation/258-blip-diffusion-subject-generation.ipynb
notebooks/259-decidiffusion-image-generation/259-decidiffusion-image-generation.ipynb
notebooks/260-pix2struct-docvqa/260-pix2struct-docvqa.ipynb
notebooks/262-softvc-voice-conversion/262-softvc-voice-conversion.ipynb
notebooks/263-latent-consistency-models-image-generation/263-latent-consistency-models-image-generation.ipynb
notebooks/263-latent-consistency-models-image-generation/263-lcm-lora-controlnet.ipynb
notebooks/264-qrcode-monster/264-qrcode-monster.ipynb
notebooks/265-wuerstchen-image-generation/265-wuerstchen-image-generation.ipynb
notebooks/266-speculative-sampling/266-speculative-sampling.ipynb
notebooks/267-distil-whisper-asr/267-distil-whisper-asr.ipynb
notebooks/269-film-slowmo/269-film-slowmo.ipynb
notebooks/270-sound-generation-audioldm2/270-sound-generation-audioldm2.ipynb
notebooks/271-sdxl-turbo/271-sdxl-turbo.ipynb
notebooks/272-paint-by-example/272-paint-by-example.ipynb
notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb
notebooks/275-llm-question-answering/275-llm-question-answering.ipynb
notebooks/286-instant-id/286-instant-id.ipynb
notebooks/404-style-transfer-webcam/404-style-transfer.ipynb
1 change: 0 additions & 1 deletion .ci/ignore_convert_full.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
notebooks/108-gpu-device/108-gpu-device.ipynb
notebooks/110-ct-segmentation-quantize/data-preparation-ct-scan.ipynb
notebooks/110-ct-segmentation-quantize/pytorch-monai-training.ipynb
23 changes: 23 additions & 0 deletions .ci/ignore_pip_conflicts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
notebooks/109-performance-tricks/109-latency-tricks.ipynb # ultralytics<=8.0.178
notebooks/109-performance-tricks/109-throughput-tricks.ipynb # ultralytics<=8.0.178
notebooks/123-detectron2-to-openvino/123-detectron2-to-openvino.ipynb # detectron2@https://github.com/facebookresearch/detectron2
notebooks/122-quantizing-model-with-accuracy-control/122-yolov8-quantization-with-accuracy-control.ipynb # ultralytics==8.0.43
notebooks/204-segmenter-semantic-segmentation/204-segmenter-semantic-segmentation.ipynb # timm==0.4.12, install Segmenter requirements
notebooks/211-speech-to-text/211-speech-to-text.ipynb # numpy<1.24
notebooks/212-pyannote-speaker-diarization/212-pyannote-speaker-diarization.ipynb # pyannote-audio@https://github.com/eaidova/pyannote-audio
notebooks/230-yolov8-optimization/230-yolov8-instance-segmentation.ipynb # ultralytics==8.0.43
notebooks/230-yolov8-optimization/230-yolov8-keypoint-detection.ipynb # ultralytics==8.0.159
notebooks/230-yolov8-optimization/230-yolov8-object-detection.ipynb # ultralytics==8.0.43
notebooks/230-yolov8-optimization/230-yolov8-obb.ipynb # ultralytics==8.1.24
notebooks/254-llm-chatbot/254-llm-chatbot.ipynb # nncf@https://github.com/openvinotoolkit/nncf/tree/release_v280
notebooks/254-llm-chatbot/254-rag-chatbot.ipynb # nncf@https://github.com/openvinotoolkit/nncf/tree/release_v280
notebooks/256-bark-text-to-audio/256-bark-text-to-audio.ipynb # torch==1.13
notebooks/257-llava-multimodal-chatbot/257-llava-multimodal-chatbot.ipynb # transformers<4.35
notebooks/257-llava-multimodal-chatbot/257-videollava-multimodal-chatbot.ipynb # transformers<4.35
notebooks/272-paint-by-example/272-paint-by-example.ipynb # gradio==3.44.1
notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb # install requirements.txt after clone repo
notebooks/279-mobilevlm-language-assistant/279-mobilevlm-language-assistant.ipynb # transformers<4.35
notebooks/280-depth-anything/280-depth-anything.ipynb # install requirements.txt after clone repo
notebooks/285-surya-line-level-text-detection/285-surya-line-level-text-detection.ipynb # requires python >=3.9
notebooks/289-mobileclip-video-search/289-mobileclip-video-search.ipynb # install requirements.txt inside
notebooks/291-stable-diffusion-keras-cv/291-stable-diffusion-keras-cv.ipynb # requires python >=3.9
60 changes: 60 additions & 0 deletions .ci/ignore_treon_docker.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
107-speech-recognition-quantization
108-gpu-device
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
216-attention-center
220-cross-lingual-books-alignment
225-stable-diffusion-text-to-image
227-whisper-subtitles-generation
228-clip-zero-shot-image-classification
231-instruct-pix2pix-image-editing
233-blip-visual-language-processing
234-encodec-audio-compression
235-controlnet-stable-diffusion
236-stable-diffusion-v2
237-segment-anything
238-deepfloyd-if
239-image-bind
240-dolly-2-instruction-following
241-riffusion-text-to-music
242-freevc-voice-conversion
247-code-language-id
248-stable-diffusion-xl
249-oneformer-segmentation
250-music-generation
251-tiny-sd-image-generation
252-fastcomposer-image-generation
253-zeroscope-text2video
254-llm-chatbot
255-mms-massively-multilingual-speech
256-bark-text-to-audio
257-llava-multimodal-chatbot
258-blip-diffusion-subject-generation
259-decidiffusion-image-generation
260-pix2struct-docvqa
261-fast-segment-anything
262-softvc-voice-conversion
263-latent-consistency-models-image-generation
264-qrcode-monster
265-wuerstchen-image-generation
266-speculative-sampling
267-distil-whisper-asr
269-film-slowmo
270-sound-generation-audioldm2
271-sdxl-turbo
272-paint-by-example
273-stable-zephyr-3b-chatbot
275-llm-question-answering
276-stable-diffusion-torchdynamo-backend
278-stable-diffusion-ip-adapter
281-kosmos2-multimodal-large-language-model
283-photo-maker
284-openvoice
285-surya-line-level-text-detection
286-instant-id
291-stable-diffusion-keras-cv
301-tensorflow-training-openvino
305-tensorflow-quantization-aware-training
404-style-transfer-webcam
61 changes: 61 additions & 0 deletions .ci/ignore_treon_linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
107-speech-recognition-quantization
108-gpu-device
112-pytorch-post-training-quantization-nncf
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
214-grammar-correction
216-attention-center
220-cross-lingual-books-alignment
225-stable-diffusion-text-to-image
226-yolov7-optimization
227-whisper-subtitles-generation
228-clip-zero-shot-image-classification
231-instruct-pix2pix-image-editing
233-blip-visual-language-processing
234-encodec-audio-compression
235-controlnet-stable-diffusion
236-stable-diffusion-v2
237-segment-anything
238-deepfloyd-if
239-image-bind
240-dolly-2-instruction-following
241-riffusion-text-to-music
242-freevc-voice-conversion
247-code-language-id
248-stable-diffusion-xl
249-oneformer-segmentation
250-music-generation
251-tiny-sd-image-generation
252-fastcomposer-image-generation
253-zeroscope-text2video
254-llm-chatbot
255-mms-massively-multilingual-speech
256-bark-text-to-audio
257-llava-multimodal-chatbot
258-blip-diffusion-subject-generation
259-decidiffusion-image-generation
260-pix2struct-docvqa
261-fast-segment-anything
262-softvc-voice-conversion
263-latent-consistency-models-image-generation
264-qrcode-monster
265-wuerstchen-image-generation
266-speculative-sampling
267-distil-whisper-asr
269-film-slowmo
270-sound-generation-audioldm2
271-sdxl-turbo
272-paint-by-example
273-stable-zephyr-3b-chatbot
275-llm-question-answering
276-stable-diffusion-torchdynamo-backend
278-stable-diffusion-ip-adapter
281-kosmos2-multimodal-large-language-model
283-photo-maker
284-openvoice
285-surya-line-level-text-detection
286-instant-id
291-stable-diffusion-keras-cv
404-style-transfer-webcam
Loading