It seems that tensorpipe still depends on gloo.

It’s true for now, but only for initialization and shutdown. We will remove its dependency on gloo in future releases. (hopefully in v1.8)

It seems that process group needs too many ports. It will establish a connection between every two nodes, so that each server needs 32*1024 ports (32 servers * 32 processes) to establish a tcp connection. Do you have any plans to optimize it?

Good catch! I am not aware of any plan to improve gloo for this. cc @pbelevich