Open
Description
Hi, we observe that when many kernels are pushed to launch queue, the cudaMemcpyAsync used in flushing fifo can get blocked due to full launch queue, which in turn blocks the whole proxy thread? This can make the program hang as kernels already in execution are waiting for port channel operations to complete. The problem is severe when setting CUDA_DEVICE_MAX_CONNECTIONS=1
as required by some implementations NVIDIA/Megatron-LM#533. It also seems that the cudaMemcpyAsync
is not necessary in this case as port channel flush also check the trigger buffer in host memory?
Related to #503
Metadata
Metadata
Assignees
Labels
No labels