The invention discloses a communication method between
graphics processors, a product, equipment and a medium, relates to the technical field of high-performance calculation and
artificial intelligence acceleration, and is applied to a stand-alone
system comprising a plurality of
graphics processors and a central photoelectric
hybrid switching
chip constructed based on
interconnection of an electric switching matrix and an optical switching matrix. The
graphics processor is connected with the central photoelectric
hybrid switching
chip through an
optical link and an electric link; the method comprises the following steps: performing
data classification on to-be-transmitted data of a source graphics processor; if the to-be-transmitted data is a
control flow, the source graphics processor is controlled to send the to-be-transmitted data to an electric switching matrix through an electric link, and then the to-be-transmitted data is routed to a target graphics processor in the graphics processors; and if the to-be-transmitted data is a
data stream, the source graphics processor is controlled to send the to-be-transmitted data to the optical switching matrix through the
optical link, and then the to-be-transmitted data is routed to the target graphics processor.
Interconnection between graphics processors is optimized to improve communication efficiency between graphics processors.