-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform deployment #44
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
14bf423
Add initial variant for testing
JMGaljaard 3730286
Update to mvp
JMGaljaard 62bcee9
add jupyter
JMGaljaard e9f4331
Update kubeflow deployment to for standalone release
JMGaljaard 9a62edb
Update kubeflow deployment to for standalone release
JMGaljaard 8fe63a2
Update codebase to make use of kubeflow 1.5.0 training operator
JMGaljaard 2e9b0ce
Update implementation
JMGaljaard 7633403
Cleanup old code from templates
JMGaljaard 19c3d48
Make use of zonal cluster
JMGaljaard e7bb81a
Update configuration object examples for new definition
JMGaljaard d84d67b
Clean up main file for starting/launching
JMGaljaard 57603f5
Update core to differentiate between federated and distributed tasks
JMGaljaard f6e0e6b
Clean up definition of datasets to differentiate between Distributed …
JMGaljaard 7f5c823
Make intention fo distributed datasets more clear
JMGaljaard 21ee969
Make DistributedConfig only import for type checking to prevent cycli…
JMGaljaard c5e01bc
Update imports and versions of objects for cluster utilities
JMGaljaard 0ab2f26
Update definitions in preparation for restructured configuration objects
JMGaljaard 7989ad6
Remove old objects from distributed configuration object
JMGaljaard a084e5a
Remove comment
JMGaljaard ab8d818
Clean up import list of learning config
JMGaljaard 612d4d6
Update parameter to re-allow for complex simulated types of jobs
JMGaljaard 122f013
Make test-ready version of deployment with Fed and Dis tasks
JMGaljaard bd21e9b
Update notebook
JMGaljaard c911900
Clean outputs
JMGaljaard 4e23a96
Update description of juptyer notebook
JMGaljaard 1d49bd6
udpate references to cost
JMGaljaard 7999dda
Move terraform directory to content root
JMGaljaard b02138a
Clean up deployment
JMGaljaard 473446a
Update README to use terraform by default
JMGaljaard 31bc22a
Remove old references to seeds, clean up objects
JMGaljaard 45a36c1
Unify reference to project name
JMGaljaard 614e850
Update notebook to reflect project name
JMGaljaard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
fltk: | ||
outputDir: output | ||
configDir: config | ||
workDir: /opt/federation-lab | ||
provider: | ||
domain: gcr.io | ||
projectName: test-bed-distml | ||
projectName: test-bed-fltk | ||
imageName: fltk:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,66 @@ | ||
[ | ||
{ | ||
"type": "distributed", | ||
"jobClassParameters": { | ||
"networkConfiguration": { | ||
"network": "FashionMNISTCNN", | ||
"lossFunction": "CrossEntropyLoss", | ||
"dataset": "mnist" | ||
}, | ||
"systemParameters": { | ||
"dataParallelism": 2, | ||
"configurations": { | ||
"default": { | ||
"cores": "1000m", | ||
"memory": "1Gi" | ||
} | ||
} | ||
}, | ||
"hyperParameters": { | ||
"default": { | ||
"batchSize": 128, | ||
"testBatchSize": 128, | ||
"learningRateDecay": 0.0002, | ||
"optimizerConfig": { | ||
"type": "Adam", | ||
"learningRate": 0.001, | ||
"betas": [ | ||
0.9, | ||
0.999 | ||
] | ||
{ | ||
"trainTasks": [ | ||
{ | ||
"type": "distributed", | ||
"lambda": 1.5, | ||
"preemptJobs": false, | ||
"jobClassParameters": [ | ||
{ | ||
"classProbability": 0.1, | ||
"priorities": [ | ||
{ | ||
"priority": 1, | ||
"probability": 0.9 | ||
}, | ||
{ | ||
"priority": 0, | ||
"probability": 0.1 | ||
} | ||
], | ||
"networkConfiguration": { | ||
"network": "FashionMNISTCNN", | ||
"lossFunction": "CrossEntropyLoss", | ||
"dataset": "mnist" | ||
}, | ||
"systemParameters": { | ||
"dataParallelism": 4, | ||
"configurations": { | ||
"default": { | ||
"cores": "1000m", | ||
"memory": "1Gi" | ||
} | ||
} | ||
}, | ||
"hyperParameters": { | ||
"default": { | ||
"totalEpochs": 100, | ||
"batchSize": 128, | ||
"testBatchSize": 128, | ||
"learningRateDecay": 0.0002, | ||
"optimizerConfig": { | ||
"type": "Adam", | ||
"learningRate": 0.001, | ||
"betas": [ | ||
0.9, | ||
0.999 | ||
] | ||
}, | ||
"schedulerConfig": { | ||
"schedulerStepSize": 50, | ||
"schedulerGamma": 0.5, | ||
"minimumLearningRate": 1e-10 | ||
} | ||
}, | ||
"configurations": { | ||
"Master": null, | ||
"Worker": null | ||
} | ||
}, | ||
"schedulerConfig": { | ||
"schedulerStepSize": 50, | ||
"schedulerGamma": 0.5, | ||
"minimumLearningRate": 1e-10 | ||
"learningParameters": { | ||
"cuda": false | ||
} | ||
}, | ||
"configurations": { | ||
"Master": null, | ||
"Worker": null | ||
} | ||
}, | ||
"learningParameters": { | ||
"totalEpochs": 100, | ||
"cuda": false | ||
}, | ||
"experimentConfiguration": { | ||
"randomSeed": [ | ||
1, | ||
41, | ||
42, | ||
43, | ||
430 | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .client import Client | ||
from .federator import Federator | ||
from .node import Node |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be addressed in #43