Comments (1)
I think I have found one reason for this behaviour.
If the federate.method
is set to global
, there is no model_para
broadcast (see the workers/server,py
file) to the single client (worker idx is 1
I think) where the local training happens. Moreover, since the merge_test_data
is set to True
and make_global_eval
is also set to True
, the evaluation happens on the server (worker idx 0
) which has never received the updated model.
I think if the method is set to global
, possibly we should not activate the merge_test_data
or make_global_eval
. Please correct me. The same reasoning applies in the case when federate.method
is set to local
since there is also no broadcast in this setting as well.
from federatedscope.
Related Issues (20)
- Offsite tuning code with multigpu setting throws error HOT 3
- Smaller test/val loss but lower evaluation accuracy HOT 3
- How to use multi GPU to finetune Llama2 HOT 2
- Unable to run demo in hyperparameter optimization HOT 2
- Server global evaluation total number HOT 1
- Error with 4 bit quantized LLM HOT 3
- TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs' HOT 6
- Some questions about Backdoor Bench HOT 2
- 训练得到的total_flops是负数 HOT 2
- LDA splitter:ValueError: too many values to unpack (expected 2) HOT 2
- how can i use my saving model HOT 1
- how can i use my saving model HOT 3
- How can i get the output result? HOT 1
- Soft prompt Tuning
- one bug in federatedscope/gfl/fedsageplus/trainer.py
- 关于图学习中链接任务的样例使用错误 HOT 1
- 运行代码FederatedScope/tree/FSreal,得不到想要的结果,请问可能是什么原因?
- GPU Memory Issue HOT 10
- too many values to unpack (expected 2) in model_builder.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from federatedscope.