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

Make a server ping next servers #356

Merged
merged 8 commits into from
Jul 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Set ema_alpha = 0.2
  • Loading branch information
borzunov committed Jul 15, 2023
commit 218b37a05e9a130faa59aa8341b5023fc2f09bb3
2 changes: 1 addition & 1 deletion src/petals/utils/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def ping_parallel(peer_ids: Sequence[hivemind.PeerID], *args, **kwargs) ->


class PingAggregator:
def __init__(self, dht: hivemind.DHT, *, ema_alpha: float = 0.1, expiration: float = 3600):
def __init__(self, dht: hivemind.DHT, *, ema_alpha: float = 0.2, expiration: float = 3600):
self.dht = dht
self.ema_alpha = ema_alpha
self.expiration = expiration
Expand Down
Loading