Graphic processor interconnection method and device and computer equipment

By integrating onboard optical modules in the graphics processor board and PCIe switch box, signal enhancement and transmission are achieved, which solves the problem of graphics processor interconnection relying on private protocols in the existing technology, provides a universal interconnection method, and expands application scenarios. and efficiency.

CN118796753APending Publication Date: 2024-10-18EVEX TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410803783.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing graphics processor interconnection solutions rely on proprietary high-speed interconnection protocols and lack a universal graphics processor interconnection solution, which limits data communication and application scenarios between graphics processors.

Method used

By integrating onboard optical modules in the graphics processor board and PCIe switch box, signal enhancement processing is achieved, and the PCIe switch box is used for signal transmission, supporting short-range and long-distance communication between graphics processors, and providing a universal interconnection method. .

Benefits of technology

It realizes flexible and diverse communication connections between graphics processors, expands application scenarios and application scope, improves the flexibility and efficiency of interconnection, and avoids dependence on private high-speed interconnection protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796753A_ABST
    Figure CN118796753A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a graphics processor interconnection method and device and computer equipment. The device comprises a graphics processor board, an onboard optical module, a PCIe switch box and a processor, the processor is used for responding to a communication configuration instruction, and enabling a first processor and a second processor in each graphics processor included in each graphics processor board to be in communication connection with the PCIe switch box; after detecting that the first processor initiates a signal transmission request, performing signal enhancement processing on a to-be-transmitted signal matched with the signal transmission request through each onboard optical module integrated by the first processor, and then sending the signal to the PCIe switch box; and the PCIe switch box is used for receiving the signal to be transmitted through the onboard optical module integrated by the PCIe switch box, performing signal enhancement processing on the signal to be transmitted through the onboard optical module integrated by the PCIe switch box, and transmitting the signal to be transmitted to the second processor, thereby realizing a universal GPU interconnection mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a graphics processor interconnection method, device and computer equipment. Background Art

[0002] With the development of artificial intelligence technology, the application of graphics processing unit (GPU), as a processor for processing image and graphics related operations, is becoming more and more extensive.

[0003] Generally, multiple graphics processor boards need to be integrated into computer devices to form a graphics processor cluster to provide powerful computing capabilities for the computer devices. Therefore, how to interconnect graphics processors to achieve data communication between graphics processors within or between boards has become a technical problem that needs to be solved urgently.

[0004] Existing graphics processor interconnection solutions mainly rely on private high-speed interconnection protocols and lack a universal graphics processor interconnection solution. Summary of the invention

[0005] The embodiments of the present application provide a graphics processor interconnection method, apparatus, and computer equipment, which realize a universal, direct interconnection method between graphics processors without relying on a proprietary high-speed interconnection protocol, thereby expanding the application scenarios and scope of graphics processor interconnection.

[0006] In a first aspect, an embodiment of the present application provides a graphics processor interconnection device, the device comprising: at least one graphics processor board, an onboard optical module, a PCIe switch box and a processor; wherein each of the graphics processor boards comprises a plurality of graphics processors; each of the graphics processors is integrated with at least one of the onboard optical modules; the number of the PCIe switch boxes is the same as the number of the onboard optical modules integrated with each of the graphics processors; the PCIe switch box is integrated with at least one of the onboard optical modules;

[0007] The processor is used to connect the first processor and the second processor of each graphics processor included in each graphics processor board to the PCIe switch box in communication in response to the communication configuration instruction; wherein the communication configuration instruction is used to configure the graphics processor that needs to be connected for communication; and after detecting that the first processor initiates a signal transmission request, the signal to be transmitted that matches the signal transmission request is sent to the PCIe switch box after the signal is enhanced by each onboard optical module integrated by the first processor; wherein the signal transmission request is used to request the transmission of signal data;

[0008] The PCIe switch box is used to receive the signal to be transmitted through the onboard optical module integrated in the PCIe switch box, and then transmit the signal to be transmitted to the second processor after performing signal enhancement processing on the signal to be transmitted again through the onboard optical module integrated in the PCIe switch box.

[0009] In a possible implementation, the PCIe switch box includes at least one PCIe switch; wherein the at least one PCIe switch is communicatively connected to each other; and each of the onboard optical modules integrated in the PCIe switch box is communicatively connected to the at least one PCIe switch.

[0010] In a possible implementation, the onboard optical module includes at least one first onboard optical module and at least one second onboard optical module; wherein the first onboard optical module indicates an onboard optical module integrated in each of the graphics processors; the second onboard optical module indicates an onboard optical module integrated in each of the PCIe switch boxes; wherein the number of second onboard optical modules integrated in the PCIe switch boxes is associated with the number of graphics processors to which the PCIe switch boxes are communicatively connected; each of the first onboard optical modules integrated in the graphics processors is communicatively connected to the corresponding second onboard optical modules in the corresponding PCIe switch boxes.

[0011] In a possible embodiment, the device also includes a first optical fiber connector, a second optical fiber connector and an optical cable; wherein each of the first onboard optical modules is communicatively connected to the first optical fiber connector; the second optical fiber connector is communicatively connected to each of the second onboard optical modules; and the first optical fiber connector and the second optical fiber connector are communicatively connected via the optical cable.

[0012] In a possible implementation, the device further includes a display and a configurator; wherein the configurator instructs the PCIe switch firmware or the baseboard management controller; the step of responding to the communication configuration instruction, connecting the first processor and the second processor of each graphics processor included in each graphics processor board to the PCIe switch box for communication, includes:

[0013] In response to the communication configuration instruction, displaying at least one configuration mode in the display; wherein the configuration mode is used to indicate whether the first processor and the second processor have been predetermined;

[0014] In response to a selection operation of a target mode in the at least one configuration mode, the configurator is called, and at least one configurable graphics processor matching the target mode is determined based on the configurator, and the at least one configurable graphics processor is displayed on the display; wherein the configurable graphics processor is used to indicate a predetermined processor domain, or to indicate a graphics processor capable of communication configuration; the processor domain is used to indicate a topological structure of connections between multiple graphics processors that need to be connected for communication and a PCIe switch box;

[0015] In response to a selection operation of a target processor in the at least one configurable graphics processor, determining the first processor and the second processor, and determining processor configuration information corresponding to the first processor and the second processor;

[0016] Based on the configurator and the processor configuration information, the first processor and the second processor are communicatively connected to the PCIe switch box.

[0017] In a possible implementation manner, the device further includes a memory; after determining processor configuration information corresponding to the first processor and the second processor, the device is further configured to:

[0018] Processor configuration information corresponding to the first processor and the second processor is stored in the memory.

[0019] In a possible implementation, based on the configurator and the processor configuration information, the first processor and the second processor are communicatively connected to the PCIe switch box, including:

[0020] Based on the configurator, obtaining the processor configuration information from the memory;

[0021] The processor configuration information is written into the port configuration of the PCIe switch box; and after the PCIe switch box topology is started, the first processor and the second processor are communicatively connected to the PCIe switch box.

[0022] In a possible implementation manner, the target mode indicates that the first processor and the second processor are not predetermined; after acquiring the processor configuration information from the memory, the configurator is further configured to:

[0023] Detecting the processor configuration information to obtain an information detection result; wherein the information detection result is used to indicate whether the processor configuration information is accurate;

[0024] If the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

[0025] In a second aspect, an embodiment of the present application provides a graphics processor interconnection method, which is applied to a processor in a graphics processor interconnection device; the graphics processor interconnection device includes at least one graphics processor board, an onboard optical module, a PCIe switch box and a processor; wherein each of the graphics processor boards includes a plurality of graphics processors; the at least one first onboard optical module is integrated in each of the graphics processors; each of the graphics processors is integrated with at least one onboard optical module; the number of the PCIe switch boxes is the same as the number of the onboard optical modules integrated in each of the graphics processors; the PCIe switch box is integrated with at least one onboard optical module; the method includes:

[0026] In response to a communication configuration instruction, a first processor and a second processor of each graphics processor included in each graphics processor board are communicatively connected to the PCIe switch box; wherein the communication configuration instruction is used to configure the graphics processor that needs to be communicatively connected;

[0027] After detecting that the first processor initiates a signal transmission request, the signal to be transmitted that matches the signal transmission request is sent to the PCIe switch box after being subjected to signal enhancement processing by each onboard optical module integrated by the first processor; wherein the signal transmission request is used to request transmission of signal data;

[0028] The PCIe switch box is used to receive the signal to be transmitted through the onboard optical module integrated in the PCIe switch box, and then transmit the signal to be transmitted to the second processor after performing signal enhancement processing on the signal to be transmitted again through the onboard optical module integrated in the PCIe switch box.

[0029] In a third aspect, an embodiment of the present application provides a computer device, wherein the computer device includes a graphics processor interconnection device as described in any one of the first aspects above.

[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the second aspect above.

[0031] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the second aspect above.

[0032] The graphics processor interconnection method, device and computer equipment provided in the embodiments of the present application can enable the various graphics processors included in at least one graphics processor board to communicate and connect through the onboard optical module and the PCIe switch box. At this time, the signal data can be enhanced by the onboard optical module, so that the attenuation of the signal to be transmitted during the transmission process is reduced and the anti-interference ability is enhanced, so that long-distance transmission can be performed. At this time, the signal data between different graphics processors can be transmitted with the help of the PCIe switch box, so that the graphics interconnection device can simultaneously support short-distance transmission and long-distance transmission of signal data, thereby realizing a general, direct interconnection method between graphics processors without relying on private high-speed interconnection protocols, expanding the application scenarios and scope of graphics processor interconnection. In specific implementation, the first processor and the second processor that need to be communicated in each image processor can be communicated and connected to the PCIe switch box in response to the communication configuration instruction, so that the signal to be transmitted from the first processor can be transmitted to the PCIe switch box after the signal enhancement processing by the onboard optical module, and then transmitted to the second processor after the signal enhancement processing by the onboard optical module based on the PCIe switch box, so as to realize data communication between different graphics processors. At this time, the first processor and the second processor can be graphics processors in the same graphics processor board or graphics processors in different graphics processor boards, and the number of the first processor and the second processor can be one or more, so that the communication connection between each graphics processor within or between boards can be flexibly configured according to actual needs, thereby improving the flexibility and diversity of graphics processor interconnection. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0034] Figure 1 A schematic diagram of the structure of a graphics processor interconnection device 1 provided in an embodiment of the present application;

[0035] Figure 2 A schematic diagram of the structure of a second graphics processor interconnection device provided in an embodiment of the present application;

[0036] Figure 3 A schematic diagram of the structure of a graphics processor interconnection device 3 provided in an embodiment of the present application;

[0037] Figure 4 A schematic diagram of the structure of a graphics processor interconnection device 4 provided in an embodiment of the present application;

[0038] Figure 5A schematic diagram of the structure of a graphics processor interconnection device 5 provided in an embodiment of the present application;

[0039] Figure 6 A flowchart of a graphics processor interconnection method provided in an embodiment of the present application;

[0040] Figure 7 A schematic diagram of a flow chart of another graphics processor interconnection method provided in an embodiment of the present application;

[0041] Figure 8 A schematic diagram of a process for obtaining processor configuration information provided in an embodiment of the present application;

[0042] Fig. 9 A schematic diagram of a process for connecting a first processor and a second processor to communicate with a PCIe switch box through an onboard optical module provided in an embodiment of the present application;

[0043] Fig.10 Another flowchart of connecting a first processor and a second processor to communicate with a PCIe switch box through an onboard optical module is provided in an embodiment of the present application;

[0044] Fig.11 A schematic diagram of an on-board graphics processor interconnection provided in an embodiment of the present application;

[0045] Fig.12 A schematic diagram of an inter-board graphics processor interconnection provided in an embodiment of the present application;

[0046] Fig.13 A schematic diagram of the structure of a computer device provided in this application.

[0047] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0049] First, the terms involved in this application are explained.

[0050] NVLink: is a proprietary high-speed, high-bandwidth interconnect technology.

[0051] HCCS: High-speed Custom Communication System, a private high-speed, high-bandwidth interconnection technology.

[0052] PCIe: refers to PCI-Express, Peripheral Component Interconnect Express, which is a public high-speed serial computer expansion bus standard.

[0053] Graphics Processor Board: Also known as GPU board, it is a hardware component equipped with multiple graphics processors; it can be inserted into the PCIe slot of a computer to provide powerful graphics processing and computing capabilities for the computer system.

[0054] On-board optical module: refers to an on-board optics module, which is mainly used for PCIe fiber optic signal enhancement, so that the fiber optic signal after signal enhancement can reduce attenuation during transmission and enhance anti-interference ability, so that PCIe fiber optic signal can be used for long-distance transmission.

[0055] PCIe Switch Box: refers to PCIe Switch Box, which allows multiple PCIe devices to be connected to the same PCIe bus and data can be transmitted between these devices.

[0056] PCIe switch: refers to PCIe Switch, which can provide expansion or aggregation capabilities and allow multiple devices to be connected to one PCle port.

[0057] PCIe switch firmware: refers to PCIe switch FW, which is embedded software used to manage and control PCIe switches.

[0058] Baseboard Management Controller: Baseboard Management Controller, referred to as BMC, is a hardware manager integrated into servers, network devices and other computer systems. It is mainly used to monitor the hardware status of the device, perform remote management operations, and provide monitoring and control functions for the device.

[0059] With the development of artificial intelligence technology and the actual demand for high-performance computing, GPUs are increasingly being used due to their powerful computing capabilities. Based on this, how to achieve efficient interconnection and communication between GPUs within or between GPU boards to further improve the computing performance of the system has become a technical problem that needs to be solved urgently.

[0060] Currently, communication between GPUs can be achieved through communication between CPUs, but this method has low bandwidth and is prone to communication bottlenecks. It is also impossible to achieve cross-head GPU communication, which in turn affects the performance of the computer system. Therefore, a communication method that directly interconnects GPUs is needed.

[0061] In one possible implementation, a switch based on the NVLink protocol can be used to achieve efficient interconnection and communication between GPUs within a GPU board or between GPU boards. However, this GPU interconnection method mainly relies on a private high-speed interconnection protocol and lacks versatility.

[0062] In another possible implementation, interconnection communication between GPUs can be achieved based on HCCS interconnection. However, this method not only relies on a private high-speed interconnection protocol, but is also only applicable to GPU interconnection within a GPU board, and has a limited scope of application.

[0063] The graphics processor interconnection device provided in the present application performs signal enhancement processing through an onboard optical module and transmits signal data with the help of a PCIe switch box. It can simultaneously support short-distance transmission and long-distance transmission of signal data, thereby realizing interconnection and communication between different graphics processors within a board or between boards to solve the above technical problems.

[0064] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0065] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of a graphics processor interconnection device 1 provided in an embodiment of the present application, such as Figure 1 As shown, the device includes: at least one graphics processor board 101 , an onboard optical module 102 , a PCIe switch box 103 and a processor 104 .

[0066] Among them, each graphics processor board 101 includes multiple graphics processors 1011; each graphics processor is integrated with at least one onboard optical module 102; the number of PCIe switch boxes 103 is the same as the number of onboard optical modules 102 integrated in each graphics processor 1011; and at least one onboard optical module 102 is integrated in the PCIe switch box 103.

[0067] For example, Figure 1As shown, in the case where each graphics processor 1011 integrates one onboard optical module 102, the number of PCIe switch boxes 103 is also 1. At this time, one onboard optical module 102 can be integrated in the PCIe switch box 103 (see Figure 1 ), and may also integrate multiple onboard optical modules 102 ( Figure 1 Not shown), there is no limitation on the number of onboard optical modules 102 that can be integrated in the PCIe switch box 103.

[0068] like Figure 1 As shown, the processor 104 is used to respond to the communication configuration instruction, connect the first processor and the second processor in each graphics processor 1011 included in each graphics processor board 101 to the PCIe switch box 103 for communication; and after detecting that the first processor initiates a signal transmission request, send the signal to be transmitted that matches the signal transmission request to the PCIe switch box 103 after performing signal enhancement processing on the onboard optical module 102 integrated by the first processor (see Figure 1 Path 1 shown), wherein the communication configuration instruction is used to configure the graphics processor that needs to be connected for communication; wherein the signal transmission request is used to request the transmission of signal data.

[0069] The PCIe switch box 103 is used to receive the signal to be transmitted through the onboard optical module 102 integrated in the PCIe switch box 103, and then transmit the signal to be transmitted to the second processor after the signal is enhanced by the onboard optical module 102 integrated in the PCIe switch box 103 (see Figure 1 Path 2).

[0070] The first processor is used to indicate the graphics processor that transmits signal data, and the second processor is used to indicate the graphics processor that receives signal data. At this time, the number of the first processor and the second processor can be one or more, and the number of the first processor and the number of the second processor can be the same or different, and the number of the first processor and the second processor is not specifically limited here.

[0071] In one example, assuming that the first processor is graphics processor 1 and the second processor is graphics processor 2, then the signal data in graphics processor 1 can be transmitted to graphics processor 2. At the same time, the first processor can also be graphics processor 2, in which case the second processor is graphics processor 1, thereby transmitting the signal data of graphics processor 2 to graphics processor 1, thereby realizing mutual communication / access between graphics processor 1 and graphics processor 2.

[0072] In the above implementation, each graphics processor included in at least one graphics processor board can be connected to each other through an onboard optical module and a PCIe switch box. At this time, the signal data can be enhanced by the onboard optical module, so that the attenuation of the signal to be transmitted is reduced during the transmission process and the anti-interference ability is enhanced, so that the PCIe optical fiber signal can be transmitted over a long distance. At this time, the signal data between different graphics processors can be transmitted with the help of the PCIe switch box, so that the graphics interconnection device can simultaneously support the short-distance transmission and long-distance transmission of the signal data, thereby realizing a general, direct interconnection method between graphics processors, without relying on a private high-speed interconnection protocol, and expanding the application scenarios and application scope of graphics processor interconnection. In specific implementation, in response to the communication configuration instruction, the first processor and the second processor that need to be connected to each image processor can be connected to the PCIe switch box for communication, so that the signal to be transmitted transmitted by the first processor can be transmitted to the PCIe switch box after the onboard optical module performs signal enhancement processing, and then based on the PCIe switch box, the onboard optical module performs signal enhancement processing again, and then transmits it to the second processor, thereby realizing data communication between different graphics processors. At this time, the first processor and the second processor can be graphics processors in the same graphics processor board or graphics processors in different graphics processor boards, and the number of the first processor and the second processor can be one or more, so that the communication connection between the graphics processors within the board or between boards can be flexibly configured according to actual needs, thereby improving the flexibility and diversity of graphics processor interconnection.

[0073] See also Figure 2 , Figure 2 A schematic diagram of the structure of the second graphics processor interconnection device provided in the embodiment of the present application, such as Figure 2 As shown, the device includes: at least one graphics processor board 201, an onboard optical module 202, a PCIe switch box 203 and a processor 204. Each graphics processor board 201 includes a plurality of graphics processors 2011; each graphics processor 2011 is integrated with at least one onboard optical module 202; the number of PCIe switch boxes 203 is the same as the number of onboard optical modules 202 integrated in each graphics processor 2011; and the PCIe switch box 203 is integrated with at least one onboard optical module 202.

[0074] Among them, the PCIe switch box 203 includes at least one PCIe switch 2031; wherein, at least one PCIe switch 2031 is communicatively connected to each other; each onboard optical module 202 integrated in the PCIe switch box 203 is communicatively connected to at least one PCIe switch 2031.

[0075] In one example, the number of PCIe switches included in the PCIe switch box can be determined based on the number of GPUs included in each graphics processor board, the links supported by the onboard optical module, and the specifications of the PCIe switch. For example, assuming that the number of GPU boards is 2, each GPU board includes 8 GPUs, and the link supported by the onboard optical module is x8 (where x8 means that the link supported by the onboard optical module is 8), the total number of GPUs is 32. Then, if the 32 GPUs are to be interconnected and communicated with each other, the PCIe switch box needs to include 256 Lanes (where 256 Lanes means 256 data paths). Then, the number of PCIe switches included in the PCIe switch box can be determined based on the specifications of the PCIe switch and the 256 Lanes. For example, if the specification of the PCIe switch is 128 Lanes, the number of PCIe switches is 2; if the specification of the PCIe switch is 256 Lanes, the number of PCIe switches is 1. Alternatively, if the specification of the PCIe switch is 256 Lanes, and 16 Lanes in the PCIe switch are used for other purposes, the number of PCIe switches is also 2.

[0076] In another example, the embodiment of the present application can also adjust the number of PCIe switches included in the PCIe switch box according to actual conditions. For example, after the PCIe switch is upgraded, if the number of data paths supported by the PCIe switch increases, the number of PCIe switches included in the PCIe switch box can also be adjusted.

[0077] This implementation manner can determine the number of PCIe switches included in the PCIe switch box according to actual needs, thereby avoiding waste of resources.

[0078] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of the graphics processor interconnection device 3 provided in the embodiment of the present application. Figure 3 As shown, the device includes: at least one graphics processor board 301, a PCIe switch box 303 and a processor 304, wherein each graphics processor board 301 includes a plurality of graphics processors 3011, and the PCIe switch box 303 may include a PCIe switch 3031.

[0079] like Figure 3As shown, the onboard optical module 302 in the device includes at least one first onboard optical module 3021 and at least one second onboard optical module 3022. The first onboard optical module 3021 indicates an onboard optical module integrated in each graphics processor 3011, and is used to communicate with the graphics processor 3011; the second onboard optical module 3022 indicates an onboard optical module integrated in each PCIe switch box 303, and is used to communicate with the PCIe switch included in the PCIe switch box. At this time, the number of PCIe switch boxes 303 is the same as the number of first onboard optical modules 3021 integrated in each graphics processor 3011.

[0080] Among them, the number of first onboard optical modules 3021 integrated in each graphics processor 3011 can be 1, 2, 8, etc. There is no limitation on the number of first onboard optical modules integrated in the graphics processor, which is subject to what can be implemented.

[0081] The number of the second onboard optical modules 3022 integrated in the PCIe switch box 303 is associated with the number of the graphics processors 3011 to which the PCIe switch box 303 is communicatively connected.

[0082] In one possible implementation, the number of second onboard optical modules 3022 integrated in the PCIe switch box 303 is half the number of graphics processors 3011 to which the PCIe switch box 303 is connected for communication, that is, two graphics processors 3011 are interconnected and communicate with each other through the same second onboard optical module 3022 .

[0083] In another possible implementation, in order to improve communication efficiency, the number of the second onboard optical modules 3022 is the total number of the first onboard optical modules 3021 integrated in each graphics processor 3011 to which the PCIe switch box 303 is connected for communication, for example, see Figure 3 , the number of graphics processors 3011 connected to the PCIe switch box 303 is 2, and each graphics processor 3011 is integrated with 1 first onboard optical module 3021, in this case, the number of second onboard optical modules 3022 is 2. Alternatively, the number of graphics processors 3011 connected to the PCIe switch box 303 is 2, and each graphics processor 3011 is integrated with 2 first onboard optical modules 3021, in this case, the number of second onboard optical modules 3022 is 4, and the number of second onboard optical modules integrated in the PCIe switch box is not limited here, and is subject to meeting actual needs.

[0084] Among them, each first onboard optical module 3021 integrated in the graphics processor 3011 is communicatively connected with the corresponding second onboard optical module 3022 in the corresponding PCIe switch box 303 .

[0085] In this implementation, the onboard optical module can be integrated into the graphics processor or the switch box, which can save space resources of the computer equipment, thereby being able to adapt to more application scenarios. At the same time, the number of second onboard optical modules integrated in the PCIe switch box can be determined according to the number of graphics processors connected to the PCIe switch box for communication, and the second onboard optical module can be set according to the actual communication performance requirements, thereby improving the efficiency of the interconnection and communication of the graphics processors.

[0086] For an example, see Figure 4 , Figure 4 This is a schematic diagram of the structure of the graphics processor interconnection device 4 provided in the embodiment of the present application. Figure 4 As shown, the device includes: at least one graphics processor board 401, a PCIe switch box 403 and a processor 404. Each graphics processor board 401 includes a plurality of graphics processors 4011, the PCIe switch box 403 includes a PCIe switch 4031, the graphics processor 4011 is integrated with a first onboard optical module 4021, the first onboard optical module 4021 is used for communication connection with the graphics processor 4011, and the PCIe switch box 403 is integrated with a second onboard optical module 4022, the second onboard optical module 4022 is used for communication connection with the PCIe switch 4031.

[0087] like Figure 4 As shown, the device further includes: a first optical fiber connector 405 , a second optical fiber connector 406 and an optical cable 407 .

[0088] Among them, each first onboard optical module 4021 is communicatively connected to the first optical fiber connector 405; the second optical fiber connector 406 is communicatively connected to each second onboard optical module 4022; and the first optical fiber connector 405 and the second optical fiber connector 406 are communicatively connected via an optical cable 407.

[0089] Among them, the first optical fiber connector and the second optical fiber connector are used to indicate connectors that can connect multiple optical fibers at one time. For example, the first optical fiber connector and the second optical fiber connector can be MPO (Multi-fiber Push On) connectors. There is no limitation on the types of the first optical fiber connector and the second optical fiber connector, which is subject to what can be implemented.

[0090] In this implementation, the first onboard optical module in the graphics processor and the second onboard optical module in the PCIe switch box can be connected through an optical fiber connector and an optical fiber, so that multiple optical fibers can transmit signal data simultaneously.

[0091] In one example, Figure 5A schematic diagram of the structure of a graphics processor interconnection device 5 provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device includes: at least one graphics processor board 501, a PCIe switch box 503 and a processor 504. Each graphics processor board 501 includes a plurality of graphics processors 5011, wherein the PCIe switch box 503 includes a PCIe switch 5031, a first onboard optical module 5021 is integrated in the graphics processor 5011, and the first onboard optical module 5021 is used for communication connection with the graphics processor 5011, a second onboard optical module 5022 is integrated in the PCIe switch box 503, and the second onboard optical module 5022 is used for communication connection with the PCIe switch 5031, the first onboard optical module 5021 is communicated with the first optical fiber connector 505; the second optical fiber connector 506 is communicated with each second onboard optical module 5022; the first optical fiber connector 505 and the second optical fiber connector 506 are connected via an optical cable 507.

[0092] like Figure 5 As shown, the device further includes: a display 508 and a configurator 509 .

[0093] The configurator 509 indicates the PCIe switch firmware or the baseboard management controller, or the configurator 509 may also be a SOC chip (System on Chip), etc. The specific type of the configurator is not limited here, as long as it can realize the communication connection between the configuration graphics processors.

[0094] In an example, Figure 5 As shown, the configurator 509 can be integrated into the PCIe switch box 503, and is used to communicate with the PCIe switch 5031 and the second onboard optical module 5022. On the one hand, the configurator 509 is communicated with the PCIe switch 5031, so that it can be used to configure the first processor and the second processor to communicate with the PCIe switch 5031, so as to achieve interconnection communication between the first processor and the second processor. On the other hand, the configurator 509 is communicated with the second onboard optical module 5022 to determine whether to enable the second onboard optical module 5022, and to determine the intensity of the signal enhancement processing performed on the transmission signal by the second onboard optical module 5022.

[0095] For example, when the first processor and the second processor are GPUs in the same GPU board, the onboard optical module does not need to be turned on for signal enhancement processing. When the first processor and the second processor are GPUs in different GPU boards, the onboard optical module can be turned on for signal enhancement processing, and the intensity of the signal enhancement processing performed by the second onboard optical module can be determined based on the distance between the PCIe switch and the second processor.

[0096] It should be noted here that the first onboard optical module that is communicatively connected to the graphics processor can be managed at the graphics processor board end. For example, it can be determined at the graphics processor board end whether the first onboard optical module needs to be enabled, and when the first onboard optical module is enabled, it can be determined that the intensity of the signal enhancement processing corresponding to the first onboard optical module is the intensity of the signal enhancement processing performed by the first onboard optical module.

[0097] On this basis, the graphics processor can be interconnected according to the processor, configurator and display. Figure 6 , Figure 6 A flowchart of a method for interconnecting graphics processors provided in an embodiment of the present application is shown below. Figure 6 As shown, the method includes:

[0098] S61. In response to a communication configuration instruction, a first processor and a second processor in each graphics processor included in each graphics processor board are communicatively connected to a PCIe switch box.

[0099] The communication configuration instruction is used to configure the graphics processor that needs to be connected for communication.

[0100] S62. After detecting that the first processor initiates a signal transmission request, the signal to be transmitted that matches the signal transmission request is subjected to signal enhancement processing by the onboard optical module integrated in the first processor, and then the signal is sent to the PCIe switch box; the PCIe switch box is used to receive the signal to be transmitted via the onboard optical module integrated in the PCIe switch box, and then transmit the signal to be transmitted to the second processor after the signal is again subjected to signal enhancement processing by the onboard optical module integrated in the PCIe switch box.

[0101] The signal transmission request is used to request the transmission of signal data.

[0102] In one example, for the above step S61: in response to the communication configuration instruction, the first processor and the second processor in each graphics processor included in each graphics processor board are connected to the PCIe switch box through the onboard optical module. The embodiment of the present application provides another graphics processor interconnection method, see Figure 7 , Figure 7 A flowchart of another method for interconnecting graphics processors provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the method includes:

[0103] S71. In response to the communication configuration instruction, display at least one configuration mode on a display.

[0104] The configuration mode is used to indicate whether the first processor and the second processor have been predetermined.

[0105] For example, the configuration mode may be a fixed configuration mode or a custom configuration mode, wherein the fixed configuration mode indicates that the first processor and the second processor have been predetermined, and the custom configuration mode indicates that the first processor and the second processor have not been predetermined.

[0106] S72. In response to a selection operation of a target mode in at least one configuration mode, call a configurator, determine at least one configurable graphics processor matching the target mode based on the configurator, and display the at least one configurable graphics processor on a display.

[0107] The configurable graphics processor is used to indicate a predetermined processor domain, or to indicate a graphics processor that can be configured for communication; the processor domain is used to indicate the topological structure of the connection between multiple graphics processors that need to be connected for communication and the PCIe switch box. For example, if the target mode indicates that the first processor and the second processor have been predetermined, that is, the target mode is a fixed configuration mode, the configurable graphics processor is used to indicate the predetermined processor domain. If the target mode indicates that the first processor and the second processor have not been predetermined, that is, the target mode is a custom configuration mode, the configurable graphics processor is used to indicate the graphics processor that can be configured for communication included in each graphics processing board.

[0108] S73: In response to the selection operation of the target processor in the at least one configurable graphics processor, determine the first processor and the second processor, and determine the processor configuration information corresponding to the first processor and the second processor.

[0109] In one example, if the target mode indicates a fixed configuration mode, the first processor and the second processor can be determined based on a predetermined processor domain. If the target mode indicates a custom configuration mode, the first processor and the second processor can be determined from the various graphics processors that can be configured for communication. For example, if graphics processors 1 and 2 in a custom graphics processor board 1 need to transmit signal data to graphics processor 3 in graphics processor board 2, then the first processor can be determined to be graphics processors 1 and 2 in graphics processor board 1, and the second processor can be determined to be graphics processor 3 in graphics processor board 2.

[0110] This implementation, on the one hand, can use a fixed configuration mode to quickly determine the processor configuration information of the first processor and the second processor, thereby increasing the speed of the interconnection between the first processor and the second processor and improving efficiency. On the other hand, the first processor and the second processor can be determined according to actual scenario requirements through a custom configuration mode, which not only broadens the application scenarios and scope of the graphics processor interconnection device, but also improves the flexibility and diversity of graphics processor interconnection.

[0111] In one example, the graphics processor interconnection device provided in the embodiment of the present application may further include a memory. At this time, after determining the processor configuration information corresponding to the first processor and the second processor, the processor configuration information corresponding to the first processor and the second processor may be stored in the memory.

[0112] In an example, the memory may be an electrically erasable programmable read only memory (EEPROM). The type of memory is not limited here, and is subject to implementation.

[0113] S74. Based on the configurator and the processor configuration information, the first processor and the second processor are communicatively connected to the PCIe switch box.

[0114] In one example, in the process of connecting the first processor and the second processor to communicate with the PCIe switch box through the onboard optical module based on the configurator and the processor configuration information, the processor configuration information can be first obtained from the memory based on the configurator; then, the processor configuration information is written into the port configuration of the PCIe switch box; and after the PCIe switch box topology is started, the first processor and the second processor are connected to communicate with the PCIe switch box through the onboard optical module.

[0115] In one example, if the target mode indicates that the first processor and the second processor are not predetermined, after obtaining the processor configuration information from the memory, the configurator may also detect the processor configuration information to obtain an information detection result; wherein the information detection result is used to indicate whether the processor configuration information is accurate. If the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

[0116] In one example, the processor configuration information includes at least a graphics processor to be configured, and each port in a PCIe switch that is configured to communicate with each graphics processor. For example, the processor configuration information may include: graphics processor 1 is communicated with port 0 in the PCIe switch, graphics processor 2 is communicated with port 1 in the PCIe switch, etc.

[0117] In one example, the information detection result indicates whether the graphics processor configured by the processor configuration information has a communication conflict. Since in the custom configuration mode, each port in the PCIe switch included in the PCIe switch box can only be configured with one graphics processor, thereby avoiding communication conflicts. At this time, if multiple graphics processors are configured in the same port in the same PCIe switch during the custom configuration process, it is determined that the configured graphics processor has a communication conflict. At this time, the information detection result indicates that the processor configuration information is inaccurate and an error is reported.

[0118] This implementation can detect the validity of the custom configuration in the custom configuration mode, so that when the detection is correct, the various graphics processors can be communicated and connected. When an error is detected, an error is reported to remind the user to make modifications, which helps to improve the accuracy of communication between graphics processor interconnection devices, avoid communication conflicts, and improve communication efficiency.

[0119] For an example, see Figure 8 , Figure 8 A flowchart of obtaining processor configuration information provided by an embodiment of the present application. Figure 8 As shown, after at least one configuration mode is displayed on the display in response to the communication configuration instruction, the target mode can be determined in response to a selection operation of a target mode in the at least one configuration mode.

[0120] At this time, it can be determined whether the target mode is a fixed configuration mode. If so, the link supported by each graphics processor in the graphics processor board (for example, Figure 8 As shown, 32 links, 16 links, and 8 links, etc.), determine at least one configurable graphics processor that matches the fixed configuration mode, that is, at least one predetermined processor domain that matches the fixed configuration mode. Afterwards, in response to the selection operation of the target processor in the at least one configurable graphics processor, determine the first processor and the second processor, and determine the processor configuration information corresponding to the first processor and the second processor. Then, save the processor configuration information to the memory.

[0121] If the target mode is a custom configuration mode, at least one configurable graphics processor matching the custom configuration mode may be displayed, that is, at least one graphics processor matching the custom configuration mode and capable of communication configuration is displayed. Then, in response to the selection operation of the target processor in the at least one configurable graphics processor, the first processor and the second processor are determined, and the processor configuration information corresponding to the first processor and the second processor is determined. Then, the processor configuration information is detected to determine whether the processor configuration information is accurate. If the information detection result indicates that the processor configuration information is accurate, the processor configuration information is saved in the memory. If the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

[0122] After obtaining the graphics processor configuration information, the processor configuration information can be configured to be effective upon restart. If the restart is effective, the process ends. If the restart is ineffective (that is, the processor configuration information is invalid when the configurator is detected to be restarted), the processor configuration information is configured to be invalid upon the next restart.

[0123] In an example, suppose that Figure 5 The configurator shown is the PCIe switch firmware. Fig. 9 , Fig. 9 A schematic diagram of a process for connecting a first processor and a second processor to communicate with a PCIe switch box through an onboard optical module is provided in an embodiment of the present application. Fig. 9 As shown, after the PCIe switch is powered on, the processor configuration information stored in the memory can be read, and it can be determined whether the processor configuration information is determined based on the fixed configuration mode.

[0124] If so, the read processor configuration information is written into the port configuration of the PCIe switch box through the PCIe switch firmware, and after determining that the PCIe switch has completed topology startup, the first processor and the second processor corresponding to the processor configuration information are communicatively connected.

[0125] If not, the processor configuration information is first detected, and after obtaining the information detection result, it is determined whether the processor configuration information is accurate. When it is determined that the information detection result indicates that the processor configuration information is accurate, the read processor configuration information is written into the port configuration of the PCIe switch box through the PCIe switch firmware. At this time, after determining that the PCIe switch completes the topology startup, the first processor and the second processor corresponding to the processor configuration information can be connected for communication. If it is determined that the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

[0126] In an example, suppose that Figure 5 The configurator shown is a baseboard management controller. In this case, see Fig.10 , Fig.10 Another flow chart of another embodiment of the present application is to connect the first processor and the second processor to communicate with the PCIe switch box through the onboard optical module. Fig.10 As shown, after the baseboard management controller and the PCIe switch are powered on, the baseboard management controller reads the processor configuration information stored in the memory, and determines whether the processor configuration information is determined based on the fixed configuration mode.

[0127] If yes, the processor configuration information is written into the port configuration of the PCIe switch box through the I2C (Inter-Integrated Circuit) interface by the baseboard management controller. After the PCIe switch is topologically started based on the baseboard management controller, the first processor and the second processor corresponding to the processor configuration information are connected in communication.

[0128] If not, the processor configuration information is first detected, and after obtaining the information detection result, it is determined whether the processor configuration information is accurate. When it is determined that the information detection result indicates that the processor configuration information is accurate, the processor configuration information is written into the port configuration of the PCIe switch box through the I2C (Inter-Integrated Circuit) interface through the baseboard management controller. After the PCIe switch is topologically started based on the baseboard management controller, the first processor and the second processor corresponding to the processor configuration information are communicated and connected. If it is determined that the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

[0129] After configuration according to the above implementation mode, GPUs can be interconnected and communicate with each other. The following is a schematic diagram of GPU interconnection after configuration according to the above method, with a specific embodiment.

[0130] For an example, see Fig.11 , Fig.11 A schematic diagram of an on-board graphics processor interconnection provided in an embodiment of the present application. Fig.11 As shown, it is assumed that the graphics processor board includes 8 GPUs, namely GPU0 to GPU7. Then, after the processor configuration information is determined according to the steps described in S71 to S74 above and saved in the memory, the saved processor configuration information can correspond to Fig.11 The predefined processor domains shown are described in detail in Fig.11 Processor domain 0 to processor domain 5 are shown.

[0131] like Fig.11As shown, the topological structure of the connection between the multiple graphics processors that need to be communicated and connected and the PCIe switch box indicated by the processor domain 0 is that GPU0~GPU3 are connected to ports 0~port 3 of the PCIe switch box (or the PCIe switch in the PCIe switch box); the topological structure of the connection between the multiple graphics processors that need to be communicated and connected and the PCIe switch box indicated by the processor domain 1 is that GPU4~GPU7 are connected to ports 4~port 7 of the PCIe switch box (or the PCIe switch in the PCIe switch box); the topological structure of the connection between the multiple graphics processors that need to be communicated and connected and the PCIe switch box indicated by the processor domain 2 is that GPU0 and GPU4 are connected to ports 8 and port 9 of the PCIe switch box (or the PCIe switch in the PCIe switch box); The topological structure of the connection between the multiple graphics processors that need to be communicated and the PCIe switch box indicated by processor domain 3 is that GPU1 and GPU5 are connected to port 10 and port 11 of the PCIe switch box (or the PCIe switch in the PCIe switch box); the topological structure of the connection between the multiple graphics processors that need to be communicated and the PCIe switch box indicated by processor domain 4 is that GPU2 and GPU6 are connected to port 12 and port 13 of the PCIe switch box (or the PCIe switch in the PCIe switch box); the topological structure of the connection between the multiple graphics processors that need to be communicated and the PCIe switch box indicated by processor domain 5 is that GPU3 and GPU7 are connected to port 14 and port 15 of the PCIe switch box (or the PCIe switch in the PCIe switch box).

[0132] For an example, see Fig.12 , Fig.12 A schematic diagram of an inter-board graphics processor interconnection provided in an embodiment of the present application. Fig.12 As shown, it is assumed that the graphics processor interconnection device includes 4 graphics processor boards, namely graphics processor board 1 to graphics processor board 4, and each graphics processor board includes 8 GPUs, namely GPU0 to GPU7. At this time, it is assumed that each GPU is integrated with 2 first onboard optical modules, then it can be determined that the number of PCIe switch boxes included in the device is also 2, that is, Fig.12 The PCIe switch box 1 and the PCIe switch box 2 are shown. Assume that each PCIe switch box includes two PCIe switches, namely, PCIe switch 1 and PCIe switch 2.

[0133] When interconnecting GPUs on this basis, each GPU can be divided into two parallel links, which are interconnected with the PCIe switches in the two PCIe switch boxes respectively, thereby realizing two parallel communication links. At this time, the BMC can be used to configure all 32 GPUs to communicate with the PCIe switch box, so that each GPU can communicate with each other.

[0134] It should be noted here that Fig.12 Only two first onboard optical modules are integrated in each GPU for explanation. In addition to two first onboard optical modules, each GPU can also integrate four, eight, or ten first onboard optical modules. There is no limitation on the number of first onboard optical modules that can be integrated in each GPU.

[0135] See also Fig.13 , Fig.13 This is a schematic diagram of the structure of a computer device provided in this application. Fig.13 As shown, the computer device provided in this embodiment includes any one of the above-mentioned graphics processor interconnection devices.

[0136] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0137] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0138] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0139] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0140] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0141] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A graphics processor interconnection device, It is characterized in that The device comprises: at least one graphics processor board, an onboard optical module, a PCIe switch box and a processor; wherein each of the graphics processor boards comprises a plurality of graphics processors; each of the graphics processors is integrated with at least one of the onboard optical modules; the number of the PCIe switch boxes is the same as the number of the onboard optical modules integrated with each of the graphics processors; the PCIe switch box is integrated with at least one of the onboard optical modules; The processor is used to connect the first processor and the second processor of each graphics processor included in each graphics processor board to the PCIe switch box in communication in response to the communication configuration instruction; wherein the communication configuration instruction is used to configure the graphics processor that needs to be connected for communication; and after detecting that the first processor initiates a signal transmission request, the signal to be transmitted that matches the signal transmission request is sent to the PCIe switch box after the signal is enhanced by each onboard optical module integrated by the first processor; wherein the signal transmission request is used to request the transmission of signal data; The PCIe switch box is used to receive the signal to be transmitted through the onboard optical module integrated in the PCIe switch box, and then transmit the signal to be transmitted to the second processor after performing signal enhancement processing on the signal to be transmitted again through the onboard optical module integrated in the PCIe switch box.

2. The device according to claim 1, It is characterized in that The PCIe switch box includes at least one PCIe switch; wherein the at least one PCIe switch is communicatively connected to each other; and each of the onboard optical modules integrated in the PCIe switch box is communicatively connected to the at least one PCIe switch.

3. The device according to claim 2, It is characterized in that The onboard optical module includes at least one first onboard optical module and at least one second onboard optical module; wherein the first onboard optical module indicates an onboard optical module integrated in each of the graphics processors, and is used to communicate and connect with the graphics processor; the second onboard optical module indicates an onboard optical module integrated in each of the PCIe switch boxes, and is used to communicate and connect with the PCIe switch included in the PCIe switch box; wherein the number of second onboard optical modules integrated in the PCIe switch box is associated with the number of graphics processors to which the PCIe switch box is communicatively connected; each of the first onboard optical modules integrated in the graphics processor is communicatively connected with the corresponding second onboard optical module in the corresponding PCIe switch box.

4. The device according to claim 3, It is characterized in that The device also includes a first optical fiber connector, a second optical fiber connector and an optical cable; wherein each of the first onboard optical modules is communicatively connected to the first optical fiber connector; the second optical fiber connector is communicatively connected to each of the second onboard optical modules; and the first optical fiber connector and the second optical fiber connector are communicatively connected via the optical cable.

5. The device according to any one of claims 1 to 4, It is characterized in that The device further includes a display and a configurator; wherein the configurator instructs the PCIe switch firmware or the baseboard management controller; the first processor and the second processor of each graphics processor included in each graphics processor board are communicatively connected to the PCIe switch box in response to the communication configuration instruction, including: In response to the communication configuration instruction, displaying at least one configuration mode in the display; wherein the configuration mode is used to indicate whether the first processor and the second processor have been predetermined; In response to a selection operation of a target mode in the at least one configuration mode, the configurator is called, and at least one configurable graphics processor matching the target mode is determined based on the configurator, and the at least one configurable graphics processor is displayed on the display; wherein the configurable graphics processor is used to indicate a predetermined processor domain, or to indicate a graphics processor capable of communication configuration; the processor domain is used to indicate a topological structure of connections between multiple graphics processors that need to be connected for communication and a PCIe switch box; In response to a selection operation of a target processor in the at least one configurable graphics processor, determining the first processor and the second processor, and determining processor configuration information corresponding to the first processor and the second processor; Based on the configurator and the processor configuration information, the first processor and the second processor are communicatively connected to the PCIe switch box.

6. The device according to claim 5, It is characterized in that The device further includes a memory; after determining processor configuration information corresponding to the first processor and the second processor, the device is further configured to: Processor configuration information corresponding to the first processor and the second processor is stored in the memory.

7. The device according to claim 6, It is characterized in that Based on the configurator and the processor configuration information, the first processor and the second processor are communicatively connected to the PCIe switch box, including: Based on the configurator, obtaining the processor configuration information from the memory; The processor configuration information is written into the port configuration of the PCIe switch box; and after the PCIe switch box topology is started, the first processor and the second processor are communicatively connected to the PCIe switch box.

8. The device according to claim 7, It is characterized in that The target mode indicates that the first processor and the second processor are not predetermined; after acquiring the processor configuration information from the memory, the configurator is further used to: Detecting the processor configuration information to obtain an information detection result; wherein the information detection result is used to indicate whether the processor configuration information is accurate; If the information detection result indicates that the processor configuration information is inaccurate, an error is reported.

9. A graphics processor interconnection method, It is characterized in that A processor used in a graphics processor interconnection device; the graphics processor interconnection device comprises at least one graphics processor board, an onboard optical module, a PCIe switch box and a processor; wherein each of the graphics processor boards comprises a plurality of graphics processors; the at least one first onboard optical module is integrated in each of the graphics processors; each of the graphics processors is integrated with at least one onboard optical module; the number of the PCIe switch boxes is the same as the number of the onboard optical modules integrated in each of the graphics processors; the PCIe switch box is integrated with at least one onboard optical module; the method comprises: In response to a communication configuration instruction, a first processor and a second processor of each graphics processor included in each graphics processor board are communicatively connected to the PCIe switch box; wherein the communication configuration instruction is used to configure the graphics processor that needs to be communicatively connected; After detecting that the first processor initiates a signal transmission request, the signal to be transmitted that matches the signal transmission request is sent to the PCIe switch box after being subjected to signal enhancement processing by each onboard optical module integrated by the first processor; wherein the signal transmission request is used to request transmission of signal data; The PCIe switch box is used to receive the signal to be transmitted through the onboard optical module integrated in the PCIe switch box, and then transmit the signal to be transmitted to the second processor after performing signal enhancement processing on the signal to be transmitted again through the onboard optical module integrated in the PCIe switch box.

10. A computer device, It is characterized in that The computer device comprises the graphics processor interconnection device according to any one of claims 1 to 8.