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

Federated fine-tuning recipes #2170

Open
krammnic opened this issue Dec 18, 2024 · 0 comments
Open

Federated fine-tuning recipes #2170

krammnic opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@krammnic
Copy link
Contributor

SmolLM was interesting example of federated paradigm for LLM applications. There are several frameworks for this task like OpenFedLLM, but they have different design problems. With simplicity and structure of torchtune it might be really interesting to propose something like this. I assume that just 2 new recipes is enough at this point:

local.yaml - recipe for local machines.
global.yaml - recipe for main global machine.

For each local recipe common procedure is done(same procedure as for one machine) on selected data partition. Then weights are aggregated by common FedOPT or FedProx procedure. @joecummings You had some ideas on this point either. Could you share them please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants