Skip to content

docs: Added native Pytorch DDP example with neps #470

docs: Added native Pytorch DDP example with neps

docs: Added native Pytorch DDP example with neps #470

Workflow file for this run

name: pre-commit
# This will prevent multiple runs of the same workflow from running concurrently
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
# Trigger manually
workflow_dispatch:
# Trigger on any push to the master
push:
branches:
- master
# Trigger on any push to a PR that targets master
pull_request:
branches:
- master
jobs:
run-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install the latest version uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.10'
version: latest
enable-cache: true
prune-cache: false
cache-dependency-glob: "**/pyproject.toml"
- name: install pre-commit hooks
run: uv run --all-extras pre-commit install
- name: Run pre-commit hooks
run: uv run --all-extras pre-commit run --all-files