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

Implement shortest-path routing for inference #362

Merged
merged 13 commits into from
Jul 18, 2023
Prev Previous commit
Next Next commit
Decrease DHT's num_workers
  • Loading branch information
borzunov committed Jul 18, 2023
commit 59b7f2acab76b370a85b6f741a1fc86ebe20a026
2 changes: 1 addition & 1 deletion src/petals/client/routing/sequence_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
dht = DHT(
initial_peers=config.initial_peers,
client_mode=True,
num_workers=config.num_hidden_layers,
num_workers=32,
startup_timeout=config.daemon_startup_timeout,
start=True,
)
Expand Down
Loading