Skip to content

Commit

Permalink
Merge pull request #56 from Xiao-Chenguang/acknowledge
Browse files Browse the repository at this point in the history
Add acknowledgement to the easydict project.
  • Loading branch information
Xiao-Chenguang authored Nov 21, 2024
2 parents 83e0bbd + 4f321ad commit 4ca6e74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ This is controlled by the parameter `NUM_PROCESS` which can be set in the [confi
Setting `NUM_PROCESS` to 0 will use the serialization mode where each client trains sequentially in same global round.
Setting `NUM_PROCESS > 0` will use the parallel mode where `NUM_PROCESS` workers consume the clients tasks in parallel.
The recommended value for `NUM_PROCESS` is the number of **CPU cores** available.

## Acknowledgement
- This project includes code from [easydict](https://github.com/makinacorpus/easydict), licensed under the GNU Lesser General Public License (LGPL) version 3.0.
See the [easydict's LICENSE](https://github.com/makinacorpus/easydict?tab=LGPL-3.0-1-ov-file) for details.
6 changes: 6 additions & 0 deletions fedmind/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ def __pow__(self, other):

class EasyDict(dict):
"""
An dot accessible dictionary.
Code modified from [easydict](https://github.com/makinacorpus/easydict) project.\\
Licensed under the LGPL version 3.0.
Get attributes
>>> d = EasyDict({'foo':3})
Expand Down

0 comments on commit 4ca6e74

Please sign in to comment.