mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-14 06:27:45 +08:00
fix [nvbug5351244]: test_mpi_session submit sync/async (#5608)
Signed-off-by: Superjomn <328693+Superjomn@users.noreply.github.com>
This commit is contained in:
parent
647e070ed6
commit
d6c81bad97
12
tests/unittest/llmapi/_test_remote_mpi_session.sh
Normal file
12
tests/unittest/llmapi/_test_remote_mpi_session.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
task=$1
|
||||
|
||||
echo "Starting remote MPI session test with task: $task"
|
||||
echo "MPI processes: 2"
|
||||
|
||||
# Add timeout to prevent infinite hanging
|
||||
timeout 60 mpirun -np 2 trtllm-llmapi-launch python3 _run_mpi_comm_task.py --task_type $task
|
||||
|
||||
echo "Remote MPI session test completed"
|
||||
@ -54,7 +54,6 @@ def run_client(server_addr, values_to_process):
|
||||
return f"Error in client: {str(e)}"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="https://nvbugs/5351244")
|
||||
@pytest.mark.parametrize("task_type", ["submit", "submit_sync"])
|
||||
def test_remote_mpi_session(task_type: Literal["submit", "submit_sync"]):
|
||||
"""Test RemoteMpiPoolSessionClient and RemoteMpiPoolSessionServer interaction"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user