Fault maintenance method and device for graphics processor

By deploying the target detection module on the server, graphics processor faults are automatically detected and maintained, which solves the problem of low fault maintenance efficiency in the existing technology, improves fault handling efficiency, and ensures business continuity.

CN118567892APending Publication Date: 2024-08-30INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410703516.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The fault maintenance efficiency of graphics processors in the existing technology is low, causing distributed services to be affected and requiring manual disassembly and maintenance.

Method used

Deploy the target detection module on the server to monitor the operating parameters of the graphics processor, automatically detect faults and generate fault maintenance information, and perform fault maintenance operations, including software upgrades and hardware offline.

Benefits of technology

It realizes automatic detection and maintenance of graphics processor faults, improves fault maintenance efficiency, and avoids the impact of faults on business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567892A
    Figure CN118567892A
Patent Text Reader

Abstract

The embodiment of the invention provides a fault maintenance method and device for graphics processors, and the method comprises the steps: calling a target detection module to detect the current target operation parameters of the graphics processors in a process that a server calls a plurality of graphics processors; determining target fault information of a target graphics processor with a fault in the plurality of graphics processors according to the target operation parameters; target fault maintenance information for the target graphics processor is generated according to the target fault information, and the target fault maintenance information is used for indicating execution logic for executing fault maintenance operation on the target graphics processor; and performing fault maintenance on the target graphics processor according to the target fault maintenance information. Through the method and the device, the problem of relatively low fault maintenance efficiency of the graphics processor in related technologies is solved, and the effect of improving the fault maintenance efficiency of the graphics processor is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for maintaining a graphics processor. Background Art

[0002] With the rapid development of digital technology, the demand for servers is increasing. Servers can handle various services, such as website hosting, data storage, cloud computing, artificial intelligence services, etc. With the development of technologies such as artificial intelligence, deep learning, and big data, the demand for GPUs in servers is gradually increasing. GPU (Graphics Processing Unit) is a processor specifically used to process graphics and image calculations. In the fields of artificial intelligence and deep learning, a large number of matrix operations and parallel calculations require a large amount of computing resources, and GPUs are hardware devices that can provide such high-performance parallel computing capabilities. Therefore, in order to meet business needs, multiple GPUs are usually deployed in servers, and distributed services are handled through these GPUs. However, due to the instability of the GPU hardware itself, there will be various faults during operation. When a GPU fails in a distributed business, it will affect the handling of distributed tasks. At present, when technical personnel in the field encounter this problem, they can only manually disassemble and maintain the faulty GPU and execute the distributed task again from the beginning in the server, which is inefficient in GPU fault maintenance. Summary of the invention

[0003] The embodiments of the present application provide a method and device for maintaining a graphics processor fault, so as to at least solve the problem of low efficiency of maintaining a graphics processor fault in the related art.

[0004] According to an embodiment of the present application, a method for maintaining a fault of a graphics processor is provided. A plurality of graphics processors are deployed on a server. A target detection module is also deployed on the server. The target detection module is used to detect operating parameters of the graphics processor. The method is applied to the server and includes: in a process in which the server calls the plurality of graphics processors, calling the target detection module to detect current target operating parameters of the graphics processor;

[0005] Determining target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameter;

[0006] generating target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate execution logic for performing a fault maintenance operation on the target graphics processor;

[0007] Perform fault maintenance on the target graphics processor according to the target fault maintenance information.

[0008] Optionally, the generating target fault maintenance information for the target graphics processor according to the target fault information includes:

[0009] Acquiring operation information of the target graphics processor, wherein the operation information is used to indicate a business handling status of calling the graphics processor to handle a business;

[0010] generating a target fault maintenance operation of the target graphics processor according to the operation information and the target fault information;

[0011] The target fault maintenance information is determined according to the target fault maintenance operation.

[0012] Optionally, generating a target fault maintenance operation of the target graphics processor according to the operation information and the target fault information includes one of the following:

[0013] In a case where the operation information is used to indicate that the target graphics processor is not currently handling any business, the fault type of the target graphics processor is determined according to the fault information; in a case where the fault type is used to indicate that the fault of the target graphics processor is a software fault, the target fault maintenance operation is determined to be a program upgrade operation, wherein the program upgrade is used to perform a program upgrade on a software program deployed on the target graphics processor; in a case where the fault type is used to indicate that the fault of the target graphics processor is a hardware fault, the target fault maintenance operation is determined to be an offline operation, wherein the offline operation is used to control the target graphics processor to go offline and send a target notification message to a target account, wherein the target notification message is used to indicate that the target graphics processor has a hardware fault, and the target account is used to maintain the operation status of the server;

[0014] In a case where the operation information is used to indicate that the target graphics processor is processing a business, a maintenance operation table stored in the server is obtained, wherein the maintenance operation table records the correspondence between the fault identifier and the fault maintenance operation; and the target fault maintenance operation corresponding to the target fault identifier is queried from the maintenance operation table, wherein the target fault information includes the target fault identifier.

[0015] Optionally, determining the target fault maintenance information according to the target fault maintenance operation includes:

[0016] When there are multiple target fault maintenance operations, obtaining the priorities of the multiple target fault maintenance operations;

[0017] The target execution order of the fault maintenance operations is configured according to the priority, wherein the target fault maintenance information includes the target execution order of the target fault maintenance operations.

[0018] Optionally, after performing fault maintenance on the target graphics processor according to the target fault maintenance information, the method further includes:

[0019] Obtaining a fault maintenance result of the target graphics processor;

[0020] When the fault maintenance result indicates that the fault maintenance of the target graphics processor fails, obtaining a bus identification code of the target graphics processor, wherein the bus identification code is used to indicate a location of the target graphics processor in the server;

[0021] The target graphics processor is controlled to go offline using the bus identification code.

[0022] Optionally, the using the bus identification code to control the target graphics processor to go offline includes:

[0023] Using the bus identification code to search the server for a target folder corresponding to the target graphics processor, wherein the target folder is used to store target service data assigned to the service handled by the target graphics processor;

[0024] The target business data is backed up, and a hot-swap command of a high-speed serial expansion bus in a server is called to control the target graphics processor to go offline.

[0025] Optionally, calling the target detection module to detect the current target operating parameters of the graphics processor includes: acquiring target calling information stored in the server, wherein the target calling information records the calling logic of calling the target detection module for multiple operating parameters of the graphics processor, and the multiple operating parameters are used to characterize the operating performance of the graphics processor from multiple dimensions; calling the target detection module according to the target calling information to obtain the multiple target operating parameters output by the target detection module;

[0026] The step of determining target fault information of a target graphics processor having a fault among the multiple graphics processors according to the target operating parameters includes: matching the target operating parameters with corresponding fault detection conditions; and determining that the graphics processor has a target fault corresponding to the fault detection condition when the target operating parameters match the fault detection condition, and recording a target fault identifier of the target fault, wherein the target fault information includes the target fault identifier.

[0027] According to another embodiment of the present application, a fault maintenance device for a graphics processor is provided. A plurality of graphics processors are deployed on a server. A target detection module is also deployed on the server. The target detection module is used to detect operating parameters of the graphics processor. The method is applied to the server. The device includes: a calling module, used to call the target detection module to detect current target operating parameters of the graphics processor during the process of the server calling the plurality of graphics processors; a determining module, used to determine target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameters; a generating module, used to generate target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate execution logic for performing a fault maintenance operation on the target graphics processor; and a maintenance module, used to perform fault maintenance on the target graphics processor according to the target fault maintenance information.

[0028] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0029] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0030] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0031] Through the present application, a target detection module for monitoring the operating parameters of a graphics processor is deployed on a server, and then in the process of the server calling the graphics processor, the operating parameters of the graphics processor are detected by calling the target detection module, so that the graphics processor with a fault and the fault information corresponding to the fault can be determined according to the detected target operating parameters, and then by generating target fault maintenance information for the graphics processor in a faulty state according to the fault information, and using the fault maintenance information to perform fault maintenance on the target graphics processor, automatic detection of the fault information of the graphics processor and automatic maintenance of the detected fault are achieved, thereby avoiding the impact of the fault of the graphics processor on the business handled by the server. Therefore, the problem of low fault maintenance efficiency of the graphics processor in the related art can be solved, and the effect of improving the fault maintenance efficiency of the graphics processor can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a hardware structure block diagram of a server device of a method for maintaining a graphics processor fault according to an embodiment of the present application;

[0033] Figure 2 is a flowchart of a fault maintenance method for a graphics processor according to an embodiment of the present application;

[0034] Figure 3 is an optional fault diagnosis flowchart according to an embodiment of the present application;

[0035] Figure 4 is an optional fault maintenance schematic diagram according to an embodiment of the present application;

[0036] Figure 5 is an optional fault maintenance system architecture diagram according to an embodiment of the present application;

[0037] Figure 6 It is a structural block diagram of a fault maintenance device for a graphics processor according to an embodiment of the present application. DETAILED DESCRIPTION

[0038] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0040] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a server device of a method for maintaining a graphics processor fault according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 The server device includes a processor 102 (only one is shown) (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. A person skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0041] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the fault maintenance method of the graphics processor in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0043] In this embodiment, a method for maintaining a graphics processor fault is provided. Figure 2 is a flowchart of a method for maintaining a fault of a graphics processor according to an embodiment of the present application. A plurality of graphics processors are deployed on a server. A target detection module is also deployed on the server. The target detection module is used to monitor the operating parameters of the graphics processor. The method is applied to the server. Figure 2 As shown, the process includes the following steps:

[0044] Step S202, in the process of the server calling the plurality of graphics processors, calling the target detection module to detect the current target operating parameters of the graphics processor;

[0045] Step S204, determining target fault information of a target graphics processor having a fault among the multiple graphics processors according to the target operating parameters;

[0046] Step S206, generating target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate execution logic for performing a fault maintenance operation on the target graphics processor;

[0047] Step S208: performing fault maintenance on the target graphics processor according to the target fault maintenance information.

[0048] Through the above steps, by deploying a target detection module for monitoring the operating parameters of the graphics processor on the server, and then in the process of the server calling the graphics processor, the operating parameters of the graphics processor are detected by calling the target detection module, so that the graphics processor with a fault and the fault information corresponding to the fault can be determined according to the detected target operating parameters, and then by generating target fault maintenance information for the graphics processor in a faulty state according to the fault information, and using the fault maintenance information to perform fault maintenance on the target graphics processor, automatic detection of the fault information of the graphics processor and automatic maintenance of the detected fault are achieved, thereby avoiding the impact of the fault of the graphics processor on the business handled by the server. Therefore, the problem of low fault maintenance efficiency of the graphics processor in the related technology can be solved, and the effect of improving the fault maintenance efficiency of the graphics processor can be achieved.

[0049] Optionally, in an embodiment of the present application, the above-mentioned graphics processor fault maintenance method can be applied to a single server, or can also be applied to any server in a server cluster, for performing fault detection and fault maintenance operations on the graphics processor deployed on its own server, and this solution does not limit this.

[0050] Optionally, in an embodiment of the present application, the target detection module may be, but is not limited to, used to detect one or more operating parameters of the same graphics processor, and the multiple operating parameters are used to characterize the performance of the graphics processor from multiple dimensions. The target detection module may be, but is not limited to, DCGM (Data Center GPU Manager) (a tool set for managing and monitoring the status and performance of GPUs in a cluster), or it may also be a functional module after inserting tools such as EUD (GPU memory diagnostic tool) into DCGM, which is not limited in this solution.

[0051] In the embodiment provided in the above step S202, the process of the server calling the graphics processor may include but is not limited to the period after the graphics processor is called and the related pending business is not processed, and the period when the graphics processor is processing the business, and this solution does not limit this.

[0052] Optionally, in an embodiment of the present application, call information for a target detection module is deployed on the server, and the call information records the call logic for calling the target detection module to perform a detection operation. The call information may be pre-configured fixed call information, that is, a general or fixed call logic is deployed in the server, or the call information may also be set according to the business type of the target business that the server calls the graphics processor to handle and the processing stage of the target business handled by the graphics processor, that is, different business types require different call information, the call logic for calling the detection model is different, and the parameter dimensions of the operating parameters that need to be detected are also different; the call information used for different business stages of the same business is also different. For example, the dimensions of the operating parameters that need to be detected in the stage before handling the business and the stage during the business handling process are different, so different detection model call logics need to be used, so the call information is also different, and this scheme does not limit this.

[0053] In the embodiment provided in the above step S204, the target fault information is used to indicate the fault existing in the target graphics processor. The target fault information may include but is not limited to a fault identifier, a fault name, etc., which is not limited in this solution.

[0054] Optionally, in an embodiment of the present application, the method of determining the target fault information may include, but is not limited to, detecting a parameter dimension of a current target operating parameter; determining a target fault detection condition corresponding to the parameter dimension; matching the target fault detection condition with the target operating parameter of the parameter dimension; when the target fault detection condition and the target operating parameter match each other, determining that the graphics processor has a fault corresponding to the parameter dimension, and determining the fault identifier of the fault as the target fault information, which is not limited in the present application.

[0055] Optionally, in an embodiment of the present application, the failure of the graphics processor may include but is not limited to hardware failure and software failure, wherein the hardware failure may include but is not limited to: GPU card drop (the GPU card may fall out of the system due to PCIe line detachment or hardware failure), high temperature (GPU overheating may cause performance degradation or hardware damage), hardware error (ECC error or PCIe error); software failure may include but is not limited to: driver mismatch (Nvidia driver version is incompatible with cluster software requirements), Cuda version is not supported (CUDA version used by the cluster is incompatible with GPU driver or application), XID error (such as XID 43 is usually related to user application errors, while XID 31 may be related to MMU errors). The same graphics processor may have one or more failures at the same time, and this solution does not limit this.

[0056] In the embodiment provided in the above step S206, the target fault maintenance information may include but is not limited to recording the fault maintenance operation on the graphics processor and the operation execution timing information of the fault maintenance operation. The fault maintenance operation and the corresponding operation timing may be but are not limited to being determined based on the influence relationship between the current fault and other faults indicated by the fault information other than the current fault. The influence relationship includes the fault type and the fault priority information, etc. That is, the fault maintenance operation and the operation execution timing of the fault maintenance operation adopted in multiple fault sets composed of different faults for the same fault may be different. For example, the fault maintenance operations configured for fault A include a1, a2, and a3. When the fault set includes faults A, B, and C, the fault maintenance operation corresponding to fault A may be a1, and the fault maintenance operation is executed first. When the fault set includes A, D, and E, the fault maintenance operation corresponding to fault A may be a3, and the fault maintenance operation is executed last. This solution does not limit this.

[0057] In the embodiment provided in the above step S208, when the target fault maintenance information is used to perform fault maintenance, in order to ensure that the graphics processor is successfully maintained, the target fault maintenance information can be repeatedly called to perform fault maintenance operations on the target graphics processor multiple times. When the target graphics processor is still in a faulty state after the number of calls to the target fault maintenance information is greater than or equal to the target number of calls, it is determined that the fault maintenance operation of the target fault maintenance information has failed. At this time, it is necessary to transfer the business on the target graphics processor to other processors of the multiple graphics processors except the target graphics processor, and control the target graphics processor to go offline on the server, so as to ensure that the business handled on the server can continue to be handled without affecting the handling progress.

[0058] As an optional embodiment, generating target fault maintenance information for the target graphics processor according to the target fault information includes:

[0059] Acquiring operation information of the target graphics processor, wherein the operation information is used to indicate a business handling status of calling the graphics processor to handle a business;

[0060] generating a target fault maintenance operation of the target graphics processor according to the operation information and the target fault information;

[0061] The target fault maintenance information is determined according to the target fault maintenance operation.

[0062] Optionally, in an embodiment of the present application, the operation information is used to indicate the processing status of the graphics processor for the service. The operation information may include, but is not limited to, that the graphics processor has been assigned a target service and that the graphics processor is in a pending status for the target service, or that the graphics processor has been assigned a target service and that the graphics processor is processing the target service, or that the graphics processor is in the early, middle, or late stages of processing the target service, etc. This solution does not limit this.

[0063] Optionally, in an embodiment of the present application, script files corresponding to various fault maintenance operations may be deployed in the server, but are not limited to, and the execution logic of the corresponding fault maintenance operation is recorded in the script file. At the same time, the server also records the correspondence between the operation information, fault information and the fault maintenance operation. Then, when the target fault information of the target graphics processor and the current operation information of the target graphics processor are obtained, the correspondence between the operation information, fault information and the fault maintenance operation can be called, and the target fault maintenance operation corresponding to the current operation information and fault information of the target graphics processor can be found from the correspondence, and the corresponding script file can be called according to the target fault maintenance information, so as to perform the fault maintenance operation on the target graphics processor. This solution does not limit this.

[0064] Through the above content, by configuring different fault maintenance operations for different operating information of the graphics processor, it is possible to select the corresponding fault maintenance operation according to the processing stage of the graphics processor's business, thereby ensuring that the business processing is not affected while improving the fault maintenance efficiency.

[0065] As an optional embodiment, the generating the target fault maintenance operation of the target graphics processor according to the operation information and the target fault information includes one of the following:

[0066] In a case where the operation information is used to indicate that the target graphics processor is not currently handling any business, the fault type of the target graphics processor is determined according to the fault information; in a case where the fault type is used to indicate that the fault of the target graphics processor is a software fault, the target fault maintenance operation is determined to be a program upgrade operation, wherein the program upgrade is used to perform a program upgrade on a software program deployed on the target graphics processor; in a case where the fault type is used to indicate that the fault of the target graphics processor is a hardware fault, the target fault maintenance operation is determined to be an offline operation, wherein the offline operation is used to control the target graphics processor to go offline and send a target notification message to a target account, wherein the target notification message is used to indicate that the target graphics processor has a hardware fault, and the target account is used to maintain the operation status of the server;

[0067] In a case where the operation information is used to indicate that the target graphics processor is processing a business, a maintenance operation table stored in the server is obtained, wherein the maintenance operation table records the correspondence between the fault identifier and the fault maintenance operation; and the target fault maintenance operation corresponding to the target fault identifier is queried from the maintenance operation table, wherein the target fault information includes the target fault identifier.

[0068] Optionally, in an embodiment of the present application, the fault detection result performs hierarchical fault recovery and implements fault isolation, including: GPU card drop recovery, ECC error recovery, software stack and driver recovery, as follows: before the task starts execution, if it is determined that there is a hardware fault in the graphics processor, the graphics processor can be removed from the server and reported for repair; if the number of faulty graphics processors on the server is greater than a target threshold, the server can be removed from the server cluster and reported for repair; for faults that occur during task execution, after the task is completed, the graphics processor is removed from the cluster and the fault information is exported for repair.

[0069] Optionally, in an embodiment of the present application, if a software fault occurs before the task starts executing, the fault maintenance operation that can be performed is to upgrade the driver and cuda version: manually upgrade to the corresponding driver and cuda version according to the detection results.

[0070] Optionally, in the embodiment of the present application, a fault that occurs during the process of the graphics processor handling business requires fault maintenance. Table 1 is an optional maintenance operation table according to the embodiment of the present application, including: a primary key, a repair command, and a number of attempts (the number of attempts is to achieve the number of repetitions set for the fault repair, aiming to successfully maintain the fault of the graphics processor as much as possible), as shown in Table 1:

[0071] Table 1

[0072]

[0073] Reset ECC count: Use command nvidia-smi-p 0 to reset. If the reset fails 3 times, it will be marked as "Use PCIe hot-plug isolation". If the reset is successful, you need to use the corresponding check command to recheck. The whole process can be performed up to 3 times. XIDs error reset: First, check whether it is a software failure through the detection table. If so, reset the GPU logic. If not, it will be marked as "Use PCIe hot-plug isolation".

[0074] Through the above content, by setting different fault maintenance operations at different stages of the graphics processor's business handling, that is, before the graphics processor handles business, try to ensure the running performance of the graphics processor, perform related fault maintenance operations including manually installing CUDA (Compute Unified Device Architecture, parallel computing platform and programming model) and installing drivers or offline maintenance operations of the graphics processor, so as to maximize the performance of the graphics processor. In the process of the graphics processor handling business, try to ensure that the graphics processor can complete the business handling operations, so as to achieve the corresponding fault maintenance operations that adapt to the business handling status of the graphics processor and improve the business handling efficiency of the graphics processor.

[0075] As an optional embodiment, determining the target fault maintenance information according to the target fault maintenance operation includes:

[0076] When there are multiple target fault maintenance operations, obtaining the priorities of the multiple target fault maintenance operations;

[0077] The target execution order of the fault maintenance operations is configured according to the priority, wherein the target fault maintenance information includes the target execution order of the target fault maintenance operations.

[0078] Optionally, in the embodiment of the present application, the target fault maintenance information may be in the form of, but not limited to, a chart, that is, a configuration fault and repair strategy association table, which records the fault of the graphics processor, the fault maintenance operation required for the fault, and the operation execution sequence (target execution sequence). Table 2 is an optional fault and repair strategy association table according to the embodiment of the present application, including a fault primary key (fault identifier), a repair primary key (an identifier corresponding to the fault maintenance operation), and an execution sequence (the execution sequence of the fault maintenance operation), as shown in Table 2:

[0079] Table 2

[0080] Primary Key Fault primary key Repair primary key Execution Order 0 4 0 1 1 5 0 1 2 6 1 1 3 6 0 2 4 7 0 1

[0081] In the embodiment of the present application, a unified recovery interface is defined in the server, the above table is scanned, and the execution is performed serially in the execution order. Only when the previous recovery fails will the subsequent actions be continued, otherwise they are skipped directly. The user can customize the relevant characteristics in the table to complete the dynamic adjustment of the detection items. For the repair results, it is necessary to record the maintenance failure information (such as the failure time).

[0082] Through the above content, when there are multiple fault maintenance operations, by configuring the target execution order for the multiple fault maintenance operations according to the priorities of the fault maintenance operations, the multiple fault maintenance operations are ensured to be carried out in an orderly manner, thereby improving the fault maintenance efficiency.

[0083] As an optional embodiment, after performing fault maintenance on the target graphics processor according to the target fault maintenance information, the method further includes:

[0084] Obtaining a fault maintenance result of the target graphics processor;

[0085] When the fault maintenance result indicates that the fault maintenance of the target graphics processor fails, obtaining a bus identification code of the target graphics processor, wherein the bus identification code is used to indicate a location of the target graphics processor in the server;

[0086] The target graphics processor is controlled to go offline using the bus identification code.

[0087] Optionally, in an embodiment of the present application, after fault maintenance fails, fault isolation is required, and fault isolation is performed based on the repair result, which is divided into card-level isolation and node-level isolation, and the probability of task failure is reduced during the isolation process, as follows: PCIe hot plug: For the target fault information, obtain the corresponding Bus ID (Bus ID (bus identification code) is the bus address used to identify a specific hardware device. In a computer system, the bus address is a unique identifier used to determine the location of the device in the system), and find the corresponding folder in the operating system through the Bus ID, such as: / sys / bus / pci / devices / 0000:af:00.0, the files in the folder are packaged and backed up, and then the path sys / bus / pci / devices / 0000:af:00.0 is directly deleted. After execution is completed, execute the PCIe hot plug commands PRSNT 1 and PRSNT2. After execution is completed, nvidia-smi cannot see the faulty card. The entire task running process is card-level isolation. The entire process is unaware of the task execution and will not cause task failure. After the task is completed, the fault information is exported and the faulty node is removed for repair.

[0088] Through the above content, after the graphics processor's fault maintenance fails, the graphics processor is controlled to go offline, so that the graphics processor with the fault is called again to ensure the operation stability of the server.

[0089] As an optional embodiment, the using the bus identification code to control the target graphics processor to go offline includes:

[0090] Using the bus identification code to search the server for a target folder corresponding to the target graphics processor, wherein the target folder is used to store target service data assigned to the service handled by the target graphics processor;

[0091] The target business data is backed up, and a hot-swap command of a high-speed serial expansion bus in a server is called to control the target graphics processor to go offline.

[0092] Through the above content, the target business data of the graphics processor stored in the target folder of the graphics processor in the server is backed up, and after the backup, the hot-swap command of the high-speed serial expansion bus is called to perform an offline operation on the graphics processor, thereby ensuring the operating stability of the server and ensuring that the business being processed on the server is not affected.

[0093] As an optional embodiment, calling the target detection module to detect the current target operating parameters of the graphics processor includes:

[0094] Obtaining target call information stored in the server, wherein the target call information records the calling logic of calling the target detection module for multiple operating parameters of the graphics processor, and the multiple operating parameters are used to characterize the operating performance of the graphics processor from multiple dimensions; calling the target detection module according to the target call information to obtain the multiple target operating parameters output by the target detection module;

[0095] The step of determining target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameter includes:

[0096] matching the target operating parameters with corresponding fault detection conditions;

[0097] When the target operating parameter matches the fault detection condition, it is determined that the graphics processor has a target fault corresponding to the fault detection condition, and a target fault identifier of the target fault is recorded, wherein the target fault information includes the target fault identifier.

[0098] Optionally, in an embodiment of the present application, the target call information records the detection items for detecting the operating parameters of the graphics processor. In the present application, the user can customize the detection items according to the needs, and the detection items can be dynamically expanded by plug-in: by defining the fault detection sequence, script, and output standard, the dynamic expansion of the detection items is realized. In this embodiment, the target call information can be configured in the form of a table. Table 3 is an optional call information table according to an embodiment of the present application, as shown in Table 3:

[0099] Table 3

[0100]

[0101] Including detection primary key, script command, non-initialized execution (Y / N), execution order, initialized execution (Y / N), fault classification (0: hardware diagnosis, 1: performance diagnosis, 2: software stack diagnosis, 3: GPU card drop detection, 4: GPU health detection, 5: ECC error detection, 6: XIDs error detection, 7: custom). Define a unified detection entry, scan the above table, and execute serially in the execution order. Only the previous fault will continue to execute subsequent actions, otherwise it will be skipped directly. Users can customize related features in the table to complete the dynamic adjustment of detection items. Fault information output, the output target fault information is recorded, and the target fault information can be saved in but not limited to a table. Table 4 is an optional fault information table according to an embodiment of the present application, as shown in Table 4:

[0102] Table 4

[0103]

[0104] The content includes: node information, card uuid information, card busid information, fault primary key, fault details (currently this field is only used for recording), and only faulty cards will be recorded.

[0105] Figure 3 is an optional fault diagnosis flowchart according to an embodiment of the present application, such as Figure 3 As shown, when the fault diagnosis is started, it is detected whether the server is currently initializing to perform fault diagnosis. When it is determined that the fault diagnosis operation is initialized, the data corresponding to the data column for initialization execution in Table 3 is obtained for calling. When the fault diagnosis operation is not initialized, the data corresponding to the data column for non-initialization execution in Table 3 is obtained for calling, the response detection result is executed, and the fault result is recorded if a fault exists.

[0106] Figure 4 is an optional fault maintenance schematic diagram according to an embodiment of the present application, such as Figure 4 As shown, the target fault information of each GPU in the service area recorded in the fault information table is read, and then the recovery strategy table (i.e., Table 1) is read according to the target fault information, and it is detected whether the current execution is the initial execution fault maintenance operation of the GPU. In the stage of initializing the execution fault maintenance operation, it is detected whether it is a software stack fault. If the software stack fault is, the cuda and driver need to be manually installed, and if it is a non-software stack fault (hardware fault), it needs to be offline for maintenance. In the non-initial execution fault maintenance operation stage, a reply is made according to the recovery strategy corresponding to the fault information recorded in the recovery strategy table.

[0107] Figure 5 is an optional fault maintenance system architecture diagram according to an embodiment of the present application, such as Figure 5As shown, this embodiment mainly solves the following problems: environmental detection before starting a large-scale computing model task to eliminate the problem of task failure or poor task output due to software and driver level problems; since 80% of the faults can be solved by restarting, card-level restart is implemented through DCGM software; since a single card failure will cause the entire server to be unusable, the faulty card is attempted to be restarted and reset through PCIe hot start. If the restart fails, the faulty card is isolated through PCIe; unrepaired nodes or nodes with high failure rates are identified, and they are divided into unschedulable resource pools, and repairs are reported after the task is completed. Therefore, the fault maintenance method of this embodiment mainly includes three components: fault inspection (hierarchical detection of the status of GPU cards in the entire cluster, the inspection results are written into the node memory using a fixed data structure and persisted in the file, and the input items for fault repair mainly include: GPU card drop detection, GPU health detection, GPU three-level diagnosis, ECC error detection, XIDs error detection), fault repair (according to the fault detection results, hierarchical fault recovery is performed, and fault isolation is implemented, including: GPU card drop recovery, ECC error recovery, software stack and driver recovery), fault isolation (fault isolation is performed based on the repair results, which is divided into card-level isolation and node-level isolation, and the probability of task failure is reduced during the isolation process).

[0108] 1) Fault inspection component: hierarchically detect the status of GPU cards in the entire cluster. The inspection results are written into the node memory using a fixed data structure and persisted in a file. The input items used for fault repair mainly include: GPU card drop detection, GPU health detection, GPU level 3 diagnosis, ECC error detection, and XIDs error detection. The details are as follows: GPU level 3 diagnosis: Complete GPU level 3 diagnosis before running large model tasks or after fault repair to reduce the probability of failure during the operation of large models. The GPU level 3 diagnosis component is a plug-in component, and the diagnostic items can be dynamically expanded through scripts. The GPU will be used exclusively during the entire diagnostic process, and it will take about 2 hours. The specific diagnostic content is as follows:

[0109] Bad video memory page (hardware diagnosis): Install the EUD plug-in in DCGMI, and use the command dcgmi diag-r EUD-p "eud.passthrough_args = 'run_tests = compute, memory" ' to start scanning. The system has a built-in comparison table (from the GPU manufacturer). Compare the scan results with the built-in table. If there is a result, it means that there is a problem with the video memory and the resource pool needs to be removed. It belongs to the third-level diagnosis.

[0110] PCIe error (hardware diagnosis): Use the command dcgmi diag -r pcie -j to start the diagnosis. After the scan is complete, enter the result pass or no pass. This is a secondary diagnosis.

[0111] Memory bandwidth (performance diagnosis): Set the minimum bandwidth parameter minimum_bandwidth in the yml file (which can be adjusted according to actual conditions), and use the dcgmi diag -r 3 -c tests 1.yaml command to enable diagnosis. If the test result is no pass, it means that the memory bandwidth cannot meet the business scenario of the large model and the resource pool needs to be removed.

[0112] Software error (software stack diagnosis): Use the command dcgmi diag -r software -j to enable diagnosis. The scan results will show cuda errors, config errors, LIBRARY errors, etc. This is a first-level diagnosis.

[0113] GPU drop detection: Compare the lspci and nvidia-smi commands to output the drop information.

[0114] GPU health check: Use dcgmi to check the health status of the GPU. It is a non-invasive detection method that does not affect the use of services. The specific process is as follows: Enable health detection items: Use the command dcgmi health-set to enable health detection items. Common detection items include: PCIe, Memory, SM, Power, Driver. Get health detection information: Use the command dcgmi health-check to obtain monitoring detection results. Detection result analysis: If an error exists in a detection item in the detection result, the card is directly marked as faulty.

[0115] ECC error detection: A fault tolerance mechanism of the GPU itself. After it is enabled, bad pages of video memory can be added to the list. The details are as follows: Enable ECC fault tolerance: Use the command nvidia-smi-pm 1 to enable ECC fault tolerance. Configure ECC fault threshold: The calculation logic is video memory size / 4kb / 10000*0.6 rounded up. The relevant value can be adjusted according to the actual situation. For example, if the video memory is 40GB, the threshold is recommended to be configured as: 40*1024*1024 / 4 / 10000*0.6=629. Read ECC error value: Use the command nvidia-smi-q-dPAGE_RETIREMENT to read the error information and compare it with the threshold. If it is greater than the threshold, it is marked as a fault. XIDs error detection: Use the nvidia-smi command to obtain the XIDs error, and query the nvidia official website document according to the error number to determine whether it is a hardware fault or a software fault.

[0116] 2) Fault recovery: Based on the fault detection results, perform hierarchical fault recovery and implement fault isolation, including: GPU card drop recovery, ECC error recovery, software stack and driver recovery, as follows:

[0117] Direct repair: Before the task starts, the faulty node is directly removed from the cluster and repaired. If a fault occurs during the task execution, it is removed from the cluster after the task is completed and the fault information in 1 is exported for repair.

[0118] Upgrade the driver and cuda version: Manually upgrade to the corresponding driver and cuda version according to the detection results.

[0119] Reset GPU: Use command nvidia-smi-gpu-reset XXX to reset the GPU. If the reset fails three times, it will be directly marked as "Use PCIe hot plug isolation". If the reset is successful, you need to use the corresponding check command to recheck. The whole process can be executed up to 3 times.

[0120] Reset ECC count: Use command nvidia-smi -p 0 to reset. If the reset fails three times, it will be directly marked as "Use PCIe hot plug isolation". If the reset is successful, you need to use the corresponding check command to recheck. The whole process can be executed up to 3 times.

[0121] XIDs error reset: First, check whether it is a software failure through the detection table. If so, reset the GPU logic. If not, directly mark it as "Use PCIe hot plug isolation".

[0122] 3) Fault isolation component: Fault isolation is performed based on the repair results, which is divided into card-level isolation and node-level isolation, and the probability of task failure is reduced during the isolation process, as follows:

[0123] PCIe hot-plug: For the fault information in the execution result of process 2, obtain the corresponding busid, and find the corresponding folder in the operating system through the busid, such as: / sys / bus / pci / devices / 0000:af:00.0. Pack and back up the files in the folder, and then directly delete the path sys / bus / pci / devices / 0000:af:00.0. After the execution is completed, execute the PCIe hot-plug commands PRSNT1 and PRSNT2. After the execution is completed, nvidia-smi will not see the faulty card. The entire task operation process is isolated at the card level. The entire process is unaware of the task execution and will not cause the task to fail.

[0124] The above embodiment proposes a device for isolating GPU card faults based on DCGM and PCIe hot start. This case can not only solve the problem of task failure due to incompatible driver version or cuda version, but also improve the probability of successful task operation and resource utilization by resetting GPU through PCIe hot start and DCGM. This case is integrated into the product in the form of a plug-in, does not invade the original business, and reduces the impact on the large model business itself. Based on this case, not only the stability of the large model business itself is improved, but also the maintenance cost and technical risks are reduced, and the competitiveness of the AI ​​platform among similar products is improved.

[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0126] In this embodiment, a fault maintenance device for a graphics processor is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0127] Figure 6 is a structural block diagram of a fault maintenance device for a graphics processor according to an embodiment of the present application, such as Figure 6 As shown, a plurality of graphics processors are deployed on a server, and a target detection module is also deployed on the server, and the target detection module is used to detect the operating parameters of the graphics processor. The method is applied to the server, and the device includes:

[0128] A calling module, used for calling the target detection module to detect the current target operating parameters of the graphics processor during the process of the server calling the plurality of graphics processors;

[0129] A determination module, configured to determine target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameters;

[0130] A generating module, configured to generate target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate execution logic for performing a fault maintenance operation on the target graphics processor;

[0131] A maintenance module is used to perform fault maintenance on the target graphics processor according to the target fault maintenance information.

[0132] Through the above content, by deploying a target detection module for monitoring the operating parameters of the graphics processor on the server, and then in the process of the server calling the graphics processor, the operating parameters of the graphics processor are detected by calling the target detection module, so that the faulty graphics processor and the fault information corresponding to the fault can be determined according to the detected target operating parameters, and then by generating target fault maintenance information for the graphics processor in a faulty state according to the fault information, and using the fault maintenance information to perform fault maintenance on the target graphics processor, automatic detection of the fault information of the graphics processor and automatic maintenance of the detected faults are achieved, thereby avoiding the impact of the graphics processor failure on the business handled by the server. Therefore, the problem of low fault maintenance efficiency of the graphics processor in the related technology can be solved, and the effect of improving the fault maintenance efficiency of the graphics processor can be achieved.

[0133] Optionally, the generating module includes:

[0134] A first unit is used to obtain the operation information of the target graphics processor, wherein the operation information is used to indicate the business processing status of calling the graphics processor to process the business;

[0135] A generating unit, configured to generate a target fault maintenance operation of the target graphics processor according to the operation information and the target fault information;

[0136] A determining unit is used to determine the target fault maintenance information according to the target fault maintenance operation.

[0137] Optionally, the generating unit is used to perform one of the following operations:

[0138] In a case where the operation information is used to indicate that the target graphics processor is not currently handling any business, the fault type of the target graphics processor is determined according to the fault information; in a case where the fault type is used to indicate that the fault of the target graphics processor is a software fault, the target fault maintenance operation is determined to be a program upgrade operation, wherein the program upgrade is used to perform a program upgrade on a software program deployed on the target graphics processor; in a case where the fault type is used to indicate that the fault of the target graphics processor is a hardware fault, the target fault maintenance operation is determined to be an offline operation, wherein the offline operation is used to control the target graphics processor to go offline and send a target notification message to a target account, wherein the target notification message is used to indicate that the target graphics processor has a hardware fault, and the target account is used to maintain the operation status of the server;

[0139] In a case where the operation information is used to indicate that the target graphics processor is processing a business, a maintenance operation table stored in the server is obtained, wherein the maintenance operation table records the correspondence between the fault identifier and the fault maintenance operation; and the target fault maintenance operation corresponding to the target fault identifier is queried from the maintenance operation table, wherein the target fault information includes the target fault identifier.

[0140] Optionally, the determining unit is used to:

[0141] When there are multiple target fault maintenance operations, obtaining the priorities of the multiple target fault maintenance operations;

[0142] The target execution order of the fault maintenance operations is configured according to the priority, wherein the target fault maintenance information includes the target execution order of the target fault maintenance operations.

[0143] Optionally, the device further comprises:

[0144] A first acquisition module, configured to acquire a fault maintenance result of the target graphics processor after performing fault maintenance on the target graphics processor according to the target fault maintenance information;

[0145] A second acquisition module, configured to acquire a bus identification code of the target graphics processor when the fault maintenance result indicates that the fault maintenance of the target graphics processor has failed, wherein the bus identification code is used to indicate a location of the target graphics processor in the server;

[0146] The control module is used to control the target graphics processor to go offline using the bus identification code.

[0147] Optionally, the control module includes:

[0148] a search unit, configured to use the bus identification code to search the target folder corresponding to the target graphics processor in the server, wherein the target folder is used to store target service data assigned to the service handled by the target graphics processor;

[0149] The processing unit is used to back up the target business data and call the hot-swap command of the high-speed serial expansion bus in the server to control the target graphics processor to go offline.

[0150] Optionally, the detection module includes:

[0151] a second acquisition unit, configured to acquire target call information stored in the server, wherein the target call information records the call logic of calling the target detection module for multiple operating parameters of the graphics processor, and the multiple operating parameters are used to characterize the operating performance of the graphics processor from multiple dimensions; and a calling unit, configured to call the target detection module according to the target call information to obtain the multiple target operating parameters output by the target detection module;

[0152] The determining module comprises:

[0153] A matching unit, used to match the target operating parameter with a corresponding fault detection condition;

[0154] A determination unit is used to determine that the graphics processor has a target fault corresponding to the fault detection condition when the target operating parameter matches the fault detection condition, and record a target fault identifier of the target fault, wherein the target fault information includes the target fault identifier.

[0155] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0156] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0157] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0158] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0159] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0160] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0161] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0162] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.

[0163] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0164] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0165] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for troubleshooting a graphics processor, characterized in that: A plurality of graphics processors are deployed on a server, and a target detection module is also deployed on the server, and the target detection module is used to detect the operating parameters of the graphics processor. The method is applied to the server, and the method includes: In the process of the server calling the plurality of graphics processors, calling the target detection module to detect the current target operating parameters of the graphics processor; Determining target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameter; generating target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate execution logic for performing a fault maintenance operation on the target graphics processor; Perform fault maintenance on the target graphics processor according to the target fault maintenance information.

2. The method according to claim 1, characterized in that The generating target fault maintenance information for the target graphics processor according to the target fault information includes: Acquiring operation information of the target graphics processor, wherein the operation information is used to indicate a business handling status of calling the graphics processor to handle a business; generating a target fault maintenance operation of the target graphics processor according to the operation information and the target fault information; The target fault maintenance information is determined according to the target fault maintenance operation.

3. The method according to claim 2, characterized in that The generating the target fault maintenance operation of the target graphics processor according to the operation information and the target fault information comprises one of the following: In a case where the operation information indicates that the target graphics processor is not currently processing any service, determining a fault type of the target graphics processor according to the fault information; In the case where the fault type is used to indicate that the fault of the target graphics processor is a software fault, the target fault maintenance operation is determined to be a program upgrade operation, wherein the program upgrade is used to perform a program upgrade on a software program deployed on the target graphics processor; in the case where the fault type is used to indicate that the fault of the target graphics processor is a hardware fault, the target fault maintenance operation is determined to be an offline operation, wherein the offline operation is used to control the target graphics processor to go offline and send a target notification message to a target account, wherein the target notification message is used to indicate that the target graphics processor has a hardware fault, and the target account is used to maintain the running status of the server; In a case where the operation information is used to indicate that the target graphics processor is processing a business, a maintenance operation table stored in the server is obtained, wherein the maintenance operation table records the correspondence between the fault identifier and the fault maintenance operation; and the target fault maintenance operation corresponding to the target fault identifier is queried from the maintenance operation table, wherein the target fault information includes the target fault identifier.

4. The method according to claim 2, characterized in that: The determining the target fault maintenance information according to the target fault maintenance operation includes: When there are multiple target fault maintenance operations, obtaining the priorities of the multiple target fault maintenance operations; The target execution order of the fault maintenance operations is configured according to the priority, wherein the target fault maintenance information includes the target execution order of the target fault maintenance operations.

5. The method according to claim 1, characterized in that After performing fault maintenance on the target graphics processor according to the target fault maintenance information, the method further includes: Obtaining a fault maintenance result of the target graphics processor; When the fault maintenance result indicates that the fault maintenance of the target graphics processor fails, obtaining a bus identification code of the target graphics processor, wherein the bus identification code is used to indicate a location of the target graphics processor in the server; The target graphics processor is controlled to go offline using the bus identification code.

6. The method according to claim 5, characterized in that The step of using the bus identification code to control the target graphics processor to go offline includes: Using the bus identification code to search the server for a target folder corresponding to the target graphics processor, wherein the target folder is used to store target service data assigned to the service handled by the target graphics processor; The target business data is backed up, and a hot-swap command of a high-speed serial expansion bus in a server is called to control the target graphics processor to go offline.

7. The method according to claim 1, characterized in that The calling of the target detection module to detect the current target operating parameters of the graphics processor includes: Obtaining target call information stored in the server, wherein the target call information records the calling logic of calling the target detection module for multiple operating parameters of the graphics processor, and the multiple operating parameters are used to characterize the operating performance of the graphics processor from multiple dimensions; calling the target detection module according to the target call information to obtain the multiple target operating parameters output by the target detection module; The step of determining target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameter includes: Matching the target operating parameters with corresponding fault detection conditions; When the target operating parameter matches the fault detection condition, it is determined that the graphics processor has a target fault corresponding to the fault detection condition, and a target fault identifier of the target fault is recorded, wherein the target fault information includes the target fault identifier.

8. A graphics processor fault maintenance device, characterized in that: A plurality of graphics processors are deployed on a server, and a target detection module is also deployed on the server, and the target detection module is used to detect the operating parameters of the graphics processor. The method is applied to the server, and the device includes: A calling module, used for calling the target detection module to detect the current target operating parameters of the graphics processor during the process of the server calling the plurality of graphics processors; A determination module, configured to determine target fault information of a target graphics processor having a fault among the plurality of graphics processors according to the target operating parameters; A generation module is used to generate target fault maintenance information for the target graphics processor according to the target fault information, wherein the target fault maintenance information is used to indicate the execution logic of performing a fault maintenance operation on the target graphics processor; and a maintenance module is used to perform fault maintenance on the target graphics processor according to the target fault maintenance information.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method and device for determining fault graphic processing chip in computing power cluster and electronic equipment

    CN119759628A

  • Method, device and electronic device for determining faulty graphics processing chips in a computing cluster

    CN119759628B

  • Equipment fault processing method, electronic equipment, storage medium and program product

    CN120256187A

  • Device failure handling method, electronic device, storage medium, and program product

    CN120256187B

  • GPU (Graphics Processing Unit) fault repairing method, device, equipment, medium and product

    CN122363987A