The present application relates to the technical field of computers. Disclosed are a method and apparatus for managing a plurality of GPU BOXes, a device and a storage medium. The method comprises: acquiring identity identification information sent by second communication ports in a plurality of GPU BOXes connected to a plurality of first communication ports on a dual-node
server panel; on the basis of the identity identification information, determining the total number of the GPU BOXes and connection types between the GPU BOXes and the first communication ports; on the basis of the total number and the connection types, determining the
connection type between the current dual-node
server and the plurality of GPU BOXes and, on the basis of the
connection type, determining a target communication port from among the plurality of first communication ports; and, by means of a selector and / or a
bus arbiter, switching a target
bus link corresponding to the target communication port to the target communication port, so as to perform corresponding
channel management on the corresponding GPU BOX by means of the target communication port. The present application manages the plurality of GPU BOXes by the dual-node
server.