Method and device for providing results of benchmarking artificial intelligence-based model

The method provides benchmark results to optimize AI model execution on specific hardware by determining target nodes and models based on performance and resource usage, addressing the challenge of varying AI model performance across different hardware platforms.

WO2024181616A1PCT designated stage expired Publication Date: 2024-09-06NOTA INC

Patent Information

Application Number
PCT/KR2023/008810
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-27
Filing Date
2023-06-26
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The development of artificial intelligence-based models requires extensive knowledge and resources to determine suitable hardware and models for edge AI applications, as performance varies significantly with different hardware platforms, making it challenging to find optimal solutions for specific domains.

Method used

A method and device for providing benchmark results that include determining a target model and target node based on candidate nodes, considering factors like latency, memory usage, and CPU occupancy, to efficiently execute and optimize AI models on specific hardware.

Benefits of technology

This approach enables efficient benchmarking and optimization of AI models for specific hardware, ensuring optimal performance and resource utilization, thereby simplifying the selection of suitable models and hardware for edge AI applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023008810_06092024_PF_FP
    Figure KR2023008810_06092024_PF_FP
Patent Text Reader

Abstract

Disclosed is a method, performed by a computing device, for providing result of benchmarking. The method may comprise the steps of: acquiring first input data including an inference task and a dataset; determining a target model to be benchmarked with respect to the inference task and at least one target node in which the inference task of the target model is to be executed, the determined target model corresponding to an artificial intelligence-based model in which the inference task is benchmarked in the at least one target node on the basis of the dataset; and providing the results of benchmarking acquired from executing the target model in the at least one target node.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for providing benchmark results of artificial intelligence-based models

[0001] The present disclosure relates to artificial intelligence technology, and more specifically, to benchmark technology for artificial intelligence-based models.

[0002] Advances in AI technology are leading to the development of various AI-based models. The demand for computational resources to process these diverse AI-based models is also increasing, and hardware with new capabilities is continuously being developed within related industries.

[0003] As demand for edge AI, which enables direct computation on networked devices such as personal computers, smartphones, automobiles, wearable devices, and robots, increases, research is being conducted on AI-based models that take hardware resources into account.

[0004] As edge AI technology advances and the importance of hardware in AI grows, developing and launching AI-based solutions requires not only AI-based models but also a thorough understanding of the various hardware on which they will be executed. For example, even if a model boasts exceptional performance in a specific domain, its inference performance may vary depending on the hardware on which it will be executed. Furthermore, models with optimal performance in a specific domain may not be supported on the specific hardware on which the service will be provided. Therefore, determining the right AI-based model for the service and the right hardware for it requires a deep understanding of both AI and hardware technologies, as well as extensive resources.

[0005] The present disclosure is conceived in response to the aforementioned background technology, and is intended to efficiently provide benchmark results of a specific model on a specific node.

[0006] The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below.

[0007] According to one embodiment of the present disclosure, a method for providing a benchmark result, performed by a computing device, is disclosed. The method may include: obtaining first input data including an inference task; determining a target model to be benchmarked for the inference task; and determining at least one target node on which the inference task of the target model is to be executed, based on a candidate node list including candidate nodes recommended for benchmarking the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which the benchmark for the inference task is to be performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed; and providing a benchmark result obtained by executing the target model on the at least one target node.

[0008] According to one embodiment of the present disclosure, a computer program stored in a computer-readable storage medium is disclosed. The computer program, when executed by a computing device, causes the computing device to perform the following operations to provide a benchmark result, wherein the operations may include: obtaining first input data including an inference task; determining a target model to be benchmarked for the inference task; and determining at least one target node on which the inference task of the target model is to be executed based on a candidate node list including candidate nodes recommended for benchmarking for the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which the benchmark for the inference task is to be performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed; and providing a benchmark result obtained by executing the target model on the at least one target node.

[0009] According to one embodiment of the present disclosure, a computing device for generating a benchmark result is disclosed. The computing device may include at least one processor and a memory. The at least one processor may: obtain first input data including an inference task, determine a target model to be benchmarked for the inference task, and determine at least one target node on which the inference task of the target model is to be executed based on a candidate node list including candidate nodes recommended for benchmarking for the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed, and provide a benchmark result of the target model obtained by executing the target model on the at least one target node.

[0010] According to one embodiment of the present disclosure, a method for providing a benchmark result, performed by a computing device, is disclosed. The method may include the steps of obtaining first input data including an inference task and a dataset, determining a target model to be benchmarked for the inference task and at least one target node on which the inference task of the target model is to be executed, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on the dataset, and providing a benchmark result obtained by executing the target model on the at least one target node.

[0011] In one embodiment, the step of determining the at least one target node may include: providing a candidate node list including candidate nodes recommended for a benchmark for the inference task; and determining the at least one target node based on second input data that selects the at least one target node from the candidate node list.

[0012] In one embodiment, the candidate node list may include identification information for each of the candidate nodes, and estimated latency information for each of the candidate nodes when the target model is executed.

[0013] In one embodiment, the sorting order of candidate nodes included in the candidate node list may be determined based on the size of the expected latency information.

[0014] In one embodiment, if the difference in the size of the expected latency information between the first candidate node and the second candidate node among the candidate nodes falls within a predetermined threshold range, the sorting order between the first candidate node and the second candidate node may be determined based on the memory usage and CPU occupancy of the first candidate node and the second candidate node.

[0015] In one embodiment, the candidate node list may include: power mode information indicating CPU core usage for at least some of the candidate nodes, and fan mode information indicating fan usage for at least some of the candidate nodes.

[0016] In one embodiment, the candidate node list may include: information about at least one model that can be supported by each of the candidate nodes, library information required for installing at least one model that can be supported by each of the candidate nodes, and power usage information indicating power usage obtained from a power measurement sensor connected to the candidate nodes.

[0017] In one embodiment, the model size is determined based on the size of the dataset of the first input data, and the candidate node list may include candidate nodes having a memory space exceeding the determined model size.

[0018] In one embodiment, the step of providing the candidate node list may include the step of including first nodes having an execution environment that supports a first operator included in an input source model as candidate nodes in the candidate node list.

[0019] In one embodiment, the step of providing the candidate node list may include the step of including, in the candidate node list, second nodes that do not support the first operator included in the input source model but have an execution environment that supports a second operator different from the first operator that can replace the first operator.

[0020] In one embodiment, the benchmark result may include: information on preprocessing time required for preprocessing of inference of the target model in the at least one target node, information on inference time required for inference of the target model in the at least one target node, information on preprocessing memory usage used for preprocessing of inference of the target model in the at least one target node, and information on inference memory usage used for inference of the target model in the at least one target node.

[0021] In one embodiment, the benchmark results may include: quantitative information related to inference time obtained by repeatedly inferring the target model a predetermined number of times on the at least one target node, and quantitative information related to memory usage for each of the NPU, CPU, and GPU obtained by inferring the target model on the at least one target node.

[0022] In one embodiment, the step of providing the benchmark result obtained by executing the target model on the at least one target node may include: the step of distinguishing between nodes capable of wireless communication and nodes incapable of wireless communication in the at least one target node; and the step of transmitting a benchmark task to a node capable of wireless communication corresponding to the node incapable of wireless communication so that the node capable of wireless communication can connect to the node incapable of wireless communication using serial communication, so as to obtain a benchmark result from the node incapable of wireless communication.

[0023] In one embodiment, if a third node that cannot be externally verified is included in the at least one target node, the step of providing the benchmark result may include: in response to receiving a first low-power wireless signal from the third node, transmitting a first acknowledgment message to the third node, the first acknowledgment message including a benchmark task for benchmarking the target model at the third node; and receiving a second low-power wireless signal from the third node, the second low-power wireless signal including a benchmark result generated by the third node.

[0024] In one embodiment, if the third node that cannot be externally verified is included in the at least one target node, the step of providing the benchmark result may further include the step of determining that the benchmark task at the third node has failed if the second low-power wireless signal is not received for a predetermined threshold waiting time and setting the third node to an inactive state, and in response to receiving a third low-power wireless signal from the third node set to the inactive state, setting the state of the third node to an active state.

[0025] In one embodiment, the first low-power wireless signal may include information about whether the third node is performing a benchmark, memory usage of the third node, and hardware identification information of the third node.

[0026] In one embodiment, the benchmark task included in the first response message includes target model information that the third node can download and node configuration information used to convert the target model downloaded by the third node, and the benchmark result generated by the third node may include a result obtained by executing the target model on the execution environment of the third node based on the node configuration information and the target model information.

[0027] In one embodiment, based on the second input data, information on a target model supportable by at least one target node included in the second input data can be automatically provided.

[0028] In one embodiment, the information of the target model may include identification information corresponding to a target model supportable by the at least one target node and software version information of the target model supportable by the at least one target node.

[0029] In one embodiment, a computer program stored on a computer-readable storage medium is disclosed. The computer program, when executed by a computing device, causes the computing device to perform the following operations to provide a benchmark result, wherein the operations may include: obtaining first input data including an inference task and a dataset; determining a target model to be benchmarked for the inference task and at least one target node on which the inference task of the target model is to be executed, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on the dataset; and providing a benchmark result obtained by executing the target model on the at least one target node.

[0030] In one embodiment, a computing device for generating a benchmark result is disclosed. The computing device may include at least one processor and a memory. The at least one processor may: obtain first input data including an inference task and a dataset, determine a target model to be benchmarked for the inference task and at least one target node on which the inference task of the target model is to be executed, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on the dataset, and provide a benchmark result of the target model obtained by executing the target model on the at least one target node.

[0031] According to one embodiment of the present disclosure, a method for providing a benchmark result, performed by a computing device, is disclosed. The method may include the steps of: obtaining model type information of an artificial intelligence-based model input for benchmarking and target type information for identifying a model type to be the target of the benchmark; determining whether to convert the artificial intelligence-based model based on the model type information and the target type information; providing a candidate node list including candidate nodes determined based on the target type information; determining at least one target node based on input data selecting at least one target node from the candidate node list; and providing a benchmark result obtained by executing the target model obtained based on whether to convert the artificial intelligence-based model on the at least one target node.

[0032] In one embodiment, the step of determining whether to convert the artificial intelligence-based model may include: comparing the model type information and the target type information; and, if the model type information and the target type information are different from each other, determining to convert the artificial intelligence-based model to correspond to the target type information; and, if the model type information and the target type information correspond to each other, determining to use the artificial intelligence-based model as the target model without converting the artificial intelligence-based model.

[0033] In one embodiment, the model type information can be determined from the artificial intelligence-based model without user input defining the model type information.

[0034] In one embodiment, nodes that support an execution environment corresponding to the target type information may be determined as the candidate nodes.

[0035] In one embodiment, the candidate nodes may be determined based on the converting status, the artificial intelligence-based model, and the target type information.

[0036] In one embodiment, when it is determined to convert the artificial intelligence-based model to correspond to the target type information, among the nodes having an execution environment corresponding to the target type information, first nodes having an execution environment that supports a first operator included in the artificial intelligence-based model may be determined as the candidate nodes.

[0037] In one embodiment, when it is determined to convert the artificial intelligence-based model to correspond to the target type information, among the nodes having an execution environment corresponding to the target type information, second nodes that do not support the first operator included in the artificial intelligence-based model but have an execution environment that supports a second operator different from the first operator that can replace the first operator may be determined as the candidate nodes.

[0038] In one embodiment, third nodes having a memory space exceeding the size of the artificial intelligence-based model may be determined as the candidate nodes.

[0039] In one embodiment, the candidate node list may include: identification information for each of the candidate nodes, and estimated latency information for each of the candidate nodes when the target model is executed.

[0040] In one embodiment, the sorting order of candidate nodes included in the candidate node list is determined based on the size of the expected latency information, and when a difference in the size of the expected latency information between a first candidate node and a second candidate node among the candidate nodes is within a predetermined threshold range, the sorting order between the first candidate node and the second candidate node may be determined based on the memory usage and CPU occupancy of the first candidate node and the second candidate node.

[0041] In one embodiment, the step of providing the candidate node list may include: obtaining the target model by converting the artificial intelligence-based model to correspond to the target type information; obtaining sub-latency information corresponding to each of a plurality of operators included in the target model, wherein the sub-latency information is calculated for each of the candidate nodes; generating expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators; and providing the candidate node list including the expected latency information and identification information of the candidate nodes.

[0042] In one embodiment, the step of providing the candidate node list may include: a step of obtaining sub-latency information corresponding to each of the plurality of operators included in the target model using a latency table that matches each of the candidate nodes with each of the plurality of operators included in the target model; a step of generating expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators; and a step of providing the candidate node list including the expected latency information and identification information of the candidate nodes.

[0043] In one embodiment, the step of generating expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators may include the step of generating expected latency information of the target model for each of the candidate nodes by adding up the sub-latency information of each of the plurality of operators.

[0044] In one embodiment, the latency table may include sub-latency information obtained by executing each of the pre-stored operators on the pre-stored nodes.

[0045] In one embodiment, the step of providing the candidate node list may include: when it is determined to convert the artificial intelligence-based model, determining whether a converting matching table exists for matching the model type information and the target type information; when the converting matching table exists, generating expected latency information of the target model for each of the candidate nodes based on an operator included in the artificial intelligence-based model and the converting matching table; and providing the candidate node list including the expected latency information and identification information of the candidate nodes.

[0046] In one embodiment, the converting matching table may include sub-latency information corresponding to the converted operator when the operator extracted from the artificial intelligence-based model corresponding to the model type information is converted to correspond to the target type information.

[0047] In one embodiment, the method may further include a step of obtaining the target model converted from the artificial intelligence-based model by using a model file corresponding to the artificial intelligence-based model and converter identification information corresponding to a combination of the model type information and the target type information, when it is determined to convert the artificial intelligence-based model to correspond to the target type information.

[0048] In one embodiment, the artificial intelligence-based model can be converted into the target model using a docker image of a converter corresponding to the converter identification information on a virtual operating system.

[0049] In one embodiment, the benchmark result may include: information on preprocessing time required for preprocessing of inference of the target model in the at least one target node, information on inference time required for inference of the target model in the at least one target node, information on preprocessing memory usage used for preprocessing of inference of the target model in the at least one target node, and information on inference memory usage used for inference of the target model in the at least one target node.

[0050] In one embodiment, the benchmark results may include: quantitative information related to inference time obtained by repeatedly inferring the target model a predetermined number of times on the at least one target node, and quantitative information related to memory usage for each of the NPU, CPU, and GPU obtained by inferring the target model on the at least one target node.

[0051] In one embodiment, a computer program stored in a computer-readable storage medium is disclosed. The computer program, when executed by a computing device, may cause the computing device to perform the following operations to provide a benchmark result. The operations may include: obtaining model type information of an artificial intelligence-based model input for benchmarking and target type information for identifying a model type to be the target of the benchmark; determining whether to convert the artificial intelligence-based model based on the model type information and the target type information; providing a candidate node list including candidate nodes determined based on the target type information; determining at least one target node based on input data selecting at least one target node from the candidate node list; and providing a benchmark result obtained by executing the target model obtained based on whether to convert the artificial intelligence-based model on the at least one target node.

[0052] In one embodiment, a computing device for generating a benchmark result is disclosed. The computing device may include at least one processor and a memory. The at least one processor may: obtain model type information of an artificial intelligence-based model input for benchmarking, and target type information for identifying a model type to be the target of the benchmark; determine whether to convert the artificial intelligence-based model based on the model type information and the target type information; provide a candidate node list including candidate nodes determined based on the target type information; determine at least one target node based on input data for selecting at least one target node from the candidate node list; and provide a benchmark result obtained by executing the target model obtained according to whether to convert the artificial intelligence-based model on the at least one target node.

[0053] According to one embodiment of the present disclosure, a method for providing a benchmark result, performed by a computing device, is disclosed. The method may include: receiving first input data including information related to an artificial intelligence-based model; extracting, based on the first input data, model type information corresponding to the artificial intelligence-based model; receiving second input data including target type information to which the artificial intelligence-based model is to be converted; converting, based on the first input data and the second input data, the artificial intelligence-based model such that the artificial intelligence-based model corresponds to the target type information; determining, based on the second input data or a result of the converting, candidate nodes corresponding to the target type information, and providing a candidate node list including the determined candidate nodes; determining a target node to be a target of the benchmark on the candidate node list; and providing a benchmark result obtained by executing the converted artificial intelligence-based model on the target node.

[0054] In one embodiment, the target type information may include a framework corresponding to the converted artificial intelligence-based model.

[0055] In one embodiment, the information related to the artificial intelligence-based model may include at least one of a dataset, a model file, and a link to the model file.

[0056] In one embodiment, the step of extracting model type information corresponding to the artificial intelligence-based model may include a step of identifying a framework corresponding to the artificial intelligence-based model from information related to the artificial intelligence-based model.

[0057] In one embodiment, the candidate node list may include identification information for each candidate node capable of supporting a framework corresponding to the target type information or the result of the converting.

[0058] In one embodiment, the benchmark result may include: time information including preprocessing time information required for preprocessing of inference of the artificial intelligence-based model in the target node or inference time information required for inference of the artificial intelligence-based model in the target node, and memory usage information including preprocessing memory usage information used for preprocessing of inference of the artificial intelligence-based model in the target node or inference memory usage information used for inference of the artificial intelligence-based model in the target node.

[0059] In one embodiment, the benchmark result may include: memory footprint information required to execute the artificial intelligence-based model on the target node, latency information required to execute the artificial intelligence-based model on the target node, power consumption information required to execute the artificial intelligence-based model on the target node, and information about the target node.

[0060] In one embodiment, information about the target node includes the execution environment of the target node,

[0061] It may include the processor of the target node and the RAM size of the target node.

[0062] In one embodiment, the benchmark result may include: expected GPU usage information when executing the artificial intelligence-based model on the target node, expected CPU usage information when executing the artificial intelligence-based model on the target node, expected latency information when executing the artificial intelligence-based model on the target node, and expected power consumption information when executing the artificial intelligence-based model on the target node.

[0063] In one embodiment, a computer program stored in a computer-readable storage medium is disclosed. The computer program, when executed by a computing device, may cause the computing device to perform the following operations to provide a benchmark result. The operations may include: receiving first input data including information related to an artificial intelligence-based model; extracting, based on the first input data, model type information corresponding to the artificial intelligence-based model; receiving second input data including target type information to which the artificial intelligence-based model is to be converted; converting, based on the first input data and the second input data, the artificial intelligence-based model such that the artificial intelligence-based model corresponds to the target type information; determining, based on the second input data or the result of the converting, candidate nodes corresponding to the target type information, and providing a candidate node list including the determined candidate nodes; determining a target node to be a target of the benchmark on the candidate node list; and providing a benchmark result obtained by executing the converted artificial intelligence-based model on the target node.

[0064] In one embodiment, a computing device for generating a benchmark result is disclosed. The computing device may include at least one processor and a memory. The at least one processor may: receive first input data including information related to an artificial intelligence-based model, extract model type information corresponding to the artificial intelligence-based model based on the first input data, receive second input data including target type information to which the artificial intelligence-based model is to be converted, convert the artificial intelligence-based model based on the first input data and the second input data so that the artificial intelligence-based model corresponds to the target type information, determine candidate nodes corresponding to the target type information based on the second input data or a result of the converting, and provide a candidate node list including the determined candidate nodes, determine a target node to be the target of the benchmark on the candidate node list, and provide a benchmark result obtained by executing the converted artificial intelligence-based model on the target node.

[0065] According to one embodiment of the present disclosure, a method performed by a first computing device that performs a benchmark is disclosed. The method comprises: receiving, from a second computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, module identification information indicating which module of the plurality of modules of the second computing device triggers a benchmark operation of the first computing device; and providing a benchmark result to the second computing device based on the module identification information, wherein the benchmark result provided to the second computing device may differ based on the module identification information.

[0066] In one embodiment, the step of providing benchmark results to the second computing device based on the module identification information may include: providing performance information for the entire input model when the module identification information indicates a first module; and providing performance information for the entire input model when the module identification information indicates a second module, and providing performance information in units of blocks of the input model.

[0067] In one embodiment, the step of providing the benchmark result to the second computing device based on the module identification information may include: when the module identification information indicates a first module, providing the benchmark result to the second computing device for determining a target node on which to execute a learning model or a converted learning model corresponding to an input dataset; and when the module identification information indicates a second module, providing the benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model to the second computing device.

[0068] In one embodiment, the plurality of modules may include: a first module that generates a learning model based on an input dataset, a second module that generates a lightweight model by compressing the input model, and a third module that generates download data for deploying the input model to at least one target node.

[0069] In one embodiment, the step of providing the benchmark results to the second computing device based on the module identification information may include, when the module identification information indicates a first module that generates a learning model, providing the benchmark results to the second computing device, the benchmark results including first benchmark performance information obtained by executing each of a plurality of artificial intelligence-based models on each of a plurality of nodes.

[0070] In one embodiment, the first benchmark performance information may be a table-type data structure expressing latency according to matching between the plurality of artificial intelligence-based models and the plurality of nodes.

[0071] In one embodiment, the first benchmark performance information is used by the second computing device to generate performance prediction information of candidate nodes that can support the execution environment of the learning model, and the first benchmark performance information can be updated by the first computing device when a new artificial intelligence-based model is added, when a new node is added, or when an execution environment that can be supported by a node is updated.

[0072] In one embodiment, when the module identification information indicates a first module, the step of providing a benchmark result for determining a target node on which to execute a learning model or a converted learning model corresponding to an input dataset to the second computing device may include: generating a candidate node list including first nodes that support an execution environment that supports a first operator included in the learning model among nodes that support an execution environment corresponding to the target type information, based on the learning model and target type information that is a target of the benchmark obtained from the second computing device, and providing the benchmark result including the candidate node list to the second computing device.

[0073] In one embodiment, when the module identification information indicates a first module, the step of providing a benchmark result for determining a target node to execute a learning model or a converted learning model corresponding to an input dataset to the second computing device may include: generating a candidate node list including second nodes that support an execution environment corresponding to the target type information, but do not support a first operator included in the learning model, but support a second operator different from the first operator that can replace the first operator, among nodes that support an execution environment corresponding to the target type information, based on the learning model and target type information that is a target of the benchmark obtained from the second computing device; and providing the benchmark result including the candidate node list to the second computing device.

[0074] In one embodiment, when the module identification information indicates a first module, the step of providing the benchmark result to the second computing device may include: generating second benchmark performance information of the learning model on the at least one target node obtained from the second computing device by executing the learning model on the at least one target node; and providing the benchmark result including the second benchmark performance information to the second computing device.

[0075] In one embodiment, when the module identification information indicates a first module, the step of providing the benchmark result to the second computing device may include: determining whether to convert the learning model based on model type information corresponding to the learning model obtained from the second computing device and target type information that is a target of the benchmark; when it is determined that the learning model is to be converted, obtaining a target model obtained by converting the learning model to correspond to the target type information using the model type information corresponding to the learning model and the target type information; generating second benchmark performance information of the at least one target node of the target model by executing the target model on at least one target node obtained from the second computing device; and providing the benchmark result including the second benchmark performance information to the second computing device.

[0076] In one embodiment, the second benchmark performance information may include preprocessing time information required for preprocessing of inference of the target model in the at least one target node, inference time information required for inference of the target model in the at least one target node, preprocessing memory usage information used for preprocessing of inference of the target model in the at least one target node, and inference memory usage information used for inference of the target model in the at least one target node.

[0077] In one embodiment, the second benchmark performance information may include quantitative information related to inference time, which is obtained by repeatedly inferring the target model a predetermined number of times on the at least one target node, and quantitative information related to memory usage for each of the NPU, CPU, and GPU, which is obtained by inferring the target model on the at least one target node.

[0078] In one embodiment, the compression setting data may include at least one of a compression mode, a compression algorithm, a compression target, and a compression ratio.

[0079] In one embodiment, when the module identification information indicates a second module, the step of providing the benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model to the second computing device may include: the step of generating third benchmark performance information indicating block-by-block performance of the input model by executing the input model in block units on at least one target node obtained from the second computing device; and the step of providing the benchmark result including the third benchmark performance information to the second computing device.

[0080] In one embodiment, the step of providing the benchmark results to the second computing device based on the module identification information may further include the step of providing the benchmark results to the second computing device for generating download data that allows the input model to be deployed to the target node, if the module identification information indicates a third module.

[0081] In one embodiment, the step of providing benchmark results to the second computing device based on the module identification information may further include, when the module identification information indicates a third module, providing benchmark results to the second computing device for converting a data type of the input model into a data type supported by the target node.

[0082] In one embodiment, the step of providing the benchmark results to the second computing device based on the module identification information may further include the step of providing the benchmark results for adjusting the quantization interval of the input model to the second computing device when the module identification information indicates a third module.

[0083] In one embodiment, a computer program stored on a computer-readable storage medium is disclosed. The computer program, when executed by a first computing device, causes the first computing device to perform the following operations to generate a benchmark result, wherein the operations may include: receiving module identification information from a second computing device, the second computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, the module identification information indicating which of the plurality of modules of the second computing device triggers a benchmark operation of the first computing device; and providing a benchmark result to the second computing device based on the module identification information. The benchmark result provided to the second computing device may differ depending on the module identification information.

[0084] In one embodiment, a first computing device for generating a benchmark result is disclosed. The first computing device may include at least one processor and a memory. The at least one processor receives, from a second computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, module identification information indicating which module among the plurality of modules of the second computing device triggers a benchmark operation of the first computing device, and provides a benchmark result to the second computing device based on the module identification information, wherein the benchmark result provided to the second computing device may differ depending on the module identification information.

[0085] In one embodiment, a method for providing a benchmark result, performed by a computing device, is disclosed. The method may include the steps of receiving input data including information related to an artificial intelligence-based model to be benchmarked, providing a candidate node list including candidate nodes corresponding to model type information based on model type information corresponding to the artificial intelligence-based model extracted based on the input data, determining a target node to be the target of the benchmark on the candidate node list, and providing the determined target node information and a benchmark result obtained by executing the artificial intelligence-based model on the target node.

[0086] In one embodiment, the information related to the artificial intelligence-based model may include at least one of a dataset, a model file, and a link to the model file.

[0087] In one embodiment, the model type information may include information identifying a framework corresponding to the artificial intelligence-based model from information related to the artificial intelligence-based model.

[0088] In one embodiment, the candidate node list may include identification information for each candidate node that can support a framework corresponding to the model type information.

[0089] In one embodiment, the benchmark result may include: time information including preprocessing time information required for preprocessing of inference of the artificial intelligence-based model in the target node or inference time information required for inference of the artificial intelligence-based model in the target node, and memory usage information including preprocessing memory usage information used for preprocessing of inference of the artificial intelligence-based model in the target node or inference memory usage information used for inference of the artificial intelligence-based model in the target node.

[0090] In one embodiment, the benchmark result may include: memory footprint information required to execute the artificial intelligence-based model on the target node, latency information required to execute the artificial intelligence-based model on the target node, power consumption information required to execute the artificial intelligence-based model on the target node, and information about the target node.

[0091] In one embodiment, the information about the target node may include the execution environment of the target node, the processor of the target node, and the RAM size of the target node.

[0092] In one embodiment, the benchmark result may include expected GPU usage information when executing the artificial intelligence-based model on the target node, expected CPU usage information when executing the artificial intelligence-based model on the target node, expected latency information when executing the artificial intelligence-based model on the target node, and expected power consumption information when executing the artificial intelligence-based model on the target node.

[0093] In one embodiment, a computer program stored in a computer-readable storage medium is disclosed. The computer program, when executed by a computing device, may cause the computing device to perform the following operations to provide a benchmark result. The operations may include: receiving input data including information related to an artificial intelligence-based model to be benchmarked; providing a candidate node list including candidate nodes corresponding to model type information based on model type information corresponding to the artificial intelligence-based model extracted based on the input data; determining a target node to be the target of the benchmark from the candidate node list; and providing the determined target node information and a benchmark result obtained by executing the artificial intelligence-based model on the target node.

[0094] In one embodiment, a computing device for generating a benchmark result is disclosed. The computing device may include at least one processor and a memory. The at least one processor may: receive input data including information related to an artificial intelligence-based model to be benchmarked, provide a candidate node list including candidate nodes corresponding to model type information based on model type information corresponding to the artificial intelligence-based model extracted based on the input data, determine a target node to be the benchmark from the candidate node list, and provide the determined target node information and a benchmark result obtained by executing the artificial intelligence-based model on the target node.

[0095] In one embodiment, a method performed by a first computing device performing a benchmark is disclosed. The method may include: receiving, from a second computing device including a plurality of modules performing different operations related to an artificial intelligence-based model, module identification information indicating which of the plurality of modules of the second computing device triggers a benchmark operation of the first computing device; and providing a benchmark result to the second computing device based on the module identification information. The step of providing a benchmark result to the second computing device based on the module identification information may include: when the module identification information indicates a first module, i) providing performance information generated for the entire input model, or ii) providing a benchmark result for determining a target node to execute a learning model or a converted learning model corresponding to the input dataset to the second computing device; and when the module identification information indicates a second module, i) providing performance information generated for the entire input model and providing performance information generated in units of blocks of the input model, or ii) providing a benchmark result including compressed setting data used to generate a lightweight model corresponding to the input model to the second computing device.

[0096] In one embodiment, a computer program stored on a computer-readable storage medium is disclosed. The computer program, when executed by a first computing device, causes the first computing device to perform the following operations to generate a benchmark result, the operations including: receiving module identification information from a second computing device, the second computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, the module identification information indicating which of the plurality of modules of the second computing device triggers a benchmark operation of the first computing device; and providing the benchmark result to the second computing device based on the module identification information. The operation of providing a benchmark result to the second computing device based on the module identification information may include: when the module identification information indicates a first module, i) providing performance information generated for the entire input model, or ii) providing a benchmark result for determining a target node to execute a learning model or a converted learning model corresponding to the input dataset to the second computing device; and when the module identification information indicates a second module, i) providing performance information generated for the entire input model and providing performance information generated in units of blocks of the input model, or ii) providing a benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model to the second computing device.

[0097] In one embodiment, a first computing device for generating a benchmark result is disclosed. The first computing device may include at least one processor and memory. The at least one processor may: receive module identification information from a second computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, the module identification information indicating which module among the plurality of modules of the second computing device triggers a benchmark operation of the first computing device, and provide a benchmark result to the second computing device based on the module identification information. Providing a benchmark result to the second computing device based on the module identification information may include: when the module identification information indicates a first module, i) providing performance information generated for the entire input model, or ii) providing a benchmark result for determining a target node to execute a learning model or a converted learning model corresponding to the input dataset to the second computing device; and when the module identification information indicates a second module, i) providing performance information generated for the entire input model and providing performance information generated in units of blocks of the input model, or ii) providing a benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model to the second computing device.

[0098] A technique according to one embodiment of the present disclosure can provide benchmark results of a specific model at a specific node in an efficient manner.

[0099] FIG. 1 schematically illustrates a block diagram of a computing device according to one embodiment of the present disclosure.

[0100] FIG. 2 illustrates an exemplary structure of an artificial intelligence-based model according to an embodiment of the present disclosure.

[0101] FIG. 3 illustrates an exemplary schematic diagram of a system for providing benchmark results according to one embodiment of the present disclosure.

[0102] FIG. 4 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0103] FIG. 5 illustrates an example of a table-type data structure used to generate a candidate node list according to one embodiment of the present disclosure.

[0104] FIG. 6 illustrates an example of a table-type data structure used to generate a candidate node list according to one embodiment of the present disclosure.

[0105] FIG. 7 illustrates an example of a table-type data structure used to generate a candidate node list according to one embodiment of the present disclosure.

[0106] FIG. 8 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0107] FIG. 9 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0108] FIG. 10 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0109] FIG. 11 illustrates an exemplary method for providing benchmark results for an externally unverified node according to one embodiment of the present disclosure.

[0110] FIG. 12 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0111] FIG. 13 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0112] FIG. 14 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0113] FIG. 15 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0114] FIG. 16 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0115] FIG. 17 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0116] FIG. 18 is a schematic diagram of a computing environment according to one embodiment of the present disclosure.

[0117] Various embodiments are described with reference to the drawings. In this specification, various descriptions are provided to provide an understanding of the present disclosure. Before describing specific details for implementing the present disclosure, it should be noted that components not directly related to the technical spirit of the present disclosure have been omitted to the extent that they do not obscure the technical spirit of the present invention. Furthermore, terms or words used in this specification and claims should be interpreted with meanings and concepts consistent with the technical spirit of the present invention, based on the principle that the inventor can define the concept of appropriate terms to best describe his or her invention.

[0118] As used herein, the terms "module," "system," and the like refer to computer-related entities, hardware, firmware, software, a combination of software and hardware, or an execution of software, and may be used interchangeably. For example, a module may be, but is not limited to, a procedure running on a processor, a processor, an object, a thread of execution, a program, an application, and / or a computing device. One or more modules may reside within a processor and / or a thread of execution. A module may be localized within a single computer. A single module may be distributed between two or more computers. Furthermore, such modules may execute from various computer-readable media having various data structures stored therein. Modules may communicate via local and / or remote processes, for example, by signals comprising one or more data packets (e.g., data from one component interacting with another component in a local system, a distributed system, and / or data transmitted via signals to another system over a network such as the Internet).

[0119] Furthermore, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified or clear from the context, "X utilizes A or B" is intended to mean either of the natural inclusive permutations. That is, if X utilizes A; X utilizes B; or X utilizes both A and B, then "X utilizes A or B" can apply to any of these cases. Furthermore, the terms "and / or" and "at least one" as used herein should be understood to refer to and encompass all possible combinations of one or more of the associated listed items. For example, the terms "at least one of A or B" or "at least one of A and B" should be interpreted to mean "including only A," "including only B," or "combined in the configuration of A and B."

[0120] Additionally, the terms "comprises" and / or "comprising" should be understood to imply the presence of the features and / or components in question. However, it should be understood that the terms "comprises" and / or "comprising" do not exclude the presence or addition of one or more other features, components, and / or groups thereof. Furthermore, unless otherwise specified or clear from the context to refer to the singular form, the singular in the specification and claims should generally be construed to mean "one or more."

[0121] Those skilled in the art should further recognize that the various illustrative logical components, blocks, modules, circuits, means, logics, and algorithms described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, blocks, means, logics, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall computing device.

[0122] The description of the disclosed embodiments is provided to enable a person skilled in the art to make or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art. The general principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Therefore, the present invention is not limited to the embodiments disclosed herein. The present invention is to be construed in the widest scope consistent with the principles and novel features disclosed herein.

[0123] In the present disclosure, terms expressed as N, such as first, second, or third, are used to distinguish at least one entity. For example, entities expressed as first and second may be the same or different. In addition, terms expressed as 1-1, 1-2, 1-N, etc. may also be used to distinguish them from each other.

[0124] The term "benchmark" as used herein may refer to the act of executing or testing a model on a node, or the act of measuring the performance of a model on a node. In the present disclosure, benchmark results or benchmark result information may include information obtained according to a benchmark or information obtained by processing information obtained according to a benchmark.

[0125] The term "AI-based model" used in this disclosure may be used interchangeably with AI models, computational models, neural networks, network functions, neural networks, and models. The term "model" in this disclosure may encompass model files and / or model type information. In one embodiment, model type information may refer to information identifying the execution environment, framework, or type of the model. For example, TensorRT, Tflite, and Onnxruntime may be included in the model type information.

[0126] The term "node" used in this disclosure may correspond to hardware information that serves as the target of a model benchmark. This hardware information may encompass physical hardware, virtual hardware, hardware that is not network accessible from the outside, hardware that is not externally verifiable, and / or hardware that is verifiable within the cloud. For example, the node in this disclosure may include various types of hardware, such as Raspberry Pi, Coral, Jetson Nano, AVH Raspberry Pi, and Mobile.

[0127] In the present disclosure, a node within an artificial intelligence-based model may be used to mean a component that constitutes a neural network, and for example, a node within a neural network may correspond to a neuron.

[0128] FIG. 1 schematically illustrates a block diagram of a computing device (100) according to one embodiment of the present disclosure.

[0129] A computing device (100) according to one embodiment of the present disclosure may include a processor (110) and a memory (130).

[0130] The configuration of the computing device (100) illustrated in FIG. 1 is merely a simplified example. In one embodiment of the present disclosure, the computing device (100) may include other configurations for performing the computing environment of the computing device (100), and only some of the disclosed configurations may constitute the computing device (100).

[0131] The computing device (100) in the present disclosure can be used interchangeably with a computing device, and the computing device (100) can be used to encompass any type of server and any type of terminal.

[0132] The computing device (100) in the present disclosure may mean any type of component that constitutes a system for implementing embodiments of the present disclosure.

[0133] The computing device (100) may refer to any type of user terminal or any type of server. The components of the computing device (100) described above are exemplary, and some may be excluded or additional components may be included. For example, if the computing device (100) described above includes a user terminal, an output unit (not shown) and an input unit (not shown) may be included within the scope of the computing device (100).

[0134] In one embodiment, the computing device (100) may refer to a device that communicates with a plurality of nodes to manage and / or perform benchmarks for a plurality of nodes of a specific artificial intelligence-based model. For example, the computing device (100) may be referred to as a Device Farm. In one embodiment, the computing device (100) may refer to a device that interacts with a user to create a learning model, create a compressed model, and create download data for deploying the model. In one embodiment, the computing device (100) may refer to a device that manages and / or performs benchmarks for a plurality of nodes of an artificial intelligence-based model, interacts with a user to create a learning model, create a compressed model, and create download data for deploying the model.

[0135] In one embodiment, the computing device (100) may refer to a device that generates a learning model through modeling an input dataset, generates a lightweight model through compression of the input model, and / or generates download data so that the input model can be deployed on a specific node. In the present disclosure, deployment or deployment may refer to any type of activity that makes software (e.g., a model) available. For example, deployment or deployment may be interpreted as an overall process of customizing a model or node according to specific requirements or characteristics. Examples of such deployment or deployment may include release, installation and activation, deactivation, removal, update, built-in update, adaptation, and / or version tracking.

[0136] The computing device (100) in the present disclosure can perform technical features according to embodiments of the present disclosure to be described later.

[0137] For example, the computing device (100) may determine whether to convert the artificial intelligence-based model based on model type information of an artificial intelligence-based model input for benchmarking and target type information for identifying a model type to be benchmarked, provide a candidate node list including candidate nodes determined based on the target type information, determine at least one target node based on input data for selecting at least one target node from the candidate node list, and provide a benchmark result obtained by executing the target model obtained based on whether to convert the artificial intelligence-based model on the at least one target node.

[0138] For example, the computing device (100) may obtain first input data including an inference task and a dataset, determine a target model that is a target of a benchmark for the inference task and at least one target node on which the inference task of the target model is to be executed, and provide a benchmark result obtained by executing the target model on the at least one target node.

[0139] For example, the computing device (100) may receive module identification information from another computing device including a plurality of modules that perform different operations related to an artificial intelligence-based model, indicating which module among the plurality of modules of the other computing device triggers the benchmark operation of the computing device (100), and may provide a benchmark result to the other computing device based on the module identification information. Here, the benchmark result provided to the other computing device may be different depending on the module identification information.

[0140] In another embodiment of the present disclosure, the computing device (100) may obtain the results of performing the benchmark from another computing device or an external entity. In another embodiment of the present disclosure, the computing device (100) may obtain the results of performing the converting from another computing device or an external entity (e.g., a converting device).

[0141] In one embodiment, the processor (110) may be configured with at least one core and may include a processor for data analysis and / or processing, such as a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), or a tensor processing unit (TPU) of the computing device (100).

[0142] The processor (110) can read a computer program stored in the memory (130) and provide a benchmark result according to one embodiment of the present disclosure.

[0143] According to one embodiment of the present disclosure, the processor (110) may perform operations for learning a neural network. The processor (110) may perform calculations for learning a neural network, such as processing input data for learning in deep learning (DL), extracting features from the input data, calculating errors, and updating the weights of the neural network using backpropagation. At least one of the CPU, GPGPU, and TPU of the processor (110) may process learning of a network function. For example, the CPU and GPGPU may together process learning of a network function and classifying data using the network function. In addition, in one embodiment of the present disclosure, the processors of a plurality of computing devices may be used together to process learning of a network function and classifying data using the network function. In addition, a computer program executed in the computing device (100) according to one embodiment of the present disclosure may be a CPU, GPGPU, or TPU executable program.

[0144] Additionally, the processor (110) can typically process the overall operation of the computing device (100). For example, the processor (110) can process data, information, or signals input or output through components included in the computing device (100) or run application programs stored in a storage unit, thereby providing appropriate information or functions to the user.

[0145] According to one embodiment of the present disclosure, the memory (130) can store any form of information generated or determined by the processor (110) and any form of information received by the computing device (100). According to one embodiment of the present disclosure, the memory (130) can be a storage medium that stores computer software that causes the processor (110) to perform operations according to embodiments of the present disclosure. Accordingly, the memory (130) can mean computer-readable media for storing software codes required to perform embodiments of the present disclosure, data that is the target of execution of the codes, and execution results of the codes.

[0146] According to one embodiment of the present disclosure, the memory (130) may mean any type of storage medium. For example, the memory (130) may include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (e.g., SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, and an optical disk. The computing device (100) may also operate in relation to web storage that performs the storage function of the memory (130) on the Internet. The description of the memory described above is merely an example, and the memory (130) used in the present disclosure is not limited to the examples described above.

[0147] The communication unit (not shown) in the present disclosure may be configured regardless of the communication mode, such as wired or wireless, and may be configured with various communication networks, such as a personal area network (PAN) and a wide area network (WAN). In addition, the network unit (150) may operate based on the publicly known World Wide Web (WWW), and may also utilize a wireless transmission technology used for short-distance communication, such as infrared (IrDA: Infrared Data Association) or Bluetooth.

[0148] The computing device (100) in the present disclosure may include any type of user terminal and / or any type of server. Accordingly, embodiments of the present disclosure may be performed by a server and / or a user terminal.

[0149] In one embodiment, a user terminal may include any type of terminal capable of interacting with a server or other computing device. User terminals may include, for example, a mobile phone, a smart phone, a laptop computer, a personal digital assistant (PDA), a slate PC, a tablet PC, and an ultrabook.

[0150] In one embodiment, the server may include any type of computing system or computing device, such as, for example, a microprocessor, a mainframe computer, a digital processor, a handheld device, and a device controller.

[0151] In one embodiment, the server may store and manage benchmark results, a candidate node list, performance information of the nodes, latency information between the nodes and the model, and / or conversion result information. The server may include a storage unit (not shown) for storing the benchmark results, the candidate node list, performance information of the nodes, latency information between the nodes and the model, and / or conversion result information. This storage unit may be included in the server or may exist under the management of the server. As another example, the storage unit may be implemented in a form that exists outside the server and can communicate with the server. In this case, the storage unit may be managed and controlled by a different external server than the server. As another example, the storage unit may be implemented in a form that exists outside the server and can communicate with the server. In this case, the storage unit may be managed and controlled by a different external server than the server.

[0152] FIG. 2 illustrates an exemplary structure of an artificial intelligence-based model according to one embodiment of the present disclosure.

[0153] Throughout this disclosure, the terms model, artificial intelligence model, artificial intelligence-based model, computational model, neural network, network function, and neural network may be used interchangeably.

[0154] The artificial intelligence-based model in the present disclosure may include models that can be utilized in various domains, such as models for image processing such as object segmentation, object detection, and / or object classification, and models for text processing such as data prediction, text meaning inference, and / or data classification.

[0155] A neural network can be composed of a set of interconnected computational units, generally referred to as nodes. These nodes can also be referred to as neurons. A neural network consists of at least one node. The nodes (or neurons) that make up a neural network can be interconnected by one or more links.

[0156] A node within an artificial intelligence-based model can be used to mean a component that constitutes a neural network, for example, a node within a neural network can correspond to a neuron.

[0157] Within a neural network, one or more nodes connected via links can form a relationship between input nodes and output nodes. The concept of input nodes and output nodes is relative, meaning that any node that is in an output node relationship with one node can also be in an input node relationship with another node, and vice versa. As described above, the relationship between input nodes and output nodes can be created based on links. One input node can be connected to one or more output nodes via links, and vice versa.

[0158] In a relationship between input nodes and output nodes connected through a single link, the data of the output node can have its value determined based on the data input to the input node. Here, the link interconnecting the input nodes and output nodes can have a weight. The weight can be variable and can be varied by the user or an algorithm so that the neural network can perform a desired function. For example, when one or more input nodes are interconnected to one output node through each link, the output node can determine the output node value based on the values ​​input to the input nodes connected to the output node and the weight set on the link corresponding to each input node.

[0159] As described above, a neural network is a network in which one or more nodes are interconnected through one or more links, forming input and output node relationships within the network. The characteristics of a neural network can be determined based on the number of nodes and links within the network, the relationships between the nodes and links, and the weights assigned to each link. For example, if two neural networks have the same number of nodes and links but different weight values ​​for the links, the two neural networks can be perceived as different from each other.

[0160] A neural network can be composed of a set of one or more nodes. A subset of the nodes comprising the neural network can form a layer. Some of the nodes comprising the neural network can form a layer based on their distances from the initial input node. For example, a set of nodes that are n distances from the initial input node can form n layers. The distance from the initial input node can be defined by the minimum number of links required to reach the node from the initial input node. However, this definition of a layer is arbitrary for illustrative purposes, and the degree of a layer within a neural network can be defined in a different way than described above. For example, a layer of nodes can be defined by its distance from the final output node.

[0161] In one embodiment of the present disclosure, a set of neurons or nodes may be defined as a layer.

[0162] An initial input node may refer to one or more nodes within a neural network into which data is directly input without going through links with other nodes. Alternatively, within a neural network, it may refer to nodes that do not have other input nodes connected by links in the relationship between nodes based on links. Similarly, a final output node may refer to one or more nodes within a neural network that do not have output nodes in their relationship with other nodes. Furthermore, a hidden node may refer to nodes that constitute a neural network other than the initial input node and the final output node.

[0163] A neural network according to one embodiment of the present disclosure may be a neural network in which the number of nodes in an input layer may be the same as the number of nodes in an output layer, and the number of nodes decreases and then increases as it progresses from the input layer to the hidden layer. In addition, a neural network according to another embodiment of the present disclosure may be a neural network in which the number of nodes in an input layer may be less than the number of nodes in an output layer, and the number of nodes decreases as it progresses from the input layer to the hidden layer. In addition, a neural network according to another embodiment of the present disclosure may be a neural network in which the number of nodes in an input layer may be greater than the number of nodes in an output layer, and the number of nodes increases as it progresses from the input layer to the hidden layer. A neural network according to another embodiment of the present disclosure may be a neural network in a combined form of the neural networks described above.

[0164] A deep neural network (DNN) can refer to a neural network that includes multiple hidden layers in addition to input and output layers. Using a DNN, one can identify the latent structures of data. This can be used to identify the latent structures of images, text, videos, audio, protein sequence structures, gene sequence structures, peptide sequence structures, the latent structures of music (e.g., what objects are in a photo, the content and emotion of a text, the content and emotion of a voice, etc.), and / or the binding affinity between peptides and MHC. Deep neural networks may include convolutional neural networks (CNNs), recurrent neural networks (RNNs), autoencoders, generative adversarial networks (GANs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), Q networks, U networks, Siamese networks, generative adversarial networks (GANs), and the like. The description of the above-described deep neural networks is merely an example and the present disclosure is not limited thereto.

[0165] The artificial intelligence-based model of the present disclosure can be represented by a network structure of any structure described above, including an input layer, a hidden layer, and an output layer.

[0166] The neural network that can be used in the clustering model of the present disclosure may be trained using at least one of supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. Training of the neural network may be a process of applying knowledge to the neural network to perform a specific operation.

[0167] Neural networks can be trained to minimize output errors. This process involves repeatedly inputting training data into the neural network, calculating the neural network output and target error for the training data, and backpropagating the neural network error from the output layer to the input layer to update the weights of each node in the neural network to reduce the error. In supervised learning, training data with the correct answer for each training data is used (i.e., labeled training data). In unsupervised learning, the correct answer may not be labeled for each training data. For example, in supervised learning for data classification, the training data may be data with each category labeled. Labeled training data is input to the neural network, and the error can be calculated by comparing the output (category) of the neural network with the training data labels. Alternatively, in unsupervised learning for data classification, the error can be calculated by comparing the input training data with the neural network output. The calculated error is backpropagated in the neural network in the backward direction (i.e., from the output layer to the input layer), and the connection weights of each node in each layer of the neural network can be updated according to the backpropagation. The amount of change in the connection weights of each node to be updated can be determined by the learning rate. The neural network's calculation of the input data and the backpropagation of the error can constitute a learning cycle (epoch). The learning rate can be applied differently depending on the number of iterations of the neural network's learning cycle. For example, a high learning rate can be used in the early stages of neural network training to quickly achieve a certain level of performance, thereby increasing efficiency. A lower learning rate can be used in the later stages of training to increase accuracy.

[0168] In neural network training, training data can typically be a subset of real-world data (i.e., the data to be processed using the trained neural network). Therefore, there can be a learning cycle where errors on the training data decrease but errors on the real-world data increase. Overfitting is a phenomenon where excessive training on the training data leads to increased errors on the real-world data. For example, a neural network trained on yellow cats may fail to recognize cats when shown non-yellow colors, a type of overfitting. Overfitting can increase errors in machine learning algorithms. Various optimization methods can be used to prevent overfitting. These methods include increasing the training data, regularization, dropout, which disables some nodes in the network during the learning process, and the use of batch normalization layers.

[0169] According to one embodiment of the present disclosure, a computer-readable medium storing a data structure including benchmark results and / or an artificial intelligence-based model is disclosed. The aforementioned data structure may be stored in a storage unit (not shown) in the present disclosure, executed by a processor (110), and transmitted and received by a communication unit (not shown).

[0170] A data structure can refer to the organization, management, and storage of data that enables efficient access and modification. A data structure can refer to the organization of data to solve a specific problem (e.g., data retrieval, data storage, or data modification in the shortest possible time). A data structure can also be defined as the physical or logical relationships between data elements designed to support specific data processing functions. The logical relationships between data elements can include connections between user-defined data elements. The physical relationships between data elements can include actual relationships between data elements physically stored on a computer-readable storage medium (e.g., persistent storage). Specifically, a data structure can include a collection of data, relationships between data, and functions or commands applicable to the data. An effectively designed data structure allows a computing device to perform operations while minimizing the use of its resources. Specifically, a computing device can improve the efficiency of operations, reading, inserting, deleting, comparing, exchanging, and searching through an effectively designed data structure.

[0171] Data structures can be categorized as linear or nonlinear, depending on their form. A linear data structure can be a structure in which only one data item is linked to the next. Linear data structures can include lists, stacks, queues, and deques. A list can refer to a series of data sets with an internal order. Lists can also include linked lists. A linked list is a data structure in which data is linked in a single line, each item having a pointer. In a linked list, a pointer can contain information about the next or previous item. Linked lists can be expressed as singly linked lists, doubly linked lists, or circular linked lists, depending on their form. A stack can be a data listing structure with limited data access. A stack can be a linear data structure in which data operations (e.g., insertion or deletion) can only be performed at one end of the data structure. Data stored in a stack can be a Last-in-First-out (LIFO) data structure. A queue is a data structure with limited access to data. Unlike a stack, it can be a first-in, first-out (FIFO) data structure, with later data being retrieved later. A deck can be a data structure that can process data at both ends.

[0172] A nonlinear data structure can be a structure in which multiple pieces of data are connected behind a single piece of data. Nonlinear data structures can include graph data structures. A graph data structure can be defined by vertices and edges, and an edge can include a line connecting two different vertices. Graph data structures can include tree data structures. A tree data structure can be a data structure in which there is only one path connecting two different vertices among multiple vertices included in the tree. In other words, it can be a data structure that does not form a loop in a graph data structure.

[0173] The data structure may include a neural network. The data structure including the neural network may be stored on a computer-readable medium. The data structure including the neural network may also include preprocessed data for processing by the neural network, data input to the neural network, neural network weights, neural network hyperparameters, data obtained from the neural network, activation functions associated with each node or layer of the neural network, loss functions for neural network learning, etc. The data structure including the neural network may include any of the components disclosed above. That is, the data structure including the neural network may be configured to include all or any combination of the following: preprocessed data for processing by the neural network, data input to the neural network, neural network weights, neural network hyperparameters, data obtained from the neural network, activation functions associated with each node or layer of the neural network, loss functions for neural network learning, etc. In addition to the aforementioned components, the data structure including the neural network may include any other information that determines the characteristics of the neural network. Additionally, the data structure may include any form of data used or generated in the computational process of the neural network, and is not limited to the aforementioned. The computer-readable medium may include a computer-readable recording medium and / or a computer-readable transmission medium. The neural network may be composed of a set of interconnected computational units, which may generally be referred to as nodes. These nodes may also be referred to as neurons. The neural network is composed of at least one node.

[0174] The data structure may include data input to a neural network. The data structure including the data input to the neural network may be stored on a computer-readable medium. The data input to the neural network may include training data input during the neural network training process and / or input data input to the neural network after training has been completed. The data input to the neural network may include data that has undergone preprocessing and / or data that is the target of preprocessing. Preprocessing may include a data processing process for inputting data to the neural network. Accordingly, the data structure may include data that is the target of preprocessing and data generated by the preprocessing. The above-described data structure is merely an example, and the present disclosure is not limited thereto.

[0175] The data structure may include weights of the neural network. (In this specification, the terms "weight" and "parameter" may be used interchangeably.) The data structure including the weights of the neural network may be stored in a computer-readable medium. The neural network may include a plurality of weights. The weights may be variable and may be varied by a user or an algorithm so that the neural network can perform a desired function. For example, when one or more input nodes are interconnected to one output node by respective links, the output node may determine a data value output from the output node based on values ​​input to the input nodes connected to the output node and weights set for links corresponding to each input node. The above-described data structure is merely an example, and the present disclosure is not limited thereto.

[0176] By way of example and not limitation, the weights may include weights that vary during the neural network training process and / or weights that have completed neural network training. The weights that vary during the neural network training process may include weights at the start of the training cycle and / or weights that vary during the training cycle. The weights that have completed neural network training may include weights that have completed the training cycle. Accordingly, a data structure including the weights of a neural network may include a data structure including weights that vary during the neural network training process and / or weights that have completed neural network training. Therefore, the above-described weights and / or combinations of each weight are included in the data structure including the weights of a neural network. The above-described data structures are merely examples and the present disclosure is not limited thereto.

[0177] A data structure including neural network weights can be stored in a computer-readable storage medium (e.g., memory, hard disk) after going through a serialization process. Serialization can be a process of converting a data structure into a form that can be stored on the same or different computing devices and later reconstructed and used. A computing device can serialize the data structure to transmit and receive data over a network. The data structure including the serialized neural network weights can be reconstructed on the same computing device or another computing device through deserialization. The data structure including the neural network weights is not limited to serialization. Furthermore, the data structure including the neural network weights can include a data structure that increases computational efficiency while minimizing the use of computing device resources (e.g., a B-Tree, an R-Tree, a Trie, an m-way search tree, an AVL tree, a Red-Black Tree in nonlinear data structures). The foregoing is merely an example, and the present disclosure is not limited thereto.

[0178] The data structure may include hyperparameters of a neural network. Furthermore, the data structure including the hyperparameters of the neural network may be stored on a computer-readable medium. The hyperparameters may be variables that can be varied by the user. The hyperparameters may include, for example, a learning rate, a cost function, the number of learning cycle repetitions, weight initialization (e.g., setting a range of weight values ​​to be subject to weight initialization), and the number of hidden units (e.g., the number of hidden layers, the number of nodes in the hidden layer). The above-described data structure is merely an example, and the present disclosure is not limited thereto.

[0179] FIG. 3 illustrates an exemplary schematic diagram of a system (300) for providing benchmark results according to one embodiment of the present disclosure.

[0180] In one embodiment, the second computing device (320) may include multiple modules that perform different operations related to an artificial intelligence-based model. For example, the second computing device (320) may include a first module (330), a second module (340), and a third module (350). In one embodiment, the first module (330) may generate a learning model based on an input dataset. The second module (340) may generate a lightweight model by compressing the input model. The third module (350) may generate download data for deploying the input model to at least one target node. Although three modules are exemplified in the example of FIG. 3, it will be understood by those skilled in the art that a variety of modules may be included in the second computing device (320) depending on the implementation.

[0181] In one embodiment, the first computing device (310) and the second computing device (320) may interact to provide benchmark results to a user. For example, the first computing device (310) may, in response to a request from the second computing device (320), provide the second computing device (320) with benchmark results necessary for the operation of the second computing device (320).

[0182] In one embodiment, although the first computing device (310) is represented in FIG. 3 as a separate entity external to the second computing device (320), depending on the implementation, the first computing device (310) may operate as an integrated module of the second computing device (320).

[0183] In one embodiment, the first computing device (310) may receive a request for a benchmark from an entity other than the second computing device (320) and, in response, provide benchmark results. For example, the first computing device (310) may provide results for benchmarking an artificial intelligence-based model prepared by a user (e.g., a learning model or a compression model created by the user).

[0184] In one embodiment, the first computing device (310) may receive module identification information indicating which of a plurality of modules of the second computing device (320) triggers a benchmark operation of the first computing device (310) and provide a benchmark result to the second computing device (320) based on the module identification information. The benchmark result provided to the second computing device (320) may differ depending on the module identification information. For example, when the module identification information indicates the first module (330), the first computing device (310) may provide performance information targeting the entire input model to the second computing device (320), and when the module identification information indicates the second module (340), the first computing device (310) may provide performance information targeting the entire input model to the second computing device (320) and provide performance information in units of blocks of the input model. As another example, if the module identification information indicates the first module (330), the first computing device (310) may provide the second computing device (320) with benchmark results for determining a target node on which to execute a learning model or a converted learning model corresponding to the input dataset, and if the module identification information indicates the second module (340), the first computing device (310) may provide the second computing device (320) with benchmark results including compressed configuration data used to generate a lightweight model corresponding to the input model.

[0185] In one embodiment, the first computing device (310) may correspond to an entity that manages a plurality of nodes. The first computing device (310) may perform a benchmark on nodes included in a node list including a first node (360), a second node (370), and an Nth node (380). In FIG. 3, the first node (360), the second node (370), and the Nth node (380) are illustrated as being included in the first computing device (310), but depending on the implementation, the first node (360), the second node (370), and the Nth node (380) may exist outside the first computing device (310) and may be able to interact with the first computing device (310) through communication.

[0186] In one embodiment, the first computing device (310) may generate benchmark results for a plurality of nodes in response to a request from a user and / or a request from a second computing device (320). In one embodiment, the first computing device (310) may generate benchmark results for a plurality of nodes by interacting with a converting device (390) in response to a request from a user and / or a request from a second computing device (320).

[0187] In one embodiment, the converting device (390) is a device for converting the first model into the second model. As illustrated in FIG. 3, the converting device (390) may exist as a separate entity from the first computing device (310) and the second computing device (320), or may operate as an integral part of the first computing device (310) and / or the second computing device (320).

[0188] In one embodiment, the benchmark results may include the results of executing (e.g., inference) an AI model on a target node. For example, the benchmark results may include performance measurements of the AI ​​model when executed on the target node. In another example, the benchmark results may include performance measurements of a converted AI model when executed on the target node.

[0189] In one embodiment, benchmark results can be used in various forms and for various purposes. For example, benchmark results can be used to determine the target nodes on which a prepared model will be executed. For example, benchmark results can be used to generate a list of candidate nodes corresponding to the input model. For example, benchmark results can be used for optimization or compression of a prepared model. For example, benchmark results can be used to deploy a prepared model on a target node.

[0190] FIG. 4 illustrates an exemplary flowchart for providing benchmark results according to one embodiment of the present disclosure.

[0191] In one embodiment, the method illustrated in FIG. 4 may be performed by a computing device (100). For example, the method illustrated in FIG. 4 may be performed by a first computing device (310). As another example, the method illustrated in FIG. 4 may be performed by a computing device (100) that includes a first computing device (310) and a second computing device (320).

[0192] Below, an example of the steps of FIG. 4 being performed by a computing device (100) will be specifically described. Those skilled in the art will understand that some of the steps illustrated in FIG. 4 may be omitted or additional steps may be included depending on the implementation.

[0193] In one embodiment, the computing device (100) can obtain model type information of an artificial intelligence-based model input for benchmarking and target type information for identifying a model type that is the target of the benchmarking (410).

[0194] The computing device (100) may receive input data including information related to a model for which a specific model is to be benchmarked. For example, the input data may include information about a model file for which modeling has been performed and a model type for which benchmarking is to be performed. As another example, the input data may include a model file for which modeling has been performed and information about a model type corresponding to the model file. As another example, the input data may include a model file for which modeling has been performed, information about a model type corresponding to the model file, and information about a target type for which benchmarking is to be performed. The computing device (100) may provide information for selecting a node for which model benchmarking is to be performed in response to the input data.

[0195] In one embodiment, the model type information may include any form of information for identifying the input AI-based model. For example, the model type information may include information indicating the model's execution environment, such as Tflite, Onnxruntime, and TensorRT. For example, the model type information may also include library information or software version information regarding the model's execution environment. In this example, the model type information may be expressed as Python 3.7.3 for Tflite and pillow 5.4.1.

[0196] In one embodiment, the target type information that is the subject of the benchmark may include any form of information for identifying an artificial intelligence-based model for performing the benchmark.

[0197] In a further embodiment, the computing device (100) can extract corresponding model type information from the input artificial intelligence model. The computing device (100) can obtain the execution environment and / or library information of the model by parsing the input artificial intelligence model (e.g., model file). The computing device (100) can determine whether to convert the model by comparing the extracted model type information and the input target type information. In this embodiment, the model type information of the input artificial intelligence-based model can be determined from the input artificial intelligence-based model without a user input defining the model type information.

[0198] In one example, the target type information may be different from the model type information of the input AI-based model. In this case, the computing device (100) may obtain a converted conversion result so that the input AI-based model can have the target type information. The difference between the target type information and the model type information of the input model may mean that information about the execution environment of the model and / or library information about the execution environment are different. For example, the converting may include replacing an operator included in the input model to correspond to the target type information. For example, the converting may include changing the library information or software version of the input model to correspond to the target type information. For example, the converting may include changing the execution environment of the input model to an execution environment corresponding to the target type information.

[0199] As another example, if the model type information and target type information of the input artificial intelligence-based model are the same, the computing device (100) can generate a benchmark result for the input artificial intelligence-based model without performing a converting operation.

[0200] In one embodiment, the computing device (100) may determine whether to convert an artificial intelligence-based model based on model type information and target type information (420).

[0201] The computing device (100) can determine whether to convert an artificial intelligence-based model by comparing the model type information and target type information of the input model. The computing device (100) can determine whether the input artificial intelligence-based model type information and the input target type information match. If the input artificial intelligence-based model type information and the input target type information do not match, the computing device (100) can generate a benchmark result based on the conversion result. If the input artificial intelligence-based model type information and the input target type information match, the computing device (100) can generate a benchmark result by executing the input artificial intelligence-based model on the target node.

[0202] In one embodiment, the computing device (100) may determine to convert an artificial intelligence-based model to correspond to the target type information when the model type information and the target type information are different from each other, and may determine to use the artificial intelligence-based model as the target model to be benchmarked without converting the artificial intelligence-based model when the model type information and the target type information correspond to each other.

[0203] In one embodiment, the decision on whether to convert may be determined in response to inputting model type information and target type information corresponding to the model. Accordingly, when generating or acquiring a list of candidate nodes, expected performance information may be generated for the converted model (or operator) and each of the candidate nodes based on the decision on whether to convert. In one embodiment, the expected performance information may refer to expected information related to performance determined based on performance information for each model or operator for each candidate node measured in the past. For example, the expected performance information may include expected latency information.

[0204] In a further embodiment, the computing device (100) may determine whether to convert the model based on information related to the model (e.g., a model file, model type information corresponding to the model file, and / or target type information) and selected node information. For example, the computing device (100) may determine whether to convert based on whether the determined model is supported by the selected node or whether an operator included in the determined model is supported by the selected node. For example, the determined model may not be supported by the selected node. In such a case, the computing device (100) may determine whether to convert the determined model or whether to convert at least some of the operators included in the determined model. As another example, if the determined model is not supported by the selected node, the first computing device (1000c) may determine that conversion is necessary for the determined model or determine to change the selected node to another node.

[0205] In one embodiment, the computing device (100) may provide a candidate node list including candidate nodes determined based on target type information (430).

[0206] In one embodiment, candidate nodes may be used to determine target nodes among multiple nodes for model benchmarking. Among the candidate nodes included in the candidate node list, the target node for benchmarking may be determined based on input data.

[0207] According to one embodiment of the present disclosure, candidate nodes may be determined in various ways. In one embodiment, candidate nodes may be determined based on the result of a decision regarding whether to convert, an AI-based model (or model type information), and target type information.

[0208] For example, among the nodes under the management of the computing device (100), nodes capable of supporting an input artificial intelligence-based model may be determined as candidate nodes. For example, among the nodes under the management of the computing device (100), nodes capable of supporting an execution environment corresponding to target type information may be determined as candidate nodes.

[0209] For example, among the nodes that can support an execution environment corresponding to the target type information, first nodes that have an execution environment that supports a first operator included in an artificial intelligence-based model may be determined as the candidate nodes. For example, the computing device (100) may extract operators included in the input artificial intelligence-based model. Among the nodes that have a runtime that matches the target type information, if the runtime matches but the version of the runtime supported by the node does not support the extracted operator, the node on which the corresponding version of the runtime is installed may be excluded from the candidate nodes.

[0210] For example, among the nodes having an execution environment corresponding to the target type information, second nodes having an execution environment that does not support the first operator included in the artificial intelligence-based model but supports a second operator different from the first operator that can replace the first operator may be determined as candidate nodes. For example, if there is an operator that can replace the unsupported operator, the computing device (100) may request the user to replace or change the operator, and if the computing device (100) receives a request for operator replacement from the user, the computing device (100) may include the corresponding node in the candidate nodes, and if not, may exclude the corresponding node from the candidate nodes.

[0211] For example, third nodes that have memory space exceeding the size of the artificial intelligence-based model may be determined as candidate nodes.

[0212] The computing device (100) can generate a candidate node list by combining the candidate node determination methods described in the various examples described above.

[0213] In one embodiment, the computing device (100) may transmit a list of candidate nodes to the computing device requesting the benchmark. The target node on which the benchmark will be performed may be determined based on a user selection from the list of candidate nodes.

[0214] In one embodiment, the candidate node list may include identification information for each of the candidate nodes, and expected latency information for each of the candidate nodes when the target model is executed.

[0215] In one embodiment, the expected latency information may include the expected inference time for each model of each node. A smaller expected latency value may indicate a shorter inference time. Therefore, since the expected latency value can be interpreted as a performance indicator for a combination of AI-based models and nodes, the computing device (100) may provide a list of candidate nodes sorted based on the size of the expected latency information. In this example, a list of candidate nodes may be provided sorted in descending order of the size of the latency information.

[0216] In one embodiment, the identification information for a candidate node may include hardware information corresponding to the candidate node. For example, the identification information may include not only the product name corresponding to the hardware, but also information about the installed execution environment, library information for the execution environment, power mode information, fan mode information, temperature information for the current board, and / or power usage information for the current board.

[0217] In one embodiment, power mode information may be determined based on how many CPU cores are being used. For example, if all CPU cores are being used, the power mode information may be determined as MAX, and may also be determined in a way that quantitatively expresses the usage, such as 30W, 20W, 15W, and 10W. For example, a larger quantitative amount of power mode information may result in lower latency. As another example, a node with a power mode of MAX may experience lower latency compared to other nodes that do not use the power mode.

[0218] In one embodiment, the fan mode information may be expressed in the form of information indicating the fan strength, such as Null, Quite, and Cool. For example, when the fan mode is Quite, the board temperature can be lowered more than when the fan mode is Null, and thus latency is more likely to be lower. For example, when the fan mode is Cool, the board temperature can be lowered more than when the fan mode is other modes, and thus latency is more likely to be lower.

[0219] In one embodiment, the library information may indicate library information required for installing an execution environment (e.g., a runtime) installed on a specific node. Depending on the characteristics of the node, multiple execution environments may be included, and thus the library information may also be compatible with multiple execution environments.

[0220] In one embodiment, the current board's power usage may represent power usage obtained from power measurement sensors connected to the nodes. A lower value for the current board's power usage may be interpreted as indicating higher availability of the corresponding node.

[0221] In one embodiment, the sort order of candidate nodes included in the candidate node list may be determined based on the size of the expected latency information. The computing device (100) may provide a candidate node list sorted based on the size of the expected latency information. In this example, a candidate node list may be provided sorted in descending order of the size of the latency information.

[0222] In additional embodiments, the sort order of candidate nodes may be determined based on factors such as memory usage and CPU usage. For example, the sort order of candidate nodes may be determined based not only on expected latency information, but also on memory usage and CPU usage. In this example, if the difference in the size of the expected latency information between a first candidate node and a second candidate node among candidate nodes falls within a predetermined threshold range, the sort order between the first candidate node and the second candidate node may be determined based on the memory usage and CPU usage of the first and second candidate nodes. For example, if the expected latencies are the same, additional sorting may be performed based on the current memory (e.g., RAM) usage and CPU usage.

[0223] In a further embodiment, the computing device (100) may perform sorting by considering additional factors for specific nodes, such as the Jetson series. For example, for specific types of nodes, such as the Jetson series, a separate sorting may be additionally performed for the corresponding nodes. As another example, for nodes of a specific type, the computing device (100) may sort nodes based on expected latency when sorting nodes of another type, but may additionally consider the Power field and / or the Fan field when nodes corresponding to the corresponding type have expected latency values ​​within a similar range. For example, the computing device (100) may perform sorting in order of increasing Power field by additionally considering a factor corresponding to the Power field. For example, for specific nodes, such as the Jetson series, when the Power field is the same or within a predetermined threshold range, the computing device (100) may additionally sort nodes in order of decreasing Fan operation size based on the size or intensity of Fan operation.

[0224] As mentioned above, for nodes with similar expected latency information, the sort order of candidate nodes can be determined by considering additional factors. In this way, when providing a list of candidate nodes, the candidate nodes are sorted in a way that allows users to intuitively check the expected performance. This allows users to more easily and efficiently check the expected performance of nodes on the list and more efficiently determine target nodes.

[0225] In one embodiment, the computing device (100) may link a converting operation to the process of generating a candidate node list.

[0226] For example, the computing device (100) can obtain a target model converted from an artificial intelligence-based model to correspond to target type information. In a further example, the computing device (100) can perform conversion by the computing device (100) or can obtain a target model changed to a target type through an external converting device. The computing device (100) can obtain sub-latency information corresponding to each of a plurality of operators included in the target model. For example, one operator may correspond to one sub-latency. Here, the sub-latency information may be calculated for each of the candidate nodes. A plurality of operators may exist in the model, and the computing device (100) can measure or determine the sub-latency that occurs when each operator is executed on a specific target node. The computing device (100) can generate expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators. For example, the computing device (100) can obtain expected latency information corresponding to the model by summing the sub-latencies corresponding to each operator included in the model. The computing device (100) can provide a candidate node list including the expected latency information and identification information of the candidate nodes.

[0227] In one embodiment, an AI-based model may include multiple operators. Operators may correspond to the operations of the AI-based model. Different operations within the model may be represented by different operators. For example, the model may include an operator corresponding to Conv2D, which represents a convolutional operation on a 2D image.

[0228] In one embodiment, the computing device (100) may generate a list of candidate nodes using a latency table that matches each of the multiple operators and nodes for each model.

[0229] In one embodiment, when a latency table exists, the computing device (100) can obtain expected performance information for each candidate node by using the latency table without measuring the performance of each candidate node during the process of generating the candidate node list. When a latency table does not exist, the computing device (100) can measure the performance of each candidate node during the process of generating the candidate node list and generate a candidate node list including the measured performance.

[0230] For example, a latency table can be obtained for a single model. In one embodiment, the latency table can include sub-latency information obtained by executing each of the pre-stored operators on the pre-stored nodes. One of the rows and columns of the latency table contains information about the operator, the other contains information about the node, and the value of the element can be expressed as a sub-latency. After the latency table is initially generated through measurement on the computing device (100), the expected performance of the candidate node list can be quickly obtained using the pre-prepared latency table without performing additional measurement or execution procedures.

[0231] As described above, the computing device (100) may obtain sub-latency information corresponding to each of a plurality of operators included in the target model using a pre-generated latency table, and may generate expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators. In this manner, a candidate node list including expected latency information and identification information of the candidate nodes may be provided. The computing device (100) may determine a latency table corresponding to the input model, and may generate expected latency information of the model for each of the candidate nodes based on the sub-latency information for each node of the plurality of operators included in the determined latency table. The expected latency information of the model may be generated by adding up the sub-latency information of each of the plurality of operators.

[0232] In one embodiment, the computing device (100) can generate a candidate node list using a converting matching table.

[0233] In one embodiment, the computing device (100) can determine which type of model (e.g., Type A) to convert to which type of model (e.g., Type B) based on the input information. If there is a history of converting from Type A to Type B, a separate converting matching table corresponding to the conversion from Type A to Type B may exist. In this case, the computing device (100) can extract operators that generate latency only by analyzing the model corresponding to Type A, and calculate expected performance information based on the latency when the extracted operators are converted to Type B.

[0234] In one embodiment, if there is no history of conversion from Type A to Type B, the computing device (100) can extract an operator by analyzing the converted model after converting a model (or operator) corresponding to Type A to Type B, and then calculate or measure latency for the extracted operator to calculate expected performance information.

[0235] In one embodiment, the computing device (100) may pre-generate the aforementioned converting matching table for predetermined converting types and / or for converting types (or models) that take more than a predetermined threshold time to convert.

[0236] In one embodiment, the converting matching table may include sub-latency information corresponding to the converted operator when an operator extracted from an AI-based model corresponding to model type information is converted to correspond to target type information. For example, one of the rows and columns of the converting matching table may include operators corresponding to model type information before conversion, and the other may include operators corresponding to target type information after conversion, and an element in the converting matching table may include sub-latency information corresponding to the converted operator when converted. In one example, the converting matching table may be generated for each node. In this example, one converting matching table may correspond to one node. In one example, the converting matching table may be generated for each node and for each combination of models. In this example, sub-latency information for each operator in the first node of the second model converted from the first model may be expressed in one table.

[0237] In a further embodiment, the computing device (100) may utilize a converting matching table that includes conversion information between operators, whereby a specific operator of a specific model is converted to another operator of another model. In this example, the converting matching table may include information indicating how operators are converted within a model when conversion occurs between models. For example, one of the rows and columns in the converting matching table may include operators of a model before conversion, and the other may include operators of a model after conversion. Using the above-described converting matching table, it may be confirmed how operators are changed according to conversion. In this embodiment, the computing device (100) may identify operators of a converted model using the converting matching table, and obtain sub-latencies per node for each operator of the converted model using the above-described latency table. By summing the sub-latencies, expected performance information per node for the converted model may be obtained.

[0238] In one embodiment, when it is determined that an artificial intelligence-based model is to be converted, the computing device (100) determines whether a converting matching table exists for matching model type information and target type information, and if a converting matching table exists, based on an operator included in the artificial intelligence-based model and the converting matching table, the computing device (100) may generate expected latency information of the target model for each of the candidate nodes. The computing device (100) may provide a candidate node list including the expected latency information and identification information of the candidate nodes.

[0239] In one embodiment, the computing device (100) can generate expected latency information for the converted model by combining the latency table and the converting matching table to determine a sub-latency for each operator of the converted model and summing the determined sub-latencies.

[0240] In a further embodiment, the computing device (100) may generate expected latency information of the target model for each of the candidate nodes by combining a latency table including latency measurement results for each node in units of models rather than operators and / or a converting matching table including latency measurement results according to conversion for each node in units of models rather than operators.

[0241] In one embodiment of the present disclosure, the computing device (100) may determine whether conversion is to be performed based on a comparison between model type information corresponding to the input model and input target type information. If it is determined that conversion is to be performed, the computing device (100) may extract operators included in the input model and determine candidate nodes to be included in a candidate node list among nodes having an execution environment matching the target type information.

[0242] In one embodiment, if a specific node has an execution environment that matches the target type information but does not support an operator included in the input model in the execution environment, the computing device (100) may determine not to include the specific node on which the execution environment is installed in the candidate node list. For example, if the runtime supported by the node matches an operator included in the input model but the runtime version of the node does not support the operator included in the input model, the node on which the runtime version is installed may be excluded from the candidate nodes.

[0243] In one embodiment, the computing device (100) may transmit a request to determine whether to proceed with replacing an operator if an operator included in an input model of a specific node is not supported by the execution environment but an operator that can replace the operator exists. If an input requesting replacement of an operator is received from a user, the specific node may be included in a candidate node list, and if an input requesting replacement of an operator is received from a user, the specific node may not be included in the candidate node list. For example, if the runtime supported by the node matches an operator included in the input model but the runtime version of the node does not support the operator included in the input model, and if an operator that can replace the operator is supported by the runtime version of the node, a candidate node may be determined through a request for replacing the operator. If an input requesting replacement of an operator is received, the node may be determined as a candidate node, and if not, the node may be excluded from the candidate nodes.

[0244] In one embodiment, the candidate node list may comprise a data structure in the form of a table, for example.

[0245] In one embodiment, the computing device (100) can determine at least one target node based on input data that selects at least one target node from a list of candidate nodes (440).

[0246] In one embodiment, the computing device (100) may receive user input data selecting a specific node from a list of candidate nodes. The computing device (100) may determine the selected nodes included in the user input data as target nodes.

[0247] In one embodiment, the computing device (100) may receive user input data for selecting one target node from a list of candidate nodes. In another embodiment, the computing device (100) may receive user input data for selecting multiple target nodes from the list of candidate nodes. In another embodiment, the computing device (100) may automatically select the node with the highest performance based on a specific factor (e.g., latency) from the list of candidate nodes as the target node without user input.

[0248] In one embodiment, the computing device (100) may provide benchmark results obtained by executing a target model obtained by converting an artificial intelligence-based model on at least one target node (450).

[0249] In one embodiment, the computing device (100) can generate benchmark results that include the results of inferring the target model from the target node.

[0250] In one embodiment, if a node is determined to be a target node, benchmark request information may be transmitted to that node. In another embodiment, if multiple nodes are determined to be target nodes, benchmark request information may be transmitted to each of the multiple nodes. The benchmark request information may include information about the target model being benchmarked. Information about the target model may include, for example, files or links related to the model, and / or target type information about the model.

[0251] In one embodiment, the benchmark results may be generated by the computing device (100) or may be performed by another server (e.g., a server comprising multiple nodes) under the management of the computing device (100).

[0252] In one embodiment, the benchmark results may include performance information at the target node of the target model.

[0253] In one embodiment, the benchmark results may vary depending on which module of another computing device triggered or requested the benchmark operation of the computing device (100). In a further embodiment, the benchmark operation may vary depending on which module of another computing device triggered or requested the benchmark operation of the computing device (100). For example, if the module that triggered the benchmark operation of the computing device (100) is a first module, the computing device (100) may provide performance information for the entire input model, and if the module that triggered the benchmark operation of the computing device (100) is a second module, the computing device (100) may provide performance information for the entire input model, as well as additionally provide performance information for each block of the input model. As another example, if the module that triggered the benchmark operation of the computing device (100) is the first module, the computing device (100) may provide a benchmark result for determining a target node on which to execute a learning model or a converted learning model corresponding to the input dataset, and if the module that triggered the benchmark operation of the computing device (100) is the second module, the computing device (100) may provide a benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model.

[0254] By way of example and not limitation, the plurality of modules that trigger the benchmark operation of the computing device (100) may include: a first module that generates a learning model based on an input dataset, a second module that generates a lightweight model by compressing the input model, and a third module that generates download data for deploying the input model to at least one target node.

[0255] In one embodiment, the benchmark request information may include information regarding whether or not to convert the model. Based on the conversion information included in the benchmark request information, conversion may be performed on the input model.

[0256] In one embodiment, when the computing device (100) determines to convert an AI-based model to correspond to target type information, the computing device (100) may determine a specific converter among a plurality of converters using information related to the input model. For example, the computing device (100) may determine converter identification information corresponding to a combination of model type information and target type information of the input model. A converter corresponding to the determined converting identification information may be determined, and a converting operation may be performed by the determined converter. For example, the computing device (100) may obtain a target model converted from the AI-based model using a model file corresponding to the AI-based model and converter identification information corresponding to a combination of model type information and target type information. As described above, when it is determined that converting is to be performed, the converting may be performed using information for identifying a model file to be converted and a converter to perform the converting (e.g., an identifier for identifying a combination of a model type before conversion and a model type after conversion). For example, the aforementioned converting may be performed by a converting device (e.g., a converting server).

[0257] As another example, depending on the implementation aspect, the above-described converting may be performed by the computing device (100). In this example, if the model file according to the result of the project is an execution environment corresponding to a different type (e.g., onnxruntime) rather than an execution environment corresponding to a specific type (e.g., tensorrt), the computing device (100) may use a converting function to convert a model of a different type (e.g., onnxruntime) into a model of a specific type (e.g., tensorrt) and provide a model file according to the conversion result.

[0258] In one embodiment, an AI-based model can be converted into a target model using a Docker image of a converter corresponding to converter identification information on a virtual operating system. For example, an entity performing conversion (e.g., a conversion server, etc.) can obtain a Docker image corresponding to the input converter identification information and execute the converter's sh file within Docker to perform model conversion. The sh file here can represent a file containing commands to be executed within Docker.

[0259] In one embodiment, the benchmark results may include a first type of quantitative information related to time and a second type of quantitative information related to memory usage.

[0260] In one embodiment, the benchmark result obtained by executing the target model on at least one target node may include information on a preprocessing time required for preprocessing of inference of the target model on at least one target node, information on an inference time required for inferring the target model on at least one target node, information on a preprocessing memory usage used for preprocessing of inference of the target model on at least one target node, information on an inference memory usage used for inferring the target model on at least one target node, quantitative information related to an inference time obtained by repeatedly inferring the target model a predetermined number of times on at least one target node, and / or quantitative information related to memory usage for each of an NPU, a CPU, and a GPU obtained by inferring the target model on at least one target node.

[0261] In one embodiment, the preprocessing time information may include information on the time required for preprocessing prior to performing an inference operation, such as loading a model. Additionally, the preprocessing time information may include quantitative information related to the time required for pre-inference when pre-inference is repeated a predetermined number of times to activate a GPU or the like prior to measuring a value for inference (e.g., minimum, maximum, and / or average time required for pre-inference).

[0262] In one embodiment, the inference time information may be used to include, for example, the time information required for the initial inference operation for the model and / or the minimum time information, maximum time information, average time information and / or median time information among the inference time information when inference is repeated a predetermined number of times. Additionally, for example, in a situation where the CPU receives and processes an operation that cannot be processed by the NPU and the NPU becomes idle, the inference time information may include the first cycle value when the NPU becomes idle. Additionally, the inference time information may also include the second cycle value when the NPU performs inference, and / or the third cycle value which is the sum of the first cycle value and the second cycle value.

[0263] In one embodiment, the benchmark result information may also include total time information that is the sum of the preprocessing memory usage information and quantitative information related to the inference time.

[0264] In one embodiment, the benchmark result information may additionally include quantitative values ​​for RAM usage, ROM usage, total memory usage, and / or SRAM area used by the NPU.

[0265] In one embodiment, when multiple benchmark results are generated as multiple nodes are selected as target nodes, the computing device (100) may sort the multiple benchmark results based on latency. For example, the benchmark results may be sorted and output in order of lowest latency. In a further embodiment, if the latency is within a predetermined similar range or there are benchmark results corresponding to each of the multiple nodes, sorting of the benchmark results may be performed additionally based on memory usage and / or CPU usage. The sorting of the benchmark results may include features related to sorting on the candidate node list.

[0266] In one embodiment, the benchmark results may include a data structure in the form of a table, for example.

[0267] In one embodiment, the computing device (100) may transmit benchmark request information in different ways depending on whether or not the plurality of connected nodes can communicate wirelessly. Wireless communication may include, for example, HTTP communication. For example, when transmitting a benchmark request to an independent node capable of wireless communication, the computing device (100) may transmit the benchmark request information to the corresponding node or a server associated with the corresponding node. For example, when attempting to transmit a benchmark request to a node that is incapable of wireless communication, the computing device (100) may transmit the benchmark request information to a node capable of wireless communication (e.g., Rpi4) that is connected to the node that is incapable of wireless communication via USB / GPIO. The node that receives the benchmark request information (e.g., a node capable of HTTP communication) may execute a program on the connected benchmark target node (i.e., a node that is incapable of HTTP communication) using serial communication via the USB / GPIO connection, thereby obtaining a benchmark result. The expected memory usage may be measured by executing an execution environment corresponding to the target model type to be executed on an independent node capable of wireless communication. Using the measured expected memory usage and benchmark request information, a benchmark program can be developed and compiled to run on a node that is not wirelessly connected. The developed and compiled program can then be flashed to the node via serial communication. In this way, benchmark results can be obtained on nodes that are not wirelessly connected.

[0268] In one embodiment, the computing device (100) can obtain benchmark results through the following method when a target node includes a node that cannot be verified externally (e.g., a virtual node, etc.).

[0269] In response to receiving a first low-power wireless signal from a node that cannot be externally verified, the computing device (100) may transmit a first acknowledgment message to the node, the first acknowledgment message including a benchmark task for benchmarking a target model at the node. For example, the first low-power wireless signal may include a beacon signal. For example, the first low-power wireless signal may include information about whether the node is performing a benchmark, the memory usage of the node, and hardware identification information of the node.

[0270] The computing device (100) may receive a second low-power wireless signal (e.g., a callback signal) from the node, which includes the benchmark result generated by the node. In a further embodiment, if the callback signal is not received within a predetermined threshold waiting time, the computing device (100) may determine that the benchmark task at the node has failed and set the node to an inactive state. In response to receiving a third low-power wireless signal (e.g., a beacon signal) from the node that has been set to an inactive state, the computing device (100) may set the state of the node to an active state. Here, the benchmark task included in the first response message may include target model information that the node can download and node configuration information used to convert the target model downloaded by the node. In addition, the benchmark result generated by the node may include a result obtained by executing the target model on the execution environment of the node based on the node configuration information and the target model information.

[0271] FIG. 5 illustrates an example of a table-type data structure (500) used to generate a candidate node list according to one embodiment of the present disclosure.

[0272] The data structure (500) in FIG. 5 is exemplified for explanatory purposes, and a data structure in which the number of nodes, the number of operators, the type of performance information, and / or the number of models are applied in various ways depending on the implementation aspect may also be included within the scope of the present disclosure.

[0273] The data structure (500) exemplified in Fig. 5 can match multiple operators and nodes for each model. A row (or column) (510) on the data structure (500) represents identification information for a node, and a column (or row) (520) represents identification information for an operator included in a specific model.

[0274] In one embodiment, the values ​​of elements included in the data structure (500) may represent performance information when a specific operator of a specific model is executed (e.g., inferred) on a specific node. For example, as illustrated in FIG. 5 , the performance information may include information related to latency. The performance information herein may, for example, represent performance information for each operator. For example, the performance information herein may represent sub-latency information as illustrated in FIG. 4 .

[0275] In the example in Fig. 5, it can be interpreted that the smaller the element value (i.e., the smaller the latency value), the better the performance. For example, the first operator can have good performance in the order of the third node, the first node, the second node, and the fourth node.

[0276] In one embodiment, the computing device (100) may generate expected performance information for combinations of models and nodes required to generate a candidate node list using one or more data structures (500). The data structure (500) may further include a value that is the sum of performance information of operators for each node. In this embodiment, a first node may have expected performance information of 3ms + 4ms + 5ms + 7ms = 19ms for a specific model, a second node may have expected performance information of 34ms, a third node may have expected performance information of 22ms, and a fourth node may have expected performance information of 32ms. For example, nodes in the candidate node list may be sorted in order of good performance. In this example, the candidate nodes may be sorted in the order of the first node, the third node, the fourth node, and the second node in the candidate node list.

[0277] In one embodiment, a data structure (500) may be generated for each model. In this embodiment, one model may correspond to one data structure (500), but depending on the implementation, one data structure (500) may be generated to correspond to multiple models.

[0278] In one embodiment, the data structure (500) may correspond to a latency table that matches each of a plurality of operators and nodes for each model. The computing device (100) may use this latency table to generate a list of candidate nodes.

[0279] In one embodiment, the latency table may include sub-latency information obtained by executing each of the pre-stored operators on the pre-stored nodes. One of the rows and columns of the latency table includes information about the operator, the other includes information about the node, and the value of the element may be expressed as a sub-latency. After the latency table is initially generated through measurement on the computing device (100), a list of candidate nodes can be quickly generated or obtained using the pre-generated latency table in response to user input without performing additional measurement or execution procedures.

[0280] As described above, the computing device (100) can obtain sub-latency information corresponding to each of a plurality of operators included in the target model using a pre-generated latency table, and generate expected latency information of the target model for each of the candidate nodes based on the sub-latency information of the plurality of operators. The computing device (100) can determine a latency table corresponding to the input model, and generate expected latency information of the model for each of the candidate nodes based on the sub-latency information of each of the plurality of operators included in the determined latency table. The expected latency information of the model can be generated by adding up the sub-latency information of each of the plurality of operators.

[0281] In one embodiment, the data structure (500) may be updated by the computing device (100) in response to change events related to model updates, addition of new nodes, and / or addition of new models. In the absence of change events, the data structure (500) may be utilized to generate a list of candidate nodes in response to user input without separate execution or measurement by the computing device (100).

[0282] FIG. 6 illustrates an example of a table-type data structure (600) used to generate a candidate node list according to one embodiment of the present disclosure.

[0283] The data structure (600) in FIG. 6 is a table-type data structure (600) that represents source operators (620) of a model (e.g., a source model) before conversion and target operators (610) of a model (e.g., a target model) after conversion when a model is converted. The values ​​of the elements of the data structure (600) may represent the expected performance (e.g., sub-latency) for a specific node in the target operator when the source operator (620) is converted into the target operator (610).

[0284] In one embodiment, data structures (600) may be generated for each combination of models and for each node. For example, one data structure (600) may cover a case where a first model is converted to a second model and the converted second model is executed on a first target node. In this example, the case where the second model is converted to the first model may be covered by another data structure. Depending on the implementation aspect, the range covered by one data structure (600) may vary, and for example, one data structure (600) may include the sub-latency of converted operators on multiple nodes.

[0285] In another example, the data structure (600) may be generated for each node. That is, when converting from a source model to a target model, it may be determined which source operators in the source model will be changed to which target operators in the target model. In this case, the computing device (100) may obtain sub-latency information between the source operators and target operators related to the conversion by referring to the data structure (600), and accordingly obtain expected performance information related to the converted target model or the converted target operator.

[0286] In one embodiment, the data structure (600) may correspond to a converting matching table. When the computing device (100) determines that an AI-based model will be converted, the computing device (100) may determine whether a converting matching table exists, and if the converting matching table exists, the computing device may generate expected latency information of the target model for each candidate node based on the operators included in the AI-based model and the converting matching table. The computing device (100) may provide the candidate node list including the expected latency information and identification information of the candidate nodes.

[0287] In one embodiment, the converting matching table may include sub-latency information corresponding to the converted operator when an operator extracted from an artificial intelligence-based model corresponding to model type information is converted to correspond to target type information. The converting matching table is a table-type data structure (600) that organizes the performance of the converted operator in a specific node when conversion occurs between operators. For example, one of the rows and columns of the converting matching table (620) may include operators corresponding to model type information before conversion, and the other (610) may include operators corresponding to target type information after conversion, and an element in the converting matching table may include sub-latency information corresponding to the converted operator when converted.

[0288] In one example, a converting matching table may be generated for each node. In this example, one converting matching table may correspond to one node. In one example, a converting matching table may be generated for each node and for each combination of models (or operators). In this example, sub-latency information for each operator in the first node of a second model converted from the first model may be expressed in one table. In this example, the source operators (620) may include operators among all operators included in the source model that undergo changes during the conversion process to the target model.

[0289] In one embodiment, the data structure (600) may be updated by the computing device (100) in response to change events related to model updates, addition of new nodes, and / or addition of new models. In the absence of change events, the data structure (600) may be utilized to generate a list of candidate nodes in response to user input without separate execution or measurement by the computing device (100).

[0290] FIG. 7 illustrates an example of a table-type data structure used to generate a candidate node list according to one embodiment of the present disclosure.

[0291] In one embodiment, the data structure (700) may represent a transformation relationship between operators of a model before conversion and operators of a model after conversion. Columns (720) in FIG. 7 represent operators that are targets of conversion in a first model corresponding to a model before conversion. Rows (710) in FIG. 7 represent converted operators included in each of the models after conversion.

[0292] For example, the 1-1 operator of the model before conversion on the data structure (700) does not change to the 1-1 operator when converted to the 2nd model, changes to the 1-3 operator when converted to the 3rd model, changes to the 1-3 operator when converted to the 4th model, and does not change to the 1-1 operator when converted to the 5th model.

[0293] In one embodiment, the data structure (700) may be used together with the data structure (500) and / or the data structure (600) when generating a candidate node list. For example, the computing device (100) may determine whether to convert the input model by comparing the model type information of the input model with the input target type information. If it is determined that conversion is necessary, the computing device (100) may identify the model before conversion and the model after conversion, and determine the data structure (700) corresponding to the identified models. Based on the determined data structure (700), the computing device (100) may determine which operators of the models before conversion are changed to which operators in the model after conversion. The computing device (100) may use the data structure (500) and / or the data structure (600) to determine what performance (e.g., sub-latency) the changed operators have for a specific node. In the above manner, the computing device (100) can generate a candidate node list.

[0294] In one embodiment, the computing device (100) may utilize a converting matching table that includes conversion information between operators, whereby a specific operator of a specific model is converted into another operator of another model. The data structure (700) may correspond to the converting matching table. In this example, the converting matching table may include information indicating how operators are converted within a model when conversion occurs between models. For example, one of the rows and columns (720) in the converting matching table may include operators of a model before conversion, and the other one (710) may include operators of a model after conversion. Using the above-described converting matching table, it may be confirmed how operators are changed according to conversion. In this embodiment, the computing device (100) may identify operators of a converted model using the converting matching table, and obtain sub-latencies per node for each operator of the converted model using the above-described latency table. By summing the sub-latencies, the expected performance information for each node of the converted model can be obtained.

[0295] FIG. 8 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0296] In one embodiment, the method illustrated in FIG. 8 may be performed by a computing device (100). For example, the method illustrated in FIG. 8 may be performed by a first computing device (310). As another example, the method illustrated in FIG. 8 may be performed by a computing device (100) that includes a first computing device (310) and a second computing device (320).

[0297] Below, an example of the steps of FIG. 8 being performed by a computing device (100) will be specifically described. It will be understood by those skilled in the art that some of the steps illustrated in FIG. 8 may be omitted or additional steps may be included depending on the implementation.

[0298] In one embodiment, a computing device (100) may obtain input data including an inference task and a dataset (810).

[0299] In one embodiment, the computing device (100) may receive input data including an inference task including a type and / or purpose of inference of an artificial intelligence-based model and a dataset for learning, verifying, and / or testing the artificial intelligence-based model. For example, the inference task may include various types of purposes to be achieved through inference of the artificial intelligence model, such as object classification, object detection, object segmentation, clustering, sequence prediction, sequence determination, anomaly detection, and / or natural language processing. For example, the dataset may include learning data used for learning the artificial intelligence-based model, verification data for evaluating learning performance during the learning process of the artificial intelligence-based model, and / or test data for evaluating the performance of the artificial intelligence-based model after learning is completed.

[0300] In an additional embodiment, the computing device (100) may also receive information (e.g., a model file, etc.) about an artificial intelligence-based model for which learning has been completed.

[0301] In an additional embodiment, the computing device (100) may receive information about an AI-based model and target type information, which is a model type to be benchmarked. Here, the information about the AI-based model may include a model file, a link for downloading the model file, and / or model type information corresponding to the model.

[0302] In additional embodiments, the computing device (100) may generate a dataset if one is not provided. For example, the computing device (100) may randomly generate the dataset. For example, the computing device (100) may generate the dataset based on information related to a task input from a user. For example, the computing device (100) may generate the dataset for performing modeling using a generative model such as a GAN.

[0303] In one embodiment, the computing device (100) may determine a target model that is a target of a benchmark for an inference task and at least one target node on which the inference task of the target model is to be executed (820).

[0304] In one embodiment, the computing device (100) can determine a target node on which an inference task is to be executed by providing a candidate node list including candidate nodes recommended for a benchmark for an inference task and receiving input data that selects at least one target node from the candidate node list.

[0305] In one embodiment, the term "candidate node" may be used to encompass nodes ready to perform a benchmark and / or nodes capable of supporting the target model. In one embodiment, the candidate node list may include a data structure in the form of a table, for example.

[0306] In one embodiment, a candidate node may be used to determine a target node among multiple nodes for model benchmarking. The target node for benchmarking may be determined based on input data from among the candidate nodes included in the candidate node list. In this embodiment, the candidate node may correspond to a node capable of supporting the target model, for example.

[0307] In one embodiment, a candidate node list may be used to determine a target node and a target model among a plurality of nodes to be benchmarked. For example, the candidate node list may include candidate nodes among a plurality of nodes that are ready to perform a benchmark task (i.e., in a standby state). In such an embodiment, a candidate node may correspond to a node ready to perform a benchmark. The target node on which the benchmark will be performed may be determined based on a user input selecting a node to be benchmarked from the candidate node list. In the above example, when a target node is determined based on input data from the candidate node list, information related to a target model having an execution environment (e.g., a runtime, etc.) that can be supported by the determined target node may be provided. Here, the information related to the target model may include identification information regarding a plurality of models that can be supported by the determined target node. For example, when a target node is determined based on a user input from the candidate node list, recommendation information regarding a target model that can be supported by the target node may be generated. This recommendation information may include information related to one or more target models. In response to user input on the recommendation information, a target model may be determined. The target model may include first information of the target model indicating the framework of the target model and second information of the target model indicating the software version of the target model. In one embodiment, information of a target model that is supportable by at least one target node included in the input data on the candidate node list may be automatically provided without separate user input. In one embodiment, the user may select a desired framework and a desired software version of the target model from the recommendation information for the target model.As described above, the computing device (100) automatically provides recommendation information on target models that the target node can support in response to a selection input for the target node, thereby enabling easy selection of models corresponding to the node to be benchmarked even if the user does not have extensive knowledge in the field of artificial intelligence.

[0308] In one embodiment, the computing device (100) may provide a candidate node list including candidate nodes recommended for benchmarking an inference task. For example, the candidate node list may include identification information for each candidate node and expected latency information for each candidate node when the target model is executed. For example, the sorting order of the candidate nodes included in the candidate node list may be determined based on the size of the expected latency information. Since a smaller expected latency may require a relatively shorter time for inference to be performed on a corresponding node, the computing device (100) may provide the candidate node list in order of decreasing expected latency (i.e., in order of good performance). Accordingly, a user can intuitively check the expected performance of each candidate node and select a target node within the candidate node list in a more efficient manner.

[0309] In one embodiment, the sort order on the candidate node list may be determined by considering various factors.

[0310] In one embodiment, the sort order on the candidate node list may be determined based on the magnitude of the expected latency. For example, the nodes may be sorted in descending order of the expected latency.

[0311] In one embodiment, the sort order in the candidate node list may be determined based on the size of the CPU utilization. For example, the nodes may be sorted in descending order of CPU utilization. Since hardware resources may be limited when performing inference-related benchmarks due to high current CPU utilization, the candidate nodes in the candidate node list may be sorted in descending order of CPU utilization.

[0312] In one embodiment, the sort order in the candidate node list may be determined based on the size of the memory usage. For example, the nodes may be sorted in descending order of memory usage. Since hardware resources may be limited when performing inference-related benchmarks due to high current memory usage, the candidate nodes in the candidate node list may be sorted in descending order of memory usage.

[0313] In one embodiment, the sort order of candidate nodes on the candidate node list may be determined based on priorities for multiple factors. For example, the priority for expected latency may be higher than the priority for CPU usage and / or memory usage. In this example, if the difference in the size of expected latency information between a first candidate node and a second candidate node among candidate nodes falls within a predetermined threshold range or if the size of the expected latency information is the same, the sort order between the first candidate node and the second candidate node may be determined based on the memory usage and / or CPU usage of the first candidate node and the second candidate node. In this example, candidate nodes whose expected latency sizes fall within a similar range may be sorted in order of decreasing memory usage and / or CPU usage.

[0314] In one embodiment, the candidate node list may include identification information for each of the candidate nodes, as well as performance information that may assist a user in determining a target node from the candidate node list. For example, the candidate node list may include power mode information indicating CPU core usage for at least some of the candidate nodes, and / or fan mode information indicating fan usage for at least some of the candidate nodes. For example, the candidate node list may include: information about at least one model that is supportable by each of the candidate nodes, library information required for installing at least one model that is supportable by each of the candidate nodes, and / or power usage information indicating power usage obtained from a power measurement sensor connected to the candidate nodes.

[0315] In one embodiment, the identification information for a candidate node may include hardware information that can identify the candidate node. For example, the identification information may include not only the product name corresponding to the hardware, but also information about the installed execution environment, library information about the execution environment, power mode information, fan mode information, temperature information about the current board, and / or power usage information about the current board.

[0316] In one embodiment, power mode information may be determined based on how many CPU cores are being used. For example, if all CPU cores are being used, the power mode information may be determined as MAX, and may also be determined in a way that quantitatively expresses the amount of power used, such as 40W, 30W, 20W, and 10W. For example, a larger quantitative amount of power mode information may result in lower latency. As another example, a node with a power mode of MAX may exhibit lower latency compared to other nodes that do not use the power mode.

[0317] In one embodiment, the fan mode information may be expressed in the form of information indicating the fan strength, such as Null, Quite, Cool, and / or Max. For example, when the fan mode is Quite, the board temperature can be lowered more than when the fan mode is Null, and thus the latency is more likely to be lower. For example, when the fan mode is Cool, the board temperature can be lowered more than when the fan mode is other modes, and thus the latency is more likely to be lower.

[0318] In one embodiment, the library information may indicate library information required for installing an execution environment (e.g., a runtime) installed on a specific node. Depending on the characteristics of the node, multiple execution environments may be included, and thus the library information may also be compatible with multiple execution environments.

[0319] In one embodiment, the current board's power usage may represent power usage obtained from power measurement sensors connected to the nodes. A lower value for the current board's power usage may be interpreted as indicating higher availability of the corresponding node.

[0320] In one embodiment, various methodologies may exist for determining candidate nodes included in a candidate node list. A candidate node determination method according to one embodiment of the present disclosure may be implemented through any combination of the various methodologies described below.

[0321] For example, the computing device (100) may determine a list of nodes that are not currently performing a benchmark or are currently ready to perform a benchmark as candidate nodes.

[0322] For example, the computing device (100) may determine nodes capable of supporting a determined target model (or determined target model information) as candidate nodes. Among the nodes under the management of the computing device (100), nodes capable of supporting an input artificial intelligence-based model may be determined as candidate nodes.

[0323] For example, the computing device (100) can determine, as candidate nodes, first nodes that have an execution environment that supports the first operator included in the artificial intelligence-based model among nodes that can support an execution environment corresponding to the target type information.

[0324] For example, the computing device (100) may determine, as candidate nodes, second nodes that do not support the first operator included in the artificial intelligence-based model among nodes having an execution environment corresponding to the target type information, but have an execution environment that supports a second operator different from the first operator that can replace the first operator.

[0325] For example, the computing device (100) can determine nodes having a memory space exceeding the size of the artificial intelligence-based model as candidate nodes.

[0326] In one embodiment, the computing device (100) may perform sorting on a specific node (e.g., Jetson series hardware) when it is included in the candidate node list by considering additional factors. For example, for a specific type of node, such as the Jetson series, a separate sorting may be additionally performed on the nodes in a manner that is distinct from other types of nodes. As another example, for a specific type of node, the computing device (100) may sort nodes based on expected latency when sorting nodes of another type, but may additionally consider the Power field and / or the Fan field when nodes corresponding to the type have expected latency values ​​within a similar range. For example, the computing device (100) may perform sorting in order of increasing Power field by additionally considering a factor corresponding to the Power field. For example, for a specific node, such as the Jetson series, when the Power field is the same or within a predetermined threshold range, the computing device (100) may additionally sort nodes in order of decreasing Fan operation size based on the size or intensity of Fan operation.

[0327] In one embodiment, the computing device (100) may receive user input data selecting a specific node from a list of candidate nodes. The computing device (100) may determine the selected nodes included in the user input data as target nodes.

[0328] In one embodiment, the computing device (100) may receive user input data for selecting one target node from a list of candidate nodes. In another embodiment, the computing device (100) may receive user input data for selecting multiple target nodes from the list of candidate nodes. In another embodiment, the computing device (100) may automatically select the node with the highest performance based on a specific factor (e.g., latency) from the list of candidate nodes as the target node without user input.

[0329] In one embodiment, the computing device (100) may provide benchmark results obtained by executing the target model on at least one target node (830).

[0330] In one embodiment, the computing device (100) can generate benchmark results that include the results of inferring the target model from the target node.

[0331] In one embodiment, if a node is determined to be a target node, benchmark request information may be transmitted to that node. In another embodiment, if multiple nodes are determined to be target nodes, benchmark request information may be transmitted to each of the multiple nodes. The benchmark request information may include information about the target model being benchmarked. Information about the target model may include, for example, files or links related to the model, and / or target type information about the model.

[0332] In one embodiment, the benchmark results may be generated by the computing device (100) or may be performed by another server (e.g., a server comprising multiple nodes) under the management of the computing device (100).

[0333] In one embodiment, the benchmark results may include performance information at the target node of the target model.

[0334] In one embodiment, the benchmark results may vary depending on which module of another computing device triggered or requested the benchmark operation of the computing device (100). In a further embodiment, the benchmark operation may vary depending on which module of another computing device triggered or requested the benchmark operation of the computing device (100). For example, if the module that triggered the benchmark operation of the computing device (100) is a first module, the computing device (100) may provide performance information for the entire input model, and if the module that triggered the benchmark operation of the computing device (100) is a second module, the computing device (100) may provide performance information for the entire input model, as well as additionally provide performance information for each block of the input model. As another example, if the module that triggered the benchmark operation of the computing device (100) is the first module, the computing device (100) may provide a benchmark result for determining a target node on which to execute a learning model or a converted learning model corresponding to the input dataset, and if the module that triggered the benchmark operation of the computing device (100) is the second module, the computing device (100) may provide a benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model.

[0335] By way of example and not limitation, the plurality of modules that trigger the benchmark operation of the computing device (100) may include: a first module that generates a learning model based on an input dataset, a second module that generates a lightweight model by compressing the input model, and a third module that generates download data for deploying the input model to at least one target node.

[0336] In one embodiment, the benchmark request information may include information regarding whether or not to convert the model. Based on the conversion information included in the benchmark request information, conversion may be performed on the input model.

[0337] In one embodiment, when the computing device (100) determines to convert an AI-based model to correspond to target type information, the computing device (100) may determine a specific converter among a plurality of converters using information related to the input model. For example, the computing device (100) may determine converter identification information corresponding to a combination of model type information and target type information of the input model. A converter corresponding to the determined converting identification information may be determined, and a converting operation may be performed by the determined converter. For example, the computing device (100) may obtain a target model converted from the AI-based model using a model file corresponding to the AI-based model and converter identification information corresponding to a combination of model type information and target type information. As described above, when it is determined that converting is to be performed, the converting may be performed using information for identifying a model file to be converted and a converter to perform the converting (e.g., an identifier for identifying a combination of a model type before conversion and a model type after conversion). For example, the aforementioned converting may be performed by a converting device (e.g., a converting server).

[0338] As another example, depending on the implementation aspect, the above-described converting may be performed by the computing device (100). In this example, if the model file according to the result of the project is not an execution environment of a specific type (e.g., Tensorrt) but an execution environment of a different type (e.g., Onnxruntime), the computing device (100) may use a converting function to convert a model of a different type (e.g., Onnxruntime) into a model of a specific type (e.g., Tensorrt) and provide a model file according to the conversion result.

[0339] In one embodiment, an AI-based model can be converted into a target model using a Docker image of a converter corresponding to converter identification information on a virtual operating system. For example, an entity performing conversion (e.g., a conversion server, etc.) can obtain a Docker image corresponding to the input converter identification information and execute the converter's sh file within Docker to perform model conversion. The sh file here can represent a file containing commands to be executed within Docker.

[0340] In one embodiment, the benchmark results may include a first type of quantitative information related to time and a second type of quantitative information related to memory usage.

[0341] In one embodiment, the benchmark result obtained by executing the target model on at least one target node may include information on a preprocessing time required for preprocessing of inference of the target model on at least one target node, information on an inference time required for inferring the target model on at least one target node, information on a preprocessing memory usage used for preprocessing of inference of the target model on at least one target node, information on an inference memory usage used for inferring the target model on at least one target node, quantitative information related to an inference time obtained by repeatedly inferring the target model a predetermined number of times on at least one target node, and / or quantitative information related to memory usage for each of an NPU, a CPU, and a GPU obtained by inferring the target model on at least one target node.

[0342] In one embodiment, the preprocessing time information may include information on the time required for preprocessing prior to performing an inference operation, such as loading a model. Additionally, the preprocessing time information may include quantitative information related to the time required for pre-inference when pre-inference is repeated a predetermined number of times to activate a GPU or the like prior to measuring a value for inference (e.g., minimum, maximum, and / or average time required for pre-inference).

[0343] In one embodiment, the inference time information may be used to include, for example, the time information required for the initial inference operation for the model and / or the minimum time information, maximum time information, average time information and / or median time information among the inference time information when inference is repeated a predetermined number of times. Additionally, for example, in a situation where the CPU receives and processes an operation that the NPU cannot process and the NPU becomes idle, the inference time information may include the first cycle value when the NPU becomes idle. Additionally, the inference time information may also include the second cycle value when the NPU performs inference, and / or the third cycle value which is the sum of the first cycle value and the second cycle value.

[0344] In one embodiment, the benchmark result information may also include total time information that is the sum of the preprocessing memory usage information and quantitative information related to the inference time.

[0345] In one embodiment, the benchmark result information may additionally include quantitative values ​​for RAM usage, ROM usage, total memory usage, and / or SRAM area used by the NPU.

[0346] In one embodiment, when multiple benchmark results are generated as multiple nodes are selected as target nodes, the computing device (100) may sort the multiple benchmark results based on latency. For example, the benchmark results may be sorted and output in order of lowest latency. In a further embodiment, if the latency is within a predetermined similar range or there are benchmark results corresponding to each of the multiple nodes, sorting of the benchmark results may be performed additionally based on memory usage and / or CPU usage. The sorting of the benchmark results may include features related to sorting on the candidate node list.

[0347] In one embodiment, the benchmark results may include a data structure in the form of a table, for example.

[0348] In one embodiment, the computing device (100) may transmit benchmark request information in different ways depending on whether or not the plurality of connected nodes can communicate wirelessly. Wireless communication may include, for example, HTTP communication. For example, when transmitting a benchmark request to an independent node capable of wireless communication, the computing device (100) may transmit the benchmark request information to the corresponding node or a server associated with the corresponding node. For example, when attempting to transmit a benchmark request to a node that is incapable of wireless communication, the computing device (100) may transmit the benchmark request information to a node capable of wireless communication (e.g., Rpi4) that is connected to the node that is incapable of wireless communication via USB / GPIO. The node that receives the benchmark request information (e.g., a node capable of HTTP communication) may execute a program on the connected benchmark target node (i.e., a node that is incapable of HTTP communication) using serial communication via the USB / GPIO connection, thereby obtaining a benchmark result. The expected memory usage may be measured by executing an execution environment corresponding to the target model type to be executed on an independent node capable of wireless communication. Using the measured expected memory usage and benchmark request information, a benchmark program can be developed and compiled to run on a node that is not wirelessly connected. The developed and compiled program can then be flashed to the node via serial communication. In this way, benchmark results can be obtained on nodes that are not wirelessly connected.

[0349] In one embodiment, the computing device (100) can obtain benchmark results through the following method when a target node includes a node that cannot be verified externally (e.g., a virtual node, etc.).

[0350] In response to receiving a first low-power wireless signal from a node that cannot be externally verified, the computing device (100) may transmit a first acknowledgment message to the node, the first acknowledgment message including a benchmark task for benchmarking a target model at the node. For example, the first low-power wireless signal may include a beacon signal. For example, the first low-power wireless signal may include information about whether the node is performing a benchmark, the memory usage of the node, and hardware identification information of the node.

[0351] The computing device (100) may receive a second low-power wireless signal (e.g., a callback signal) from the node, which includes the benchmark result generated by the node. In a further embodiment, if the callback signal is not received within a predetermined threshold waiting time, the computing device (100) may determine that the benchmark task at the node has failed and set the node to an inactive state. In response to receiving a third low-power wireless signal (e.g., a beacon signal) from the node that has been set to an inactive state, the computing device (100) may set the state of the node to an active state. Here, the benchmark task included in the first response message may include target model information that the node can download and node configuration information used to convert the target model downloaded by the node. In addition, the benchmark result generated by the node may include a result obtained by executing the target model on the execution environment of the node based on the node configuration information and the target model information.

[0352] FIG. 9 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0353] The method illustrated in FIG. 9 may be performed by the first computing device (310), the second computing device (320), and / or the computing device (100). For convenience of explanation, the method of FIG. 9 is exemplified as being performed by the computing device (100) below.

[0354] In one embodiment, the computing device (100) can verify a user's connection (905). Access by the user is possible through projects, platforms, web pages, and / or mobile pages provided by the computing device (100). The computing device (100) can generate a learning model using a dataset input by the connected user, compress the learning model to generate a lightweight model, and / or generate download data so that the model can be deployed to a node.

[0355] In one embodiment, the computing device (100) may provide a list of models (910).

[0356] In one embodiment, the computing device (100) may receive input from a user requesting a list of models, and in response to such input, may generate a list of models to be provided to the user.

[0357] In one embodiment, the model list may include, for example, a list of models capable of performing a benchmark, a list of models capable of training on a dataset, a list of models capable of compression, a list of models suitable for a specific AI task, a list of models recommended to the user, and / or a list of models requesting user input. For example, the model list may include information about the size of input data accepted by the model and / or latency for each model.

[0358] In one embodiment, the computing device (100) may request an upload of a model for which benchmark results are to be obtained (915). For example, the computing device (100) may request input or upload of a model file, a dataset, an inference task, model type information corresponding to the model file, and / or target type information that is the target of the benchmark.

[0359] In one embodiment, the computing device (100) may determine whether conversion is necessary (920) when performing a benchmark (e.g., generating a candidate node list and / or obtaining benchmark results). For example, if there is a difference between the type information of the uploaded model and the target type information that is the subject of the benchmark, conversion may be determined to be necessary. As another example, if there is a user input requesting conversion, the computing device (100) may determine that conversion will be performed.

[0360] In one embodiment, if conversion is determined not to be necessary, the computing device (100) may request input of detailed information along with the upload of the model (925). For example, the computing device (100) may request input of detailed information such as the inference task, the format of the AI-based model to be used, the storage location of the uploaded dataset (e.g., local storage and cloud storage), the learning method, the purpose of the dataset (e.g., training, validation, and testing purposes), the target latency, and / or the name of the project.

[0361] In one embodiment, if conversion is determined to be necessary, the system may request input for details along with the upload of the model and provide conversion options (930). For example, the conversion options may include notifying the user that the uploaded model will be converted into a different type of model, prompting the user to select a specific model among the models to be converted, providing performance information for each model to be converted, or requesting input from the user to confirm that conversion will proceed.

[0362] In one embodiment, the computing device (100) may receive a model selection input from a user (935). The model selection input from the user may include information about a model selected by the user from among a plurality of recommended models, information about a model to be converted selected by the user, and / or information about a model to be benchmarked selected by the user. As another example, the model selection input may include an input for selecting a target model and a target node.

[0363] In one embodiment, the computing device (100) may receive a benchmark request (940). For example, the benchmark request may include an input requesting a benchmark for a determined target model.

[0364] In one embodiment, the computing device (100) may, in response to a benchmark request, provide a candidate node list for selection of a target node (945). The candidate node list may be data generated by the computing device (100), or may be data generated by another computing device connected to the computing device (100) and stored in the computing device (100). A detailed description of the candidate node list will be replaced with the descriptions of FIGS. 4 and 8 described above.

[0365] In one embodiment, the computing device (100) may receive user input for selecting a target node from a candidate node list and input related to benchmark settings (950). For example, selection of at least one target node from the candidate node list may be allowed. For example, input related to benchmark settings may include information to be included in the benchmark result, a batch size during the inference process, identification information of the target model, software version information of the target model, hardware identification information of the target device, an output data type of the target model (e.g., FP32, FP16, INT8, INT4, etc.), a target latency for the model during the learning process, an image size of the model during the learning process, and / or a learning epoch.

[0366] In one embodiment, the computing device (100) may receive a benchmark execution request (955). In response to the benchmark execution request, the computing device (100) may generate benchmark result information by executing the target model on the target device according to benchmark settings.

[0367] In one embodiment, the computing device (100) may provide a list of benchmark tasks performed on the selected model (960). In one embodiment, step 960 may be performed in response to step 935 or in response to step 955. For example, the list of benchmark tasks in step 960 may include benchmark result information of benchmark tasks performed on a specific model. For example, a list of benchmark result information for benchmarks performed on different nodes and / or at different points in time for a specific model may correspond to the list of benchmark tasks in step 960.

[0368] In one embodiment, the computing device (100) may provide a list of benchmark tasks performed on a selected node (965). For example, the list of benchmark tasks in step 965 may include benchmark result information of benchmark tasks performed on a specific node. For example, a list of benchmark result information for benchmarks performed on different models and / or at different points in time for a specific node may correspond to the list of benchmark tasks in step 965.

[0369] In one embodiment, the computing device (100) may provide benchmark result information (970). A detailed description of the benchmark result information will be replaced with the descriptions provided above in FIGS. 4 and 8 .

[0370] FIG. 10 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0371] The entities (1000a, 1000b, 1000c, 1000d, and 1000e) illustrated in FIG. 10 are illustrative only, and additional entities may be used to implement the method for providing benchmark results, or some of the entities may be excluded or integrated, depending on the implementation. For example, at least two entities among the second computing device (1000b), the first computing device (1000c), the converting device (1000d), and the node (1000e) may be integrated into a single entity. As another example, at least one of the second computing device (1000b) and the first computing device (1000c) may be divided into multiple computing devices and operated.

[0372] In one embodiment, a user (1000a) may include an entity that accesses a second computing device (1000b) via a computing device, such as a terminal capable of wired or wireless communication.

[0373] In one embodiment, the second computing device (1000b) may include an entity that can interact with the user (1000a). For example, the second computing device (1000b) may provide a user interface to enable the user (1000a) to select and enjoy a project associated with at least one of the second computing device (1000b), the first computing device (1000c), the converting device (1000d), and the node (1000e). For example, various inputs, such as model selection, node selection, benchmark setting, compression method setting, and / or learning method selection, may be received from the user (1000a) through the user interface of the second computing device (1000b). In one embodiment, the second computing device (1000b) may provide the user (1000a) with various projects, such as a modeling project for an artificial intelligence-based model, a compression project, a download data generation project for model deployment, and / or a benchmark project.

[0374] In one embodiment, the second computing device (1000b) may be configured to trigger an operation of the first computing device (1000c). Accordingly, operations related to a benchmark of the first computing device (1000c) may be performed in response to a signal from the second computing device (1000b). In a further embodiment, the second computing device (1000b) may also interact with the converting device (1000d) and the node (1000e). In one embodiment, the second computing device (1000b) may correspond to the second computing device (320) of FIG. 3.

[0375] In one embodiment, the first computing device (1000c) can provide benchmark results to the second computing device (1000b) and / or the user (1000a). The first computing device (1000c) can obtain benchmark results for a model and node desired by the user (1000a) through interaction with the converting device (1000d) and / or the node (1000e). In one embodiment, the first computing device (1000c) can obtain corresponding benchmark results based on selected node information and selected model information. In one embodiment, the first computing device (1000c) can correspond to the first computing device (310) in FIG. 3.

[0376] In one embodiment, a converting device (1000d) may perform a converting operation on a model. Depending on the implementation, the converting device (1000d) may exist separately or may be integrated into at least one of the second computing device (1000b) and / or the first computing device (1000c). In one embodiment, the converting device (1000d) may correspond to the converting device (390) of FIG. 3.

[0377] In one embodiment, the node (1000e) may include one or more nodes. The node (1000e) may represent a target for which a selected model is benchmarked. In one embodiment, the node (1000e) may be placed under the management of the first computing device (1000c) and / or the second computing device (1000b). In this case, in response to a benchmark request from the first computing device (1000c) and / or the second computing device (1000b), a benchmark is executed on the corresponding node, and the node (1000e) may transmit benchmark result information to at least one of the first computing device (1000c) and / or the second computing device (1000b). In one embodiment, the node (1000e) may be operable in a form included in the first computing device (1000c) and / or the second computing device (1000b).

[0378] In one embodiment, a user (1000a) can access a second computing device (1000b) and upload a model through a user interface provided by the second computing device (1000b) (1005). For example, uploading a model may include uploading a dataset or transmitting a link for downloading a dataset. For example, uploading a model may include transmitting a modeled model file or a link for downloading a modeled model file. For example, uploading a model may also include transmitting information about an inference task, information about a target model to be benchmarked, and / or information about a model type corresponding to the uploaded model.

[0379] In one embodiment, the second computing device (1000b) may receive a model list request from the user (1000a) (1010a). The model list may include information about a plurality of models capable of modeling or benchmarking. For example, information about the models included in the model list may be determined based on a benchmark task and / or dataset input by the user (1000a).

[0380] In one embodiment, the second computing device (1000b) may provide a model list (1010b) including information about a plurality of models capable of modeling or benchmarking. For example, the information about the plurality of models may include an identifier of the model, the size of data that can be input to the model, an inference method of the model, a learning method of the model, a neural network structure of the model, characteristics of the model, quantitative information related to the performance of the model, and / or information about nodes suitable for the model.

[0381] In one embodiment, the second computing device (1000b) may receive user input from the user (1000a) to select at least one model from a list of models (1015).

[0382] In one embodiment, the second computing device (1000b) may store selected model information (1020) in response to a user input selecting a model. For example, the selected model information (1020) may include a model type to be benchmarked, a model type to be trained, a model type to be compressed, a model type to be deployed, a model file, a model identifier, and / or a model type corresponding to a dataset.

[0383] In one embodiment, the second computing device (1000b) may provide a list of candidate nodes corresponding to the selected model information (1020) in response to a user input for selecting a model. In one embodiment, the second computing device (1000b) may transmit the selected model information (1020) to the first computing device (1000c) in response to a user input for selecting a model.

[0384] In one embodiment, a second computing device (1000b) may receive a node list request from a user (1000a) (1025a). The second computing device (1000b) may transmit the node list request to a first computing device (1000c) (1025b). The first computing device (1000c) may provide a node list to the second computing device (1000b) (1025c). The second computing device (1000c) may provide a node list to the user (1000c) (1025d). In one embodiment, the node list may include a list of nodes ready to perform a benchmark among a plurality of nodes. In one embodiment, the node list may include a list of candidate nodes corresponding to selected model information (1020) among the plurality of nodes.

[0385] In one embodiment, the second computing device (1000b) may receive a node selection input from the user (1000a) (1030). The node selection input may mean an input for selecting at least one node (e.g., at least one target node) from a provided node list.

[0386] In one embodiment, the second computing device (1000b) may store selected node information (1035) in response to a user input selecting a node. In one embodiment, the second computing device (1000b) may also transmit the selected node information (1035) to the first computing device (1000c) in response to a user input selecting a node.

[0387] In one embodiment, a target node that a user (1000a) wishes to select may not exist in the node list, or a situation may exist where the user (1000a) wishes to newly register a specific node, or a situation may exist where the user (1000a) wishes to benchmark an additional node other than the selected node information (1035). The second computing device (1000b) may receive a node registration request from the user (1000a) (1040a). The second computing device (1000b) may transmit the node registration request to the first computing device (1000c) (1040b). In response to the node registration request, the first computing device (1000c) may register or store information about the corresponding node in a database associated with the devices. The first computing device (1000c) may provide a node list including the registered or stored node to the second computing device (1000b). The second computing device (1000b) may provide the received node list to the user (1000a). In one embodiment, the node list may include a list of nodes ready to perform a benchmark among a plurality of nodes. In one embodiment, the node list may include a list of candidate nodes corresponding to selected model information (1020) among the plurality of nodes.

[0388] In one embodiment, the second computing device (1000b) may receive a node selection input from the user (1000a) (1045). The node selection input may mean an input for selecting at least one node (e.g., at least one target node) from a provided node list. In one embodiment, the second computing device (1000b) may store selected node information (1050) in response to the user input for selecting a node. In one embodiment, the second computing device (1000b) may also transmit the selected node information (1050) to the first computing device (1000c) in response to the user input for selecting a node.

[0389] In one embodiment, the second computing device (1000b) may receive a request from the user (1000a) to perform a benchmark using selected information (1055). In one embodiment, the selected information may include selected model information (1020), selected node information (1035), and / or selected node information (1050). For example, the benchmark request in step 1055 may include a request to benchmark a single selected model (1020) on multiple selected nodes (1035 and 1050).

[0390] In one embodiment, the second computing device (1000b) may transmit the selected model to the first computing device (1000c) (1056). In one embodiment, the first computing device (1000c) may store the received model (1057). In one embodiment, the second computing device (1000b) may transmit a benchmark request for the selected node to the first computing device (1000c).

[0391] In one embodiment, the first computing device (1000c) may determine whether to convert the received model (1059). The first computing device (1000c) may determine whether to convert the model based on the received model information and the selected node information. For example, the first computing device (1000c) may determine whether to convert based on whether the received model is supported by the selected node or whether an operator included in the received model is supported by the selected node. For example, the received model may not be supported by the selected node. In such a case, the first computing device (1000c) may determine whether to convert the received model or whether to convert at least some of the operators included in the received model. As another example, if the received model is not supported by the selected node, the first computing device (1000c) may determine that conversion of the received model is necessary or determine to change the selected node to another node.

[0392] In one embodiment, if conversion is determined to be necessary, the first computing device (1000c) may request model conversion from the converting device (1000d) (1060). For example, the model conversion request may include conversion identification information indicating a combination of the type of the model to be converted and the type of the model after conversion.

[0393] In one embodiment, the converting device (1000d) may convert a model in response to a model conversion request (1065). For example, the converting device (1000d) may determine a converter corresponding to the conversion identification information included in the model conversion request among a plurality of converters and perform conversion on the model using the determined converter. The converting device (1000d) may then generate a converted model.

[0394] In one embodiment, the converting device (1000d) can transmit the converted model to the first computing device (1000c). The first computing device (1000c) can determine, clarify, or specify a target node from the converted model and check the availability of the target node (1080). For example, if the determined target node is currently executing another benchmark task or the target node does not have a predetermined amount of available memory or available CPU, the first computing device (1000c) can queue the benchmark request and issue the benchmark request when the target node becomes available.

[0395] In one embodiment, if the determined target node is available, the first computing device (1000c) may transmit a benchmark request to the node (1000e). For example, the benchmark request may include information about the target model and the target node.

[0396] In one embodiment, node (1000e) may perform a benchmark on a target model based on information included in a benchmark request and generate benchmark results. Specific descriptions of the benchmark results will be replaced with those described in FIGS. 4 and 8 . Node (1000e) may provide the benchmark results to a first computing device (1000c) (1085). The first computing device (1000c) may provide the benchmark results to a second computing device (1000b) (1090). The second computing device (1000b) may provide the benchmark results to a user (1000a).

[0397] FIG. 11 illustrates an exemplary method for providing benchmark results for an externally unverified node according to one embodiment of the present disclosure.

[0398] The embodiments illustrated in FIG. 11 illustrate the interaction between a first computing device (1110), a second computing device (1130), and a node (1120) when a node (1120) that is not externally identified, such as a virtual node, performs a benchmark as a target node.

[0399] In order to avoid duplication of explanations, the explanations in FIG. 11 that overlap with those in FIGS. 3 to 10 will be omitted and replaced with the explanations described above.

[0400] In one embodiment, a system (1100) for providing benchmark results may include a first computing device (1100) and a node (1120). As another example, the system (1100) for providing benchmark results may include a second computing device (1130), the first computing device (1100), and a node (1120). As another example, the system (1100) for providing benchmark results may include the first computing device (1100), and the second computing device (1130) and the node (1120) may be external to the system (1100).

[0401] In one embodiment, the first computing device (1110) can determine whether the target node is a node that cannot be externally identified, a node that can be externally identified, or a node that can communicate wirelessly (e.g., via HTTP communication) based on the identification information of the target node included in the received benchmark request. If the target node is determined to be a node that cannot be externally identified, a technique according to one embodiment of the present disclosure can be implemented by the exemplary method according to FIG. 11.

[0402] Here, “external” may mean, for example, outside the network to which the node (1120) is connected. For example, a node (1120) that is not identified externally may be used to encompass a node that is not accessible to devices inside the network from outside the network, a node that is not accessible to the network from outside, a node that is not visible from outside but can be identified through a beacon signal, a node that is not accessible to the network from outside but can be identified through a beacon signal transmitted by the node, or a virtual node.

[0403] In one embodiment, the node (1120) may periodically transmit a low power signal, such as a beacon signal, to an external source (e.g., the first computing device (1110)). By way of example and not limitation, the transmission period of the beacon signal transmitted by the node (1120) may have various values, such as 3 minutes, 2 minutes, 1 minute, 30 seconds, and / or 20 seconds. The first computing device (1110) may interact with the node (1120) by transmitting and receiving such low power signals to and from the node (1120), and may perform a benchmark operation with the node (1120) by including specific data (e.g., benchmark result information, information for benchmark assignment, information indicating whether benchmark performance is possible, node registration information, etc.) within the low power signals.

[0404] The entities (1110, 1120, and 1130) illustrated in FIG. 11 are illustrative only and, depending on the implementation, additional entities may be used to implement the method for providing benchmark results for nodes that are not externally verifiable, or some of the entities may be excluded or integrated. For example, at least two entities of the second computing device (1130), the first computing device (1120), and the node (1120) may be integrated into a single entity. As another example, at least one of the second computing device (1120) and the first computing device (1110) may be split into multiple computing devices and operated.

[0405] In one embodiment, the second computing device (1130) may include entities that can interact with the user and the first computing device (1110). For example, the second computing device (1130) may provide a user interface to enable the user to select and enjoy a project. For example, various inputs, such as model selection, node selection, benchmark setting, compression method setting, and / or learning method selection, may be received from the user through the user interface of the second computing device (1130). In one embodiment, the second computing device (1130) may provide the user with various projects, such as a modeling project for an artificial intelligence-based model, a compression project, a project to generate download data for model deployment, and / or a benchmark project.

[0406] In one embodiment, the second computing device (1130) may be configured to trigger an operation of the first computing device (1110). Accordingly, an operation related to a benchmark of the first computing device (1110) may be performed in response to a signal from the second computing device (1130). In a further embodiment, the second computing device (1130) may also interact with the node (1120). In one embodiment, the second computing device (1130) may correspond to the second computing device (320) of FIG. 3 and / or the second computing device (1000b) of FIG. 10.

[0407] In one embodiment, the first computing device (1110) can provide benchmark results to the second computing device (1130) and / or the user. The first computing device (1110) can obtain benchmark results for the model and node received from the second computing device (1130) through interaction with the node (1120). In one embodiment, the first computing device (1110) can obtain corresponding benchmark results based on selected node information and selected model information. In one embodiment, the first computing device (1110) can correspond to the first computing device (310) in FIG. 3 and / or the first computing device (1000c) in FIG. 10.

[0408] In one embodiment, node (1120) may include one or more nodes. Node (1120) may be operable as included in the first computing device (1110). Node (1120) may represent a target for which a selected model is to be benchmarked. In one embodiment, node (1120) may be placed under the management of the first computing device (1110) and / or the second computing device (1130). In this case, in response to a benchmark request from the first computing device (1110) and / or the second computing device (1130), a benchmark is executed on a corresponding node, and node (1120) may transmit benchmark result information to at least one of the first computing device (1110) and / or the second computing device (1130).

[0409] In one embodiment, the first computing device (1110) may receive a low-power signal from the node (1120). For example, the low-power signal may include a beacon signal. For example, the low-power signal herein may include identification information of the node (1120). As another example, the low-power signal may include a registration request to register the corresponding node on the first computing device (1110). The first computing device (1110) may store or register the corresponding node (1120) in response to the low-power signal received from the node (1120) (1141). For example, the first computing device (1110) may determine whether the identification information of the node (1120) included in the low-power signal received from the node (1120) is registered in its database. If the identification information of a node (1120) is not registered in its own DB, the computing device (1110) can store and register the node (1120) in the DB.

[0410] In one embodiment, the first computing device (1110) may transmit a response message to the node (1120) in response to the low-power signal (1142). The first computing device (1110) may set the node corresponding to the low-power signal to an active state. For example, the active state may mean a state in which a benchmark operation is possible. For example, the active state may mean a state in which communication for the benchmark operation is possible. For example, the active state may mean a state in which the current benchmark task can be performed, taking into account the CPU usage and / or memory usage, etc.

[0411] In one embodiment, the second computing device (1130) may transmit a first benchmark request to the first computing device (1110) (1143). For example, the first benchmark request may include information related to a model and a node to be benchmarked. In one embodiment, the first computing device (1110) may determine to which of a plurality of nodes to transmit the first benchmark request based on the node information included in the first benchmark request. For example, if the node included in the first benchmark request is a node (1120) that is not externally visible, the first computing device (1110) may determine to interact with the node (1120) in response to the first benchmark request using the method exemplified in FIG. 11.

[0412] In one embodiment, the first computing device (1110) may analyze the first benchmark request to determine whether to convert the model included in the first benchmark request. If it is determined that conversion is necessary, the first computing device (1110) may obtain the conversion result for the model included in the first benchmark request.

[0413] In one embodiment, the first computing device (1110) may interact with the node (1120) in response to the first benchmark request (1143) to obtain benchmark results corresponding to the first benchmark request (1143). In another embodiment, the first computing device (1110) may interact with the node (1120) in response to the first benchmark request (1143) to obtain a list of candidate nodes corresponding to the first benchmark request (1143).

[0414] In one embodiment, the first computing device (1110) may wait for a benchmark operation corresponding to the first benchmark request (1143) until a low-power signal is received from the node (1120) (1144). As described above, since the node (1120) is a node that is not externally identifiable and can communicate, for example, via a beacon signal, the first computing device (1110) may wait for additional operations for the benchmark until a subsequent low-power signal (1145) is received from the node (1120).

[0415] In one embodiment, the first computing device (1110) may receive a subsequent low-power signal from the node (1120) (1145). The low-power signal received in step 1145 may include, for example, a beacon signal transmitted periodically or repeatedly by the node (1120). Such a beacon signal may include information such as whether the node (1120) is currently performing a benchmark, the memory usage of the node (1120), the CPU utilization of the node (1120), and / or identification information of the node (1120).

[0416] In one embodiment, the first computing device (1110) may generate a response message (1146) in response to the low-power signal to assign a benchmark task corresponding to the pending first benchmark request. This response message may be transmitted from the first computing device (1110) to the node (1120) based on identification information of the node (1120) included in the low-power signal. For example, the benchmark task included in the response message may include target model information that the node (1120) can download and node configuration information used to convert the downloaded target model by the node (1120).

[0417] In one embodiment, node (1120) may execute a first benchmark corresponding to a first benchmark request (1147). Node (1120) may transmit a first benchmark result obtained by executing the first benchmark to the first computing device (1110) via a low-power signal (e.g., a callback signal) (1150). The first benchmark result may include a result obtained by executing a target model on the execution environment of node (1120) based on node configuration information and target model information. For example, the callback signal may also have the form of a beacon signal. The callback signal (low-power signal) may include information on the benchmark result performed by node (1120). The low-power signal may include the result of performing the benchmark. To avoid duplication of explanation, specific details regarding the benchmark result information will be replaced with the descriptions in FIGS. 4 and 8. The first benchmark result can be transmitted from the first computing device (1110) to the second computing device (1130) (1152).

[0418] In one embodiment, the second computing device (1130) may transmit a second benchmark request to the first computing device (1110) (1148). For example, the second computing device (1130) may sequentially transmit benchmark requests from multiple users to the first computing device (1110). In this example, the first benchmark request (1143) may be a benchmark request corresponding to a first user, and the second benchmark request (1148) may be a benchmark request corresponding to a second user. In another example, the second computing device (1130) may sequentially transmit multiple benchmark requests from a single user to the first computing device (1110). In the example of FIG. 11, a second benchmark request (1148) may be transmitted to the first computing device (1110) before benchmark result information corresponding to the first benchmark request (1143) is transmitted to the second computing device (1130). The first computing device (1110) may wait for the benchmark until a low power signal is received in response to the second benchmark request (1148) (1149). In one embodiment, the first computing device (1110) may transmit a response message to the node (1120) to assign a benchmark task corresponding to the second benchmark request to the node (1120) in response to a low power signal (1150) received from the node (1120) (1151). For example, a response message for allocating a second benchmark request may be transmitted to the node (1120) before the first benchmark result (1152) is transmitted to the second computing device (1130). In this example, the second benchmark request may be transmitted to the node (1120) via a response message corresponding to a low power signal (1150) that includes the first benchmark result corresponding to the first benchmark request (1156).As described in the example above, a new benchmark task can be assigned to node (1120) via a response message to a low-power signal (e.g., a beacon signal) containing the first benchmark result. The first computing device (1110) can transmit a second benchmark request to node (1120) while obtaining the first benchmark result. Accordingly, the low-power signal and response message communication resources between the first computing device (1110) and node (1120) can be efficiently utilized.

[0419] In one embodiment, node (1120) may execute a second benchmark corresponding to a second benchmark request (1153). As a result of executing the second benchmark, node (1120) may transmit a low-power signal (e.g., a callback signal) including the second benchmark result to the first computing device (1110) (1154). The first computing device (1110) may transmit the second benchmark result to the second computing device (1130) (1155).

[0420] In one embodiment, the second computing device (1130) may transmit a third benchmark request to the first computing device (1110) (1157). The first computing device (1110) may wait for the benchmark until a low-power signal from the corresponding node is received, and if the low-power signal from the corresponding node is not received, the benchmark corresponding to the third benchmark request may be determined to have failed (1158). The first computing device (1110) may notify the second computing device (1130) that the third benchmark corresponding to the third benchmark request has failed (1159). In one embodiment, the first computing device (1110) may determine that the benchmark task on the corresponding node has failed and set the corresponding node to an inactive state if the low-power wireless signal is not received for a predetermined threshold waiting time. In one embodiment, in response to receiving a subsequent low-power wireless signal from a node set to an inactive state, the first computing device (1110) may set the state of that node to an active state. For example, if a benchmark request specifying a node set to an inactive state is subsequently received, the first computing device (1110) may transmit to the second computing device (1130) a result indicating that the node is currently unable to perform a benchmark and / or a list of candidate nodes excluding the node from the candidate nodes.

[0421] In a further embodiment, the first computing device (1110) may transmit a third benchmark request to the node (1120), and if it does not receive a low-power wireless signal (e.g., a callback signal including the benchmark results) from the node (1120) for a predetermined threshold waiting time, determine that the benchmark task at the node has failed and set the node to an inactive state. The first computing device (1110) may then notify the second computing device (1130) that the third benchmark corresponding to the third benchmark request has failed.

[0422] The technique according to embodiments of the present disclosure can expand the range of nodes that are targets of the benchmark because nodes that are not externally verified can be considered when generating a list of candidate nodes and / or generating benchmark results.

[0423] FIG. 12 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0424] In one embodiment, the method illustrated in FIG. 12 may be performed by a first computing device (310). As another example, the method illustrated in FIG. 12 may be performed by a computing device (100) comprising a first computing device (310) and a second computing device (320).

[0425] Below, we will specifically describe an example of the steps of FIG. 12 being performed by the first computing device. Those skilled in the art will understand that, depending on the implementation, some of the steps illustrated in FIG. 12 may be omitted or additional steps may be included.

[0426] In one embodiment, the first computing device in FIG. 12 may correspond to the first computing device (310) in FIG. 3, and the second computing device may correspond to the second computing device (320) in FIG. 3. In one embodiment, the first computing device in FIG. 12 may correspond to the first computing device in FIGS. 4 through 11, and the second computing device may correspond to the second computing device in FIGS. 4 through 11.

[0427] In one embodiment, a first computing device may receive module identification information from a second computing device that includes a plurality of modules that perform different operations related to an artificial intelligence-based model, the module identification information indicating which of the plurality of modules of the second computing device triggers a benchmark operation of the first computing device (1210).

[0428] In one embodiment, a first computing device may provide different benchmark results depending on who sent the benchmark request to the first computing device. For example, a second computing device may send a benchmark request including nodes and models to the first computing device. The first computing device may identify the sender of the benchmark request and generate different benchmark results based on the identified sender. As another example, the second computing device may send a benchmark request including a benchmark task to be included in the benchmark results to the first computing device.

[0429] In one embodiment, the first computing device can interact with each of the modules of the second computing device, and when interacting with each of the modules, can perform benchmarks in different ways and / or obtain different benchmark results depending on which module is being interacted with.

[0430] In one embodiment, the module identification information may include information for identifying a specific module(s) among a plurality of modules included in the second computing device. For example, the plurality of modules may refer to modules that perform different operations on the second computing device. As another example, the plurality of modules may be present in at least one of the second computing device and the first computing device and configured to perform different operations. As yet another example, the plurality of modules may exist separately outside the second computing device and be configured to perform different operations.

[0431] In one embodiment, the module identification information may include information for identifying a specific module among a plurality of modules included in the second computing device and benchmark task information. The benchmark task information may include information related to a node and / or model that is the target of the benchmark. The benchmark task information may include performance target information (e.g., target latency, etc.) for performing the benchmark. The benchmark task information may include whether conversion is required during the benchmarking process and / or converter identification information. The benchmark task information may describe information to be included in the benchmark result. The benchmark task information may include a benchmark method to be performed.

[0432] In one embodiment, multiple modules may utilize the benchmark results in different ways to generate their respective outputs.

[0433] For example, the first module can generate a learning model based on an input dataset. The first module can use the benchmark results to determine a target node on which to benchmark the learning model. The first module can use the benchmark results to verify the performance of the learning model when executed on the target node. The first module can use the benchmark results to generate a learning model or a retraining model. The first module can use the benchmark results to determine the type of learning model or retraining model corresponding to the dataset. The benchmark results can be used to evaluate the performance of the learning model output from the first module. The performance of the learning model output from the first module can include memory footprint, latency, power consumption, and / or node information (such as the execution environment of the node, processor, and / or RAM size).

[0434] For example, the second module can generate a lightweight model by compressing the input model. The second module can use benchmark results to determine compression settings for the input module.

[0435] For example, the third module can generate download data for deploying the input model to at least one target node. The third module can use the benchmark results to generate the download data or to convert the data into a data type supported by the target node. The third module can also use the benchmark results to check how well the input model performs on nodes whose specifications are as close as possible to the user's desired node.

[0436] In one embodiment, the first computing device may provide benchmark results to the second computing device based on module identification information (1220).

[0437] In one embodiment, a first computing device may provide different benchmark results to a second computing device based on module identification information. For example, if the module identification information is different, the first computing device may perform the benchmark in the same manner and provide different benchmark results to the second computing device. In another example, if the module identification information is different, the first computing device may perform the benchmark in a different manner and provide different benchmark results to the second computing device.

[0438] In one embodiment, if the module identification information indicates a first module, the first computing device may provide a benchmark result to the second computing device for determining a target node on which to execute a learning model or a converted learning model corresponding to the input dataset. If the module identification information indicates a second module, the first computing device may provide a benchmark result including compressed configuration data used to generate a lightweight model corresponding to the input model to the second computing device.

[0439] In one embodiment, if the module identification information represents a first module, the first computing device may provide performance information for the entire input model, and if the module identification information represents a second module, the first computing device may provide performance information for the entire input model and / or performance information for each block of the input model.

[0440] In one embodiment, the first computing device can perform a benchmark in different ways according to module identification information. The benchmark results can be provided to the second computing device. If the module identification information indicates a first module, the first computing device can provide the second computing device with a first benchmark result generated based on executing a predetermined target model on at least one predetermined target node in the first benchmark manner, and if the module identification information indicates a second module different from the first module, the first computing device can provide the second computing device with a second benchmark result generated based on executing the target model on the at least one target node in the first benchmark manner. Here, the first benchmark result and the second benchmark result can be different.

[0441] By way of example and not limitation, the benchmark method may include a first benchmark method that measures performance information for the entire input model when the input model is executed on the target node. The benchmark method may include a second benchmark method that measures performance information for each operator of the input model when the input model is executed on the target node. The benchmark method may include a third benchmark method that measures performance information for each block of the input model when the input model is executed on the target node. In one embodiment, the first computing device may generate a benchmark result by combining a plurality of benchmark methods.

[0442] In one embodiment, when the module identification information indicates a module that performs an operation of generating a learning model, the first computing device may provide a benchmark result including first benchmark performance information obtained by executing each of a plurality of artificial intelligence-based models on each of a plurality of nodes to the second computing device. For example, the first benchmark performance information may correspond to a table-type data structure expressing latency according to a matching between the plurality of artificial intelligence-based models and the plurality of nodes. By way of example, and not limitation, the data structure (500) illustrated in FIG. 5 may correspond to a table-type data structure expressing latency.

[0443] In one embodiment, the first benchmark performance information may include any form of performance information when the model was executed on the node, in addition to latency. For example, the first benchmark performance information may include power mode information, fan mode information, temperature information of the current board, and / or power usage information of the current board. The power mode information may be determined based on how many CPU cores are used. For example, if all CPU cores are used, the power mode information will be determined as MAX, and may also be determined in a way that quantitatively expresses the usage, such as 30W, 20W, 15W, and 10W. For example, a larger quantitative amount of power mode information may result in lower latency. As another example, a node in which the power mode is MAX may have lower latency compared to other nodes that do not use the power mode. The fan mode information may be expressed in the form of information indicating the strength of the fan, such as Null, Quite, Cool, and Max. For example, when the Fan mode is set to Quiet, the board temperature is likely to be lower than when the Fan mode is set to Null, which increases the likelihood of lower latency. For example, when the Fan mode is set to Cool, the board temperature is likely to be lower than when the Fan mode is set to other modes, which increases the likelihood of lower latency. The current board power consumption can be represented by the power consumption obtained from the power measurement sensors connected to the nodes. A lower current board power consumption value can be interpreted as higher availability of the corresponding node.

[0444] In one embodiment, the first benchmark performance information may be used by a second computing device to generate performance prediction information for candidate nodes capable of supporting the execution environment of the learning model. For example, the second computing device interacting with the user may provide a candidate node list including candidate nodes capable of supporting the model obtained from the user's input or ready to perform the benchmark through a user interface. When generating this candidate node list, a pre-prepared performance table may be used without interaction with the first computing device and / or the nodes to perform the benchmark. This performance table is a data structure that stores performance information obtained by executing each of a plurality of models on each of a plurality of nodes. Accordingly, the second computing device may use the pre-prepared performance table to more quickly and efficiently provide the user with information about candidate nodes related to the input dataset or input model, as well as performance information for each of the candidate nodes.

[0445] In one embodiment, the first benchmark performance information may be updated by the first computing device when a new AI-based model is added, a new node is added, and / or an execution environment supported by a node is updated. In such a situation, the first computing device may perform performance measurements on the models and / or nodes corresponding to the added new model, the added new node, and / or the updated execution environment, and update the performance table based on the performed performance measurements. Accordingly, since the first computing device intervenes in the process of providing a list of candidate nodes only for specific situations, the second computing device may provide the user with information about the candidate nodes and performance prediction information for each of the candidate nodes in a resource-efficient manner.

[0446] In one embodiment, when the module identification information indicates a module that generates a learning model, the first computing device may generate a candidate node list including first nodes that support an execution environment that supports a first operator included in the learning model among nodes that support an execution environment corresponding to the target type information, based on the learning model obtained from the second computing device and the target type information that is the target of the benchmark, and provide a benchmark result including the candidate node list to the second computing device. The first computing device may determine nodes that can support the operators included in the learning model among nodes suitable for the target type information that is the target of the benchmark as candidate nodes, thereby providing the user with more accurate information about the nodes that are to perform the benchmark. For example, when the target type information that the user wishes to benchmark is different from the model type information related to the learning model (or dataset) input by the user, an operation of converting the input learning model into a target model corresponding to the target type information must be performed. When a benchmark is performed after candidate nodes are converted from an input learning model to a target model, there may be cases where the converted target model is not supported among the candidate nodes presented in advance. Accordingly, among the nodes that can support an execution environment corresponding to the target type information, first nodes that have an execution environment that supports the first operator included in the learning model may be determined as the candidate nodes. For example, the first computing device may extract operators included in the input learning model. Among the nodes that have a runtime that matches the target type information, if the runtime matches but the version of the runtime supported by the node does not support the extracted operator, the node on which the corresponding version of the runtime is installed may be excluded from the candidate nodes.

[0447] In addition, among the nodes having an execution environment corresponding to the target type information, second nodes having an execution environment that does not support the first operator included in the learning model but supports a second operator different from the first operator that can replace the first operator may be determined as candidate nodes. For example, if there is an operator that can replace the unsupported operator, the first computing device may request the user to replace or change the operator, and if the user requests operator replacement, the first computing device may include the node in the candidate nodes, and if not, may exclude the node in the candidate nodes.

[0448] In one embodiment, when the module identification information indicates a module that generates a learning model, the first computing device may generate second benchmark performance information on at least one target node of the learning model by executing the learning model on at least one target node obtained from the second computing device, and provide a benchmark result including the second benchmark performance information to the second computing device.

[0449] In one embodiment, if the module identification information indicates a module that generates a learning model,

[0450] The first computing device determines whether to convert the learning model based on model type information corresponding to the learning model acquired from the second computing device and target type information that is the target of the benchmark, and if it is determined that the learning model is to be converted, the model type information corresponding to the learning model and the target type information can be used to acquire a target model converted from the learning model to correspond to the target type information. The first computing device can generate second benchmark performance information on at least one target node of the target model by executing the target model on at least one target node acquired from the second computing device. For example, the first computing device can determine what model type corresponds to the input learning model, compare the input target type information with the determined model type information, and determine that conversion is necessary if they are different. The first computing device can perform the benchmark by executing the converted model on the target node. As described in these examples, the first computing device can perform a benchmark by determining whether to convert when a benchmark is triggered from a module that generates a learning model, and using the model based on the result of the conversion. As described in these examples, the first computing device can perform a benchmark by determining whether to convert when a benchmark is triggered from a module that generates a learning model, and providing a benchmark result of the model based on the result of the conversion.

[0451] In one embodiment, the first computing device can provide benchmark results including second benchmark performance information to the second computing device.

[0452] In one embodiment, the second benchmark performance information described above may include a first type of quantitative information related to time and a second type of quantitative information related to memory usage.

[0453] In one embodiment, the second benchmark performance information obtained by executing the target model on at least one target node may include preprocessing time information required for preprocessing of inference of the target model on at least one target node, inference time information required for inferring the target model on at least one target node, preprocessing memory usage information used for preprocessing of inference of the target model on at least one target node, inference memory usage information used for inferring the target model on at least one target node, quantitative information related to inference time obtained by repeatedly inferring the target model a predetermined number of times on at least one target node, and / or quantitative information related to memory usage for each of the NPU, the CPU, and the GPU obtained by inferring the target model on at least one target node.

[0454] In one embodiment, the preprocessing time information may include information on the time required for preprocessing prior to performing an inference operation, such as loading a model. Additionally, the preprocessing time information may include quantitative information related to the time required for pre-inference when pre-inference is repeated a predetermined number of times to activate a GPU or the like prior to measuring a value for inference (e.g., minimum, maximum, and / or average time required for pre-inference).

[0455] In one embodiment, the inference time information may be used to encompass, for example, the time information required for the initial inference operation for the model and / or the minimum time information, maximum time information, average time information and / or median time information among the inference time information when inference is repeated a predetermined number of times. Additionally, for example, in a situation where the CPU receives and processes an operation that cannot be processed by the NPU and the NPU becomes idle, the inference time information may include the first cycle value when the NPU becomes idle. Additionally, the inference time information may also include the second cycle value when the NPU performs inference, and / or the third cycle value which is the sum of the first cycle value and the second cycle value.

[0456] In one embodiment, the second benchmark performance information may also include total time information that is a sum of preprocessing memory usage information and quantitative information related to inference time.

[0457] In one embodiment, the second benchmark performance information may additionally include quantitative values ​​for RAM usage, ROM usage, total memory usage, and / or SRAM area used by the NPU.

[0458] In one embodiment, the second benchmark performance information may include a data structure in the form of a table, for example.

[0459] In one embodiment, if the module identification information indicates a module that generates a lightweight model, the first computing device may provide a benchmark result including compression setting data used to generate a lightweight model corresponding to the input model to the second computing device. As described above, if the model identification information corresponds to a model that generates a lightweight model, the first computing device may provide a benchmark result different from the benchmark result for another module. The benchmark result may include a benchmark result related to the compression of the model. The benchmark result may be obtained by performing a benchmark on a model-by-model basis and / or a benchmark on a block-by-block basis. Here, the compression setting data may include at least one of a compression mode, a compression algorithm, a compression target, and a compression ratio.

[0460] For example, the compression mode may include a first compression mode that performs compression on the entire input model and / or a second compression mode that performs compression on a block-by-block basis included in the input model. In the present specification, a block may refer to a component that constitutes a model. For example, a block may correspond to a convolutional layer, an activation function, a normalization function, and / or arithmetic operations. For example, it may correspond to at least one layer in a neural network.

[0461] For example, the compression algorithm may include various known compression algorithms such as Layer-Adaptive Sparsity for Magnitude-based Pruning (LAMP) and / or Variational Bayesian Matrix Factorization (VBMF). As other examples, the compression algorithm may include a weight pruning algorithm that changes the structure of the model, a weight pruning algorithm that reduces the amount of computation and the number of variables by separating channels, a weight pruning algorithm that sets the remaining parameters except for the parameters that affect the result to 0, etc., a weight pruning algorithm that performs a quantization method that reduces parameters expressed in floating point to a specific number of bits, and / or a weight pruning algorithm that binarizes the parameters, etc.

[0462] For example, a compression target is used to indicate which blocks in a model are to be compressed.

[0463] For example, the compression ratio may represent quantitative information related to the compression ratio for model compression or block compression.

[0464] In one embodiment, when the module identification information indicates a module representing a lightweight model, the first computing device may generate third benchmark performance information representing block-wise performance of the input model by executing the input model in block units on at least one target node acquired from the second computing device. The first computing device may provide a benchmark result including the third benchmark performance information to the second computing device. In one embodiment, the third benchmark performance information may include block-wise latency of the model. In one embodiment, the third benchmark performance information may include first type quantitative information related to block-wise time of the model and second type quantitative information related to memory usage. Specific details of the first type quantitative information and the second type quantitative information will be replaced with the description of the second benchmark performance information described above.

[0465] The lightweight model in this specification may mean a compressed model.

[0466] As described above, the first computing device can provide benchmark results for efficient compression through a benchmark execution method that acquires benchmark results for the entire model and / or benchmark results for each block when triggered from a model that performs compression.

[0467] A technique according to one embodiment of the present disclosure can efficiently and accurately compress an input model (e.g., a learning model generated by the first module) using benchmark results. Accordingly, the second module, which compresses the model, can obtain a lightweight model more efficiently and accurately using the benchmark results.

[0468] In one embodiment, the third module may change the data type of the input model to a data type supported by the target device (e.g., an 8-bit integer) that is different from the data type of the input model (e.g., a 32-bit real number). In one embodiment, the third module may adjust the quantization interval and perform quantization based on the adjusted quantization interval. As the input model is quantized, the parameter values ​​of the model (e.g., weights) may change. The third module may provide download data that a user can install on a node. The download data may include a download file, a link to the download file, and / or a download package. When the download file is installed on the target node, an AI-based model optimized for the target node may be installed.

[0469] In one embodiment, the first computing device may provide benchmark results to the second computing device to generate download data that allows the input model to be deployed to the target node, if the module identification information indicates a third module.

[0470] In one embodiment, the first computing device may provide benchmark results to the second computing device for converting the data type of the input model into a data type supported by the target node, if the module identification information indicates a third module.

[0471] In one embodiment, the first computing device may provide benchmark results to the second computing device for adjusting the quantization interval of the input model, if the module identification information indicates a third module. For example, quantizing the model may include reducing the size of the model by reducing the number of bits used to represent the weights and / or activation outputs. Quantization of the trained model may shorten the inference time of the model. For example, the quantization interval may be determined in bit units, such as 16 bits, 8 bits, 4 bits, 2 bits, or 1 bit.

[0472] Figures 13, 14, 15, 16, and 17 illustrate various embodiments of the present disclosure that provide benchmark results. For example, the computing device (100) may obtain benchmark results in response to a benchmark request from an external device. In other examples, the computing device (100) may operate in various ways, such as operating in a standalone manner, operating dependently on another computing device that interacts with a user, performing conversion directly, obtaining conversion results from another converting device, generating benchmark results directly, and / or receiving benchmark results from an external computing device.

[0473] To avoid redundant descriptions, the specific details of FIGS. 13, 14, 15, 16, and 17 are replaced with the corresponding descriptions in FIGS. 3 to 12.

[0474] FIG. 13 exemplarily illustrates a method for providing benchmark results according to one embodiment of the present disclosure.

[0475] The computing device (100) may receive target model information and target node information (1310). In one embodiment, the target model information may include information related to a model that is the target of the benchmark. For example, the target model information may include a dataset, a model file, a link to a model file, a model file and a model type, and / or a model file and target type information. In one embodiment, the target node information may include any form of information for identifying the target node. For example, the target node information may include an identifier of the target node, whether the target node is capable of wireless communication, whether the target node is externally verifiable, and / or the number of target nodes.

[0476] The computing device (100) can generate benchmark results by executing the target model on the target node (1320).

[0477] FIG. 14 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0478] The computing device (100) may receive target model information (1410). The target model information may include information related to the model being benchmarked. For example, the target model information may include a dataset, a model file, a link to a model file, a model file and a model type, and / or a model file and target type information.

[0479] The computing device (100) may obtain a candidate node list (1420). The candidate node list may be determined based on target model information. The candidate node list may include candidate nodes related to the target model information among a plurality of nodes. At least one target node to be benchmarked may be determined based on a selection input from the candidate node list.

[0480] The computing device (100) may receive target node information (1430). In one embodiment, the target node information may include any form of information for identifying the target node. For example, the target node information may include an identifier of the target node, whether the target node is capable of wireless communication, whether the target node is externally verifiable, and / or the number of target nodes. The target node information may be determined based on a selection input from a candidate node list.

[0481] The computing device (100) can generate benchmark results by executing the target model on the target node (1440).

[0482] FIG. 15 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0483] The computing device (100) may receive input model and target model information (1510). In one embodiment, the input model may include any form of information related to the model. For example, the input model may include a dataset, a learning model, a lightweight model, information related to model learning, information related to model compression, information about operators included in the model, and / or model type information corresponding to the model. The target model information may include any form of information related to the model that is the target of the benchmark. For example, the target model information may include target type information and / or information for identifying a model to be converted.

[0484] The computing device (100) may obtain a candidate node list corresponding to the target model information (1520). In one embodiment, the candidate node list may include candidate nodes related to the target model information and / or the input model among a plurality of nodes. For example, the candidate nodes may include nodes supporting an execution environment corresponding to the target model information, nodes supporting operators of the input model, and / or nodes supporting a target model in which the input model is converted according to the target model information.

[0485] The computing device (100) may receive target node information (1530). In one embodiment, at least one target node to be benchmarked may be determined based on a selection input from a candidate node list. In one embodiment, the candidate node with the best performance based on performance information from the candidate node list may be automatically determined as the target node.

[0486] The computing device (100) can convert the input model to correspond to target model information (1540). In one embodiment, the computing device (100) can determine the conversion method or identification information of the converter by combining first information for identifying the input model and second information corresponding to the target model information. The computing device (100) can generate a converted target model by converting the operators of the input model to correspond to the target model information.

[0487] The computing device (100) can generate benchmark results by executing the converted target model on a target node (1550).

[0488] FIG. 16 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0489] The computing device (100) may receive input model and target model information (1610). In one embodiment, the input model may include any form of information related to the model. For example, the input model may include a dataset, a learning model, a lightweight model, information related to model learning, information related to model compression, information about operators included in the model, and / or model type information corresponding to the model. The target model information may include any form of information related to the model that is the target of the benchmark. For example, the target model information may include target type information and / or information for identifying a model to be converted.

[0490] The computing device (100) may obtain a candidate node list corresponding to the target model information (1620). In one embodiment, the candidate node list may include candidate nodes related to the target model information and / or the input model among a plurality of nodes. For example, the candidate nodes may include nodes that support an execution environment corresponding to the target model information, nodes that support operators of the input model, and / or nodes that support a target model in which the input model is converted according to the target model information.

[0491] The computing device (100) may receive target node information (1630). In one embodiment, at least one target node to be benchmarked may be determined based on a selection input from a candidate node list. In one embodiment, the candidate node with the best performance based on performance information from the candidate node list may be automatically determined as the target node.

[0492] The computing device (100) may transmit a converting request to convert the input model to correspond to target model information (1640). In one embodiment, the converting request may be transmitted to a converting device located external to the computing device (100). For example, the first computing device may transmit a converting request including a model file to be converted and a UUID of the converter to the converting device. Here, the UUID is an identifier identified by a combination of the type of the model before conversion and the type of the model after conversion. The converting device may convert the input model by obtaining a Docker image of the converter corresponding to the UUID and executing the sh file of the corresponding converter on the Docker.

[0493] The computing device (100) may receive a converted target model (1650). In one embodiment, the computing device (100) may receive a conversion result from a converting device, wherein the conversion result may correspond to the converted target model.

[0494] The computing device (100) can generate benchmark results by executing the converted target model on a target node (1660).

[0495] FIG. 17 illustrates an example method for providing benchmark results according to one embodiment of the present disclosure.

[0496] The computing device (100) may obtain input data including an inference task and a dataset (1710). In one embodiment, the inference task may include a goal or result to be achieved through inference of an artificial intelligence-based model, such as image classification, object detection, semantic segmentation, text prediction, and / or clustering. In one embodiment, the dataset may include any form of data used in the artificial intelligence-based model. For example, the dataset may refer to a set of data for which preprocessing has been completed. For example, the dataset may refer to a set of data for which labeling has been completed in the case of supervised learning. For example, the dataset may be used for training an artificial intelligence-based model, for performance evaluation during the training process, and / or for performance evaluation after training is completed.

[0497] In response to acquiring input data, the computing device (100) may obtain a list of nodes including nodes ready to perform a benchmark (1720). In one embodiment, the computing device (100) may obtain a list including nodes ready for a benchmark, such as nodes that are not currently performing a benchmark, have memory space capable of performing a benchmark task, or have a CPU capable of performing a benchmark task. The nodes included in this list may be determined by a process of determining the current status of the nodes through communication with the nodes.

[0498] The computing device (100) may determine a target model and a target node based on input data that selects at least one node from a list of nodes (1730). In one embodiment, when a specific node is selected as a target node from the list of nodes, a list of models that can be supported by the selected node may be output. In response to an input that selects a specific model from the list of models, a target model to be benchmarked may be determined. For example, the list of models may indicate a framework and a software version for each model. For example, the list of models may include identification information for each model. For example, the list of models may include identification information for each model and performance information when each model is executed on the target node. In one embodiment, the sort order of the models on the list may be determined based on the performance of the models or based on selection information of past users. In one embodiment, when a specific node is selected as a target node from the list of nodes, a model that can be supported by the selected node may be automatically determined without user input.

[0499] The computing device (100) can generate benchmark results by executing the target model on the target node (1740).

[0500] FIG. 18 is a schematic diagram of a computing environment of a computing device (100) according to one embodiment of the present disclosure.

[0501] A component, module, or unit in the present disclosure includes a routine, procedure, program, component, data structure, or the like that performs a specific task or implements a specific abstract data type. Furthermore, those skilled in the art will readily appreciate that the methods presented in the present disclosure can be implemented in other computer system configurations, including single-processor or multiprocessor computing devices, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which may be operatively connected to one or more associated devices.

[0502] The embodiments described in this disclosure can also be implemented in distributed computing environments, where certain tasks are performed by remote processing devices that are connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

[0503] Computing devices typically include a variety of computer-readable media. Computer-readable media can be any media that can be accessed by a computer, and include both volatile and nonvolatile media, transitory and non-transitory media, and removable and non-removable media. By way of example, and not limitation, computer-readable media can include computer-readable storage media and computer-readable transmission media.

[0504] Computer-readable storage media includes volatile and nonvolatile media, transitory and non-transitory media, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be accessed by a computer and used to store the desired information.

[0505] Computer-readable transmission media typically includes any information delivery media that embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism. The term modulated data signal means a signal that has one or more of its characteristics set or changed so as to encode information in the signal. By way of example, and not limitation, computer-readable transmission media includes wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared, or other wireless media. Combinations of any of the above are also intended to be included within the scope of computer-readable transmission media.

[0506] An exemplary environment (2000) implementing various aspects of the present invention is illustrated, including a computer (2002), which includes a processing unit (2004), a system memory (2006), and a system bus (2008). The computer (200) herein may be used interchangeably with the computing device (100). The system bus (2008) connects system components, including but not limited to the system memory (2006), to the processing unit (2004). The processing unit (2004) may be any of a variety of commercially available processors. Dual processors and other multiprocessor architectures may also be utilized as the processing unit (2004).

[0507] The system bus (2008) may be any of several types of bus structures that may be additionally interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercial bus architectures. The system memory (2006) includes read-only memory (ROM) (2010) and random access memory (RAM) (2012). A basic input / output system (BIOS) is stored in non-volatile memory (2010), such as ROM, EPROM, or EEPROM, and contains basic routines that help transfer information between components within the computer (2002), such as during start-up. The RAM (2012) may also include high-speed RAM, such as static RAM, for caching data.

[0508] The computer (2002) also includes an internal hard disk drive (HDD) (2014) (e.g., EIDE, SATA), a magnetic floppy disk drive (FDD) (2016) (e.g., for reading from or writing to a removable diskette (2018)), a solid state drive (SSD), and an optical disk drive (2020) (e.g., for reading from or writing to a CD-ROM disk (2022) or other high-capacity optical media such as a DVD). The hard disk drive (2014), the magnetic disk drive (2016), and the optical disk drive (2020) may be connected to the system bus (2008) by a hard disk drive interface (2024), a magnetic disk drive interface (2026), and an optical drive interface (2028), respectively. The interface (2024) for implementing an external drive includes, for example, at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.

[0509] These drives and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, and the like. In the case of the computer (2002), the drives and media correspond to storing any data in a suitable digital format. While the description of computer-readable storage media above refers to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will appreciate that other types of computer-readable storage media, such as zip drives, magnetic cassettes, flash memory cards, cartridges, and the like, may also be used in the exemplary operating environment, and that any such media may contain computer-executable instructions for performing the methods of the present invention.

[0510] A number of program modules, including an operating system (2030), one or more application programs (2032), other program modules (2034), and program data (2036), may be stored in the drive and RAM (2012). All or portions of the operating system, applications, modules, and / or data may also be cached in RAM (2012). It will be appreciated that the present invention may be implemented in various commercially available operating systems or combinations of operating systems.

[0511] A user may enter commands and information into the computer (2002) via one or more wired / wireless input devices, such as a keyboard (2038) and a pointing device such as a mouse (2040). Other input devices (not shown) may include a microphone, an IR remote control, a joystick, a game pad, a stylus pen, a touch screen, and the like. These and other input devices are often connected to the processing unit (2004) via an input device interface (2042) that is connected to the system bus (2008), but may be connected by other interfaces such as a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, and the like.

[0512] A monitor (2044) or other type of display device is also connected to the system bus (2008) via an interface, such as a video adapter (2046). In addition to the monitor (2044), the computer typically includes other peripheral output devices (not shown), such as speakers, a printer, and so on.

[0513] The computer (2002) may operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) (2048), via wired and / or wireless communications. The remote computer(s) (2048) may be a workstation, a server computer, a router, a personal computer, a portable computer, a microprocessor-based entertainment device, a peer device, or other conventional network node, and generally include many or all of the components described for the computer (2002), although for simplicity, only the memory storage device (2050) is shown. The logical connections shown include wired / wireless connections to a local area network (LAN) (2052) and / or a larger network, such as a wide area network (WAN) (2054). Such LAN and WAN networking environments are common in offices and companies and facilitate enterprise-wide computer networks, such as intranets, all of which may be connected to a worldwide computer network, such as the Internet.

[0514] When used in a LAN networking environment, the computer (2002) is connected to a local network (2052) via a wired and / or wireless communication network interface or adapter (2056). The adapter (2056) may facilitate wired or wireless communications to the LAN (2052), which may also include a wireless access point installed therein for communicating with the wireless adapter (2056). When used in a WAN networking environment, the computer (2002) may include a modem (2058), be connected to a communications server on the WAN (2054), or have other means for establishing communications over the WAN (2054), such as via the Internet. The modem (2058), which may be internal or external and wired or wireless, is connected to the system bus (2008) via a serial port interface (2042). In a networked environment, program modules described for the computer (2002) or portions thereof may be stored in a remote memory / storage device (2050). It will be appreciated that the network connections depicted are exemplary and that other means of establishing a communications link between the computers may be used.

[0515] The computer (2002) communicates with any wireless device or object that is configured and operates via wireless communication, such as a printer, a scanner, a desktop and / or portable computer, a portable data assistant (PDA), a communication satellite, any equipment or location associated with a radio-detectable tag, and a telephone. This includes at least Wi-Fi and Bluetooth wireless technologies. Accordingly, the communication may be a predefined structure, as in a conventional network, or may simply be an ad hoc communication between at least two devices.

[0516] It should be understood that the specific order or hierarchy of steps in the presented processes is merely an example of exemplary approaches. It should be understood that the specific order or hierarchy of steps in the processes may be rearranged within the scope of the present disclosure based on design priorities. The method claims of the present disclosure provide elements of various steps in a sample order, but are not intended to be limited to the specific order or hierarchy presented.

[0517] As described above, the relevant contents have been described in the best form for carrying out the invention.

[0518] Techniques according to one embodiment of the present disclosure may be used in a computer program, platform, system and / or computing device for providing benchmark results of hardware.

Claims

1. A method for providing benchmark results performed by a computing device, A step of obtaining first input data including an inference task; A step of determining a target model to be a benchmark for the above-mentioned inference task and determining at least one target node on which the inference task of the target model is to be executed based on a candidate node list including candidate nodes recommended for benchmarking the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed; and A step of providing benchmark results obtained by executing the target model on at least one target node; including, method.

2. In paragraph 1, The sorting order of candidate nodes included in the above candidate node list is determined based on the size of the expected latency information. method.

3. In paragraph 2, If the difference in the size of the expected latency information between the first candidate node and the second candidate node among the candidate nodes falls within a predetermined threshold range, the sorting order between the first candidate node and the second candidate node is determined based on the memory usage and CPU occupancy of the first candidate node and the second candidate node. method.

4. In paragraph 1, The above candidate node list is: Power mode information indicating the CPU core usage for at least some of the above candidate nodes; Fan mode information indicating fan usage for at least some of the above candidate nodes; Information about at least one model that can be supported by each of the above candidate nodes; Library information required for installing at least one model that can be supported by each of the above candidate nodes; and Power usage information representing power usage obtained from power measurement sensors connected to the above candidate nodes; including more, method.

5. In paragraph 1, The model size is determined based on the size of the dataset of the first input data, and The above candidate node list includes candidate nodes having a memory space exceeding the determined model size. method.

6. In paragraph 1, The above candidate node list is, Include first nodes as candidate nodes that have an execution environment that supports the first operator included in the input source model, or Including second nodes as candidate nodes that do not support the first operator included in the input source model but have an execution environment that supports a second operator different from the first operator that can replace the first operator. method.

7. In paragraph 1, The above benchmark results are: Information on the preprocessing time required for preprocessing of the inference of the target model in at least one target node; Information on the inference time required to infer the target model in at least one target node; Preprocessing memory usage information used for preprocessing of inference of the target model in at least one target node; and Inference memory usage information used to infer the target model in the at least one target node; including, method.

8. In paragraph 1, The step of providing the benchmark results obtained by executing the target model on at least one target node is as follows: A step of distinguishing between nodes capable of wireless communication and nodes incapable of wireless communication in at least one target node; and A step of transmitting a benchmark task to a node capable of wireless communication corresponding to a node capable of wireless communication, so that the node capable of wireless communication can connect to the node capable of wireless communication using serial communication, in order to obtain a benchmark result from the node capable of wireless communication; including, method.

9. In paragraph 1, If a third node that cannot be verified externally is included in at least one of the target nodes, the step of providing the benchmark result is: In response to receiving a first low-power wireless signal from the third node, transmitting a first acknowledgment message to the third node, the first acknowledgment message including a benchmark task for benchmarking the target model at the third node; and Receiving a second low-power wireless signal from the third node, the second low-power wireless signal including the benchmark result generated by the third node; including, and The first low-power wireless signal is: Whether the third node is performing a benchmark, the memory usage of the third node, and the hardware identification information of the third node, method.

10. In paragraph 9, If the third node that cannot be verified externally is included in at least one target node, the step of providing the benchmark result is: If the second low-power wireless signal is not received for a predetermined threshold waiting time, determining that the benchmark task at the third node has failed and setting the third node to an inactive state; and In response to receiving a third low-power wireless signal from the third node set to the inactive state, setting the state of the third node to the active state; including more, method.

11. In paragraph 9, The benchmark task included in the first response message includes target model information that the third node can download and node configuration information used to convert the target model downloaded by the third node, and The benchmark result generated by the third node includes a result obtained by executing the target model on the execution environment of the third node based on the node configuration information and the target model information. method.

12. In paragraph 1, In response to receiving second input data for selecting at least one target node from the candidate node list, i) the at least one target node is determined and ii) information is provided for recommending a target model supportable by the at least one target node for determining the target model. method.

13. In paragraph 12, Information recommending the above target model is: Contains identification information corresponding to the recommended target model and software version information of the recommended target model. method.

14. A computer program stored in a computer-readable storage medium, wherein the computer program, when executed by a computing device, causes the computing device to perform the following operations to provide a benchmark result, the operations being: An operation of obtaining first input data including an inference task; An operation of determining a target model to be a target of a benchmark for the above-mentioned inference task and determining at least one target node on which the inference task of the target model is to be executed based on a candidate node list including candidate nodes recommended for a benchmark for the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed; and An operation of providing benchmark results obtained by executing the target model on at least one target node; including, A computer program stored on a computer-readable storage medium.

15. As a computing device for generating benchmark results, at least one processor; and memory; Includes, At least one processor of the above: Obtain first input data including an inference task; A method for determining a target model to be a benchmark for the above-mentioned inference task, and determining at least one target node on which the inference task of the target model is to be executed, based on a candidate node list including candidate nodes recommended for benchmarking the inference task, wherein the determined target model corresponds to an artificial intelligence-based model on which a benchmark for the inference task is performed on the at least one target node based on a dataset, and the candidate node list includes identification information for each of the candidate nodes and expected latency information for each of the candidate nodes when the target model is executed; and Providing a benchmark result of the target model obtained by executing the target model on at least one target node; Computing device.

Citation Information

Patent Citations

  • Pet toilet

    KR1020220139639A

  • Semiconductor device

    KR1020240030590A

  • Preventive Composition of Color Change for Natural Pigment

    KR102348583B1

  • Method for, device for, and system for lightnening of neural network model

    KR102461997B1

  • Method for providing information about neural network model and electronic apparatus for performing the same

    KR102500341B1

Cited By

  • Apparatus and method for providing user interface comprising benchmark result of artificial intelligence based model

    US20240411661A1