Skip to content

Migrated all examples to the use of the new client, server, and trainer APIs. #1696

Migrated all examples to the use of the new client, server, and trainer APIs.

Migrated all examples to the use of the new client, server, and trainer APIs. #1696

Workflow file for this run

name: PyTorch CI Tests
permissions:
contents: read
pull-requests: read
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
PyTorch-Tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Training workloads
shell: bash -l {0}
run: |
uv run pytest tests
uv run plato.py --config configs/MNIST/fedavg_lenet5.yml
uv run plato.py --config configs/MNIST/fedavg_cross_silo_lenet5.yml
uv run plato.py --config configs/HuggingFace/fedavg_opt_lora.yml
uv run plato.py --config configs/MNIST/fedavg_async_lenet5.yml
uv run plato.py --config configs/MNIST/fedavg_lenet5_noniid.yml