mirror of
https://github.com/bigscience-workshop/petals
synced 2024-10-31 09:20:41 +00:00
Increase default client's timeout
This commit is contained in:
parent
d8dac556a6
commit
38661887c0
@ -30,7 +30,7 @@ class RemoteSequenceManager:
|
|||||||
block_uids: Sequence[ModuleUID],
|
block_uids: Sequence[ModuleUID],
|
||||||
p2p: P2P,
|
p2p: P2P,
|
||||||
max_retries: int = 3,
|
max_retries: int = 3,
|
||||||
timeout: float = 5,
|
timeout: float = 20,
|
||||||
min_backoff: float = 1,
|
min_backoff: float = 1,
|
||||||
):
|
):
|
||||||
assert len(block_uids) > 0, "Sequences must contain at least one block"
|
assert len(block_uids) > 0, "Sequences must contain at least one block"
|
||||||
|
Loading…
Reference in New Issue
Block a user