mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
increase timeout
This commit is contained in:
parent
c9e8b68426
commit
10bec164a9
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
@ -183,4 +183,3 @@ jobs:
|
||||
export HF_TOKEN=${{ secrets.HF_TOKEN }}
|
||||
echo $DOCKER_IMAGE
|
||||
pytest -s -vv integration-tests ${PYTEST_FLAGS}
|
||||
|
||||
|
@ -56,7 +56,7 @@ def initialize_torch_distributed():
|
||||
backend = "nccl"
|
||||
options = ProcessGroupNCCL.Options()
|
||||
options.is_high_priority_stream = True
|
||||
options._timeout = timedelta(seconds=60)
|
||||
options._timeout = timedelta(seconds=120)
|
||||
else:
|
||||
backend = "gloo"
|
||||
options = None
|
||||
@ -76,7 +76,7 @@ def initialize_torch_distributed():
|
||||
backend="ccl",
|
||||
world_size=WORLD_SIZE,
|
||||
rank=RANK,
|
||||
timeout=timedelta(seconds=60),
|
||||
timeout=timedelta(seconds=120),
|
||||
pg_options=options,
|
||||
)
|
||||
else:
|
||||
@ -84,7 +84,7 @@ def initialize_torch_distributed():
|
||||
backend=backend,
|
||||
world_size=WORLD_SIZE,
|
||||
rank=RANK,
|
||||
timeout=timedelta(seconds=60),
|
||||
timeout=timedelta(seconds=120),
|
||||
pg_options=options,
|
||||
)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user