Skip to content

Commit

Permalink
Merge branch 'develop' into torch-update
Browse files Browse the repository at this point in the history
  • Loading branch information
tanwarsh authored Jan 7, 2025
2 parents 816468d + 6bf229e commit a59cbeb
Show file tree
Hide file tree
Showing 61 changed files with 717 additions and 529 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker-bench-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Docker Bench for Security

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/double_ws_export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Double workspace export

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/experimental_workflow_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Workflow Interface Tests

on:
push:
branches: [ develop ]
branches:
- develop
- v1.7.x
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/gandlf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: GaNDLF TaskRunner

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Hadolint Security Scan

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/interactive-kvasir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Interactive API - Pytorch Kvasir UNet

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/interactive-tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Interactive API - Tensorflow MNIST

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Check code format

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/openfl-docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build and Push Openfl Docker Image

on:
push:
branches:
- develop
- v1.7.x
workflow_dispatch:
inputs:
version:
description: 'Version to tag the Docker image with'
required: false
default: 'latest'

env:
VERSION: ${{ github.ref == 'refs/heads/develop' && 'latest' || '1.7' }}

permissions:
contents: read
packages: write

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push OpenFL Base Image
uses: docker/build-push-action@v4
with:
context: .
file: openfl-docker/Dockerfile.base
push: true
tags: |
ghcr.io/${{ github.repository }}/openfl:${{ github.event.inputs.version || 'latest' }}
1 change: 0 additions & 1 deletion .github/workflows/pki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Private Key Infrastructure

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pytest_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Pytest and code coverage

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/straggler-handling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Straggler Handling Test

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/taskrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: TaskRunner

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/taskrunner_eden_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: TaskRunner (Eden Compression)

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tr_docker_gramine_direct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: TaskRunner (docker/gramine-direct)

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tr_docker_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: TaskRunner (docker/native)

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

permissions:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Trivy
on:
push:
branches: [ develop ]
branches:
- develop
- v1.7.x
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wf_functional_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name: Workflow_Functional_E2E

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

workflow_dispatch:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/workflow_interface_101_mnist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ name: Workflow Interface 101 MNIST Notebook

on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]

workflow_dispatch:
Expand Down
16 changes: 16 additions & 0 deletions docs/openfl.callbacks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
``openfl.callbacks`` module
===========================

.. currentmodule:: openfl.callbacks

.. automodule:: openfl.callbacks

.. autosummary::
:toctree: _autosummary
:recursive:

Callback
CallbackList
LambdaCallback
MetricWriter
MemoryProfiler
3 changes: 2 additions & 1 deletion docs/openfl.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. currentmodule:: openfl

Public API: ``openfl`` package
API Reference: ``openfl``
===========================

Subpackages
Expand All @@ -10,6 +10,7 @@ Subpackages
:maxdepth: 1

openfl.component
openfl.callbacks
openfl.cryptography
openfl.experimental
openfl.databases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ aggregator :
template : openfl.experimental.workflow.component.aggregator.Aggregator
settings :
rounds_to_train : 1
log_metric_callback :
template : src.utils.write_metric


collaborator :
Expand Down
Loading

0 comments on commit a59cbeb

Please sign in to comment.