Skip to content

kernel: added logits soft cap support for attention (#362) #3

kernel: added logits soft cap support for attention (#362)

kernel: added logits soft cap support for attention (#362) #3

Workflow file for this run

# Deploying docs to GitHub Pages
name: Publish Docs
on:
push:
paths:
- "docs/**"
- ".github/workflows/publish_docs.yml"
branches:
- main
pull_request:
paths:
- "docs/**"
- ".github/workflows/publish_docs.yml"
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_call:
# Schedule the workflow to run at 9:00 (UTC) every month.
schedule:
# Minute[0,59] Hour[0,23] Day of month[1,31] Month[1,12] Day of week[0,6] (Sunday=0)
- cron: '0 9 1 * *'
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build HTML
run: |
cd docs
pip install -r requirements.txt
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html
# Deployment job
deploy:
# only deploy on new commits to main, or when triggered on-demand
if: |
github.event_name == 'push' ||
github.event_name == 'workflow_call' ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4