Skip to content

Make torch and transformers imports optional #1475

Make torch and transformers imports optional

Make torch and transformers imports optional #1475

name: Build the documentation
on:
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build the documentation
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
pip install -r requirements-doc.txt
mkdocs build