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

A number (most?) of Jupyter Notebooks appear to break browser rendering and notebook loading #1837

Open
1 of 2 tasks
tonykay opened this issue Mar 29, 2025 · 1 comment
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@tonykay
Copy link

tonykay commented Mar 29, 2025

System Info

Not execution related, ipynb file/cell format error?

Occurs on commit a4c086c - and most likely traces back to (or earlier)

https://github.com/meta-llama/llama-stack/pull/1734/files/41f0421dbf9deb3c8cd2bfb50ce34efc798da3c4#diff-2b8bf69a68673273ad8fb02bce7b7d20f06d372b91218ebcd813084b6cab26dc

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

Jupyter notes and browser-based browsing of the docs/zero_to_hero_guide appear broken (multiple browsers, including recent Chrome, Arc, etc.).

Juptyer fails to load with the following error (interestingly, VSCode does load the file as a notebook)

File Load Error for 01_Local_Cloud_Inference101.ipynb
Unreadable Notebook: /Users/tok/Dropbox/PARAL/Learning/learn-llamastack/llama-stack/docs/zero_to_hero_guide/01_Local_Cloud_Inference101.ipynb UnboundLocalError("cannot access local variable 'newcell' where it is not associated with a value")

Image

Error logs

File Load Error for 01_Local_Cloud_Inference101.ipynb
Unreadable Notebook: /Users/tok/Dropbox/PARAL/Learning/learn-llamastack/llama-stack/docs/zero_to_hero_guide/01_Local_Cloud_Inference101.ipynb UnboundLocalError("cannot access local variable 'newcell' where it is not associated with a value")

Expected behavior

I expect the notebook to both render whilst browsing and load into Jupyert Lab 4.3.6

@tonykay tonykay added the bug Something isn't working label Mar 29, 2025
@raghotham
Copy link
Contributor

Seems to be an issue only with the zero-to-hero notebooks. The notebooks at https://github.com/meta-llama/llama-stack/tree/main/docs/notebooks and https://github.com/meta-llama/llama-stack/blob/main/docs/getting_started.ipynb seem fine. Will investigate. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants