Skip to content
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

Add FedSGLD Exp #520

Merged
merged 6 commits into from
Feb 15, 2023
Merged

Add FedSGLD Exp #520

merged 6 commits into from
Feb 15, 2023

Conversation

joneswong
Copy link
Collaborator

Fixed bugs and prepared scripts to compare FedSGLD with other algorithms

@joneswong joneswong added the bug Something isn't working label Feb 10, 2023
@joneswong joneswong changed the title Add FedSGLD Exp [WIP] Add FedSGLD Exp Feb 10, 2023
@joneswong joneswong changed the title [WIP] Add FedSGLD Exp Add FedSGLD Exp Feb 13, 2023

for (( i=0; i<5; i++ ))
do
CUDA_VISIBLE_DEVICES="${cudaid}" python federatedscope/main.py --cfg scripts/wide_valley_exp_scripts/fedentsgd_on_cifar10.yaml seed $i data.splitter_args "[{'alpha': ${lda_alpha}}]" trainer.local_entropy.gamma $gamma fedopt.optimizer.lr 1.0 fedopt.annealing $annealing trainer.local_entropy.eps $eps trainer.local_entropy.alpha $alpha train.optimizer.lr $lr expname fedentsgd_${lda_alpha}_${gamma}_${eps}_${annealing}_${i}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need & ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need as they would run on the same device

Copy link
Collaborator

@rayrayraykk rayrayraykk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rayrayraykk rayrayraykk merged commit b5870f7 into alibaba:master Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants