Skip to content

Add a Numba-enabled JupyterLite deployment - #2336

Open
anutosh491 wants to merge 5 commits into
pymc-devs:mainfrom
anutosh491:add-jupyterlite-numba-ci
Open

Add a Numba-enabled JupyterLite deployment#2336
anutosh491 wants to merge 5 commits into
pymc-devs:mainfrom
anutosh491:add-jupyterlite-numba-ci

Conversation

@anutosh491

Copy link
Copy Markdown
Contributor

Description

Related Issue

  • Closes #
  • Related to #

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@anutosh491

Copy link
Copy Markdown
Contributor Author

Here I build the current PyTensor source as a pure-Python wheel and deploy an executable JupyterLite notebook using xeus-python, Numba, and llvmlite from emscripten-forge.

The demonstration is adapted from PyTensor’s existing introduction notebook and compiles the same symbolic expression with mode="NUMBA", now running entirely in the browser. The workflow builds the site for every pull request and deploys it to GitHub Pages from main.

@anutosh491
anutosh491 force-pushed the add-jupyterlite-numba-ci branch from e70ff0c to 775ddf9 Compare August 10, 2026 05:43
@anutosh491

Copy link
Copy Markdown
Contributor Author

Closing and reopening to see if the CI enables.

@anutosh491 anutosh491 closed this Aug 10, 2026
@anutosh491 anutosh491 reopened this Aug 10, 2026
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
Comment thread .github/workflows/deploy-jupyterlite.yml Fixed
@anutosh491
anutosh491 force-pushed the add-jupyterlite-numba-ci branch from 2c7e54b to 3aeba62 Compare August 10, 2026 07:49
@anutosh491

Copy link
Copy Markdown
Contributor Author

Once this PR is merged, could you please enable GitHub Pages under Settings → Pages and select GitHub Actions as the deployment source?

The workflow will then deploy the JupyterLite site from main. Once complete, it should be available at:
"https://pymc-devs.github.io/pytensor/"

@ricardoV94

Copy link
Copy Markdown
Member

Can we add it to the docs instead of as a github page?

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