Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Jeffrey_Wigger_Master_Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SaCS
Semester-Projects
spring22
Jeffrey_Wigger_Master_Project
Commits
4c354428
Commit
4c354428
authored
2 years ago
by
Jeffrey Wigger
Browse files
Options
Downloads
Patches
Plain Diff
running with reddit 6
parent
69353274
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
eval/step_configs/config_reddit_sharing_local.ini
+7
-4
7 additions, 4 deletions
eval/step_configs/config_reddit_sharing_local.ini
src/decentralizepy/node/Node.py
+1
-1
1 addition, 1 deletion
src/decentralizepy/node/Node.py
with
8 additions
and
5 deletions
eval/step_configs/config_reddit_sharing_local.ini
+
7
−
4
View file @
4c354428
...
...
@@ -24,11 +24,14 @@ loss_package = torch.nn
loss_class
=
CrossEntropyLoss
[COMMUNICATION]
comm_package
=
decentralizepy.communication.TCPRandomWalk
Routing
comm_class
=
TCPRandomWalk
Routing
comm_package
=
decentralizepy.communication.TCPRandomWalk
comm_class
=
TCPRandomWalk
addresses_filepath
=
ip_addr_6Machines.json
sampler
=
equi
[SHARING]
sharing_package
=
decentralizepy.sharing.SharingDynamicGraph
sharing_class
=
SharingDynamicGraph
\ No newline at end of file
sharing_package
=
decentralizepy.sharing.TopKDPSGDRW
sharing_class
=
TopKDPSGDRW
alpha
=
1.0
accumulation
=
True
accumulate_averaging_changes
=
True
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/decentralizepy/node/Node.py
+
1
−
1
View file @
4c354428
...
...
@@ -512,7 +512,7 @@ class Node:
logging
.
info
(
"
disconnect neighbors
"
)
self
.
communication
.
disconnect_neighbors
()
logging
.
info
(
"
Storing final weight
"
)
self
.
model
.
dump_weights
(
self
.
weights_store_dir
,
self
.
uid
,
iteration
)
#
self.model.dump_weights(self.weights_store_dir, self.uid, iteration)
logging
.
info
(
"
All neighbors disconnected. Process complete!
"
)
def
__init__
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment