You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
I debug the cifar10 example. For '''flsim/clients/base_client.py -> delta = self.compute_delta()''' pass the three-parameter "before", "after" and "model_to_save". And '''after=updated_model, model_to_save=updated_model''' And for the compute_delta function, it is return updated_model, it didn't calculate any difference.
To Reproduce
⚠️We cannot help you without you sharing reproducible code. Do not ignore this part :)
Steps to reproduce the behavior:
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
PyTorch Version (e.g., 1.0):
OS (e.g., Linux):
How you installed PyTorch (conda, pip, source):
Build command you used (if compiling from source):
🐛 Bug
I debug the cifar10 example. For '''flsim/clients/base_client.py -> delta = self.compute_delta()''' pass the three-parameter "before", "after" and "model_to_save". And '''after=updated_model, model_to_save=updated_model''' And for the compute_delta function, it is return updated_model, it didn't calculate any difference.
To Reproduce
Expected behavior
Environment
Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).
You can get the script and run it with:
conda,pip, source):Additional context