Skip to content

Notebook1 - #529

Open
morteza89 wants to merge 4 commits into
mainfrom
notebook1
Open

Notebook1#529
morteza89 wants to merge 4 commits into
mainfrom
notebook1

Conversation

@morteza89

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: morteza89 <51894034+morteza89@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an openvino_notebooks/ area to the repository, introducing a first “hello-npu” OpenVINO notebook packaged as a self-contained uv project to make setup and validation repeatable.

Changes:

  • Introduces top-level openvino_notebooks/README.md describing the planned notebook set and how to run each notebook as its own uv project.
  • Adds the hello-npu notebook, including accompanying README, pyproject.toml, Python pin, lockfile, and local .gitignore.
  • Checks in the Jupyter notebook content demonstrating device selection/fallback, caching options, performance hints, and benchmark_app comparisons.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
openvino_notebooks/README.md Documents the new notebooks folder and intended notebook lineup.
openvino_notebooks/hello-npu/README.md Provides usage, expected output, troubleshooting, and references for hello-npu.
openvino_notebooks/hello-npu/pyproject.toml Defines the uv-managed runtime dependencies for the notebook project.
openvino_notebooks/hello-npu/uv.lock Locks resolved dependencies for reproducible installs with uv.
openvino_notebooks/hello-npu/hello-npu.ipynb Implements the “hello-npu” tutorial notebook content and commands.
openvino_notebooks/hello-npu/.python-version Pins the project Python major/minor for environment consistency.
openvino_notebooks/hello-npu/.gitignore Ignores venv/cache/model artifacts generated by running the notebook.
openvino_notebooks/.gitkeep Ensures the directory exists in source control.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +546 to +550
"output_type": "stream",
"text": [
"C:\\Users\\m67he\\OneDrive\\Documents\\AI-PC-maintain\\AI-PC-Samples\\openvino_notebooks\\hello-npu\\.venv\\Lib\\site-packages\\tqdm\\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
" from .autonotebook import tqdm as notebook_tqdm\n"
]
Comment on lines +12 to +17
"#### Table of contents:\n",
"- [Introduction](#Introduction)\n",
" - [Install UV and required packages](#Install-UV-and-required-packages)\n",
"- [Checking NPU with Query Device](#Checking-NPU-with-Query-Device)\n",
" - [List the NPU with core.available_devices](#List-the-NPU-with-core.available_devices)\n",
" - [Check Properties with core.get_property](#Check-Properties-with-core.get_property)\n",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants