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

Direct server-to-server communication during finetuning #560

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dvmazur
Copy link
Collaborator

@dvmazur dvmazur commented Mar 9, 2024

This PR is meant to implement direct server-to-server communication via push messages, similar to ones in rpc_inference.

Note 2 self: minimal testing scenario

Run a server

python -m petals.cli.run_server Maykeye/TinyLLama-v0 --num_blocks 8 --new_swarm --identity_path server1.id --host_maddrs /ip4/127.0.0.1/tcp/1337

And then open ./examples/workbench_call_rpc_directly.ipynb

and replace INITIAL_PEERS and peer_id_string

@justheuristic justheuristic changed the title initial Efficient finetuning Mar 9, 2024
@justheuristic justheuristic changed the title Efficient finetuning Direct server-to-server communication during finetuning Mar 9, 2024
justheuristic added a commit that referenced this pull request Mar 17, 2024
…ers 4.38.2 (#563)

This pull request solves #560 using a solution proposed by @miaoqijun .
It also bumps transformers to the latest version to test with the latest code.

---------

Co-authored-by: Yingtong Dou <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant