OpenMined / KotlinSyft

The official Syft worker for secure on-device machine learning
https://www.openmined.org
Apache License 2.0
85 stars 28 forks source link

add checkpoint apis #319

Open galalen opened 3 years ago

galalen commented 3 years ago

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

Checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #319 (ae3cfed) into dev (c58854b) will increase coverage by 0.92%. The diff coverage is 34.67%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #319      +/-   ##
==========================================
+ Coverage   30.83%   31.76%   +0.92%     
==========================================
  Files          54       56       +2     
  Lines        1456     1571     +115     
  Branches      229      249      +20     
==========================================
+ Hits          449      499      +50     
- Misses        964     1025      +61     
- Partials       43       47       +4     
Impacted Files Coverage Δ
.../main/java/org/openmined/syft/execution/SyftJob.kt 14.06% <0.00%> (-5.09%) :arrow_down:
...java/org/openmined/syft/execution/TrainingState.kt 0.00% <0.00%> (ø)
...mined/syft/execution/checkpoint/ModelCheckPoint.kt 68.75% <68.75%> (ø)
.../syft/execution/checkpoint/CheckPointSerializer.kt 72.72% <72.72%> (ø)
...enmined/syft/networking/datamodels/ClientConfig.kt 20.00% <0.00%> (+20.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c58854b...ae3cfed. Read the comment docs.