Skip to content

Allow to change device, batch_size and num_workers of embedding… #167

Allow to change device, batch_size and num_workers of embedding…

Allow to change device, batch_size and num_workers of embedding… #167

Workflow file for this run

name: Test notebooks
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [closed]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
notebooks-test:
if: github.event_name == 'push'||github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install -E "all release jupyter classification" -vv
- name: Notebook runner
run: |
poetry run python -m scripts.notebook_runner