Large model configuration management method and system of cloud platform

By implementing a large-model configuration management method and system on the cloud platform, the problems of low resource utilization and performance optimization of large models on the cloud platform are solved, achieving efficient, flexible and secure configuration management, and improving resource utilization and performance optimization.

CN118819618APending Publication Date: 2024-10-22SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410962919.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Traditional configuration management methods cannot meet the high efficiency, flexibility and security requirements of large models on cloud platforms, especially in terms of low resource utilization and difficulty in performance optimization.

Method used

By combining steps such as configuration writing, distribution, script generation and execution, collection of monitoring information and alarms, and large model configuration operation module, agent module, database module and monitoring collection module, flexible configuration management of large models on the cloud platform is realized. Node tags and resource monitoring data are used for unified configuration distribution, and alarms are issued in a timely manner when anomalies occur.

Benefits of technology

It enables efficient, flexible, and secure configuration management of large models on the cloud platform. By guiding the formulation of configuration files through resource monitoring data, it ensures the flexibility of configuration and timely handling of anomalies, thereby improving resource utilization and performance optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819618A_ABST
    Figure CN118819618A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of big data processing, in particular to a big model configuration management method and system for a cloud platform. Issuing large model configuration; generating and executing a large model configuration script; collecting monitoring information and warning; the large model configuration management method and system of the cloud platform provided by the invention have the beneficial effects that flexible loading of large model configuration is realized by customizing resources by utilizing a cloud platform resource arrangement management technology. Through the node labels, a unified configuration issuing method is provided, and the resource monitoring data is fed back to the user in real time, so that configuration files can be conveniently and flexibly made according to the monitoring data. Meanwhile, when the large model is abnormal, operation and maintenance personnel are timely notified through alarm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of big data processing, and in particular to a large model configuration management method and system for a cloud platform. Background Art

[0002] With the rapid development of artificial intelligence and big data technologies, large models (such as deep learning models) have been widely used in various fields. However, the configuration management of large models faces many challenges, such as low resource utilization, performance optimization difficulties, and data security issues.

[0003] Traditional configuration management methods often cannot meet the efficiency, flexibility and security requirements of large models on cloud platforms.

[0004] Therefore, it is necessary to design a new large model configuration management method and system based on cloud platform. Summary of the invention

[0005] The purpose of the present invention is to provide a large model configuration management method and system for a cloud platform to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solution: a large model configuration management method for a cloud platform, the method comprising the following methods:

[0007] Configuration writing;

[0008] Large model configuration is issued;

[0009] Large model configuration script generation and execution;

[0010] Collect monitoring information and alarms.

[0011] Preferably, the specific operations of configuration writing include:

[0012] View the current monitoring information of each node in the web interface and fill in the large model configuration information.

[0013] Preferably, the specific operations of sending the large model configuration include:

[0014] Get the configuration information list from the web interface. The large model configuration operation module in the model-operator processes the configuration list into the large model CR configuration and sends the generated configuration to the model-agent on the destination node through the node label.

[0015] The data management module in model-operator synchronizes the configuration results obtained from the front end to the database and persists the large model configuration information.

[0016] Preferably, the specific operations of generating and executing the large model configuration script include:

[0017] Model-agent processes the configuration file sent to this node into a startup script and executes the script to start the large model service;

[0018] Model-agent updates the latest model startup information to the collector configuration file. After the collector is reloaded, it monitors the current large model and node information according to the latest configuration.

[0019] Preferably, the specific operations of collecting monitoring information and alarms include:

[0020] Model-agent synchronizes the latest monitoring requirements to the collector. Currently, the open source component telegraf is used as the collector. Telegraf has the feature of hot configuration loading.

[0021] Prometheus regularly pulls node GPU, CPU, memory, disk and IO monitoring information;

[0022] The model-web module backend regularly calls the prometheus interface to obtain real-time monitoring data and feeds it back to users;

[0023] Built-in alarm rules, when the environment is abnormal, the alarm will be pushed to the operation and maintenance personnel in time through the alertmanager.

[0024] A large model configuration management system for a cloud platform, a large model configuration management method for a cloud platform, the system comprising a large model configuration operation module, a large model configuration agent module, a database module and a monitoring and acquisition module;

[0025] The large model configuration operation module is responsible for processing and distributing the configuration information obtained from the user test;

[0026] The large model configuration agent module is responsible for processing the configuration file into a large model startup script and executing it; at the same time, it updates the collector configuration to ensure the accuracy of monitoring;

[0027] Database module, persists large model configuration information;

[0028] The monitoring and collection module is responsible for collecting node GPU, CPU, memory, disk and IO monitoring information, and notifying the operation and maintenance personnel when an abnormality occurs.

[0029] Preferably, the large model configuration operation module checks the current monitoring information of each node in the web interface and fills in the large model configuration information.

[0030] Preferably, the large model configuration agent module obtains the configuration information list from the web interface, and the large model configuration operation module in the model-operator processes the configuration list into the large model CR configuration, and sends the generated configuration to the model-agent on the destination node through the node label;

[0031] The data management module in model-operator synchronizes the configuration results obtained from the front end to the database and persists the large model configuration information.

[0032] Preferably, the database module, model-agent processes the configuration file sent to the node into a startup script, and executes the script to start the large model service;

[0033] Model-agent updates the latest model startup information to the collector configuration file. After the collector is reloaded, it monitors the current large model and node information according to the latest configuration.

[0034] Preferably, the monitoring collection module, model-agent synchronizes the latest monitoring requirements to the collector. Currently, the open source component telegraf is used as the collector, and telegraf has the feature of hot loading configuration;

[0035] Prometheus regularly pulls node GPU, CPU, memory, disk and IO monitoring information;

[0036] The model-web module backend regularly calls the prometheus interface to obtain real-time monitoring data and feeds it back to users;

[0037] Built-in alarm rules, when the environment is abnormal, the alarm will be pushed to the operation and maintenance personnel in time through the alertmanager.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] The large model configuration management method and system of the cloud platform proposed in the present invention utilizes the cloud platform resource arrangement management technology to customize resources and realize flexible loading of large model configuration. Through node labels, a unified configuration distribution method is provided, and real-time feedback is given to users based on resource monitoring data, so that configuration files can be formulated conveniently and flexibly based on monitoring data guidance. At the same time, when an abnormality occurs in the large model, the operation and maintenance personnel are notified in time through an alarm.

[0040] By clarifying configuration goals, flexibly deploying virtual machines and containers, optimizing storage and backup strategies, monitoring and tuning performance, and formulating security strategies and permission management, efficient, flexible and secure large model configuration management is achieved. The present invention has broad application prospects and market demand, and is of great significance for promoting the development of cloud computing and big data technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a deployment diagram of the large model management system of the present invention;

[0042] Figure 2 This is a flow chart of configuration issuance and reload of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose and technical solution of the present invention clearly and completely described, and the advantages more clearly understood, the embodiments of the present invention are further described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, rather than all of the embodiments, and are only used to explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Embodiment 1

[0045] See also Figure 1 to Figure 2 The present invention provides a technical solution: a large model configuration management method for a cloud platform, the method comprising the following methods:

[0046] (1) Configuration writing

[0047] Step 1: View the current monitoring information of each node in the web interface and fill in the large model configuration information.

[0048] (2) Large model configuration delivery

[0049] Step 1: Get the configuration information list from the web interface. The large model configuration operation module in the model-operator processes the configuration list into the large model CR configuration, and sends the generated configuration to the model-agent on the destination node through the node label, such as Figure 1 shown.

[0050] Step 2: Figure 1 As shown, the data management module in model-operator synchronizes the configuration results obtained from the front end to the database and persists the large model configuration information.

[0051] (3) Large model configuration script generation and execution

[0052] Step 1: Figure 2 As shown, model-agent processes the configuration file sent to this node into a startup script (see the large model startup script in the specific implementation steps), and executes the script to start the large model service.

[0053] Step 2: Figure 2 As shown in the figure, model-agent updates the latest model startup information to the collector configuration file. After the collector is reloaded, it will monitor the current large model and node information according to the latest configuration.

[0054] (4) Collect monitoring information and alarms

[0055] Step 1: Figure 1 As shown, model-agent synchronizes the latest monitoring requirements to the collector. Currently, the open source component telegraf is used as the collector, and telegraf has the feature of hot loading configuration.

[0056] Step 2: Figure 1 As shown, prometheus regularly pulls monitoring information such as node GPU, CPU, memory, disk, and IO.

[0057] Step 3: Figure 1 As shown in the figure, the model-web module backend will regularly call the prometheus interface to obtain real-time monitoring data and feed it back to the user.

[0058] Step 4: Built-in alarm rules, when the environment is abnormal, the alarm will be pushed to the operation and maintenance personnel in time through the alertmanager.

[0059] Embodiment 2

[0060] Based on the first embodiment, a large model configuration management system for a cloud platform is proposed, which is used for a large model configuration management method for a cloud platform. The system includes a large model configuration operation module, a large model configuration agent module, a database module, and a monitoring and acquisition module.

[0061] 1) model-operator large model configuration operation module

[0062] Responsible for processing and distributing the configuration information obtained from the user.

[0063] 2) model-agent large model agent module

[0064] Responsible for processing the configuration file into a large model startup script and executing it; at the same time, updating the collector configuration to ensure the accuracy of monitoring.

[0065] 3) Database module

[0066] Persistent large model configuration information.

[0067] 4) Monitoring and acquisition module

[0068] Responsible for collecting monitoring information such as node GPU, CPU, memory, disk, and IO, and notifying operation and maintenance personnel when an abnormality occurs.

[0069] Large model custom resource model and specific implementation steps:

[0070] Model:

[0071]

[0072] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A large model configuration management method for a cloud platform, characterized by: The method comprises the following methods: Configuration writing; Large model configuration is issued; Large model configuration script generation and execution; Collect monitoring information and alarms.

2. The large model configuration management method of a cloud platform according to claim 1, characterized in that: The specific operations of configuration writing include: View the current monitoring information of each node in the web interface and fill in the large model configuration information.

3. The large model configuration management method of a cloud platform according to claim 1, characterized in that: The specific operations of large model configuration delivery include: Get the configuration information list from the web interface. The large model configuration operation module in the model-operator processes the configuration list into the large model CR configuration and sends the generated configuration to the model-agent on the destination node through the node label. The data management module in model-operator synchronizes the configuration results obtained from the front end to the database and persists the large model configuration information.

4. The large model configuration management method of a cloud platform according to claim 1, characterized in that: The specific operations of generating and executing the large model configuration script include: Model-agent processes the configuration file sent to this node into a startup script and executes the script to start the large model service; Model-agent updates the latest model startup information to the collector configuration file. After the collector is reloaded, it monitors the current large model and node information according to the latest configuration.

5. The large model configuration management method of a cloud platform according to claim 1, characterized in that: The specific operations for collecting monitoring information and alarms include: Model-agent synchronizes the latest monitoring requirements to the collector. Currently, the open source component telegraf is used as the collector. Telegraf has the feature of hot configuration loading. Prometheus regularly pulls node GPU, CPU, memory, disk and IO monitoring information; The model-web module backend regularly calls the prometheus interface to obtain real-time monitoring data and feeds it back to users; Built-in alarm rules, when the environment is abnormal, the alarm will be pushed to the operation and maintenance personnel in time through the alertmanager.

6. A large model configuration management system for a cloud platform, used in the large model configuration management method for a cloud platform according to any one of claims 1 to 5, characterized in that: The system includes a large model configuration operation module, a large model configuration agent module, a database module and a monitoring acquisition module; The large model configuration operation module is responsible for processing and distributing the configuration information obtained from the user test; The large model configuration agent module is responsible for processing the configuration file into a large model startup script and executing it; at the same time, it updates the collector configuration to ensure the accuracy of monitoring; Database module, persists large model configuration information; The monitoring and collection module is responsible for collecting node GPU, CPU, memory, disk and IO monitoring information, and notifying the operation and maintenance personnel when an abnormality occurs.

7. The large model configuration management system of a cloud platform according to claim 6, characterized in that: The large model configuration operation module checks the current monitoring information of each node in the web interface and fills in the large model configuration information.

8. The large model configuration management system of a cloud platform according to claim 6, characterized in that: The large model configuration agent module obtains the configuration information list from the web interface, and the large model configuration operation module in the model-operator processes the configuration list into a large model CR configuration, and sends the generated configuration to the model-agent on the destination node through the node label; The data management module in model-operator synchronizes the configuration results obtained from the front end to the database and persists the large model configuration information.

9. The large model configuration management system of a cloud platform according to claim 6, characterized in that: The database module, model-agent processes the configuration file sent to this node into a startup script, and executes the script to start the large model service; Model-agent updates the latest model startup information to the collector configuration file. After the collector is reloaded, it monitors the current large model and node information according to the latest configuration.

10. The large model configuration management system of a cloud platform according to claim 6, characterized in that: The monitoring collection module, model-agent synchronizes the latest monitoring requirements to the collector. Currently, the open source component telegraf is used as the collector. Telegraf has the feature of hot loading configuration; Prometheus regularly pulls node GPU, CPU, memory, disk and IO monitoring information; The model-web module backend regularly calls the prometheus interface to obtain real-time monitoring data and feeds it back to users; Built-in alarm rules, when the environment is abnormal, the alarm will be pushed to the operation and maintenance personnel in time through the alertmanager.

Citation Information

Cited By

  • Alarm pushing method and monitoring system based on large model cluster

    CN119865420A

  • Large model service configuration management method and system

    CN121455557A