Skip to content

Add four notebooks: MLA, inference systems, linear/sparse attention #111

Add four notebooks: MLA, inference systems, linear/sparse attention

Add four notebooks: MLA, inference systems, linear/sparse attention #111

Workflow file for this run

name: Deploy Web App to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install nbformat nbconvert
- name: Install web dependencies
working-directory: web
run: npm ci
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Build web app
working-directory: web
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4