Apparatus, articles of manufacture, and methods for managing processing units

EP4359923A4Inactive Publication Date: 2025-09-24INTEL CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
EP2021940006
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-22
Filing Date
2021-12-24
Publication Date
2025-09-24
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

Apparatus, articles of manufacture, and methods for managing processing units are disclosed. Examples disclosed herein facilitate the management of systems that utilize heterogenous processing units, XPUs, etc. to efficiently utilize such processing units. For example, some apparatus, articles of manufacture, and methods facilitate resource sharing, resource allocation, and / or kernel generation based on hardware resources.
Need to check novelty before this filing date? Find Prior Art

Description

APPARATUS, ARTICLES OF MANUFACTURE, AND METHODS FOR MANAGING PROCESSING UNITS

[0001] RELATED APPLICATION

[0002] This patent claims the benefit of Indian Patent Application No. 202141028125, which was filed on June 23, 2021, U.S. Patent Application No. 63 / 222,938, which was filed on July 16, 2021, Indian Patent Application No. 202141036070, which was filed on August 10, 2021, U.S. Patent Application Serial No. 17 / 645,742, which was filed December 22, 2021, U.S. Patent Application Serial No. 17 / 559,730, which was filed December 22, 2021, U.S. Patent Application Serial No. 17 / 560,025, which was filed December 22, 2021, and U.S. Patent Application Serial No. 17 / 558,284, which filed December 21, 2021. Indian Patent Application No. 202141028125, U.S. Patent Application No. 63 / 222,938, Indian Patent Application No. 202141036070, U.S. Patent Application Serial No. 17 / 645,742, U.S. Patent Application Serial No. 17 / 559,730, U.S. Patent Application Serial No. 17 / 560,025, and U.S. Patent Application Serial No. 17 / 558,284 are hereby incorporated herein by reference in their entireties. Priority to Indian Patent Application No. 202141028125, U.S. Patent Application No. 63 / 222,938, Indian Patent Application No. 202141036070, U.S. Patent Application Serial No. 17 / 645,742, U.S. Patent Application Serial No. 17 / 559,730, U.S. Patent Application Serial No. 17 / 560,025, and U.S. Patent Application Serial No. 17 / 558,284 is hereby claimed.

[0003] FIELD OF THE DISCLOSURE

[0004] This disclosure relates generally to computing systems and, more particularly, to apparatus, articles of manufacture, and methods for managing processing units.BACKGROUND

[0005] Evolutions in computing systems has led to the utilization of computing systems with many types of processing units. For example, the concept of XPU is directed to the utilization of application specific processing units that may be included in a computing system. For example, a computing system may include a general purpose processing unit, a graphics processing unit, and an artificial intelligence processing unit. An XPU is a cross-architecture computing solution that may be tied together in a single application programming interface (e.g., the oneAPI Standard Application Programming Interface) , which manages the assignment of assigning each task to whichever processing unit is best suited to process it. For example, many cloud Service Providers (CSPs) are evolving their hardware platforms to disaggregated elements consisting of general-purpose processors, heterogeneous accelerators and purpose-built vertically integrated Infrastructure Processing Units (IPUs) . Such processing units may be implemented by attached cards (e.g., peripheral control interconnect express (PCIE) attached cards) , external processing units connected via a table (e.g., via a Thunderbolt port) , via a motherboard-down (MB-down) solution soldered or otherwise attached to the motherboard, built into a central processing unit (CPU) , etc.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] FIG. 1 is a block diagram of an example architecture for supporting heterogenous computing.

[0007] FIG. 2 is a block diagram of an example architecture for sharing memory between two processing units (e.g., a CPU and a GPU) .

[0008] FIG. 3 is a block diagram of an example approach for sharing the SPI flash using attached flash sharing.

[0009] FIG. 4 illustrates an example updated IFWI layout for the SPI flash of FIG. 2.

[0010] FIG. 5 is a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry to perform a firmware boot of a system where shared access flash has been implemented between two processing units.

[0011] FIG. 6 is a block diagram of an example layout of BIOS (e.g., the BIOS stored in Region 2 of the IFWI layout of FIG. 4) .

[0012] FIGS. 7A and 7B are a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry to perform unified initialization of processing units using silicon initialization code.

[0013] FIG. 8 is a flowchart illustrating an example detailed Unified FSP initialization flow with integrated graphics device (IGD) and GPU.

[0014] FIG. 9 is a block diagram of an example architecture for IPURDT.

[0015] FIG. 10 is a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry to perform configuring using IPURDT.

[0016] FIG. 11 is a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry to conduct negotiation to dynamically allocate resources based on tolerances prescribed by an application and available IPU resources.

[0017] FIG. 12 illustrates an example environment in which resources managed by IPUs have various states of free and busy resources among CPU, GPU, SSD, etc.

[0018] FIG. 13 illustrates an example environment in which consensus in collaborative resource management is accomplished via a decentralized public block chain ledger.

[0019] FIG. 14 is a block diagram of an example dynamic negotiable dynamic neural network library.

[0020] FIG. 15 is a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry to select features for deep neural network learning based on hardware capabilities.

[0021] FIG. 16 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine  readable instructions and / or the example operations to implement the example composable machine learning system configurator of FIGS. 1, 2, and / or 3.

[0022] FIG. 17 is an illustration of an example automatic machine learning (AutoML) architecture including an example machine-learning system configurator to identify and / or generate a composable machine learning compute node.

[0023] FIG. 18 is a block diagram of an example configuration of a dynamic XPU hardware-aware deep learning (DL) model management system 200, implemented in accordance with the teachings of this disclosure.

[0024] FIG. 19 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example model training circuitry of FIG. 18.

[0025] FIG. 20 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example model management circuitry of FIG. 18.

[0026] FIG. 21 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine readable instructions and / or the example operations of FIG. 19 to implement the model training circuitry and model management circuitry of FIG. 18.

[0027] FIG. 22 is a block diagram of an example system implemented in accordance with the teachings of this disclosure for data enhanced automated model generation.

[0028] FIG. 23 is a block diagram of an example process flow utilizing the example system of FIG. 22.

[0029] FIG. 24 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example knowledge builder circuitry and the example model builder circuitry of FIG. 22.

[0030] FIG. 25 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by  example processor circuitry to implement the example target hardware of FIG. 22.

[0031] FIG. 26 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine readable instructions and / or the example operations of FIG. 24 to implement the example knowledge builder circuitry and the example model builder circuitry of FIG. 22.

[0032] FIG. 27 is a block diagram of an example computing device.

[0033] FIG. 28 is a block diagram of an implementation of the example instructions set architecture (ISA) managing circuitry and the microcode processing circuitry of FIG. 27.

[0034] FIGS. 29 and 30 are flowcharts representative of example machine readable instructions that may be executed by example processor circuitry to implement the ISA managing circuitry of FIG. 28.

[0035] FIG. 31 is a flowchart representative of example machine readable instructions that may be executed by example processor circuitry to implement the microcode processing circuitry of FIG. 28.

[0036] FIG. 32 is an example diagram representative of example operations that may be executed by the ISA managing circuitry of FIG. 28.

[0037] FIG. 33 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine readable instructions of FIGS. 29-31 to implement the example computing device of FIG. 27.

[0038] FIG. 34 is an illustration of an example automatic machine learning (AutoML) architecture including an example machine-learning system configurator to identify and / or generate a composable machine learning compute node.

[0039] FIG. 35 is a block diagram of an example implementation of the machine-learning system configurator of FIG. 34.

[0040] FIG. 36 is a block diagram of an example implementation of the machine-learning system configurator of FIGS. 34 and / or 35.

[0041] FIG. 37 is an illustration of an example workflow to generate a composable machine learning compute node.

[0042] FIG. 38 is an illustration of another example workflow to identify a composable machine learning compute node.

[0043] FIG. 39 is an illustration of an example implementation of an example ontology database.

[0044] FIG. 40 is an illustration of yet another example workflow to identify a composable machine learning compute node.

[0045] FIG. 41 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36 to execute a workload with a composable machine learning compute node.

[0046] FIG. 42 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36 to generate a first configuration of one or more machine-learning models based on a machine-learning workload.

[0047] FIG. 43 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36 to generate a second configuration of hardware.

[0048] FIG. 44 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36 to adjust a first configuration based on an evaluation parameter.

[0049] FIG. 45 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine  learning system configurator of FIGS. 34, 35, and / or 36 to adjust a second configuration based on an evaluation parameter.

[0050] FIG. 46 is a flowchart representative of example machine readable instructions and / or example operations that may be executed by example processor circuitry to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36 to deploy a compute node to execute a machine-learning workload.

[0051] FIG. 47 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine readable instructions and / or the example operations of FIGS. 41-46 to implement the example composable machine learning system configurator of FIGS. 34, 35, and / or 36.

[0052] FIG. 48 is a block diagram of an example implementation of the processor circuitry of FIG. 16, FIG. 21, FIG. 26, FIG. 33, and / or FIG. 47

[0053] FIG. 49 is a block diagram of another example implementation of the processor circuitry of FIG. 16, FIG. 21, FIG. 26, FIG. 33, and / or FIG. 47.

[0054] FIG. 50 is a block diagram of an example software distribution platform (e.g., one or more servers) to distribute software (e.g., software corresponding to the example machine readable instructions described herein) to client devices associated with end users and / or consumers (e.g., for license, sale, and / or use) , retailers (e.g., for sale, re-sale, license, and / or sub-license) , and / or original equipment manufacturers (OEMs) (e.g., for inclusion in products to be distributed to, for example, retailers and / or to other end users such as direct buy customers) .

[0055] In general, the same reference numbers will be used throughout the drawing (s) and accompanying written description to refer to the same or like parts. The figures are not to scale.DETAILED DESCRIPTION

[0056] As used herein, connection references (e.g., attached, coupled, connected, and joined) may include intermediate members between the  elements referenced by the connection reference and / or relative movement between those elements unless otherwise indicated. As such, connection references do not necessarily infer that two elements are directly connected and / or in fixed relation to each other.

[0057] Unless specifically stated otherwise, descriptors such as “first, ” “second, ” “third, ” etc., are used herein without imputing or otherwise indicating any meaning of priority, physical order, arrangement in a list, and / or ordering in any way, but are merely used as labels and / or arbitrary names to distinguish elements for ease of understanding the disclosed examples. In some examples, the descriptor “first” may be used to refer to an element in the detailed description, while the same element may be referred to in a claim with a different descriptor such as “second” or “third. ” In such instances, it should be understood that such descriptors are used merely for identifying those elements distinctly that might, for example, otherwise share a same name.

[0058] As used herein “substantially real time” and “substantially simultaneously” refers to occurrence in a near instantaneous manner recognizing there may be real world delays for computing time, transmission, etc. Thus, unless otherwise specified, “substantially real time” and “substantially simultaneously” refer to real time + / -1 second. As used herein, the phrase “in communication, ” including variations thereof, encompasses direct communication and / or indirect communication through one or more intermediary components, and does not require direct physical (e.g., wired) communication and / or constant communication, but rather additionally includes selective communication at periodic intervals, scheduled intervals, aperiodic intervals, and / or one-time events.

[0059] As used herein, “processor circuitry” is defined to include (i) one or more special purpose electrical circuits structured to perform specific operation (s) and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors) , and / or (ii)  one or more general purpose semiconductor-based electrical circuits programmed with instructions to perform specific operations and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors) . Examples of processor circuitry include programmed microprocessors, Field Programmable Gate Arrays (FPGAs) that may instantiate instructions, Central Processor Units (CPUs) , Graphics Processor Units (GPUs) , Digital Signal Processors (DSPs) , XPUs, or microcontrollers and integrated circuits such as Application Specific Integrated Circuits (ASICs) . For example, an XPU may be implemented by a heterogeneous computing system (e.g., a computing system having one or more heterogenous processing unit (s) ) including multiple types of processor circuitry (e.g., one or more FPGAs, one or more CPUs, one or more GPUs, one or more DSPs, etc., and / or a combination thereof) and application programming interface (s) (API (s) ) that may assign computing task (s) to whichever one (s) of the multiple types of the processing circuitry best suited to execute the computing task (s) .

[0060] Computer components, such components that include processors, including heterogeneous processors, and / or other computer components may use firmware for booting, initialization, and / or operation. It is desirable to provide computer components and computers with multiple processing capabilities, such as graphics and / or artificial intelligence. It is also desirable to reduce the bill of materials (BoM) and / or cost of such computing systems. Apparatus, articles of manufacture, and methods are disclosed that facilitate sharing of resources among processors, such as CPUs, GPUs, AI chips, FPGAs, ASICs, microcontrollers (e.g., embedded microcontrollers) , etc. Identifying the common and / or sharable resources among CPU and other processors in a heterogeneous processor platform (e.g., a platform including a CPU and discrete graphics) may reduce dedicated hardware usage at the platform, which may help to reduce BoM cost. Disclosed apparatus, articles of manufacture, and methods disclosed herein  improve efficiency such as by reusing firmware and / or software (e.g., using a OneAPI library) .

[0061] Some cloud Service Providers (CSPs) are evolving their hardware platforms to disaggregated elements consisting of general-purpose processors, heterogeneous accelerators and purpose-built vertically integrated Infrastructure Processing Units (IPUs) , XPUs, DPUs, etc. Some resource management systems (RMS) (e.g.,  RDT) operate on the realm of a CPU as the control point and managing server node level platform resources pivoted around the CPU. Such approaches may not be scalable or even applicable to IPU-hosted microservices-based infrastructure wherein the IPU become the control point. IPU-based systems are disrupting the way Data Center Resource Management systems operate (e.g., moving away from the CPU as the control point to disaggregated heterogenous self-manageable smart accelerators) .

[0062] Apparatus, articles of manufacture, and methods disclosed herein facilitate the implementation of IPU resource management systems (IPURMS) that provide distributed services. In some examples, the proposed IPURMS provides decentralized peer-to-peer IPU resource negotiation and management without CPU centric involvement towards low latency micro-services. In some examples, the proposed IPURMS provides application aware resource management wherein IPUs can dynamically renegotiate RMS service level agreements (SLAs) for a variety of micro-services at run-time. In some examples, the proposed IPURMS facilitate IPUs P2P negotiations and resource management tracked via a decentralized distributed public ledger like blockchain with revocation capabilities to track / record telemetry with auditability. In some examples, the proposed IPURMS includes an IPU divided into two portions, namely i) data plane, and ii) control plane. The control plane handles resource allocation, monitoring and policy enforcement, and the data plane handles the data flow between IPUs and the logical units associated with the IPU.

[0063] A Deep Neural Network (DNN) Library (e.g., a oneAPI Deep Neural Network (oneDNN) ) provides compute primitives to facilitate improved Deep Learning Performance on CPUs and GPUs with a uniform / same API developed for CPUs, GPUs, etc. or any combination. Existing DNN libraries detect underlying target hardware capabilities (e.g.,  Deep Learning Boost technology) to accelerate inference / training performance. For example, oneDNN may utilize Just-in-Time (JIT) code generation and tries to choose instruction set architecture (ISA) or mix of ISA based on detected target hardware features. Even though this abstraction provides the capabilities to take advantage of the underlying hardware capability presents challenges. Apparatus, articles of manufacture, and methods disclosed herein provide a dynamic negotiable deep learning neural network library that facilitates a configurable and negotiable interface for application frameworks to specify SLA to configure JIT code generation params at run-time. Such systems may be policy configurable with or without platform Trusted Execution Environment (TEE) that can help to dynamically manage the Kernel in terms power, performance, energy efficiency, optimization in addition to pure capabilities of the hardware. Apparatus, articles of manufacture, and methods disclosed herein filter an implementation set of parameters to identify a candidate set based on application SLA and platform information. A corresponding JIT kernel may be dynamically generated for each from the candidate set. Apparatus, articles of manufacture, and methods disclosed herein may dry run the kernels one by one, pick out the one with best performance (e.g., Power / Energy Efficiency, TCO advantage, etc. ) , and cache it for later usage.

[0064] FIG. 1 is a block diagram of an example architecture 100 includes example optimized applications 104, example optimized middleware and frameworks 106, and example application programming interfaces (APIs) 108. In some examples, the optimized applications 104 can be implemented by applications (e.g., software applications, web-or browser-based applications, etc. ) that are customized, tailored, and / or otherwise optimized to effectuate the  identification and / or generation of a composable ML compute node. For example, the optimized applications 104 can be accessed, utilized, etc., by a developer (e.g., a software developer, a researcher, etc. ) , Information Technology (IT) personnel, etc. In some such examples, the optimized applications 104 can be accessed, utilized, etc., to co-design a hardware / software (HW / SW) solution for a technical problem that can benefit from AI / ML techniques. In some examples, the optimized middleware and frameworks 106 can be implemented by middleware and frameworks that are customized, tailored, and / or otherwise optimized to effectuate the identification and / or generation of a composable ML compute node. For example, the optimized middleware and frameworks 106 can implement an interface (e.g., communication, connectivity, etc. ) between the optimized applications 104 and the APIs 108.

[0065] The APIs 108 of the illustrated example can be invoked to program, develop, and / or otherwise generate an AI / ML application by at least one of direct programming or API-based programming. The APIs 108 of the illustrated example include example porting tools 110, example direct programming APIs 112, example API-based programming APIs 114, and example analysis tools 116.

[0066] In some examples, the porting tools 110 can be implemented by software (e.g., a software application) that can adapt a program for the purpose of achieving some form of execution in a first computing or electronic environment that is different from a second computing or electronic environment for which the program was originally designed. For example, the porting tools 110 can convert and / or otherwise adapt a first program developed for a first type of hardware, operating system (OS) , library, etc., into a second program for a second type of hardware, OS, library, etc.

[0067] In some examples, the direct programming APIs 112 can be invoked to effectuate direct programming tasks, which may include developing and / or compiling data parallel C++ applications. In some examples, the API-based programming APIs 114 can be invoked to effectuate API-based  programming, which may include developing and / or compiling applications that call (or invoke, instantiate, etc. ) a Math Kernel Library (MKL) , an MKL Deep Neural Network (DNN) library, a data analytics acceleration library, a thread building block library, a parallel standard template library, a media software development kit (SDK) , a deep learning deployment toolkit, a machine learning scaling library, etc., and / or any combination (s) thereof.

[0068] In some examples, the analysis tools 116 can be called, instantiated, and / or otherwise invoked to analyze hardware, software, and / or configuration (s) thereof of a composable ML compute node. For example, the analysis tools 116 can instantiate emulator (s) to emulate all of the hardware and / or software features of the composable ML compute node to generate and / or otherwise output one or more evaluation parameters. In some such examples, the evaluation parameters can include parameters representative and / or otherwise indicative of accuracy, latency, a number of cycles to complete a workload, or throughput of the composable ML compute node. In some examples, the evaluation parameters can include parameters representative and / or otherwise indicative of a processor or clock frequency, a fabric frequency, a read memory bandwidth, a write memory bandwidth, hardware de-rate factors, a number of memory ports, a number of data processing units (DPUs) , a number of model layers (e.g., neural network layers, convolution layers, etc. ) an activation precision (e.g., a precision of activation values to be processed) , a weight precision (e.g., a precision of weight values to be processed) , etc., and / or any combination (s) thereof. For example, the analysis tools 116 can execute an emulator based on the composable ML compute node. In some such examples, the analysis tools 116 can execute the emulator to determine a throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0069] In some examples, the analysis tools 116 can instantiate simulator (s) to simulate the behavior, the configuration, etc., of a composable ML compute node to generate and / or otherwise output one or more evaluation  parameters. For example, the analysis tools 116 can execute a model (e.g., a simulation model, an AI / ML model, etc. ) based on the composable ML compute node. In some such examples, the analysis tools 116 can execute the model to estimate, predict, and / or otherwise determine a throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0070] The architecture 100 of the illustrated example includes different types of hardware and / or software from which a composable ML compute node can be generated. In the illustrated example, the architecture 100 includes interfaces and target system software for scalar, vector, matrix, and spatial hardware. Additionally and / or alternatively, any other type of hardware may be used. In this example, the scalar hardware is implemented by an example CPU 118 and example CPU system software 120. For example, the CPU system software 120 can include instructions corresponding to a CPU Instruction Set Architecture (ISA) . In this example, the vector hardware is implemented by an example GPU 122 and example GPU system software 124. For example, the GPU system software 124 can include kernels, portion (s) of code, etc., such as kernels, compute kernels, and / or shaders. In some examples, the kernels, the portion (s) of code) , etc., can be represented in a high-level programming language such as, for example, a High-Level Shader Language (HLSL) , OpenCL, etc.

[0071] In this example, the matrix hardware is implemented by an example AI processor 126 and example AI system software 128. For example, the AI system software 128 can include one or more AI / ML algorithms, models, etc., such as neural networks (e.g., convolution neural networks (CNNs) , deep neural networks (DNNs) , recurrent neural networks (RNNs) , etc. ) , Linear Regression models, Logistic Regression Models, Decision Tree Models, Learning Vector Quantization Models, etc., and / or combination (s) thereof. In this example, the spatial hardware is implemented by an example FPGA 130 and example FPGA system software 132. For example, the FPGA  system software 132 can include kernels, portion (s) of code, etc., based on a hardware description language (HDL) such as Verilog.

[0072] In the illustrated example, the CPU system software 120, the GPU system software 124, the AI system software 128, the FGPA system software 132, the host interface 134, and / or the level-zero interface 136 can correspond to and / or otherwise implement example system software below level zero 138. For example, system software below level zero 138 can correspond to and / or otherwise implement low-level direct-to-metal interfaces that are tailored to hardware, such as the CPU 118, the GPU 122, etc.

[0073] In the illustrated example, the APIs 108 can implement example system software above level zero 140 and an example developer interface 142. For example, a developer, a user, etc., can access and / or otherwise utilize the architecture 100 by way of the APIs 108. In some examples, a developer, a user, etc., can access and / or otherwise utilize system software at a higher level than low-level direct-to-metal interfaces by way of the APIs 108. In some examples, a developer, a user, etc., can access and / or otherwise utilize the system software below level zero 138 via the host interface 134 and / or the level-zero interface 136.

[0074] The architecture 100 is well-suited for facilitating efficient utilization of the hardware such as the CPU 118, the GPU 122, etc. by way of the APIs 108. For example, APIs may be added to the APIs 108 to facilitate and / or improve various processes. For example, disclosed example include APIs directed a set of library functions that may communicate with XPU hardware (e.g., to facilitate the sharing of firmware and software resources among processing units) . In some disclosed examples, the APIs 108 may includes platform components to support machine learning (e.g., a dynamic negotiable deep neural network platform) . For example, the machine learning components of the APIs 108 may operate to improve the targeting of hardware capabilities to improve performance (e.g., improve deep learning inference performance) . The disclosed API improvements (and other improvements disclosed herein) may be implemented separately and / or in combination. For example, the APIs 108 may include the APIs directed a set of library functions  that may communicate with XPU hardware to facilitate the sharing of firmware and software resources among processing units and the APIs 108 may include the APIs to improve the targeting of hardware capabilities to improve deep learning inference performance. For example, the various improvements, when combined, may provide additive system performance increases and reduced BOM costs.

[0075] SYMBIOTIC BOOT

[0076] FIG. 2 is a block diagram of an example architecture 200 for sharing memory between two processing units (e.g., a CPU and a GPU) . For example, the architecture 200 may be utilized in conjunction with the architecture 100 of FIG. 1 or any other computer architecture including multiple processing units. The example architecture 200 of FIG. 2 includes an example CPU 202, which includes an example platform controller hub 204 and an example serial peripheral interface (SPI) 206, an example GPU 208, which includes an example dedicated GPU flash 210 and an example shared SPI 212, and an example SPI flash 214. According to the illustrated example, the architecture 200 facilitates the CPU 202 and the GPU 208 sharing the SPI flash 214.

[0077] The example CPU 202 is a central processing unit for a computing system. Alternatively, the CPU 202 may be any other type of processing unit. The example CPU 292 includes the example platform control hub (PCH) 204, which comprises circuitry, software, and / or firmware to manage data paths and support functions of the CPU 202. Alternatively, any other type of control circuitry, chipset, software, and / or firmware may be utilized. The example PCH 204 may include a number of interfaces including, according to the illustrated example, the SPI 206. The example SPI 206 interfaces the PCH 204 and the CPU 202 with the SPI flash 214 to facilitate initialization and booting of the CPU 202 and the architecture 200 as a whole.

[0078] The example GPU 208 is a graphics processing unit system-on-chip (SoC) soldered to a motherboard on which the CPU 202 is installed (e.g., a motherboard (MB) down solution) . Alternatively, the GPU 208 may be any other type of processing unit (e.g., an AI processing unit, XPU, etc. ) coupled  to the architecture 200 in any other manner (e.g., a discrete PCIE based add-in-card (AIC) attached to PCIE slot in client device, an external graphics processing unit connected via a cable / port (e.g., a Thunderbolt port) of the architecture 200, etc. ) .

[0079] While a typical GPU would have its own SPI memory (e.g., 8MB flash memory) storing instructions for handling a boot process associated with the GPU in addition to the SPI memory of the CPU (e.g., 32MB flash memory) , the example GPU 208 includes a dedicated GPU flash 210 and a shared SPI 212 that facilitates sharing the SPI flash 214 with the CPU 202. According to the illustrated example, an integrated firmware image (IFWI) of the GPU is stored in the shared SPU flash 214.

[0080] The example SPI flash 214 is a SPINOR flash memory device that includes a SPI interface for access. The SPI flash 214 stores IFWI information for initialization and boot of the CPU 202 and the GPU 208. Alternatively, any other type of flash memory may be utilized

[0081] FIG. 3 is a block diagram of an example approach for sharing the SPI flash 214 using attached flash sharing. According to the illustrated example, the example GPU 208 is communicatively coupled to the example CPU 202 via an example first enhanced SPI (eSPI) interface 302 of the CPU 202 in communication with an example second eSPI interface 304 of the GPU 208. Thus, the GPU 208 can access the SPI flash 214 through the Flash Access Channel supported by the first eSPI interface 302 and the second eSPI interface 304 while the PCH 204 of the CPU 202 accesses the SPI flash 214 via the SPI 206.

[0082] Run-time access to the SPI flash 214 through the eSPI interface established by the first eSPI 302 and the second eSPI 304 will go through the eSPI primary (CPU 202) , which then routes the cycle to the Flash Access block of the CPU 202 before the cycle is forwarded to the PCH (e.g., a SPI flash controller of the PCH 204) of the CPU 202. Then the SPI flash controller will perform the access to the SPI flash 214 on behalf of eSPI secondary (GPU 208) . As the flash access addresses used by the eSPI secondary devices (e.g., GPU 208) are physical flash linear addresses, which covers the entire flash  addressing space. However, the SPI flash controller may impose access restrictions of certain regions of the SPI flash 214 to ensure security.

[0083] The proposed hardware changes to support sharing the SPI flash 214 may be coupled with updates to the layout of the SPI flash 214 (e.g., an updated master section descriptor) to accommodate a dedicated secondary device firmware mapped into the SPI flash 214. A descriptor change may facilitate injecting a secondary device firmware region into an IFWI layout on the SPI flash 214.

[0084] FIG. 4 illustrates an example updated IFWI layout 400 for the SPI flash 214. As illustrated in FIG. 4, the IFWI layout 400 includes a dedicated firmware region for each XPU device. For example, the example IFWI layout 400 includes Region 13 for storing firmware for initializing the GPU (e.g., country specific code (CSC) firmware, firmware patches, and redundant images) , Region 14 for storing firmware for a field programmable gate array (FPGA) , and Region 15 for storing firmware for an AI processing unit. During Boot, the basic input output system (BIOS) (e.g., a system boot software) is accessed from the SPI flash to before booting and initialization. Once a hardware reset (e.g., RESET#) is issued to the GPU 208, the GPU 208 will bring up ROM to start fetching a firmware image from the SPI flash 214 to read a descriptor to know a dedicated flash range mapped for initializing the GPU 208.

[0085] The Regions of the SPI flash 214 may be defined for read or write access by settings a protection parameter in the flash descriptor. For example, Region 0 may be read only for the CPU and not accessible for the GPU, Region 1 may be read and written by the CPU (e.g., prior to end of POST (EOP) ) and not accessible for the GPU, Region 13 may be read and written by the CPU (e.g., for firmware updates) and the GPU.

[0086] While an example manner of implementing components of the architecture 100 of FIG. 1 is illustrated in FIGS. 2 and 3, one or more of the elements, processes, and / or devices illustrated in FIG. 2 and / or 3 may be combined, divided, re-arranged, omitted, eliminated, and / or implemented in any other way. Further, the example CPU 202, the example PCH 204, the  example SPI 206, the example GPU 208, the example shared SPI 212, the example first eSPI 302, the example second eSPI 304, and / or more generally the architectures 200 and / or 300 of FIGS. 2 and / or 3 may be implemented by hardware alone or by hardware in combination with software and / or firmware. Thus, for example, any of the example CPU 202, the example PCH 204, the example SPI 206, the example GPU 208, the example shared SPI 212, the example first eSPI 302, the example second eSPI 304, and / or more generally the architectures 200 and / or 300 of FIGS. 2 and / or 3, could be implemented by processor circuitry, analog circuit (s) , digital circuit (s) , logic circuit (s) , programmable processor (s) , programmable microcontroller (s) , graphics processing unit (s) (GPU (s) ) , digital signal processor (s) (DSP (s) ) , application specific integrated circuit (s) (ASIC (s) ) , programmable logic device (s) (PLD (s) ) , and / or field programmable logic device (s) (FPLD (s) ) such as Field Programmable Gate Arrays (FPGAs) . Further still, the example architecture 100 of FIG. 1 may include one or more elements, processes, and / or devices in addition to, or instead of, those illustrated in FIG. 2 and FIG. 3, and / or may include more than one of any or all of the illustrated elements, processes and devices.

[0087] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the architecture 200 of FIG. 2 and / or the example architecture 300 of FIG. 3 is shown in FIG. 5. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 1612 shown in the example processor platform 1600 discussed below in connection with FIG. 16 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable  programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIG. 5, many other methods of implementing the example architectures 200 and / or 300 may alternatively be used. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0088] The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc. ) that may be utilized to create, manufacture, and / or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and / or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc. ) . The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and / or executable by a computing device and / or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and / or stored on separate computing devices, wherein the parts when decrypted, decompressed, and / or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.

[0089] In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL) ) , a software development kit (SDK) , an application programming interface (API) , etc., in order to execute the machine readable instructions on a particular computing device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc. ) before the machine readable instructions and / or the corresponding program (s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and / or program (s) regardless of the particular format or state of the machine  readable instructions and / or program (s) when stored or otherwise at rest or in transit.

[0090] The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML) , Structured Query Language (SQL) , Swift, etc.

[0091] As mentioned above, the example operations of FIG. 5 may be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on one or more non-transitory computer and / or machine readable media such as optical storage devices, magnetic storage devices, an HDD, a flash memory, a read-only memory (ROM) , a CD, a DVD, a cache, a RAM of any type, a register, and / or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and / or for caching of the information) . As used herein, the terms non-transitory computer readable medium and non-transitory computer readable storage medium are expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0092] “Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc. ) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and / or” when used, for example, in a form such as A, B, and / or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B,  (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0093] As used herein, singular references (e.g., “a” , “an” , “first” , “second” , etc. ) do not exclude a plurality. The term “a” or “an” object, as used herein, refers to one or more of that object. The terms “a” (or “an” ) , “one or more” , and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and / or advantageous.

[0094] FIG. 5 is a flowchart representative of example machine readable instructions and / or example operations 500 that may be executed and / or instantiated by processor circuitry to perform a firmware boot of a system where shared access flash has been implemented between two processing units (e.g., the CPU 202 and the GPU 208) .

[0095] The machine readable instructions and / or the operations 500 of FIG. 5 begin at block 502, at which the CPU 202 fetches BIOS from the SPI flash 214 via the SPI 206 (block 502) . According to the illustrated example, the BIOS begins execution from Region 2 according to the IFWI layout 400 of FIG. 4 (block 504) . The CPU will continue programming of the CPU 202 and chipset registers (block 506) .

[0096] According to the illustrated example, in parallel with the BIOS execution, the GPU 208 receives a reset (e.g., RESET#) and starts executing CSC ROM (block 508) . The example GPU 208 fetches the GPU firmware from the SPI flash 214 (e.g., Region 13) (block 510) . The example GPU firmware will authenticate and load pCode patch from the SPI flash 214 (block 512) . The GPI firmware executed by the GPU 208 will perform memory controller initialization (block 514) . While initialization of the GPU 208 is illustrated in blocks 508-514, the process may additionally or alternatively perform initialization of any other processing units (e.g., initialization of another processing unit may begin after block 514) .

[0097] The GPU 208 will determine if memory controller initialization is complete (block 516) . When memory controller initialization has completed, the BIOS will initiate GPU initialization (block 518) . For example, an example process for performing GPU initialization is described in conjunction with FIGS. 7A and 7B. Once GPU initialization has been performed, any output device (e.g., high-definition multimedia interface (HDMI) or display port (DP) ) over the GPU (e.g., Discrete Graphics) will be ready with resolution and allocated framebuffer for further display related usage (block 520) . The CPU executing the BIOS or operating system (OS) loader will render the pre-OS splash screen using the framebuffer as the OS is booting (block 522) . The process 500 of FIG. 5 is then completed.

[0098] FIG. 6 is a block diagram of an example layout of BIOS 600 (e.g., the BIOS stored in Region 2 of the IFWI layout 400 of FIG. 4) . The example BIOS 600 includes a bootloader 602 and a silicon initialization code 604 (e.g., referred to as firmware support packages (FSP) herein) . For example, the silicon initialization code may be the FSP including  support for shared SPI flash. The example FSP 604 includes an example FSP silicon (FSP-S) 606, an example FSP memory (FSP-M) 608, and FSP Temp RAM (FSP-T) 610.

[0099] Modern System BIOS typically consists of 2 key elements as SoC vendor provided silicon initialization code in a binary format (e.g., the  Firmware Support Package (FSP) ) , which is getting consumed by various open and / or closed source bootloader implementations (e.g., tianocore. org, coreboot. org, slim bootloader, etc. ) to distinguish as Production BIOS for original design manufacturing (ODM)  / original equipment manufacturer (OEM) platform. But while working on platform with multiple heterogenous processors where every other heterogenous processor has its own SPI flash consisting of dedicated firmware blobs which are executed outside a silicon initialization code (e.g., FSP) boundary might poses redundancies. Having dedicated firmware blobs for each heterogenous processor would necessitate a discrete hardware block, which results in higher BoM. Furthermore, allowing DG initialization code that runs at bootloader context wouldn’t qualified as SoC verified boot and executing Option ROM for each processor results in higher boot times due to dependency over PCI enumeration and dynamic resource allocation before initializing the controller or device.

[0100] According to the illustrated example, the FSP 604 is extended to bring all XPU initialization within the scope of the FSP to create a hardware abstraction layer that ensures all SoC vendor recommended chipset programming is performing using a unified block. By utilizing the FSP 604 and its components for initialization of processing units (e.g., the GPU) , dedicated Option ROM may be eliminated reducing redundant components

[0101] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing unified firmware for the example architecture 200 and / or the example architecture 300 of FIG. 3 is shown in FIGS. 7A-7B. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by  processor circuitry, such as the processor circuitry 1612 shown in the example processor platform 1600 discussed below in connection with FIG. 16 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIGS. 7A-7B, many other methods of implementing the example architectures 200 and / or 300 may alternatively be used. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network  locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0102] FIGS. 7A and 7B are a flowchart representative of example machine readable instructions and / or example operations 700 that may be executed and / or instantiated by processor circuitry to perform unified initialization of processing units using silicon initialization code (FSP 604) .

[0103] The machine readable instructions and / or the operations 700 of FIGS. 7A-7B begin at block 702, at which the bootloader 602 owns the reset vector (block 702) . For example, the bootloader 602 contains the real mode reset vector handler code. In some examples, the bootloader 602 can call FSP-T 610 for cache as RAM (CAR) setup and initializing a stack. The CPU 202 executing the bootloader 602 populates FSP initialization parameters (block 704) . For example, the bootloader 602 may populate updateable product data (UPD) .

[0104] The example bootloader 602 calls FSP-M 608 for memory initialization (block 706) . On exit from FSP-M 608, the bootloader tears down CAR (block 708) . The bootloader 602 performs silicon programming (block 710) . For example, the silicon programming may include filling UPDs for FSP-S606) . The bootloader 602 then calls FSP-S606 to initialize a chipset (block 712) .

[0105] According to the illustrated example, the heterogeneous processors (e.g., the GPU 208) are soldered down on motherboard using dedicated PCI-E slots and, thus, the bootloader 602 does not need to perform PCI enumeration. Instead, the bootloader 602 may rely on mainboard-specific configuration information to provide such PCI-E slot information to the FSP 604. Alternatively, the bootloader 602 may perform PCI enumeration to identify the hardware.

[0106] The bootloader then transfers the call to FSP-S606 to start XPU initialization sequence (block 714) . For example, control reaches an XPU initialization sequence inside the FSP-S606) .

[0107] Continuing to FIG. 7B, the FSP 604 adds new FSP initialization parameters (e.g., UPDs) to pass PCIE slot information (e.g., information about heterogenous processors attached via PCIE) from the bootloader 602 to an FSP blob (block 716) . For example, UPDs may include IAXPUAddress, which is an array of 32-bit UPD parameters filled by bootloader to tell the FSP 604 about an address format of the XPU being attached with PCIE slot in form of bus, device, and function. For example, a default value would be 0x0, which identifies as invalid address. The format of IAXPUAddress may be: Bus << 16 | Device << 11 | Function << 8 | Offset (assume 0) . For example, for the Bus number as 0xFE and device / function as 0, IAdGPUAddress UPD value would be 0x00FE0000. Another UPD may be XPUConfigPtr, which is a 32-bit UPD parameter filled by the bootloader 602 to tell the FSP 604 about a location of additional configuration data such as Video BIOS Table (VBT) for the GPU 208. For example, a default value would be NULL, which identifies an invalid address.

[0108] Example UPD variable definitions inside the FSP 604 may include:

[0109] #! BSF NAME: {XPU PCI-E address format for FSP usage} TYPE: {EditNum, HEX, (0x00, 0xFFFFFFFF) }

[0110] #! BSF HELP: {bootloader to tell FSP about address format of attached PCIE slot for FSP usage, Default value would be 0, identify as no device attached. }

[0111] gPlatformFspPkgTokenSpaceGuid. IAXPUAddress | *|0x20 | {0x00FE0000, 0x00, 0x00}

[0112] #! BSF NAME: {XPU Configuration Ptr}

[0113] #! BSF TYPE: {EditNum, HEX, (0x0, 0xFFFFFFFF) }

[0114] #! BSF HELP: {Points to configuration data file like VBT}

[0115] gPlatformFspPkgTokenSpaceGuid. XPUConfigPtr | *|0x04 | 0x00000000

[0116] Returning to the process 700, the example bootloader 602 calls FSP-S606 with XPU address FSP initialization parameter overridden to initialize the display device (e.g., over discrete DGPU) (block 718) . The example FSP-S606 reads the XPU address FSP initialization parameter to know if the platform has any heterogenous processors attached (block 720) . For example, if “IAXPUAddress” UPD value > 0, Dash-G is present, then Get B: D: F information from UPD and read XPU data configuration pointer to know the configuration table presence such as VBT. The FSP 604 identifies and initializes any XPU devices attached with the processor (block 722) . For example, the FSP 604 may identify the type of XPU that is associate with a PCIE port and perform the respective call in order to initialize the device attached with processor (e.g., display attached with GPU) . An example detailed process is illustrated in FIG. 8.

[0117] Control exists FSP-S606 operation (block 724) . Upon the exist, the display will be initialized for a device attached with the GPU (e.g., the DGPU) . The example bootloader 602 performs PCI enumeration and resource allocation for PCI / PCI-E devices (block 726) . For example, except for Dash-G device, the resource allocation may be based on looking at Base Address Registers (BAR) that are already implemented and mmio / io address space that is enabled. The FSP 604 then passes the VBT information to the OS (block 728) . For example, the FSP 604 may create DGPU GFX ACPI opregion to pass the VBT information for the GPU driver to the OS.

[0118] The bootloader 602 then calls NotifyPhase (block 730) . For example, the bootloader 602 may call NotifyPhase before handing over to payload. Control is transferred to the bootloader 602 to render pre-OS logo, UEFI setup screen, or OS splash screen (block 732) . The process 700 then ends as the OS boots.

[0119] As FSP is designated to perform the initialization of XPU devices, the initialization sequence may be divided into two parts: 1.  Static DG initialization process as part of boot services inside the FSP 604 and 2. Create a oneAPI library function for accessing XPU hardware resources: A set of library functions for communicating with XPU hardware is available as part of an FSP runtime service so that different OS stacks do not need dedicated OS drivers for communicating with XPU hardware. For example, the APIs 108 of FIG. 1 may include the oneAPI library for accessing XPU hardware resources.

[0120] FIG. 8 is a flowchart illustrating an example detailed Unified FSP initialization flow with integrated graphics device (IGD) and GPU.

[0121] The machine readable instructions and / or the operations 800 of FIG. 8 begin at block 802, at which the FSP-S reads the UPD IADGpuAddress. The FSP-S determines if a discrete graphic processing unit (DGPU) is present (block 804) . If a DGPU is not present, initialization of an integrated graphics processing unit (IGPU) is performed by getting an IGD VBT PTR (block 806) , reading a RGX MMIO base address (block 808) , reading a child device configuration (block 810) , and reading a GFX framebuffer address (block 812) . Control then proceeds to block 830, which is described below.

[0122] If the FSP-S determines that a DGPU is present (block 804) , the FSP-S performs initialization of the DGPU as follows. The FSP-Sgets a PCI location (block 814) and gets a DGPU VBT PTR (block 816) . The FSP-S reads the GFX MMIO base address (block 818) and reads a child device configuration (block 820) . The FSP-S reads a device identifier (DID) and compares it against a supported DID list (block 822) . If the DID is not valid (e.g., not supported) (block 824) , no display is presented (block 826) , and control returns to block 802. If the DID is valid, the FSP-S reads the GFX framebuffer address (block 828) and control proceeds to block 830.

[0123] After beginning initialization of the IGD (blocks 806-812) or DGPU (blocks 814-828) , the FSP-S reads a value from a GT driver mailbox (block 830) . Then the FSP-S initializes video memory variables (block 832) and programs the GTT (e.g., sets max voltage, programs CD CLK,  etc. ) (block 834) . The FSP-S performs watermark initialization (block 836) . Then, for reach attached display, the FSP-S enumerates the supported displays and executes display timing algorithms (block 838) . Finally, the FSP-Sprograms the phase locked loops (PLL) (block 840) and the display is then up (block 842) . The process of FIG. 8 then ends.

[0124] From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed for symbiotic boot among heterogenous processors. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of using a computing device by sharing memory resources such as SPI flash to reduce BoM costs and reduce boot times. By moving XPU initialization to the FSP, encapsulation of the XPU silicon initialization protects intellectual property and maintains security of the boot process while allowing for the shared utilization of memory (e.g., memory storing IFWI) . Utilizing unified firmware and software modules for heterogenous processor results in smaller footprint and optimized verified boot. The disclosed examples also support a unified firmware flash layout between the CPU and other processing unit to allow having in-field firmware updates (e.g., for a DG motherboard-down solution) .

[0125] Infrastructure Processing Unit Resource Director Technology

[0126] Apparatus, articles of manufacture, and methods to implement an infrastructure processing unit resource directory technology (IPURMS) are disclosed. The example IPURMS provides decentralized peer-to-peer IPU resource negotiation and management without CPU centric involvement to facilitate low latency micro-services and workloads such as VRAN, etc. In addition, the IPURMS provides application aware resource management wherein IPUs can dynamically renegotiate RMS SLAs for variety of micro-services at run-time. Furthermore, the IPURMS may facilitate IPUs P2P negotiations and resource management that may be tracked via decentralized distributed public ledger like blockchain with revocation capabilities (e.g., revocation management) to track / record telemetry with auditability. In addition, the IPURMS may facilitate an IPU that is divided  into two portions, namely i) data plane, and ii) control plane, wherein the control plane handles resource allocation, monitoring and policy enforcement, and the data plane handles the data flow between IPUs and the logical units associated with the IPU.

[0127] FIG. 9 is a block diagram of an example architecture 900 for IPURMS. According to the illustrated example of FIG. 9, a new workload (or VM) 902 communicates with an example orchestrator 904 to request a system with a specific SLA. The example architecture 900 includes the orchestrator 904, an example user space 908, an example XPU / IPU software domain 908, and an example IPU hardware domain 910.

[0128] The example orchestrator 904 is server circuitry that negotiates with existing workloads for placement of the workloads on computing resources based on SLAs. The example orchestrator 904 communicates with one or more computing system (s) 906 to manage the assignment of workloads to computing resources.

[0129] The example computing resources 906 are represented by several abstractions including a user space 908, an XPU / IPU software domain 910, and an IPU hardware domain 912. The example user space 908 includes an application A 914 and an application B 916, though any number or type of application may be included. The example user space 908 is monitored by the orchestrator 904.

[0130] The example XPU / IPU software domain 910 includes an example RMS exposure 918 that is monitored by an example SLA manager 920. The example RMS exposure 918 facilitates the communication of application level information with the orchestrator 904.

[0131] The example IPU hardware domain 912 includes an example XPU / IPU resource monitoring 922 monitored by an example SLA manager 924, an example XPU / IPU resource enforcement 926 monitored by an example SLA manager 928, and a Punit RMS 930.

[0132] The example XPU / IPU resource monitoring 922 provides resource feedback to the example RMS exposure 918 while the example XPU / IPU resource monitoring 922 and the example XPU / IPU  resource enforcement 926 communicate regarding hardware policies. The example RMS exposure 918 communicates QoS hints to the example XPU / IPU resource enforcement 926 and the example XPU / IPU resource enforcement 926 communicates with the Punit RMS 930 regarding QoS hardware features. The example architecture 900 facilitates a transition from CPU-centric, single node resource management to a scalable self-manageable XPU / IPU that can work in peer-to-peer collaboration. Consensus in such collaborative resource management may be accomplished via a centralized trust broker, a decentralized public ledger like block chain as illustrated in FIG. 13, etc.

[0133] Flowcharts representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing unified firmware for the example architecture 900 is shown in FIG. 10 and FIG. 11. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 1612 shown in the example processor platform 1600 discussed below in connection with FIG. 16 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be  implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowcharts illustrated in FIG. 10 and FIG. 11, many other methods of implementing the example architecture 900 may alternatively be used. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0134] FIG. 10 is a flowchart representative of example machine readable instructions and / or example operations 1000 that may be executed and / or instantiated by processor circuitry to perform configuring using IPURMS.

[0135] The machine readable instructions and / or the operations 1000 of FIG. 10 begin at block 1002, at which the example orchestrator 904 detects a new instance / application (e.g., workload 902) capable of running in a heterogenous IPU-based datacenter platform along with resource and migration tolerance SLAs. For example, the resource requirements and  tolerance may be established by a user / administrator when creating the new instance / application (e.g., using an SLA template) . The orchestrator 904 determines if validation of the device and resource requirements is successful (block 1004) . For example, the resource requirements may be analyzed to determine if they are feasible without the constraints of the computing system. If the resource requirements are not valid and / or not feasibly met by the computing system, the orchestrator 904 returns control to block 1002.

[0136] If the resource requirements are valid (block 1004) , the orchestrator 904 negotiates with the IPU control plane to identify resource for performing the new instance / application (block 1006) . For example, based on the type of hardware resources specified in the request (e.g., CPU, GPU, FPGA and SSD) , a set of IPUs corresponding to the specified resources are selected. Then, the negotiation between the new request and the existing Apps in the IPUs is started. For example, the negotiation may include making policy-based decisions using the identified resource tolerance thresholds and dynamically migrating existing workloads between IPUs to utilize all resources efficiently. Each IPU may include two portions, i) a data plane, and ii) a control plane. The control plane handles resource allocation, monitoring and policy enforcement, and the data plane handles the data flow between IPUs and the logical units associated with the IPU. An example process for negotiation is described in conjunction with FIG. 11.

[0137] The orchestrator 904 determines if negotiation was successful (block 1008) . For example, the negotiation may be determined to be successful if the orchestrator is able to find the necessary resources within the set of IPUs. For example, in one scenario, existing applications continue to run on the given IPUs, but there are additional resources free for the new application to be spun. In another scenario, the orchestrator 904 negotiates with an existing application and arranges for the application to be migrated to a different set of IPUs to free resources for the new instance / application.

[0138] If the negotiation is not successful (block 1008) , control returns to block 1002 for the orchestrator 904 look for a different set of IPUs that satisfy the resource requirements.

[0139] If the negotiation is successful (block 1008) , the orchestrator 904 provisions the IPU / XPU resource monitoring and enforcement in the IPU control plane (block 1010) . Then, the orchestrator 904 configures the hardware resources on the IPU-based datacenter platform (s) for the new instance / application (block 1012) . Thus, the negotiation process among IPUs may enable cross-domain coordinated resource management at the datacenter level.

[0140] FIG. 11 is a flowchart representative of example machine readable instructions and / or example operations 1100 that may be executed and / or instantiated by processor circuitry to conduct negotiation to dynamically allocate resources based on tolerances prescribed by an application and available IPU resources.

[0141] The machine readable instructions and / or the operations 1100 of FIG. 11 begin at block 1102, at which the orchestrator 904 detects that a user has spun up a new instance / application (e.g., a VM, an application, etc. ) . For example, the request may identify QoS parameters, SLA requirements, etc. For example, the QoS parameters may be set as QOS=FUNC (DEVICE REQS, FREQUENCY, CACHE, MEM-BW, POWER, IPC, CORES, STORAGE, MIGRATION-TOLERANCE) . Specifying the SLA parameters enables the specification of hardware resources (e.g., CPU, GPU, FPGA, SSD and respective IPUs) within the datacenter. An example SLA template is specified as:

[0142] 1. CPU:

[0143] A. FREQUENCY RANGE

[0144] B. MEMORY BANDWIDTH RANGE

[0145] C. CACHE SIZE RANGE

[0146] D. TDP RANGE

[0147] E. CORE COUNT RANGE

[0148] F. MIGRATION TOLERANCE

[0149] G. XEON IPC RANGE

[0150] 2. SSD STORAGE SPACE RANGE

[0151] 3. GPU CORES RANGE

[0152] 4. FPGA

[0153] 5. PCIE GENERATION REQUIREMENT

[0154] 6. IPU control plane management

[0155] h. Network bandwidth range

[0156] i. Queue prioritization

[0157] The orchestrator 904 validates the request for validity (block 1104) . If the request is not valid, the user is prompted to provide a valid request and control returns to block 1102. If the request is valid (block 1104) , the orchestrator 904 determines availability of computing resources (block 1106) . If available computing resources (e.g., IPU resources) that are willing to negotiate are not available, control returns to block 1102.

[0158] If available computing resources are determined that are willing to negotiate (block 1106) , the orchestrator 904 begins negotiating with existing instances / applications that are executing on the IPUs and determines if negotiation is successful (block 1108) . For example, negotiation may involve determining existing applications on an IPU that may tolerate lower resources to free resources for the new instance / application. Alternatively, negotiation may identify applications that may be migrated to other resources to free the selected resources for the new instance / application. If negotiation fails to free resources for the new instance / application, control returns to block 1106 to identify different resources.

[0159] If negotiation succeeds in identifying available resources for execution of the new instance / application (block 1108) , the orchestrator 904 determines if there are existing instances / applications to be migrated off the resources (block 1110) . If there are existing instances / applications to be migrated, control returns to block 1106 to manage negotiation and allocation of the existing instances / applications.

[0160] If existing application / instances are not to be migrated (block 1110) , the orchestrator 904 updates a resource allocator (e.g., Class of Service (CloS) of the existing instance / application (block 1112) . The  orchestrator 904 spins-up the requested instance / application (e.g., workload 902) with the negotiated set of IPUs (block 1114) .

[0161] FIG. 12 illustrates an example environment 1200 in which resources managed by IPUs 1202 (or any type of processing unit such as XPU, GPU, etc. ) have various states of free and busy resources among CPU 1204, GPU 1206, SSD 1208, etc. According to the illustrated example, APP-1 is utilizing a portion of the CPU 1204, the GPU 1206, and the SSD Store 1208, APP-2 is utilizing a portion of the CPU 1204 and the GPU 1206, and APP-3 is utilizing a portion of the CPU 1204 and the SSD Storage 1208.

[0162] FIG. 13 illustrates an example environment 1300 in which consensus in collaborative resource management is accomplished via a decentralized public block chain ledger. As illustrated in FIG. 13, the operational states (e.g., state S1, state S2, state SN) of several IPUs 1 to N. Thus, each block in a blockchain (e.g., blocks B1 to BN) can store state information that may be utilized for peer-to-peer resource negotiation. Utilizing such a blockchain facilitates a distributed collection of information that is trustable to effectively operate as a trust broker. While FIG. 9 illustrates a single centralized orchestrator 904, blockchain or other decentralized techniques may be utilized to facilitate a decentralized orchestrator that manages resources suing the control plane portion of the IPUs. In such a decentralized approach, the resource management can be tracked via the decentralized public ledger with revocation capabilities to track / record telemetry with auditability. Thus, the IPUs 1202 can be considered to have computer resources as well as the management Intellectual Property (Ips) for the device associated with the IPU. The control plane of the IPU hosts the decentralized orchestrator that handles resource allocation, monitoring, and policy enforcement.

[0163] From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed for managing the assignment of resources in systems utilizing IPUs. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of using a computing device by improving IPU and ingredient  resource utilization, manageability with auditability, secure metering towards improved total cost of ownership savings. Disclosed examples facilitate fine granular resource monitoring and manageability across IPUs in hyper scale data centers. Providing application-negotiable resource monitoring and management allows for dynamic prioritization to provide deterministic performance for at-scale microservices.

[0164] Dynamic Negotiable Deep Neural Networks

[0165] Some neural network systems attempt to detect underlying target hardware capabilities to accelerate inference / training performance. For example, JIT code generation may be utilized to try to choose an instruction set architecture (ISA) or a mix of ISA based on detected target hardware features of a computing environment. Even though such an abstraction provides the capabilities to take advantage of the underlying hardware capability, it has shortcomings.

[0166] Apparatus, articles of manufacture, and apparatus disclosed herein provide a dynamic negotiable deep neural network solution. This approach facilitates the utilization of hardware resources, particularly in instances where there are a significant number of possible features (e.g., single instruction stream, multiple data stream (SIMD) features, learning boost features (e.g.,  Deep Learning Boost) , etc. A disclosed dynamic negotiable deep neural network stack involves a configurable and negotiable interface implemented in the APIs 108 of FIG. 1 to specify an SLA. A candidate set of features may be filtered from an available implementation set and a JIT kernel may be dynamically generated for the candidate set of hardware features. The disclosed dynamic negotiable deep neural network stack may dry run the kernels one by one, to pick out the one with best performance and cache it for later usage.

[0167] FIG. 14 is a block diagram of an example dynamic negotiable dynamic neural network library 1400. For example, the dynamic negotiable dynamic neural network library 1400 may be added to the APIs 108 of the architecture 100 of FIG. 1. The example dynamic negotiable dynamic neural network library 1400 includes an example configurable user interface  1402, an example platform capability manager 1404, an example application SLA manager 1406, an example JIT manager 1410, and an example kernel evaluation engine 1410.

[0168] The example configurable user interface 1402 provides a user interface (e.g., via the oneAPI stack of the architecture 100) for application middleware / frameworks to configure SLAs associated with operations. For example, the user interface 1402 may be a graphical user interface, a text interface, an API, etc.

[0169] The example platform compatibility manager 1404 identifies the target hardware capabilities. The platform compatibility manager 1404 also cooperates with the configurable user interface 1402 via for applications to configure JIT kernel configuration.

[0170] The example application SLA manager 1406 collects and enforces SLAs provided via the configurable user interface 1402.

[0171] The example JIT manager 1408 generates and manages dynamic JIT kernels based on specified SLA in conjunction with bare-metal / VM heuristics observed in the past.

[0172] The example kernel evaluation engine 1410 provides the capability to do sandbox evaluations of a newly generated kernels / operation that are fused before large scale deployment.

[0173] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the dynamic negotiable deep neural network 1400 of FIG. 14 is shown in FIG. 14. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 1612 shown in the example processor platform 1600 discussed below in connection with FIG. 16 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk  (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIG. 14, many other methods of implementing the example dynamic negotiable deep neural network 1400 may alternatively be used. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or  a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0174] FIG. 15 is a flowchart representative of example machine readable instructions and / or example operations 1500 that may be executed and / or instantiated by processor circuitry to select features for deep neural network learning based on hardware capabilities.

[0175] The machine readable instructions and / or the operations 1500 of FIG. 15 begin at block 1502, at which the example configurable user interface 1402 obtains an operation description (e.g., instructions and SLA information input by a user) . The example SLA manager 1406 obtains SLA criteria for a current configuration (block 1504) . The example platform capability manager 1404 selects candidate configurations (e.g., primitive descriptors) based on the target hardware capabilities (block 1506) . For example, the platform capability manager 1404 may select candidates which are successfully created from an implementation set based on the platform information SLA criteria.

[0176] The example JIT manager 1408 generates kernels corresponding to the selected candidates (block 1508) . For example, the JIT manager 1408 may generate kernels one-by-one for each of the candidates in the candidate set. The example kernel evaluation engine 1410 then executes a dry run / test run of the kernel and collects performance information (block 1510) . For example, where multiple kernels are generated one-by-one by the JIT manager 1408, the example kernel evaluation engine 1410 may perform a test run of each kernel and collect the performance results to facilitate selection of a kernel based on the performance (e.g., selecting the kernel with the best performance) . For example, the kernel evaluation engine 1410 may cache the kernel with the best performance.

[0177] The example application SLA manager 1406 then determines if the selected kernel meets the requested SLA (block 1512) in a sandbox configuration based on configured policies. If the SLA is not met, control returns to block 1508 to attempt to generate another kernel that may  meet the SLA. If the application SLA manager 1406 determines that the SLA is met, the process 1500 ends having selected a suitable kernel for operation.

[0178] In some implementations, the process 1500 may detect ISA capabilities of the CPU or other processing units and generate a queue for all the implementations in one operation. For example, the following is an example queue for the data type of FP32 and convolution operation:

[0179]

[0180] The example process 1500 may try to instantiate each primitive descriptor in the implementation queue. The platform capability manager 1404 may select all the successfully instantiated primitive descriptors out as the candidates for a next layer based on the application / middleware  SLA and target hardware platform capabilities. Then, the JIT manager 1408 may generate a JIT kernel corresponding to each primitive descriptor candidate and save it into a JIT kernel candidate queue. The example kernel evaluation engine 1410 will dry run each kernel from JIT kernel candidate queue in the current platform, report out the performance data, and select a JIT kernel based on the performance (e.g., select a JIT kernel with the best throughput) and cache it for late usage.

[0181] In some examples, the proposed approach provides approximately 10%performance improvement over existing approaches (e.g., approaches that select a first JIT kernel that meets SLA requirements) .

[0182] Placeholder: Insert AD6570:

[0183] Placeholder: Insert AD6571:

[0184] Placeholder: Insert AD6572:

[0185] Placeholder: Insert AD6578:

[0186] FIG. 16 is a block diagram of an example processor platform 1600 structured to execute and / or instantiate the machine readable instructions and / or the operations of one or more of FIGS. 5, 7A, 7B, 8, 10, 11, and / or 15 to implement the architectures 100, 200, 300, the BIOS 600, and / or the dynamic negotiable deep neural network 1400. The processor platform 1600 can be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network) , a mobile device (e.g., a cell phone, a smart phone, a tablet such as an iPadTM) , a headset (e.g., an augmented reality (AR) headset, a virtual reality (VR) headset, etc. ) or other wearable device, or any other type of computing device.

[0187] The processor platform 1600 of the illustrated example includes processor circuitry 1612. The processor circuitry 1612 of the illustrated example is hardware. For example, the processor circuitry 1612 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and / or microcontrollers from any desired family or manufacturer. The processor circuitry 1612 may be implemented by one or more semiconductor based (e.g., silicon based) devices.

[0188] The processor circuitry 1612 of the illustrated example includes a local memory 1613 (e.g., a cache, registers, etc. ) . The processor circuitry 1612 of the illustrated example is in communication with a main memory including a volatile memory 1614 and a non-volatile memory 1616 by a bus 1618. The volatile memory 1614 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM) , Dynamic Random Access Memory (DRAM) ,  Dynamic Random Access Memory and / or any other type of RAM device. The non-volatile memory 1616 may be implemented by flash memory and / or any other desired type of memory device. Access to the main memory 1614, 1616 of the illustrated example is controlled by a memory controller 1617.

[0189] The processor platform 1600 of the illustrated example also includes interface circuitry 1620. The interface circuitry 1620 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a interface, a near field communication (NFC) interface, a Peripheral Component Interconnect (PCI) interface, and / or a Peripheral Component Interconnect Express (PCIe) interface.

[0190] In the illustrated example, one or more input devices 1622 are connected to the interface circuitry 1620. The input device (s) 1622 permit (s) a user to enter data and / or commands into the processor circuitry 1612. The input device (s) 1622 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video) , a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and / or a voice recognition system.

[0191] One or more output devices 1624 are also connected to the interface circuitry 1620 of the illustrated example. The output device (s) 1624 can be implemented, for example, by display devices (e.g., a light emitting diode (LED) , an organic light emitting diode (OLED) , a liquid crystal display (LCD) , a cathode ray tube (CRT) display, an in-place switching (IPS) display, a touchscreen, etc. ) , a tactile output device, a printer, and / or speaker. The interface circuitry 1620 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and / or graphics processor circuitry such as a GPU.

[0192] The interface circuitry 1620 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and / or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 1626. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.

[0193] The processor platform 1600 of the illustrated example also includes one or more mass storage devices 1628 to store software and / or data. Examples of such mass storage devices 1628 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk  drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices and / or SSDs, and DVD drives.

[0194] The machine executable instructions 1632, which may be implemented by the machine readable instructions of FIGS. 5, 7A, 7B, 8, 10, 11, and / or 15, may be stored in the mass storage device 1628, in the volatile memory 1614, in the non-volatile memory 1616, and / or on a removable non-transitory computer readable storage medium such as a CD or DVD.

[0195] The processor platform 1600 of the illustrated example of FIG. 16 includes example acceleration circuitry 1634, which includes an example GPU 1640, an example vision processing unit (VPU) 1642, and an example neural network processor 1644. Additionally and / or alternatively, the acceleration circuitry 1634 may include any other type of hardware such as a CPU, an FPGA, an ASIC, etc. In this example, the GPU 1640, the VPU 1642, and the neural network processor 1644 are in communication with different hardware of the processor platform 1600, such as the volatile memory 1614, the non-volatile memory 1616, etc., via the bus 1618. In this example, the neural network processor 1644 may be implemented by one or more integrated circuits, logic circuits, microprocessors, GPUs, DSPs, or controllers from any desired family or manufacturer that can be used to execute an AI model, such as a neural network.

[0196] METHODS AND APPARATUS FOR DYNAMIC XPU HARDWARE-AWARE DEEP LEARNING MODEL MANAGEMENT

[0197] Compute workloads for a computing device may be carried out through use of Deep Learning (DL) models. Deep Learning (DL) models, such as neural networks (NNs) , are useful tools that have demonstrated their value solving complex problems regarding pattern recognition, object classification, natural language processing, automatic speech recognition, etc. Identifying an optimal combination of hardware (HW) and / or software (SW) (e.g., a Deep Learning model) to execute a compute  workload is complex due to the vast range of available types of hardware and / or Deep Learning (DL) models and customization (s) thereof.

[0198] Artificial intelligence (AI) , including machine learning (ML) , deep learning (DL) , and / or other artificial machine-driven logic, enables machines (e.g., computers, logic circuits, etc. ) to use a model to process input data to generate an output based on patterns and / or associations previously learned by the model via a training process. For instance, the model may be trained with data to recognize patterns and / or associations when processing input data such that other input (s) result in output (s) consistent with the recognized patterns and / or associations.

[0199] Many different types of machine learning models and / or machine learning architectures exist. In some examples disclosed herein, a decision tree model is used. Using a decision tree model enables the interpretation of data that is simple and explainable. In general, machine learning models / architectures that are suitable to use in the example approaches disclosed herein will be Convolutional Neural Network (CNN) and / or Deep Neural Network (DNN) , wherein interconnections are not visible outside of the model. However, other types of machine learning models could additionally or alternatively be used such as Recurrent Neural Network (RNN) , Support Vector Machine (SVM) , Gated Recurrent Unit (GRU) , Long Short Term Memory (LSTM) , etc.

[0200] In general, implementing a ML / AI system involves two phases, a learning / training phase and an inference phase. In the learning / training phase, a training algorithm is used to train a model to operate in accordance with patterns and / or associations based on, for example, training data. In general, the model includes internal parameters that guide how input data is transformed into output data, such as through a series of nodes and connections within the model to transform input data into output data. Additionally, hyperparameters are used as part of the training process to control how the learning is performed (e.g., a learning rate, a number of layers to be used in the machine learning model, etc. ) . Hyperparameters are defined  to be training parameters that are determined prior to initiating the training process.

[0201] Different types of training may be performed based on the type of ML / AI model and / or the expected output. For example, supervised training uses inputs and corresponding expected (e.g., labeled) outputs to select parameters (e.g., by iterating over combinations of select parameters) for the ML / AI model that reduce model error. As used herein, labelling refers to an expected output of the machine learning model (e.g., a classification, an expected output value, etc. ) Alternatively, unsupervised training (e.g., used in deep learning, a subset of machine learning, etc. ) involves inferring patterns from inputs to select parameters for the ML / AI model (e.g., without the benefit of expected (e.g., labeled) outputs) .

[0202] In examples disclosed herein, ML / AI models are trained using known software samples (e.g., malicious and / or clean) . However, any other training algorithm may additionally or alternatively be used. In examples disclosed herein, training is performed on a set of models optimized for a selected objective (e.g., performance, accuracy, cost, etc. ) .

[0203] Training is performed using hyperparameters that control how the learning is performed (e.g., a learning rate, a number of layers to be used in the machine learning model, etc. ) .

[0204] Training is performed using training data. In examples disclosed herein, the training data may be any type of dataset of features (e.g., AI features) .

[0205] Once training is complete, the model is deployed for use as an executable construct that processes an input and provides an output based on the network of nodes and connections defined in the model. The model is stored in a memory. The model may then be executed by the model management circuitry 1808 of FIG. 18.

[0206] Once trained, the deployed model may be operated in an inference phase to process data. In the inference phase, data to be analyzed (e.g., live data) is input to the model, and the model executes to create an output. This inference phase can be thought of as the AI “thinking” to  generate the output based on what it learned from the training (e.g., by executing the model to apply the learned patterns and / or associations to the live data) . In some examples, input data undergoes pre-processing before being used as an input to the machine learning model. Moreover, in some examples, the output data may undergo post-processing after it is generated by the AI model to transform the output into a useful result (e.g., a display of data, an instruction to be executed by a machine, etc. ) .

[0207] In some examples, output of the deployed model may be captured and provided as feedback. By analyzing the feedback, an accuracy of the deployed model can be determined. If the feedback indicates that the accuracy of the deployed model is less than a threshold or other criterion, training of an updated model can be triggered using the feedback and an updated training data set, hyperparameters, etc., to generate an updated, deployed model.

[0208] Exploration and discovery of new Artificial Intelligence (AI) features is a time-consuming problem. The rapid discovery of new hardware features will accelerate the time-to-market for new AI products and / or features.

[0209] Currently, training and inference stages in DL model management systems are focused on a single DL model. Some of these single DL models are decomposed into multiple smaller models, however, the focus of these DL model management systems is on single abstract entities. These current DL model management systems do not analyze differences between alternative models to gain insights and to propose new features for AI feature development and / or exploration.

[0210] Neural Architecture Search (NAS) refers to approaches for Deep Learning (DL) model management that focus on finding the right network topology for a particular set of requirements. Hardware-aware NAS approaches consider information from the target hardware (HW) when searching for an optimal neural network topology. The primary focus of hardware-aware NAS approaches is to find a single DL model that fits the listed criteria.

[0211] Current NAS approaches to DL model management treat each discovered model in isolation. That is, they do not further consider the existence of differences between models (e.g., candidate features optimized for different objectives by the NAS algorithm) to discover new features and / or gain further insights.

[0212] Most current NAS solutions fail to consider how, where, and in what conditions the optimized models will be deployed. For instance, the target hardware might have other processes affecting the availability of the device’s resources while the model was optimized, creating an assumption that all available resources would be allocated to that model during inference. This proves to be a significant disadvantage during deployment, however, since if the target hardware undergoes a change in resource utilization during runtime, the hardware will most likely require a model replacement to another model that is better suited for the new conditions.

[0213] Model duality must be leveraged in order to explore two or more different architectural options optimized for multiple objectives (e.g., accuracy, latency, performance, cost, etc. ) . A delta between these architectural options is identified and explored to establish new features and / or gaps in the software (SW) or hardware (HW) to aid in model design / management and / or hardware co-optimization.

[0214] FIG. 17 is an illustration of an example AutoML architecture 1700, which includes an example machine-learning (ML) system configurator 1702 to identify and / or generate a composable ML compute node. The AutoML architecture 1700 includes the ML system configurator 1702 to generate a hardware search space and / or a software search space based on a compute task or workload (e.g., an Artificial Intelligence / Machine Learning (AI / ML) compute task or workload) . The ML system configurator 1702 can identify hardware, or portion (s) thereof, from the hardware search space. The ML system configurator 1702 can also discover and / or otherwise identify software (e.g., an AI / ML model) , or portion (s) thereof, from the software search space. In some examples, the ML system configurator 1702 can individually and / or simultaneously evolve a composable ML compute node by  iterating (i) an architecture and / or type of the hardware and / or the software and / or (ii) configuration (s) of the hardware and / or the software. For example, the ML system configurator 1702 can evolve the composable ML compute node by evaluating the hardware and / or the software when executing a workload and / or based on a simulation of the hardware and / or software executing the workload. In some such examples, the composable ML compute node can be composable because hardware and / or software components can be selected and assembled in various combinations to satisfy specific or pre-defined requirements (e.g., an accuracy requirement, a latency requirement, a throughput requirement, etc. ) . In some such examples, in response to an identification of a particular combination of hardware and / or software that satisfies the specific or pre-defined requirements, the ML system configurator 1702 can output the combination as a composable ML compute node to execute a workload of interest.

[0215] In some examples, a composable ML compute node can be implemented by a single homogeneous computing or electronic system that may be configured and / or otherwise utilized to execute an AI / ML model. For example, the composable ML compute node can be implemented by a single Central Processor Unit (CPU) , Graphics Processor Unit (GPU) , Artificial Intelligence Processor (AI Processor) , Field Programmable Gate Array (FPGA) , Digital Signal Processor (DSP) , XPU, etc. In some examples, the composable ML compute node can be implemented by portion (s) of a single homogeneous computing or electronic system, such as portion (s) (e.g., kernel (s) ) of a single CPU, GPU, AI Processor, FPGA, DSP, XPU, etc. In some such examples, the portion (s) can include a kernel (e.g., a hardware kernel) and / or corresponding interconnect (s) to which different kernel (s) , hardware, etc., can be coupled (e.g., physically coupled, communicatively coupled, coupled via a computing or electrical bus, etc. ) . In some examples, a composable ML compute node can be implemented by multiple ones of the same type of homogeneous computing or electronic system, or portion (s) thereof. For example, the composable ML compute node can be implemented by two or more CPUs (or portion (s) thereof) , two or more GPUs (or portion (s)  thereof) , two or more AI Processors (or portion (s) thereof) , two or more FPGAs (or portion (s) thereof) , two or more DSPs (or portion (s) thereof) , two or more XPUs (or portion (s) thereof) , etc.

[0216] In some examples, a composable ML compute node can be implemented by a single heterogeneous computing or electronic system that may be configured and / or otherwise utilized to execute an AI / ML model. For example, the composable ML compute node can be implemented by a CPU, a GPU, an AI Processor, an FPGA, a DSP, XPU, etc., and / or any combination (s) thereof. In some such examples, the composable ML compute node can be implemented by one or more CPUs, one or more GPUs, one or more AI Processors, one or more FPGAs, one or more DSPs, one or more XPUs, etc., and / or any combination (s) thereof. In some examples, the composable ML compute node can be implemented by portion (s) of a single heterogeneous computing or electronic system, such as portion (s) of a CPU, GPU, AI Processor, FPGA, DSP, XPU, etc., and / or any combination (s) thereof. In some examples, a composable ML compute node can be implemented by multiple ones of the same heterogeneous computing or electronic system, or portion (s) thereof. For example, the composable ML compute node can be implemented by two or more instances of a heterogeneous computing system, which includes one or more CPUs (or portion (s) thereof) , one or more GPUs (or portion (s) thereof) , one or more AI Processors (or portion (s) thereof) , one or more FPGAs (or portion (s) thereof) , one or more DSPs (or portion (s) thereof) , one or more XPUs (or portion (s) thereof) , etc., and / or combination (s) thereof. In some examples, the composable ML compute node can be implemented by two or more different heterogeneous computing or electronic systems. For example, the composable ML compute node can be implemented by a first heterogeneous computing system and a second heterogeneous computing system. In some such examples, portion (s) of the first heterogeneous computing system and the second heterogeneous computing system can be different.

[0217] In some examples, the composable ML compute node can include, store, and / or otherwise access an executable construct to execute  an AI / ML model to complete a workload, or portion (s) thereof. For example, the executable construct can be implemented by a configuration image, an executable binary, executable code (e.g., executable machine-readable code) , an executable file (e.g., an executable binary file) , an executable program, executable instructions (e.g., executable machine-readable instructions) , etc., that, when executed, can implement an AI / ML model to effectuate completion of AI / ML workloads.

[0218] The AutoML architecture 1700 of the illustrated example includes example optimized applications 1704, example optimized middleware and frameworks 1706, and example application programming interfaces (APIs) 1708. In some examples, the optimized applications 1704 can be implemented by applications (e.g., software applications, web-or browser-based applications, etc. ) that are customized, tailored, and / or otherwise optimized to effectuate the identification and / or generation of a composable ML compute node. For example, the optimized applications 1704 can be accessed, utilized, etc., by a developer (e.g., a software developer, a researcher, etc. ) , Information Technology (IT) personnel, etc. In some such examples, the optimized applications 1704 can be accessed, utilized, etc., to co-design a hardware / software (HW / SW) solution for a technical problem that can benefit from AI / ML techniques. In some examples, the optimized middleware and frameworks 1706 can be implemented by middleware and frameworks that are customized, tailored, and / or otherwise optimized to effectuate the identification and / or generation of a composable ML compute node. For example, the optimized middleware and frameworks 1706 can implement an interface (e.g., communication, connectivity, etc. ) between the optimized applications 1704 and the APIs 1708.

[0219] The APIs 1708 of the illustrated example can be invoked to program, develop, and / or otherwise generate an AI / ML application by at least one of direct programming or API-based programming. The APIs 1708 of the illustrated example include example porting tools 1710, example direct programming APIs 1712, example API-based programming APIs 1714, and example analysis tools 1716.

[0220] In some examples, the porting tools 1710 can be implemented by software (e.g., a software application) that can adapt a program for the purpose of achieving some form of execution in a first computing or electronic environment that is different from a second computing or electronic environment for which the program was originally designed. For example, the porting tools 1710 can convert and / or otherwise adapt a first program developed for a first type of hardware, operating system (OS) , library, etc., into a second program for a second type of hardware, OS, library, etc.

[0221] In some examples, the direct programming APIs 1712 can be invoked to effectuate direct programming tasks, which may include developing and / or compiling data parallel C++ applications. In some examples, the API-based programming APIs 1714 can be invoked to effectuate API-based programming, which may include developing and / or compiling applications that call (or invoke, instantiate, etc. ) a Math Kernel Library (MKL) , an MKL Deep Neural Network (DNN) library, a data analytics acceleration library, a thread building block library, a parallel standard template library, a media software development kit (SDK) , a deep learning deployment toolkit, a machine learning scaling library, etc., and / or any combination (s) thereof.

[0222] In some examples, the analysis tools 1716 can be called, instantiated, and / or otherwise invoked to analyze hardware, software, and / or configuration (s) thereof of a composable ML compute node. For example, the analysis tools 1716 can instantiate emulator (s) to emulate all of the hardware and / or software features of the composable ML compute node to generate and / or otherwise output one or more evaluation parameters. In some such examples, the evaluation parameters can include parameters representative and / or otherwise indicative of accuracy, latency, a number of cycles to complete a workload, or throughput of the composable ML compute node. In some examples, the evaluation parameters can include parameters representative and / or otherwise indicative of a processor or clock frequency, a fabric frequency, a read memory bandwidth, a write memory bandwidth,  hardware de-rate factors, a number of memory ports, a number of data processing units (DPUs) , a number of model layers (e.g., neural network layers, convolution layers, etc. ) an activation precision (e.g., a precision of activation values to be processed) , a weight precision (e.g., a precision of weight values to be processed) , etc., and / or any combination (s) thereof. For example, the analysis tools 1716 can execute an emulator based on the composable ML compute node. In some such examples, the analysis tools 1716 can execute the emulator to determine a throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0223] In some examples, the analysis tools 1716 can instantiate simulator (s) to simulate the behavior, the configuration, etc., of a composable ML compute node to generate and / or otherwise output one or more evaluation parameters. For example, the analysis tools 1716 can execute a model (e.g., a simulation model, an AI / ML model, etc. ) based on the composable ML compute node. In some such examples, the analysis tools 1716 can execute the model to estimate, predict, and / or otherwise determine a throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0224] The AutoML architecture 1700 of the illustrated example includes different types of hardware and / or software from which a composable ML compute node can be generated. In the illustrated example, the AutoML architecture 1700 includes interfaces and target system software for scalar, vector, matrix, and spatial hardware. Additionally and / or alternatively, any other type of hardware may be used. In this example, the scalar hardware is implemented by an example CPU 1718 and example CPU system software 1720. For example, the CPU system software 1720 can include instructions corresponding to a CPU Instruction Set Architecture (ISA) . In this example, the vector hardware is implemented by an example GPU 1722 and example GPU system software 1724. For example, the GPU system software 1724 can include kernels, portion (s) of code, etc., such as  kernels, compute kernels, and / or shaders. In some examples, the kernels, the portion (s) of code) , etc., can be represented in a high-level programming language such as, for example, a High-Level Shader Language (HLSL) , OpenCL, etc.

[0225] In this example, the matrix hardware is implemented by an example AI processor 1726 and example AI system software 1728. For example, the AI system software 1728 can include one or more AI / ML algorithms, models, etc., such as neural networks (e.g., convolution neural networks (CNNs) , deep neural networks (DNNs) , recurrent neural networks (RNNs) , etc. ) , Linear Regression models, Logistic Regression Models, Decision Tree Models, Learning Vector Quantization Models, etc., and / or combination (s) thereof. In this example, the spatial hardware is implemented by an example FPGA 1730 and example FPGA system software 1732. For example, the FPGA system software 1732 can include kernels, portion (s) of code, etc., based on a hardware description language (HDL) such as Verilog.

[0226] The ML system configurator 1702 of the illustrated example can interface with the CPU 1718 and / or the CPU system software 1720 via an example host interface 1734. The ML system configurator 1702 of the illustrated example can interface with the GPU 1722, the GPU system software 1724, the AI processor 1726, the AI system software 1728, the FPGA 1730, and / or the FPGA system software 1732 via an example level-zero interface 1736.

[0227] In the illustrated example, the CPU system software 1720, the GPU system software 1724, the AI system software 1728, the FPGA system software 1732, the host interface 1734, and / or the level-zero interface 1736 can correspond to and / or otherwise implement example system software below level zero 1738. For example, system software below level zero 1738 can correspond to and / or otherwise implement low-level direct-to-metal interfaces that are tailored to hardware, such as the CPU 1718, the GPU 1722, etc.

[0228] In the illustrated example, the APIs 1708 can implement example system software above level zero 1740 and an example developer  interface 1742. For example, a developer, a user, etc., can access and / or otherwise utilize the AutoML architecture 1700 by way of the APIs 1708. In some examples, a developer, a user, etc., can access and / or otherwise utilize system software at a higher level than low-level direct-to-metal interfaces by way of the APIs 1708. In some examples, a developer, a user, etc., can access and / or otherwise utilize the system software below level zero 1738 via the host interface 1734 and / or the level-zero interface 1736.

[0229] FIG. 18 is a block diagram of an example configuration of a dynamic XPU hardware-aware deep learning (DL) model management system implemented in accordance with the teachings of this disclosure. The example DL model management system 1800 includes an example input dataset 1802, example model training circuitry 1804, including example difference determiner circuitry 1806, example similarity determiner circuitry 1808, and example feature collector circuitry 1810, an example first, second, and third model 1812A, 1812B, and 1812C, and example model management circuitry 1814, including example QoS selector circuitry 1816, example QoS sampler circuitry 1818, and example model scheduler circuitry 1820.

[0230] In examples disclosed herein, the example input dataset 1802 may contain candidate features, objectives with which models are to be optimized, etc. The example input dataset 1802 is transmit to the model training circuitry 1804 for use in the training and / or optimization of models by the DL model management system 1800.

[0231] The example model training circuitry 1804, including the example difference determiner circuitry 1806, the example similarity determiner circuitry 1808, and the example feature collector circuitry 1810, receives the example input dataset 1802 and generates a set of models (e.g., first model 1812A, second model 1812B, and third model 1812C) based on a chosen objective. For example, in the DL model management system 1800 disclosed herein, the first model, 1812A, is trained to optimize accuracy as the key objective, the second model, 1812B, is trained to optimize performance as the key objective, and the third model, 1812C, is trained to optimize cost as the key objective.

[0232] The example difference determiner circuitry 1806 analyzes the feature lists of models optimized for different selected objectives (e.g., accuracy, performance, cost, etc. ) to identify feature differences between the various models. In examples disclosed herein, the difference determiner circuitry 1806 identifies these differences by associating features that are present when a first objective was selected for a first model (e.g., features from the first model 1812A with a selected objective of accuracy) but are not present when a second objective was selected for a second model (e.g., features from the second model 1812B with a selected objective of performance) . In determining these differences, further insight is gained into why a model might have improved its overall performance at the cost of another objective (e.g., cost) .

[0233] In some examples, the model training circuitry 1804 includes means for identifying candidate differences between models optimized for different selected objectives (e.g., accuracy, performance, cost, etc. ) . For example, the means for identifying differences may be implemented by the example difference determiner circuitry 1806. In some examples, the example difference determiner circuitry 1806 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example difference determiner circuitry 1806 may be instantiated by the example general purpose processor circuitry 2100 of FIG. 21 executing machine executable instructions such as that implemented by at least blocks 1905, 1910, and 1915 of FIG. 19. In some examples, the example difference determiner circuitry 1806 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example difference determiner circuitry 1806 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example difference determiner circuitry 1806 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a  comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0234] The example similarity determiner circuitry 1808 analyzes the feature lists of models optimized for different selected objectives (e.g., accuracy, performance, cost, etc. ) to identify feature similarities between the various models. In examples disclosed herein, the similarity determiner circuitry 1808 identifies these similarities by associating features that are present when a first objective was selected for a first model (e.g., features from the first model 1812A with a selected objective of accuracy) and are still present when a second objective was selected for a second model (e.g., features from the second model 1812B with a selected objective of performance) . In determining these similarities, further insight is gained into which features are important for overall model performance (e.g., it can be concluded that some layers are very important when performing object detection) .

[0235] In some examples, the model training circuitry 1804 includes means for identifying similarities between models optimized for different selected objectives (e.g., accuracy, performance, cost, etc. ) . For example, the means for identifying similarities may be implemented by the example similarity determiner circuitry 1808. In some examples, the example similarity determiner circuitry 1808 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example similarity determiner circuitry 1808 may be instantiated by the example general purpose processor circuitry 2112 of FIG. 21 executing machine executable instructions such as that implemented by at least block 1920 of FIG. 19. In some examples, the example similarity determiner circuitry 1808 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions.  Additionally or alternatively, the example similarity determiner circuitry 1808 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example similarity determiner circuitry 1808 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0236] The example feature collector circuitry 1810 collects the list of features identified by both the difference determiner circuitry 1806 and the similarity determiner circuitry 120. In some examples, the feature collector circuitry 1810 may then perform further analysis on the list of collected features, however in examples disclosed herein, the list may be retained for output.

[0237] In some examples, the model training circuitry 1804 includes means for collecting features identified by the example difference determiner circuitry 1806 and the example similarity determiner circuitry 1808. For example, the means for collecting features may be implemented by the example feature collector circuitry 1810. In some examples, the example feature collector circuitry 1810 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example feature collector circuitry 1810 may be instantiated by the example general purpose processor circuitry 2112 of FIG. 21 executing machine executable instructions such as that implemented by at least block 1925 of FIG. 19. In some examples, the example feature collector circuitry 1810 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example feature collector circuitry 1810 may be instantiated by any other combination of hardware, software, and / or firmware. For  example, the example feature collector circuitry 1810 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0238] The first, second, and third models (1812A, 1812B, and 1812C) obtained from the input dataset 1802 are input into the example model management circuitry 1814 for further processing after use by the model training circuitry 1804. In examples disclosed herein, the first model 1812A is optimized to maximize the selected objective of accuracy, the second model 1812B is optimized to maximize the selected objective of performance, and the third model 1812C is optimized to maximize the selected objective of cost.

[0239] In examples disclosed herein, the example model management circuitry 1814 includes example Quality of Service (QoS) sampling circuitry 1816, example QoS selector circuitry 1818, and example model scheduler circuitry 1820.

[0240] The example Quality of Service (QoS) sampler circuitry 1816 samples a current state of the target hardware platform. For example, the Quality of Service (QoS) sampler circuitry 1816 may determine that the target hardware platform is currently responding to a high priority request from an application.

[0241] In some examples, the model management circuitry 1814 includes means for determining a current state of a target hardware platform. For example, the means for determining may be implemented by the example QoS sampler circuitry 1816. In some examples, the example QoS sampler circuitry 1816 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example QoS sampler circuitry 1816 may be instantiated by the example general purpose processor circuitry 2112 of FIG. 21 executing machine executable instructions  such as that implemented by at least block 2005 of FIG. 20. In some examples, the example QoS sampler circuitry 1816 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example QoS sampler circuitry 1816 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example QoS sampler circuitry 1816 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0242] The example QoS selector circuitry 1818 selects a quality of service (QoS) to be prioritized based on the current state of the target hardware platform, as determined by the QoS sampler circuitry 1816. For example, the QoS selector circuitry 1818 may choose accuracy as the QoS objective of top priority if the QoS sampler circuitry 1816 establishes prior that the target hardware platform is currently responding to a high priority request from an application.

[0243] In some examples, the model management circuitry 1814 includes means for selecting a quality of service (QoS) objective. For example, the means for selecting a QoS objective may be implemented by the example QoS selector circuitry 1818. In some examples, the example QoS selector circuitry 1818 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example QoS selector circuitry 1818 may be instantiated by the example general purpose processor circuitry 2100 of FIG. 21 executing machine executable instructions such as that implemented by at least blocks 2010, 2015, and 2020 of FIG. 20. In some examples, the example QoS selector circuitry 1818 may be  instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example QoS selector circuitry 1818 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example QoS selector circuitry 1818 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0244] The example model scheduler circuitry 1820 selects the model that will best satisfy the requirements of the selected quality of service (QoS) objective for prioritization, for use by the target hardware platform. Additionally, the model scheduler circuitry 1820 also monitors utilization metrics of the target hardware platform. If any of the utilization metrics is established to be lower than a pre-determined threshold value, the model scheduler circuitry 1820 then adjusts the model selection to produce another model for use by the target hardware platform. For example, if the first model 1812A begins to produce low utilization metrics on the hardware platform, the model scheduler circuitry 1820 selects the second model 1812B as the new model for use. If the second model 1812B begins to yield low utilization metrics after some time, the model scheduler circuitry 1820 may determine that the first model 1812A is better for use by the hardware platform.

[0245] In some examples, the model management circuitry 1814 includes means for selecting a model. For example, the means for selecting may be implemented by the example model scheduler circuitry 1820. In some examples, the example model scheduler circuitry 1820 may be instantiated by processor circuitry such as the example processor circuitry 2112 of FIG. 21. For instance, the example model scheduler circuitry 1820  may be instantiated by the example general purpose processor circuitry 2100 of FIG. 21 executing machine executable instructions such as that implemented by at least blocks 2025, 2030, and 2035 of FIG. 20. In some examples, the example model scheduler circuitry 1820 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example model scheduler circuitry 1820 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example model scheduler circuitry 1820 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0246] While an example manner of implementing the model training circuitry 1804 of FIG. 18 is illustrated in FIG. 18, one or more of the elements, processes, and / or devices illustrated in FIG. 18 may be combined, divided, re-arranged, omitted, eliminated, and / or implemented in any other way. Further, the example difference determiner circuitry 1806, the example similarity determiner circuitry 1808, the example feature collector circuitry 1810, and / or, more generally, the example model training circuitry 1804 of FIG. 18, may be implemented by hardware alone or by hardware in combination with software and / or firmware. Thus, for example, any of the example difference determiner circuitry 1806, the example similarity determiner circuitry 1808, the example feature collector circuitry 1810, and / or, more generally, the example model training circuitry 1804, could be implemented by processor circuitry, analog circuit (s) , digital circuit (s) , logic circuit (s) , programmable processor (s) , programmable microcontroller (s) , graphics processing unit (s) (GPU (s) ) , digital signal processor (s) (DSP (s) ) ,  application specific integrated circuit (s) (ASIC (s) ) , programmable logic device (s) (PLD (s) ) , and / or field programmable logic device (s) (FPLD (s) ) such as Field Programmable Gate Arrays (FPGAs) . Further still, the example model training circuitry 1804 of FIG. 18 may include one or more elements, processes, and / or devices in addition to, or instead of, those illustrated in FIG. 18, and / or may include more than one of any or all of the illustrated elements, processes and devices.

[0247] While an example manner of implementing the model management circuitry 1814 of FIG. 18 is illustrated in FIG. 18, one or more of the elements, processes, and / or devices illustrated in FIG. 18 may be combined, divided, re-arranged, omitted, eliminated, and / or implemented in any other way. Further, the example Quality of Service (QoS) sampler circuitry 1816, the example QoS selector circuitry 1818, the example model scheduler circuitry 1820, and / or, more generally, the example model management circuitry 1814 of FIG. 18, may be implemented by hardware alone or by hardware in combination with software and / or firmware. Thus, for example, any of the example Quality of Service (QoS) sampler circuitry 1816, the example QoS selector circuitry 1818, the example model scheduler circuitry 1820, and / or, more generally, the example model management circuitry 1814, could be implemented by processor circuitry, analog circuit (s) , digital circuit (s) , logic circuit (s) , programmable processor (s) , programmable microcontroller (s) , graphics processing unit (s) (GPU (s) ) , digital signal processor (s) (DSP (s) ) , application specific integrated circuit (s) (ASIC (s) ) , programmable logic device (s) (PLD (s) ) , and / or field programmable logic device (s) (FPLD (s) ) such as Field Programmable Gate Arrays (FPGAs) . Further still, the example model management circuitry 1814 of FIG. 18 may include one or more elements, processes, and / or devices in addition to, or instead of, those illustrated in FIG. 18, and / or may include more than one of any or all of the illustrated elements, processes and devices.

[0248] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the model  training circuitry 1804 of FIG. 18 is shown in FIG. 19. A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the model management circuitry 1814of FIG. 18 is shown in FIG. 20. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 2112 shown in the example processor platform 2100 discussed below in connection with FIG. 21 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIGS. 19 and / or 20, many other methods of implementing the example model training circuitry 1804 and / or the example model management circuitry 1814 may alternatively be used. For example, the order of execution of the blocks may be changed,  and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0249] The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc. ) that may be utilized to create, manufacture, and / or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and / or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc. ) . The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and / or executable by a computing device and / or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and / or stored on separate computing devices, wherein the parts when decrypted, decompressed,  and / or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.

[0250] In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL) ) , a software development kit (SDK) , an application programming interface (API) , etc., in order to execute the machine readable instructions on a particular computing device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc. ) before the machine readable instructions and / or the corresponding program (s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and / or program (s) regardless of the particular format or state of the machine readable instructions and / or program (s) when stored or otherwise at rest or in transit.

[0251] The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML) , Structured Query Language (SQL) , Swift, etc.

[0252] As mentioned above, the example operations of FIGS. 19 and / or 20 may be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on one or more non-transitory computer and / or machine readable media such as optical storage devices, magnetic storage devices, an HDD, a flash memory, a read-only memory (ROM) , a CD, a DVD, a cache, a RAM of any type, a register, and / or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and / or for caching of the information) . As used herein, the terms non-transitory computer readable medium and non-transitory  computer readable storage medium are expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0253] “Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc. ) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and / or” when used, for example, in a form such as A, B, and / or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B, (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0254] As used herein, singular references (e.g., “a” , “an” , “first” , “second” , etc. ) do not exclude a plurality. The term “a” or “an” object,  as used herein, refers to one or more of that object. The terms “a” (or “an” ) , “one or more” , and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and / or advantageous.

[0255] FIG. 19 is a flowchart representative of example machine readable instructions and / or example operations 1900 that may be executed and / or instantiated by processor circuitry to identify and collect similar and / or different features between the collection of models optimized for various target platform objectives. The machine readable instructions and / or the operations 1900 of FIG. 19 begin at block 1905, at which the difference determiner circuitry 1806 receives the input dataset 1802 of FIG. 18 for processing.

[0256] As illustrated in FIG. 19, at block 1905, the difference determiner circuitry 1806 receives a dataset (e.g., input dataset 1802 from FIG. 18) for processing. In examples disclosed herein, the dataset includes optimized models, however, in other examples, the dataset may be configured to include candidate features, platform metrics, etc.

[0257] At block 1910, the difference determiner circuitry 1806 checks whether the models contained within the example dataset received in block 1905 (e.g., input dataset 1802 from FIG. 18) are optimized for the same target hardware. Before the variety of models are to be compared against one another, the difference determiner circuitry 1806 is to check for target hardware matches for the models. If the difference determiner circuitry 1806 establishes that the models are optimized for the same target hardware, the process moves forward to block 1915. However, if the difference determiner circuitry 1806 determines that the models are not all optimized for the same target hardware, the process moves back to the start.

[0258] At block 1915, the difference determiner circuitry 1806identifies feature differences between each of the models received for processing in block 1905. In examples disclosed herein, the example dataset received for processing in block 1905 includes a variety of models, each model optimized for a different objective on the same target hardware platform. Accordingly, the difference determining circuity 1806 identifies feature differences between each of the models by comparing lists of features present in each of the models and selecting those which are not present in all models. For example, certain features that are present for a model with a selected objective of accuracy but are not present for a model with a selected objective of performance are identified by the difference determiner circuitry 1806.

[0259] At block 1920, the example similarity determiner circuitry 1808 performs a similar process as the example difference determiner circuitry 1806, however, feature similarities between each of the models are identified. For example, certain features that are present for a model with a selected objective of accuracy and are also present for a model with a selected objective of performance are identified by the similarity determiner circuitry 1808.

[0260] At block 1925, the example feature collector circuitry 1810 aggregates the features identified by the example difference determiner circuitry 1806 and the example similarity determiner circuitry 1808 into a single set. In example disclosed herein, the feature collector circuitry 1810 may output the aggregated feature set.

[0261] FIG. 20 is a flowchart representative of example machine readable instructions and / or example operations 2000 that may be executed and / or instantiated by processor circuitry to dynamically select and / or adjust an optimized model for use based on a current state and / or model utilization metrics of the target hardware platform. The machine readable instructions and / or the operations 2000 of FIG. 20 begin at block 2002, at which the Quality of Service (QoS) sampler circuitry 1816 samples the current state of the hardware platform.

[0262] As illustrated in FIG. 20, at block 2005, the QoS sampler circuitry 1816 samples the current state of the hardware platform. For example, the QoS sampler circuitry 1816 may determine that the hardware platform is currently responding to a high priority request from an application.

[0263] At block 2010, the QoS selector circuitry 1818 chooses a quality of service (QoS) objective (e.g., cost, accuracy, performance, etc. ) to prioritize based on the current state of the hardware platform determined in block 2005 (e.g., currently responding to a high priority request from an application) by the QoS sampler circuitry 1816. For example, the QoS selector circuitry 1818 may choose accuracy as the QoS objective of top priority if the QoS sampler circuitry 1816 establishes that the hardware platform is currently responding to a high priority request from an application.

[0264] At block 2015, the QoS selector circuitry 1818 sorts the collection of models, each optimized for a different QoS objective, based on the selected QoS priority objective in block 2010. In examples disclosed herein, the QoS selector circuitry 1818 may sort the collection of models in descending order, based on ability to maximize the selected QoS objective for prioritization.

[0265] At block 2020, the QoS selector circuitry 1818 checks to see if the list of sorted models (e.g., sorted based on ability to maximize the selected QoS objective for prioritization) is empty. If the QoS selector circuitry 1818 determines that the list is empty, the process moves back to block 2005. However, if the QoS selector circuitry 1818 determines that the list is not empty, the process moves forward to block 2025.

[0266] At block 2025, the model scheduler circuitry 1820 selects the model that will satisfy the requirements of the selected QoS objective for prioritization, for use by the target hardware platform. In examples disclosed herein, since the list of optimized models is sorted in descending order based on ability to satisfy the selected QoS priority objective, the first model in the list is selected for use.

[0267] At block 2030, the model scheduler circuitry 1820 determines whether the selected model is yielding low utilization metrics on  the target hardware platform. If the model scheduler circuitry 1820 determines that the model does indeed have low utilization metrics, the process moves to block 2035. However, if the model scheduler circuitry 1820 determines that the selected model is not yielding low utilization metrics on the target platform, the process is ended.

[0268] At block 2035, the model scheduler circuitry 1820, after determining that the selected model is yielding low utilization metrics on the target hardware platform, removes the model in current use from the list of sorted models. Then, the process moves back to block 2020 where the QoS selector circuitry 1818 checks to see if the list of sorted models is empty.

[0269] FIG. 21 is a block diagram of an example processor platform 2100 structured to execute and / or instantiate the machine readable instructions and / or the operations of FIGS. 19-20 to implement the model training circuitry 1804, model management circuitry 1814, and / or more generally, the Deep Learning (DL) model management system 1800 of FIG. 18. The processor platform 2100 can be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network) , a mobile device (e.g., a cell phone, a smart phone, a tablet such as an iPadTM) , a personal digital assistant (PDA) , an Internet appliance, a DVD player, a CD player, a digital video recorder, a Blu-ray player, a gaming console, a personal video recorder, a set top box, a headset (e.g., an augmented reality (AR) headset, a virtual reality (VR) headset, etc. ) or other wearable device, or any other type of computing device.

[0270] The processor platform 2100 of the illustrated example includes processor circuitry 2112. The processor circuitry 2112 of the illustrated example is hardware. For example, the processor circuitry 2112 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and / or microcontrollers from any desired family or manufacturer. The processor circuitry 2112 may be implemented by one or more semiconductor based (e.g., silicon based) devices. In this example, the processor circuitry 2112 implements the example model training circuitry 1804, including the example difference determiner circuitry  1806, the example similarity determiner circuitry 1808, and the example feature collector circuitry 1810 and the example model management circuitry 1814, including the example quality of service (QoS) sampler circuitry 1816, the example QoS selector circuitry 1818, and the example model scheduler circuitry.

[0271] The processor circuitry 2112 of the illustrated example includes a local memory 2113 (e.g., a cache, registers, etc. ) . The processor circuitry 2112 of the illustrated example is in communication with a main memory including a volatile memory 2114 and a non-volatile memory 2116 by a bus 2118. The volatile memory 2114 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM) , Dynamic Random Access Memory (DRAM) ,  Dynamic Random Access Memory and / or any other type of RAM device. The non-volatile memory 2116 may be implemented by flash memory and / or any other desired type of memory device. Access to the main memory 2114, 2116 of the illustrated example is controlled by a memory controller 2117.

[0272] The processor platform 2100 of the illustrated example also includes interface circuitry 2120. The interface circuitry 2120 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a  interface, a near field communication (NFC) interface, a Peripheral Component Interconnect (PCI) interface, and / or a Peripheral Component Interconnect Express (PCIe) interface.

[0273] In the illustrated example, one or more input devices 2122 are connected to the interface circuitry 2120. The input device (s) 2122 permit (s) a user to enter data and / or commands into the processor circuitry 2112. The input device (s) 2122 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video) , a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and / or a voice recognition system.

[0274] One or more output devices 2124 are also connected to the interface circuitry 2120 of the illustrated example. The output device (s)  2124 can be implemented, for example, by display devices (e.g., a light emitting diode (LED) , an organic light emitting diode (OLED) , a liquid crystal display (LCD) , a cathode ray tube (CRT) display, an in-place switching (IPS) display, a touchscreen, etc. ) , a tactile output device, a printer, and / or speaker. The interface circuitry 2120 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and / or graphics processor circuitry such as a GPU.

[0275] The interface circuitry 2120 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and / or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 2126. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.

[0276] The processor platform 2100 of the illustrated example also includes one or more mass storage devices 2128 to store software and / or data. Examples of such mass storage devices 2128 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices and / or SSDs, and DVD drives.

[0277] The machine executable instructions 2132, which may be implemented by the machine readable instructions of FIGS. 19-20, may be stored in the mass storage device 2128, in the volatile memory 2114, in the non-volatile memory 2116, and / or on a removable non-transitory computer readable storage medium such as a CD or DVD.

[0278] From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed for dynamic XPU hardware-aware deep learning (DL) model management. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of using a computing device by allowing for the rapid discovery  of new hardware features, which accelerates the time-to-market for new Artificial Intelligence (AI) products and / or features and enhances performance improvement measures for computing devices through application of the newly-discovered features. Disclosed systems, methods, apparatus, and articles of manufacture are accordingly directed to one or more improvement (s) in the operation of a machine such as a computer or other electronic and / or mechanical device.

[0279] METHODS AND APPARATUS FOR DATA ENHANCED AUTOMATED MODEL GENERATION

[0280] Machine learning is an important enabling technology for the revolution currently underway in artificial intelligence, driving truly remarkable advances in fields such as object detection, image classification, speech recognition, natural language processing, and many more. Models are created using machine learning that, when utilized, enable an output to be generated based on an input. Neural architecture search enables various architectures to be searched when creating a machine learning model.

[0281] Neural Architecture Search (NAS) is an approach for exploring different machine learning algorithms for solving machine learning tasks. NAS algorithms take significant amount resources (e.g., compute resources, temporal resources, energy resources, etc. ) to identify acceptable architectures. Most of these resources are expended by examining non-optimal architecture configurations during an exploration stage. Existing NAS algorithms do not provide clear explanations of the decisions for selecting a particular architecture, and such algorithms do not benefit from collected data regarding previous findings (e.g., sequence of operations, FLOPs, etc. ) or target hardware capabilities. This information is typically discarded and does not benefit future applications of the NAS algorithm.

[0282] Due to the complexity of the task, NAS solutions tend to forget any insights from one run to the next. The initial conditions / configurations in previous solutions are independent of any other configurations used previously.

[0283] Existing NAS approaches do not reuse prior execution data related to models identified via NAS. That is, existing approaches do not benefit from collected knowledge about the task that the model will perform (e.g., detection, segmentation, etc. ) . When performing NAS, existing approaches start from scratch every time, when looking for better models. Many existing NAS approaches also require significant reconfiguration when moving to different tasks, and such approaches do not generalize the neural network architecture search process.

[0284] Example approaches disclosed herein analyze state-of-the-art and emerging workloads and collect historical information about the models including performance, sequence of operations, size, floating point operations per second (FLOPS) , etc. for each operation.

[0285] In examples disclosed herein, a user provides a task (object recognition, segmentation, etc. ) and objective (accuracy, latency, mix, etc. ) , and the NAS system selects starting hyperparameters / configuration information which include the best configuration for the task, objective, and, in some examples, the target hardware on which the model is to be executed.

[0286] Collected execution and / or performance information provides insights and guides the initial conditions on the search for an architecture that satisfies the requirements. The system also collects target hardware information, making the system hardware-aware and allowing the system to refine for the specific target hardware (s) . For example, the system can avoid dilated 7x7 convolution kernels if kernel does not perform well (e.g., latency on the selected target hardware exceeds a threshold amount of latency) .

[0287] Example approaches disclosed herein provide the user with the generated model and the reasoning behind the choices made when selecting operations. The decisions are based on the collected historical data and the task knowledge obtained from the knowledge builder (KB) . Providing the reasoning for decisions can result in insights for future HW improvements (e.g., optimize specific kernels, memory BW, etc. )

[0288] FIG. 22 is a block diagram of an example system implemented in accordance with the teachings of this disclosure for data  enhanced automated model generation. The example system 2200 of FIG. 22 includes knowledge builder circuitry 2205 that receives a user input 2210, and model builder circuitry 2215 that builds and provides a model to target hardware 2220.

[0289] The example system of FIG. 22 presents an end-to-end solution that receives information from the user (objective, task, target HW) , analyzes this information using a knowledge base and builds suggestions for the search space and initial configuration for the NAS approach. The approach is agnostic to the NAS approach to be used, enabling a user to decide on the state-of-the-art approach that will receive the suggested configuration.

[0290] The example user input 2210 includes information including, for example, an objective of a machine learning model, a task to be performed by the machine learning model, and, optionally, one or more characteristics of a target hardware on which the machine learning model is to be executed. The task (object recognition, segmentation, etc. ) will include input layer requirements, output layer requirements, and data requirements. The system of FIG. 22 is flexible enough that the user can provide information used to influence the model generation (e.g., by specifying whether the current task is similar to another task, and / or by specifying additional layers (not yet in the knowledge base, or associated with a different task) to include in the search space) .

[0291] The knowledge builder circuitry 2205 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by processor circuitry such as a central processing unit executing instructions. Additionally or alternatively, the knowledge builder circuitry 2205 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by an ASIC or an FPGA structured to perform operations corresponding to the instructions. It should be understood that some or all of the circuitry of FIG. 22 may, thus, be instantiated at the same or different times (and / or by different hardware circuitry) . Some or all of the circuitry may be instantiated, for example, in one or more threads executing concurrently on hardware  and / or in series on hardware. Moreover, in some examples, some or all of the circuitry of FIG. 22 may be implemented by one or more virtual machines and / or containers executing on the microprocessor.

[0292] The example knowledge builder circuitry 2205 of the illustrated example of FIG. 22 includes request accessor circuitry 2230, hardware data orchestration circuitry 2235, task data orchestration circuitry 2240, and a knowledge datastore 2245. The example knowledge builder circuitry 2205 archives information for models and hardware into the knowledge datastore 2245. If the hardware is not known in the knowledge datastore 2245, the user is able to cause the system to execute on the target hardware 2220 to extract performance metrics. A report of such performance metrics is obtained and added to the knowledge datastore 2245 to build task knowledge. If the task is not in the knowledge datastore 2245, the task data orchestration circuitry 2240 creates task knowledge for the new tasks. FIG. 2 illustrates the process for creating or updating the knowledge datastore 2245.

[0293] In examples disclosed herein, the knowledge datastore 2245 of the knowledge builder circuitry 2205 can be pre-populated with state-of-the-art (SOTA) or custom models and hardware configurations. In addition, the knowledge datastore 2245 can be updated at any time based on, for example, statistics collected by the target hardware 2220. In examples disclosed herein, the knowledge datastore 2245 separates the models by tasks. To build the task knowledge, model information is retrieved from the knowledge datastore 2245 the specific task and features are extracted from the models. In cases of a new or custom task, similar tasks / models are retrieved based on the user input. These features include, but are not limited to, the framework used to train the model, the HW specs and any information for mapping model (latencies, etc. ) including HW telemetry, the performance objective, sequence of operations, number of FLOPs, dataset used, number of layers, etc. These features are then ranked by hardware features, objective, etc. The extracted and ranked features are then considered task knowledge which is then archived in the knowledge datastore 2245 for future use.

[0294] The example request accessor circuitry 2230 of the illustrated example of FIG. 22 receives a request for generation of a model to perform a selected task. In examples disclosed herein, the user input 2210 received by the request accessor circuitry 2230 includes information including, for example, an objective of a machine learning model, a task to be performed by the machine learning model, and, in some examples, one or more characteristics of a target hardware on which the machine learning model is to be executed. The request may be formatted as, for example, a request received at a web server, a request formatted in a structured data format (e.g., a JavaScript object notation (JSON) format, an extensible markup language (XML) format, etc. ) . The example request accessor circuitry 2230 accesses hardware data orchestration information via the hardware data orchestration circuitry 2235 and task data orchestration information via the task data orchestration circuitry 2240. The accessed information (if available) and the request are provided to the search space management circuitry 2260 of the model builder circuitry 2215.

[0295] In some examples, the apparatus includes means for accessing a request. For example, the means for accessing may be implemented by the request accessor circuitry 2230. In some examples, the request accessor circuitry 2230 may be instantiated by processor circuitry such as the example processor circuitry 2612 of FIG. 26. For instance, the request accessor circuitry 2230 may be instantiated by the example general purpose processor circuitry 4800 of FIG. 48 executing machine executable instructions such as that implemented by at least block 2410 of FIG. 24. In some examples, the request accessor circuitry 2230 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the request accessor circuitry 2230 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the request accessor circuitry 2230 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA,  an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0296] The example hardware data orchestration circuitry 2235 of the illustrated example of FIG. 22 determines whether any prior knowledge is present in the knowledge datastore 2245 for the selected hardware (e.g., the selected hardware identified in a request accessed by the request accessor circuitry 2230) . If no prior knowledge is known for the selected hardware, the example hardware data orchestration circuitry 2235 adds an identification of the selected hardware to the knowledge datastore 2245. The identification of the hardware enables subsequent performance metrics associated with the selected hardware to be stored in the knowledge datastore 2245 in an organized fashion. In some examples, the identification of the selected hardware may be omitted prior to model creation and may, instead, be performed when performance metrics are provided to the knowledge datastore by the execution performance statistic collection circuitry 2285.

[0297] The example task data orchestration circuitry 2240 of the illustrated example of FIG. 22 determines whether any task information is available for the selected task. If no prior knowledge is available for the selected task, the example task data orchestration circuitry 2240 adds an identification of the selected task to the knowledge datastore 2245. The identification of the selected task enables subsequent performance metrics associated with the selected task to be stored in the knowledge datastore 2245 in an organized fashion. In some examples, the identification of the selected task may be omitted prior to model creation and may, instead, be performed when performance metrics are provided to the knowledge datastore by the execution performance statistic collection circuitry 2285.

[0298] In some examples, the apparatus includes means for generating task knowledge. For example, the means for generating task knowledge may be implemented by the example task data orchestration  circuitry 2240. In some examples, the example task data orchestration circuitry 2240 may be instantiated by processor circuitry such as the example processor circuitry 2612 of FIG. 26. For instance, the example task data orchestration circuitry 2240 may be instantiated by the example general purpose processor circuitry 4800 of FIG. 48 executing machine executable instructions such as that implemented by at least blocks 2420, 2435, 2425 of FIG. 24. In some examples, the example task data orchestration circuitry 2240 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example task data orchestration circuitry 2240 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example task data orchestration circuitry 2240 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0299] The example knowledge datastore 2245 of the illustrated example of FIG. 22 is implemented by any memory, storage device and / or storage disc for storing data such as, for example, flash memory, magnetic media, optical media, solid state memory, hard drive (s) , thumb drive (s) , etc. Furthermore, the data stored in the example knowledge datastore 2245 may be in any data format such as, for example, binary data, comma delimited data, tab delimited data, structured query language (SQL) structures, etc. While, in the illustrated example, the knowledge datastore 2245 is illustrated as a single device, the example knowledge datastore 2245 and / or any other data storage devices described herein may be implemented by any number and / or type (s) of memories. In the illustrated example of FIG. 22, the example knowledge datastore 2245 stores hardware and / or task knowledge.

[0300] The model builder circuitry 2215 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by processor circuitry such as a central processing unit executing instructions. Additionally or alternatively, the model builder circuitry 2215 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by an ASIC or an FPGA structured to perform operations corresponding to the instructions. As noted above, it should be understood that some or all of the circuitry of FIG. 22 may, thus, be instantiated at the same or different times (and / or by different hardware circuitry) . Some or all of the circuitry may be instantiated, for example, in one or more threads executing concurrently on hardware and / or in series on hardware. Moreover, in some examples, some or all of the circuitry of FIG. 22 may be implemented by one or more virtual machines and / or containers executing on the microprocessor.

[0301] The example model builder circuitry 2215 of the illustrated example of FIG. 22 includes search space management circuitry 2260, anchor point inserter circuitry 2265, neural architecture search circuitry 2270, and model outputter circuitry 2275. The model builder circuitry 2215 is responsible for extracting the insights in the knowledge datastore and executing neural architecture search to identify an optimal model. First, the example search space management circuitry 2260 creates a search space. This search space includes the operations provided by the task knowledge from the knowledge datastore, variants of those operations, and additional layers if the user specifies. The neural architecture search circuitry 2270 performs a search that is initiated with the configuration identified by the search space management circuitry 2260 for the objective, task, HW, etc. Anchor points are inserted in the chosen NAS algorithm by the anchor point inserter circuitry 2265 to capture the decisions made during this process. The task knowledge is incorporated in the training loop of the neural architecture search circuitry 2270 to inform decisions and guide the search. During training, historical decisions, confidence levels, and the knowledge datastore-based  recommendations obtained from the task knowledge are used to guide the neural architecture search.

[0302] In some examples, the apparatus includes means for creating a search space. For example, the means for creating may be implemented by the example search space management circuitry 2260. In some examples, the example search space management circuitry 2260 may be instantiated by processor circuitry such as the example processor circuitry 2612 of FIG. 26. For instance, the example search space management circuitry 2260 may be instantiated by the example general purpose processor circuitry 2600 of FIG. 26 executing machine executable instructions such as that implemented by at least blocks 2427, 2440 of FIG. 24. In some examples, the example search space management circuitry 2260 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example search space management circuitry 2260 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example search space management circuitry 2260 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0303] In some examples, the apparatus includes means for generating a machine learning model. For example, the means for generating may be implemented by the example neural architecture search circuitry 2270. In some examples, the example neural architecture search circuitry 2270 may be instantiated by processor circuitry such as the example processor circuitry 2612 of FIG. 26. For instance, the example neural architecture search circuitry 2270 may be instantiated by the example general purpose processor  circuitry 4800 of FIG. 48 executing machine executable instructions such as that implemented by at least blocks 2430, 2450 of FIG. 24. In some examples, the example neural architecture search circuitry 2270 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example neural architecture search circuitry 2270 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example neural architecture search circuitry 2270 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0304] In some examples, the apparatus includes means for inserting. For example, the means for inserting may be implemented by the example anchor point inserter circuitry 2265. In some examples, the example anchor point inserter circuitry 2265 may be instantiated by processor circuitry such as the example processor circuitry 2612 of FIG. 26. For instance, the example anchor point inserter circuitry 2265 may be instantiated by the example general purpose processor circuitry 4800 of FIG. 48 executing machine executable instructions such as that implemented by at least block 2460 of FIG. 24. In some examples, the example anchor point inserter circuitry 2265 may be instantiated by hardware logic circuitry, which may be implemented by an ASIC or the FPGA circuitry 4900 of FIG. 49 structured to perform operations corresponding to the machine readable instructions. Additionally or alternatively, the example anchor point inserter circuitry 2265 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the example anchor point inserter circuitry 2265 may be implemented by at least one or more hardware circuits (e.g., processor  circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC) , a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to execute some or all of the machine readable instructions and / or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.

[0305] After generation of the model, the example model outputter circuitry 2275 provides a model for execution. In some examples, the decisions and / or rationales selected during the neural architecture search are made available in association with the generated model.

[0306] The target hardware 2220 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by processor circuitry such as a central processing unit executing instructions. Additionally or alternatively, the target hardware 2220 of FIG. 22 may be instantiated (e.g., creating an instance of, bring into being for any length of time, materialize, implement, etc. ) by an ASIC or an FPGA structured to perform operations corresponding to the instructions. As noted above, it should be understood that some or all of the circuitry of FIG. 22 may, thus, be instantiated at the same or different times (and / or by different hardware circuitry) . Some or all of the circuitry may be instantiated, for example, in one or more threads executing concurrently on hardware and / or in series on hardware. Moreover, in some examples, some or all of the circuitry of FIG. 22 may be implemented by one or more virtual machines and / or containers executing on the microprocessor.

[0307] The example target hardware 2220 of the illustrated example of FIG. 22 includes model execution circuitry 2280 and execution performance statistic collection circuitry 2285. The example model execution circuitry 2280 of the illustrated example of FIG. 22 executes the model provided by the model outputter circuitry 2275.

[0308] The example execution performance statistic collection circuitry 2285 of the illustrated example of FIG. 22, during execution of the model by the model execution circuitry 2280, collects model execution  statistics using the inserted anchor points. The collected execution statistics are provided to the knowledge datastore 2245. In examples disclosed herein, the collected execution statistics include information about the anchor points. Including information about the anchor points enables statistics specific to particular features to be utilized when generating task knowledge.

[0309] FIG. 2 is a block diagram of an example process flow utilizing the example system of FIG. 22. The example process begins when a user submits a request for generation of a model to perform a selected task. (Blocks 2310) . The requested model is generated using neural architecture search and prior knowledge of models associated with the selected task. (Block 220) . The generated models are provided to the target hardware for execution and collection of performance statistics. (Blocks 230) . Execution features are extracted from the models. (Block 240) . The extracted features are ranked based on collected performance metrics. (Block 250) . The extracted features and their associated performance metrics are added to the knowledge datastore 2245. (Block 260) . This added knowledge may then subsequently be used for future generation of models. (Block 220) .

[0310] While an example manner of implementing the example knowledge builder circuitry 2205 and / or the example model builder circuitry 2215 is illustrated in FIG. 22, one or more of the elements, processes, and / or devices illustrated in FIG. 22 may be combined, divided, re-arranged, omitted, eliminated, and / or implemented in any other way. Further, the example request accessor circuitry 2230, the example hardware data orchestration circuitry 2235, the example task data orchestration circuitry 2240, and / or more, generally, example knowledge builder circuitry 2205 of FIG. 22, and / or the example search space management circuitry 2260, the example anchor point inserter circuitry 2265, the example neural architecture search circuitry 2270, the example model outputter circuitry 2275, and / or, more generally, the example model builder circuitry 2215 of FIG. 22, may be implemented by hardware alone or by hardware in combination with software and / or firmware. Thus, for example, any of the example request accessor circuitry 2230, the example hardware data orchestration circuitry 2235, the example  task data orchestration circuitry 2240, and / or more, generally, example knowledge builder circuitry 2205 of FIG. 22, and / or the example search space management circuitry 2260, the example anchor point inserter circuitry 2265, the example neural architecture search circuitry 2270, the example model outputter circuitry 2275, and / or, more generally, the example model builder circuitry 2215 of FIG. 22, could be implemented by processor circuitry, analog circuit (s) , digital circuit (s) , logic circuit (s) , programmable processor (s) , programmable microcontroller (s) , graphics processing unit (s) (GPU (s) ) , digital signal processor (s) (DSP (s) ) , application specific integrated circuit (s) (ASIC (s) ) , programmable logic device (s) (PLD (s) ) , and / or field programmable logic device (s) (FPLD (s) ) such as Field Programmable Gate Arrays (FPGAs) . Further still, the example request accessor circuitry 2230, the example hardware data orchestration circuitry 2235, the example task data orchestration circuitry 2240, and / or more, generally, example knowledge builder circuitry 2205 of FIG. 22, and / or the example search space management circuitry 2260, the example anchor point inserter circuitry 2265, the example neural architecture search circuitry 2270, the example model outputter circuitry 2275, and / or, more generally, the example model builder circuitry 2215 of FIG. 22 may include one or more elements, processes, and / or devices in addition to, or instead of, those illustrated in FIG. 22, and / or may include more than one of any or all of the illustrated elements, processes and devices.

[0311] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the knowledge builder circuitry 2205 and / or the example model builder circuitry 2215 of FIG. 22 is shown in FIG. 24. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 2612 shown in the example processor platform 2600 discussed below in connection with FIG. 26 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49.

[0312] A flowchart representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the target hardware 2220 of FIG. 22 is shown in FIG. 25. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 2612 shown in the example processor platform 2600 discussed below in connection with FIG. 26 and / or the example processor circuitry discussed below in connection with FIGS. 48 and / or 49.

[0313] The programs of FIGS. 24 and / or 25 may be embodied in software stored on one or more non-transitory computer readable storage media such as a compact disk (CD) , a floppy disk, a hard disk drive (HDD) , a solid-state drive (SSD) , a digital versatile disk (DVD) , a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., electrically erasable programmable read-only memory (EEPROM) , FLASH memory, an HDD, an SSD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) ) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIG. 24, many other methods of implementing the example knowledge builder circuitry 2205 and / or the example model builder circuitry 2215 may alternatively be used. For example,  the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0314] The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc. ) that may be utilized to create, manufacture, and / or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and / or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc. ) . The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and / or executable by a computing device and / or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and / or stored on  separate computing devices, wherein the parts when decrypted, decompressed, and / or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.

[0315] In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL) ) , a software development kit (SDK) , an application programming interface (API) , etc., in order to execute the machine readable instructions on a particular computing device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc. ) before the machine readable instructions and / or the corresponding program (s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and / or program (s) regardless of the particular format or state of the machine readable instructions and / or program (s) when stored or otherwise at rest or in transit.

[0316] The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML) , Structured Query Language (SQL) , Swift, etc.

[0317] As mentioned above, the example operations of FIGS. 24 and / or 25 may be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on one or more non-transitory computer and / or machine readable media such as optical storage devices, magnetic storage devices, an HDD, a flash memory, a read-only memory (ROM) , a CD, a DVD, a cache, a RAM of any type, a register, and / or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and / or for caching of the information) . As used herein,  the terms non-transitory computer readable medium and non-transitory computer readable storage medium are expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0318] “Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc. ) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and / or” when used, for example, in a form such as A, B, and / or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B, (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0319] As used herein, singular references (e.g., “a” , “an” , “first” , “second” , etc. ) do not exclude a plurality. The term “a” or “an” object, as used herein, refers to one or more of that object. The terms “a” (or “an” ) , “one or more” , and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and / or advantageous.

[0320] FIG. 24 is a flowchart representative of example machine readable instructions and / or example operations 2400 that may be executed and / or instantiated by processor circuitry to implement the example knowledge builder circuitry and the example model builder circuitry of FIG. 22. The machine readable instructions and / or the operations 2400 of FIG. 24 begin at block 2410, at which the request accessor circuitry 2230 receives a request for generation of a model to perform a selected task. (Block 2410) . In examples disclosed herein, the user input 2210 received by the request accessor circuitry 2230 includes information including, for example, an objective of a machine learning model, a task to be performed by the machine learning model, and, in some examples, one or more characteristics of a target hardware on which the machine learning model is to be executed. The request may be formatted as, for example, a request received at a web server, a request formatted in a structured data format (e.g., a JavaScript object notation (JSON) format, an extensible markup language (XML) format, etc. ) . The example request accessor circuitry 2230 accesses hardware data orchestration information via the hardware data orchestration circuitry 2235 and task data orchestration information via the task data orchestration circuitry 2240. The accessed information (if available) and the request are provided to the search space management circuitry 2260 of the model builder circuitry 2215.

[0321] The example hardware data orchestration circuitry 2235 determines whether any prior knowledge is present in the knowledge datastore  2245 for the selected hardware. (Block 2412) . If no prior knowledge is known for the selected hardware (e.g., block 2412 returns a result of NO) , the example hardware data orchestration circuitry 2235 adds an identification of the selected hardware to the knowledge datastore 2245. (Block 2414) . The identification of the hardware enables subsequent performance metrics associated with the selected hardware to be stored in the knowledge datastore 2245 in an organized fashion. In some examples, the identification of the selected hardware may be omitted prior to model creation and may, instead, be performed when performance metrics are provided to the knowledge datastore by the execution performance statistic collection circuitry 2285.

[0322] The example task data orchestration circuitry 2240 determines whether any task information is available for the selected task. (Block 2420) . If no prior knowledge is available for the selected task (e.g., block 2420 returns a result of NO) , the example task data orchestration circuitry 2240 adds an identification of the selected task to the knowledge datastore 2245. (Block 2425) . The identification of the selected task enables subsequent performance metrics associated with the selected task to be stored in the knowledge datastore 2245 in an organized fashion. In some examples, the identification of the selected task may be omitted prior to model creation and may, instead, be performed when performance metrics are provided to the knowledge datastore by the execution performance statistic collection circuitry 2285. The example search space management circuitry 2260 creates a search space based on user selection of available building blocks or building blocks from existing state-of-the-art architecture (s) for the task. (Block 2427) . In this manner, the search space is created, but is not based on specific prior task knowledge (as is described in connection with block 2440, below) . In some examples, the ability to perform user selection of available building blocks (and / or whether to use state-of-the-art architecture (s) for the task) may be configurable by policy.

[0323] The example NAS search circuitry 2270 performs neural architecture search to generate a model using the search space. (Block 2430) . In the illustrated example of FIG. 24, the NAS search circuitry 2270  starts from an uninitialized state. That is, no prior knowledge of performance of various tasks and / or hardware on which the tasks are to be executed is used when performing the neural architecture search of block 2430.

[0324] Returning to block 2420, if the task data orchestration circuitry 2240 determines that prior knowledge is present for the selected task (e.g., block 2420 returns a result of YES) , the example task data orchestration circuitry 2240 builds task knowledge. (Block 2435) . To build the task knowledge, model information is retrieved by the task data orchestration circuitry 2240 from the knowledge datastore 2245 for the specific task and features are extracted from the models. In cases of a new or custom task, similar tasks / models are retrieved based on the user input. These features include, but are not limited to, the framework used to train the model, the hardware specification and / or any information for mapping model (latencies, etc. ) including hardware telemetry, the performance objective, sequence of operations, number of FLOPs, dataset used, number of layers, etc. These features are then ranked by hardware, objective, etc. The respective features extracted and ranked from the model (s) is collectively identified as the task knowledge which is then used to create the search space. In some examples, such task knowledge is archived in the knowledge datastore 2245 to allow for efficient retrieval should a same task be later requested.

[0325] The example search space management circuitry 2260 creates a search space from the prior task knowledge. (Block 2440) . The search space may be created by, for example, ranking and selecting a prior architecture that had an acceptable level of performance on the target hardware (and / or hardware similar to the target hardware) . In some examples, performance statistics stored in the knowledge datastore 2245 associated with different architectures and tasks are compared to select an architecture meeting a threshold performance statistic. In some examples, the performance statistic upon which the selection is based may be dependent upon the user input 2210 which may indicate, for example, whether power consumption statistics are to be prioritized over processing speed statistics.

[0326] In some examples, the selection of the prioritization (e.g., prioritization of functionality, performance, power optimization, etc. ) may be guided by a policy. For example, a policy may be provided by a policy-providing entity to control behavior of the training operations and / or search space management. In some examples, the policy controls other details about the creation and / or training of the model including, for example, different levels of neural network sparsity (e.g., 260%, 90%, etc. ) , different levels of precision (e.g., thirty-two bit floating point values, sixteen-bit floating point values, eight bit integer values, etc. )

[0327] In some examples, the policy-providing entity may be a user of the system of FIG. 22. However, the policy-providing entity may be any other entity that guides functionality of the system of FIG. 22 including, for example, a system administrator, a manufacturer, a device provider, etc. In some examples, the policy-providing entity may be separate from the user. In this manner, the user is able to input requests for training and / or creation of a machine learning model, while allowing the parameters under which the training and / or creation of the machine learning model to be based on the policy created by the policy-providing entity.

[0328] In some examples the policy is provisioned to the system of FIG. 22 by the policy-providing entity via a platform Trusted Execution Environment (TEE) . However, the policy may be provided to the system of FIG. 22 in any other manner.

[0329] The example NAS search circuitry 2270 generates a model using neural architecture search, based on the search space created by the search space management circuitry 2260. (Block 2450) . In this manner, the neural architecture search performed by the NAS search circuitry 2270 at block 2450 starts from an initialized state based on the prior task knowledge (e.g., starting from an architecture which previously met a performance threshold) .

[0330] The example anchor point inserter circuitry 2265 then inserts anchor points into the generated model. (Block 2460) . Anchor points provide locations at which performance statistics are to be measured by the  execution performance statistic collection circuitry 2285. Moreover, the anchor points provide locations by which additional information about the model and / or the objectives / tasks of the model may be captured. In examples disclosed herein, anchor points are inserted intermediate respective layers of the generated model. In some examples, anchor points are added to the model prior to the first layer and after the last layer of the model. In some other examples, anchor points are added adjacent (e.g., before and after) particular types of layers (e.g., a convolution layer) .

[0331] The example model outputter circuitry 2275 provides the generated model to the target hardware 2220 for execution by the model execution circuitry 2280. (Block 2470) . In examples disclosed herein, the model may first be stored at a storage location (e.g., a server) before being provided to the model execution circuitry 2280. In some examples, the model execution circuitry 2280 may retrieve the model from the storage location or directly from the model outputter circuitry 2275. The process of the illustrated example of FIG. 24 then terminates, but by may be re-executed upon, for example, receipt of subsequent user input 2210.

[0332] FIG. 25 is a flowchart representative of example machine readable instructions and / or example operations 2500 that may be executed and / or instantiated by processor circuitry to implement the example target hardware 2220 of FIG. 22. The machine readable instructions and / or the operations 2500 of FIG. 25 begin at block 2510, at which the model execution circuitry 2280 begin execution of a model received from the model outputter circuitry 2275. (Block 2510) . During execution of the model, the example execution performance statistic collection circuitry 2285 collects model execution statistics using the inserted anchor points. (Block 2520) . The collected execution statistics are provided to the knowledge datastore 2245. (Block 2530) . In examples disclosed herein, the collected execution statistics include information about the anchor points. Including information about the anchor points enables statistics specific to particular features to be utilized when generating task knowledge.

[0333] FIG. 26 is a block diagram of an example processor platform 2600 structured to execute and / or instantiate the machine readable instructions and / or the operations of FIGS. 24 and / or 25 to implement the system 2200 of FIG. 22. The processor platform 2600 can be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network) , a mobile device (e.g., a cell phone, a smart phone, a tablet such as an iPadTM) , a personal digital assistant (PDA) , an Internet appliance, a DVD player, a CD player, a digital video recorder, a Blu-ray player, a gaming console, a personal video recorder, a set top box, a headset (e.g., an augmented reality (AR) headset, a virtual reality (VR) headset, etc. ) or other wearable device, or any other type of computing device.

[0334] The processor platform 2600 of the illustrated example includes processor circuitry 2612. The processor circuitry 2612 of the illustrated example is hardware. For example, the processor circuitry 2612 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and / or microcontrollers from any desired family or manufacturer. The processor circuitry 2612 may be implemented by one or more semiconductor based (e.g., silicon based) devices. In this example, the processor circuitry 2612 implements the knowledge builder circuitry 2205 and the model builder circuitry 2215. In some examples, the knowledge builder circuitry 2205 and the model builder circuitry 2215 may be implemented on separate processor platforms.

[0335] The processor circuitry 2612 of the illustrated example includes a local memory 2613 (e.g., a cache, registers, etc. ) . The processor circuitry 2612 of the illustrated example is in communication with a main memory including a volatile memory 2614 and a non-volatile memory 2616 by a bus 2618. The volatile memory 2614 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM) , Dynamic Random Access Memory (DRAM) ,  Dynamic Random Access Memory and / or any other type of RAM device. The non-volatile memory 2616 may be implemented by flash memory and / or any other  desired type of memory device. Access to the main memory 2614, 2616 of the illustrated example is controlled by a memory controller 2617.

[0336] The processor platform 2600 of the illustrated example also includes interface circuitry 2620. The interface circuitry 2620 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a  interface, a near field communication (NFC) interface, a Peripheral Component Interconnect (PCI) interface, and / or a Peripheral Component Interconnect Express (PCIe) interface.

[0337] In the illustrated example, one or more input devices 2622 are connected to the interface circuitry 2620. The input device (s) 2622 permit (s) a user to enter data and / or commands into the processor circuitry 2612. The input device (s) 2622 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video) , a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and / or a voice recognition system.

[0338] One or more output devices 2624 are also connected to the interface circuitry 2620 of the illustrated example. The output device (s) 2624 can be implemented, for example, by display devices (e.g., a light emitting diode (LED) , an organic light emitting diode (OLED) , a liquid crystal display (LCD) , a cathode ray tube (CRT) display, an in-place switching (IPS) display, a touchscreen, etc. ) , a tactile output device, a printer, and / or speaker. The interface circuitry 2620 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and / or graphics processor circuitry such as a GPU.

[0339] The interface circuitry 2620 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and / or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 2626. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite  system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.

[0340] The processor platform 2600 of the illustrated example also includes one or more mass storage devices 2628 to store software and / or data. Examples of such mass storage devices 2628 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices and / or SSDs, and DVD drives.

[0341] The machine executable instructions 2632, which may be implemented by the machine readable instructions of FIGS. 24 and / or 25, may be stored in the mass storage device 2628, in the volatile memory 2614, in the non-volatile memory 2616, and / or on a removable non-transitory computer readable storage medium such as a CD or DVD.

[0342] From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed that enable neural architecture search to be performed based on prior knowledge of models created to perform particular tasks. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of using a computing device by avoiding re-discovery of models that would otherwise be initially discovered by neural architecture search, but that do not function well for the intended task. By starting from based on prior knowledge, higher performing models can be identified more quickly. This reduces resource consumption not only on the target hardware (e.g., more efficient models can be developed) , but also reduces resource consumption on systems that generate models (e.g., higher performing models can be discovered more quickly / efficiently) . Disclosed systems, methods, apparatus, and articles of manufacture are accordingly directed to one or more improvement (s) in the operation of a machine such as a computer or other electronic and / or mechanical device.

[0343] METHODS AND APPARATUS TO CONDITIONALLY ACTIVATE A BIG CORE IN A COMPUTING SYSTEM

[0344] Some computing systems include one or more big device processors (e.g., cores) and / or one or more small device processors (e.g., atoms) to perform operations. A big device processor may include one or more cores and / or processing units while a small device processor may have one or two cores. Additionally, the big device processor is more powerful and / or consumes more space than a small device processor. A big device processor can handle high performance applications while a small device processor offers lower power, a smaller footprint, and more modest performance compared to big device processors. Examples of small device processors include  SoC, LITTLE cores, etc.

[0345] Hardware-based microcode (also referred to as hardware level instructions) can be implemented in the hardware of a computing system (e.g., a computer, a laptop, a mobile phone, a server, an edge device, a cloud-based device, etc. ) to configure the hardware of the computing system. In some examples, such hardware level instructions (e.g., uCode, XuCode, etc. ) can control operation of the hardware, including processing devices. If a computing device includes multiple processing devices (e.g., big cores, little cores, atoms, central processing unit (CPU) sockets, CPU, slots, etc. ) , the microcode can facilitate the operation and / or configuration of the multiple processing devices.

[0346] As the number and / or types of architectures increase, the difficulty in programming instructions increases because there may need to be a separate configuration of instructions for each type of architecture. For example, instructions may be 2724 bit instructions structured to be executed by hardware that can handle the 2724 bit instructions. Similarly, a system with multiple smaller processing units that handle 64 bit instructions will not be able execute instructions above 64 bits.

[0347] Examples disclosed herein provide a software and / or firmware based application programming interface (API) to process instructions from an application running on an operating system, virtual machine manager (VMM) , etc., and instruct microcode to configure the processing units to be able to execute the instructions, regardless of how the  instructions are structured. For example, if a 512-bit instruction is obtained from an application, examples disclosed herein can configure eight 64-bit processing units to break up the 512-bit instruction into eight 64-bit instructions, execute the 64-bit instructions in parallel, and combine the results, thereby operating as a conditionally activated big core (e.g., a big core capable of handing the 512 bit instruction) . In this manner, the application can generate one instruction and examples disclosed herein can determine if and / or how to execute the instruction given the constraints of the computing system via which it is to be executed.

[0348] The example disclosed API obtains ISA instructions from the OS / VMM. An ISA instruction is an instruction that calls for multiple processing devices to operate as a single big processing device capable of handing the ISA instruction. When the disclosed API obtains an ISA request to execute ISA instructions from an application (e.g., as an interrupt) , the API first determines if the processing units are capable and / or available to execute the instructions while meeting the service level agreements (SLAs) , latency requirements, tolerance requirements, etc. corresponding to the instructions. If the API determines that the processing units are capable and available to execute the instructions while meeting the requirements, the API instructs the microcode to cause the processing units to execute the instructions according to the requirements. If the API determines that the processing units are capable but not available to execute the instruction, the API may indicate (1) (e.g., to the application) when the processing units will be available (e.g., an approximation of when a currently implemented workload will be complete) and / or (2) that the big core can be emulated, but the requirements may not be met. In this manner, the application can determine whether to wait to execute the instruction to meet the requirements, proceed with emulation while not meeting one or more of the requirements, or not to execute the instruction with the corresponding processing elements. If the API determines that the processing units are not capable of executing the instruction, the API indicates (e.g., to the application) , that the instruction cannot be executed.

[0349] FIG. 27 is a block diagram of an example computing device 2700. The example computing device 2700 includes example hardware 2702, which includes one or more example cores 2704, one or more example small device processors 2706, example microcode processing circuitry 2711, and example register (s) 2713. The example computing device 2700 further includes example BIOS 2708 that includes example ISA managing circuitry 2710. The example computing device 2700 further includes an example operating system (OS)  / virtual machine manager (VMM) 2707 and example applications (APPS) 2714.

[0350] The example hardware 2702 of FIG. 27 performs tasks corresponding to instructions from the applications 2714, OS / VMM 2722 and / or BIOS 2708. The example hardware 2702 may include processor resources (e.g., memory, register (s) and / or logic circuitry of the example processor core (s) 2704 and / or small device processor (s) 2706) to execute instructions to implement the instructions of the example applications 2714 and / or access data from memory.

[0351] The example processor core (s) 2704 and / or the example small device processor (s) 2706 of FIG. 27 execute (s) instructions (e.g., a workload) from an application (e.g., by reading and / or writing data) . Tasks executed on one or more core (s) 2704 may result in a different amount of time to complete and / or a different efficiency than the same tasks being executed on the one or more small device processors 2706. For example, the one or more cores 2704 may be more efficient with respect to iterations per cycle (IPC) ratios when executing compute-bound tasks. Additionally, the one or more cores 2704 may have a larger cache than the small device processors 2706 for executing cache bound tasks. The one or more small device processors 2706 may be more efficient for memory-bound tasks that correspond to more time in pipe stall waiting for memory and / or may be more efficient for I / O bound tasks, as IO bound tasks do not depend on processing operating speed. Although the example hardware 2702 includes the core (s) 2704 and the small device processor (s) 2706, the hardware 2702 can include any number and / or type of processing components (e.g., little core, big core,  threads, etc. ) . Examples of small device processors 2706 include SoC, LITTLE cores, etc. As further described above, two or more of the core (s) 2704 and / or the small device processor (s) 2706 may work together (e.g., based on instructions from the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711) to split a large instruction into sub-instructions and execute on corresponding processing devices. In this manner, the application 2714 and / or OS / VMM 2707 can transmit a single instruction that a single core or small device processor cannot execute alone and the core (s) 2704 and / or small device processors (s) 2706 can work together as a bigger computing device to execute the single instruction.

[0352] The example OS / VMM 2707 of FIG. 27 is a software system managing the example hardware 2702 of the computing device 2700, software resources, and / or provides servers for computer programs and / or applications. The OS / VMM 2707 of FIG. 27 transmits instructions and / or an ISA execution request to the ISA managing circuitry 2710 to cause the ISA managing circuitry 2710 to control the processing resources (e.g., the core (s) 2704 and / or the small device processor (s) 2706) to operate as a big core. In some examples, the OS / VMM 2707 stores the instructions and / or ISA execution request in the example register (s) 2713 that the ISA managing circuitry 2710 monitors. In this manner, the OS / VMM 2707 can cause an interrupt to occur for facilitation of the ISA execution when new data is placed in the register 2713.

[0353] The example BIOS 2708 of FIG. 27 provides low-level control over the hardware 2702 of the computing device 2700. For example, the BIOS 2712 to may use the example core (s) 2704 and / or small device processor (s) 2706 to execute instructions and / or perform operations to operate as a big core. The BIOS 2708 can perform hardware initialization and / or provide runtime services for the OS / VMM 2707 and / or other programs. Although the example computing device 2700 of FIG. 27 includes the BIOS 2708, the BIOS 2708 can be replaced with EFI, UEFI, and / or any other type of firmware that is capable of interfacing between hardware and the OS / VMM  2707. The example BIOS 2708 includes the example ISA managing circuitry 2710.

[0354] The example ISA managing circuitry 2710 of FIG. 27 obtains instructions (e.g., to perform an ISA execution with processor resources operating as a big core) from the application via the OS / VMM 2707. In some examples, the ISA managing circuitry 2710 determines that the OS / VMM 2707 has requested the processing components of the hardware 2702 to operate as a big core by monitoring a change in data in one or more registers 2713 of the hardware 2702. For example, the OS / VMM 2707 may, when it requires or requests big core operation, place data in the one or more registers 2713 to indicate the big core operation (e.g., as an interrupt) . Thus, the ISA managing circuitry 2710 may monitor the register 2713 (e.g., like an interrupt) to determine when to facilitate the big core operation.

[0355] When the example ISA managing circuitry 2710 of FIG. 27 determines that big core operation is to occur, the ISA managing circuitry 2710 determines the ISA requirements (SLAs, latency requirements, tolerance requirements, etc. ) of the instructions that are to be executed by the big core structure. For example, if the instructions are stored in one or more of the register (s) 2713, the ISA managing circuitry 2710 processes the ISA instructions to identify the requirements. The ISA managing circuitry 2710 evaluates whether the processing resources (e.g. one or more of the core (s) 2704 and / or the small device processing components 2706) are capable and / or available to handle ISA execution as a big core according to the determined requirements. In some examples, because the processing resources may be executing other workloads, one or more of the processing resources may be capable of handing the ISA execution but not currently available to execute the instructions. In some examples, the processing resources may not be capable of handling the ISA execution. For example, the processing resources may be structured to handle integer based instructions. In such an example, if the OS / VMM 2707 transmit instructions to handle a floating point number, the processing resources may not be capable of handling such a resource. Accordingly, the example ISA managing circuitry 2710 determines whether  the processing resources are available and / or capable of executing instructions from the OS / VMM 2707 corresponding to the ISA execution.

[0356] If the example ISA managing circuitry 2710 of FIG. 27 determines that the processing resources are capable and available to execute the ISA execution by combining operation of multiple ones of the core (s) 2704 and / or the smaller processing components 2706 to operate as a big core, the example ISA managing circuitry 2710 instructs the microcode processing circuitry 2711 of the hardware 2702 to cause the core (s) 2704 and / or the smaller processing components 2706 to operate as a big core. If the example ISA managing circuitry 2710 of FIG. 27 determines that the processing resources are capable but not available to execute the instructions (e.g., only a portion of the processing resources is available) , the example ISA managing circuitry 2710 can (a) determine when sufficient processor resources will be available to operate as a big core (e.g., based on when a current workload and / or scheduled workload (s) will be complete) and / or (b) whether emulation of the big core is possible. The combination of small devices processors that are capable of acting as a bigger processing device is policy configurable and may be enforced via a platform trusted execution environment (TEE) . Emulation is possible when the available processor resources are capable of executing as a big core but the execution will not satisfy all of the requirements. For example, the ISA managing circuitry 2710 may determine that a 512 bits per cycle is not possible, but a 256 bits per cycle is possible. In such an example, the 512 bit instruction could be performed in two 256 bit cycles as opposed to one 512 bit cycle. Accordingly, although the instruction can be complete, it will be complete at half the 512 bit cycle requirement. The example ISA managing circuitry 2710 may transmit the information regarding emulation and / or when additional resources will be available to the example OS / VMM 2707. In this manner, the OS / VMM 2707 can determine whether to wait, proceed with emulation, and / or not move forward based on the information from the ISA managing circuitry 2710. In some examples, the OS / VMM 2707 and the ISA managing circuitry 2710 can negotiate terms for emulation. If the example ISA managing circuitry 2710 determines that the  processor resources are not capable of operating as a big core and / or not capable of executing the instruction, the ISA managing circuitry 2710 can generate an exception (e.g., also referred to as a trap and / or block) for the ISA execution and inform that OS / VMM 2707 that it will not execute the instruction because it is not capable. The example ISA managing circuitry 2710 is further described below in conjunction with FIG. 27.

[0357] The example microcode processing circuitry 2711 of FIG. 27 is hardware that executes microcode (e.g., Xucode, etc. ) to control operation of the example core (s) and / or small device processor (s) 2706. For example, if the small device processor (s) 2706 are 64 bit per cycle processors and the ISA managing circuitry 2710 instructs the microcode processing circuitry 2711 to operate as a big core executing a 512 bit per cycle instruction, the microcode processing circuitry 2711 will split the 512 bit instruction into eight 64 bit instructions, cause eight of the 64 bit cycle small device processors 2706 to execute a corresponding 64 bit instruction and combine the results to output a result. For example, the microcode processing circuitry 2711 can divide and / or group the instruction into smaller parts or sub-instructions. The smaller sub-instruction are loaded into the smaller device processors 2706 and the microcode processing circuitry 2711 does a combination of accumulation in the larger register space of a temporary storage (e.g., a virtual register) . For example, if the small device processors 2706 only support 256-bit width, a 512 bit operation is obtained, and the small device processors 2706 have a 512 bit accumulation register, the small device processors 2706 can use the accumulation register and / or configure the accumulation register can be configured in SRAM for the operation Additional operations may include multiplication, additive encryption, etc. In this manner, the 512 bit instruction can be executed by eight small device processors acting as a big core. If the microcode processing circuitry 2711 identifies an error during the execution, the microcode processing circuitry 2711 can return an error to the ISA managing circuitry 2710 to identify that the ISA execution failed and prevent a crash. The example microcode  processing circuitry 2711 is further described below in conjunction with FIG. 27.

[0358] FIG. 28 is a block diagram of an example implementation of the example ISA managing circuitry 2710 and the microcode processing circuitry 2711 of FIG. 27. The example ISA managing circuitry 2710 includes one or more example interface (s) 200, example authentication circuitry 2802, and example hardware management circuitry 2804. The example microcode processing circuitry 2711 includes one or more example interface (s) 210, example hardware control circuitry 2812, example error determination circuitry 2814, and example output control circuitry 2816.

[0359] The example interface (s) 200 of the ISA managing circuitry 2710 of FIG. 28 obtain (s) instructions to perform an ISA execution by using multiple processing devices to operate as a big core. In some examples, the ISA managing circuitry 2710 obtains the instructions directly from the OS / VMM 2707 of FIG. 27. In some examples, the OS / VMM 2707 writes data into the register 2713 when ISA execution is desired. In such examples, the interface (s) 200 access the data in the register 2713 to allow the hardware management circuitry 2804 to determine whether ISA execution is possible. Additionally, the example interface 2800 transmits instructions to the microcode processing circuitry 2711 to cause the processing resources to operate according to the ISA execution request from the OS / VMM 2707.

[0360] The example authentication circuitry 2802 of FIG. 28 authenticates ISA execution requests and / or instructions to verify that a request is valid and / or authentic. To verify an ISA execution request, the example authentication circuitry 2802 may (a) match the CPU in the platform, (b) check the header, loader version, and / or checksum of the ISA execution request, (c) perform the authenticity and / or signature check pass, and / or (d) utilize any validation technique. The example authentication circuitry 2802 can match the CPU in the platform with provisioned CPU ID / Manifest via factory provisioning during manufacturing (e.g., fuse settings) or field provisioning via a firmware / microcode patch. The CPU matching can be  controlled dynamically post deployment in the filed via policies and / or out-of-the-band manageability via platform trusted execution environment (TEE) . If the ISA execution request is not valid and / or authentic, the authentication circuitry 2802 may inform the OS / VMM 2707 that the ISA execution request could not be validated and / or return control to the OS / VMM 2707.

[0361] The example hardware management circuitry 2804 of FIG. 28 obtains validated ISA execution requests and determines how to execute the ISA execution requests based on the requirements of the ISA execution request, the availability and / or capability of the processing resources (e.g., the core (s) 2704 and / or the small device processor (s) 2706) , and any policies. A policy may be a user and / or manufacturer designed policy that identifies whether an ISA execution should be executed, should be emulated, and / or should be blocked based on various factors. The hardware management circuitry 2804 monitors the capability and / or the availability of the processor resources (e.g., the core (s) 2704 and / or the small device processor (s) 2706) . If an ISA request corresponds to executing an X bits per cycle instruction that includes a floating point operation, the hardware management circuitry 2804 determines whether the processing resources are available and capable of handing the ISA execution request at X bits per cycle for a floating point operation. For example, if the total bits per cycle provided by two or more available processor resources capable are equal to or exceed the X bits per cycle, the hardware management circuitry 2804 may determine that ISA execution is available and instruct the microcode processing circuitry 2711 to coordinate the execution of the ISA execution as a big core using the two or more processor resources (e.g., the core (s) 2704 and / or the small device processor (s) 2706) .

[0362] Additionally, the example hardware management circuitry 2804 of FIG. 28 may determine that two or more processor resources are capable of performing the floating point operation, but not according to the requirements of the ISA execution. If the hardware management circuitry 2804 determines that the ISA execution requirements cannot be met, the hardware management circuitry 2804 can identify when the requirements can  be met and / or may generate an emulation protocol to execute the ISA request but not according to the requirements. In this manner, the hardware management circuitry 2804 can negotiate with the OS / VMM 2707 to determine whether to proceed with emulation, not proceed, and / or wait until additional resources are available. If the hardware management circuitry 2804 determines that the ISA execution is not possible and / or may not be possible in the future, the hardware management circuitry 2804 transmits a response (e.g., via the interface (s) 200) to the OS / VMM 2707 to indicate that the ISA execution is not possible. If the example hardware management circuitry 2804 determines that the processing resources are not able to handle the ISA execution request (e.g., regardless of the availability) , the example hardware management circuitry 2804 generates an exception of ISA execution block to prevent execution of the ISA execution and indicates that the processing resources are not capable of executing the ISA execution to the example OS / VMM 2707. After the hardware management circuitry 2804 determines how to handle the ISA execution request, the hardware management circuitry 2804 instructs the microcode processing circuitry 2711 to control the processing resources accordingly.

[0363] The example interface 2810 of the microcode processing circuitry 2711 of FIG. 28 obtains instructions regarding the execution of ISA execution request from the ISA managing circuitry 2710. Additionally, the example interface (s) 210 obtains ISA-based instructions for ISA execution. After the ISA instructions are complete, the interface (s) 210 transmit the output to the OS / VMM 2707 (e.g., directly or via the BIOS 2708) .

[0364] The example hardware control circuitry 2812 of FIG. 28 determines how to structure the processing resources (e.g., the example core (s) 2704 and / or the example small device processor (s) 2706) to execute the ISA execution based on the instructions from the ISA managing circuitry 2710. For example, the hardware control circuitry 2812 may break an ISA instruction into sub-instructions that can be executed by the available processing resources and provide the sub-instructions to the corresponding processing resources (e.g., via the interface (s) 210) . For example, if a 2728 bit  instruction is obtained, the hardware control circuitry 2812 may break the 2728 bit instruction into two 64 bit sub-instructions to be executed by two 64-bit small device processors (e.g., the first sub-instruction to the first small device processor and the second sub-instruction to the second small device processor) . In this manner, the processing resources can execute the larger instruction without the use of a larger processing resource.

[0365] The example error determination circuitry 2814 of FIG. 28 monitors the execution of the ISA execution for errors. For example, if an instruction results in a divide by zero, infinite loop, and / or other instruction error, the error determination circuitry 2814 can identify the error, stop execution, and return a message to the OS / VMM 2707 indicating that the instruction execution could not be completed. In this manner, the error determination circuitry 2814 can prevent crashes from occurring.

[0366] The example output control circuitry 2816 of FIG. 28 obtains the multiple outputs from the multiple processing resources and combines the outputs to generate a single output. For example, if the hardware control circuitry 2812 split a 2728 bit instruction into two 64 bit instructions for two 64-bit processing resources, the output control circuitry 2816 obtains the first output from the first processing resource and the second output from the second processing resource and combines the outputs to generate a 2728 bit output. The output control circuitry 2816 transmits the output to the OS / VMM 2707 via the interface (s) 2810.

[0367] While an example manner of implementing the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711 of FIG. 27 is illustrated in FIG. 2, one or more of the elements, processes, and / or devices illustrated in FIG. 28 may be combined, divided, re-arranged, omitted, eliminated, and / or implemented in any other way. Further, the example interface (s) 200, the example authentication circuitry 2802, the example hardware management circuitry 2804, the example interface (s) 210, the example hardware control circuitry 2812, the example error determination circuitry 2814, the example output control circuitry 2816, and / or, more generally, the ISA managing circuitry 2710 and / or the microcode processing  circuitry 2711 of FIGS. 27-2, may be implemented by hardware, software, firmware, and / or any combination of hardware, software, and / or firmware. Thus, for example, any of the example interface (s) 200, the example authentication circuitry 2802, the example hardware management circuitry 2804, the example interface (s) 210, the example hardware control circuitry 2812, the example error determination circuitry 2814, the example output control circuitry 2816, and / or, more generally, the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711 of FIGS. 27-2, could be implemented by processor circuitry, analog circuit (s) , digital circuit (s) , logic circuit (s) , programmable processor (s) , programmable microcontroller (s) , graphics processing unit (s) (GPU (s) ) , digital signal processor (s) (DSP (s) ) , application specific integrated circuit (s) (ASIC (s) ) , programmable logic device (s) (PLD (s) ) , and / or field programmable logic device (s) (FPLD (s) ) such as Field Programmable Gate Arrays (FPGAs) . When reading any of the apparatus or system claims of this patent to cover a purely software and / or firmware implementation, at least one of the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711 of FIGS. 27-2 is / are hereby expressly defined to include a non-transitory computer readable storage device or storage disk such as a memory, a digital versatile disk (DVD) , a compact disk (CD) , a Blu-ray disk, etc., including the software and / or firmware. Further still, the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711 of FIGS. 27-28 may include one or more elements, processes, and / or devices in addition to, or instead of, those illustrated in FIG. 27-28, and / or may include more than one of any or all of the illustrated elements, processes, and devices.

[0368] Flowcharts representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and / or any combination thereof for implementing the ISA managing circuitry 2710 and / or the microcode processing circuitry 2711 of FIGS. 27-2 are shown in FIGS. 3-5. The machine readable instructions may be one or more executable programs or portion (s) of an executable program for execution by processor circuitry, such as the processor circuitry 3312 shown in  the example processor platform 3300 discussed below in connection with FIG. 33 and / or the example processor circuitry discussed below in connection with FIG. 48. The program may be embodied in software stored on one or more non-transitory computer readable storage media such as a CD, a floppy disk, a hard disk drive (HDD) , a DVD, a Blu-ray disk, a volatile memory (e.g., Random Access Memory (RAM) of any type, etc. ) , or a non-volatile memory (e.g., FLASH memory, an HDD, etc. ) associated with processor circuitry located in one or more hardware devices, but the entire program and / or parts thereof could alternatively be executed by one or more hardware devices other than the processor circuitry and / or embodied in firmware or dedicated hardware. The machine readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device) . For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a user) or an intermediate client hardware device (e.g., a radio access network (RAN) gateway that may facilitate communication between a server and an endpoint client hardware device) . Similarly, the non-transitory computer readable storage media may include one or more mediums located in one or more hardware devices. Further, although the example program is described with reference to the flowchart illustrated in FIG. 2, many other methods of implementing the computing device 2700, the ISA managing circuitry 2710, and / or the microcode processing circuitry 2711 of FIGS. 27-2 may alternatively be used. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., processor circuitry, discrete and / or integrated analog and / or digital circuitry, an FPGA, an ASIC, a comparator, an operational-amplifier (op-amp) , a logic circuit, etc. ) structured to perform the corresponding operation without executing software or firmware. The processor circuitry may be distributed in different network locations and / or local to one or more hardware devices (e.g., a single-core processor (e.g., a  single core central processor unit (CPU) ) , a multi-core processor (e.g., a multi-core CPU) , etc. ) in a single machine, multiple processors distributed across multiple servers of a server rack, multiple processors distributed across one or more server racks, a CPU and / or a FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings, etc. ) .

[0369] The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc. ) that may be utilized to create, manufacture, and / or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and / or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc. ) . The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and / or executable by a computing device and / or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and / or stored on separate computing devices, wherein the parts when decrypted, decompressed, and / or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.

[0370] In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL) ) , a software development kit (SDK) , an application programming interface (API) , etc., in order to execute the machine readable instructions on a particular computing  device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc. ) before the machine readable instructions and / or the corresponding program (s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and / or program (s) regardless of the particular format or state of the machine readable instructions and / or program (s) when stored or otherwise at rest or in transit.

[0371] The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML) , Structured Query Language (SQL) , Swift, etc.

[0372] As mentioned above, the example operations of FIGS. 3-5 may be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on one or more non-transitory computer and / or machine readable media such as optical storage devices, magnetic storage devices, an HDD, a flash memory, a read-only memory (ROM) , a CD, a DVD, a cache, a RAM of any type, a register, and / or any other storage device or storage disk in which information is stored for any duration (e.g., for extended time periods, permanently, for brief instances, for temporarily buffering, and / or for caching of the information) . As used herein, the terms non-transitory computer readable medium and non-transitory computer readable storage medium is expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0373] “Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc. ) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be  present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and / or” when used, for example, in a form such as A, B, and / or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B, (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and / or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and / or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0374] As used herein, singular references (e.g., “a” , “an” , “first” , “second” , etc. ) do not exclude a plurality. The term “a” or “an” object, as used herein, refers to one or more of that object. The terms “a” (or “an” ) , “one or more” , and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and / or advantageous.

[0375] FIG. 29 is a flowchart representative of example machine readable instructions and / or example operations 2900 that may be executed and / or instantiated by processor circuitry (e.g., the example ISA managing circuitry 2710 of FIG. 2) to handle an ISA execution request. The instructions begin at block 2902 when the example hardware management circuitry 2804 determines if data has been written into the ISA manager status register (e.g., one or more of the registers 2713 of FIG. 27) . As described above, the OS / VMM 2707 may write data into the register 2713 to set off an interrupt when an ISA execution is to occur. In some examples, the OS / VMM 2707 may transmit the instructions directly to the ISA managing circuitry 2710.

[0376] If the example hardware management circuitry 2804 determines that data has not been written to the ISA manager status register 2713 (block 2902: NO) , control returns to block 2902. If the example hardware management circuitry 2804 determines that data has been written to the ISA manager status register 2713 (block 2902: YES) , the example authentication circuitry 2802 authenticates the ISA execution request corresponding to the data in the ISA manager status register 2713 (block 2904) . As described above in conjunction with FIG. 2, the example authentication circuitry 2802 can authenticate the ISA request using any authentication technique to determine that the ISA execution request is valid.

[0377] If the example authentication circuitry 2802 determines that the ISA request is not authentic (block 306: NO) , the authentication circuitry 2802 returns a response to the OS / VMM 2707 indicating that the ISA request cannot be executed (block 2908) and control continues to block 2922. If the example authentication circuitry 2802 determines that the ISA request is authentic (block 306: YES) , the example hardware management circuitry 2804 evaluates an ISA request based on one or more polarities, resource capacity, and / or resource capability (block 310) . For example, the hardware management circuitry 2804 may process one or more policies to determine how to handle the request and / or may determine whether the available processor resources are capable of handing the request.

[0378] At block 2912, the example hardware management circuitry 2804 determines whether the ISA can be executed per the requirements corresponding the ISA execution (e.g., latency, bit rate, etc. ) and / or per the one or more policies. For example, the hardware management circuitry 2804 determines whether the processor resources are capable and / or available to handle the ISA execution. If the hardware management circuitry 2804 determines that the ISA request can be executed by the processor resources (block 2912: YES) , the example hardware management circuitry 2804 instructs the microcode of the hardware (e.g., the microcode ISA managing circuitry 2711) to cause the processing components to operate like a big core to handle the ISA execution (block 314) . For example, the hardware management circuitry 2804 can provide the ISA execution instructions and / or requirements to the microcode to cause the microcode to facilitate the ISA execution with the corresponding processor resources.

[0379] If the hardware management circuitry 2804 determines that the ISA request cannot be executed by the processor resources (block 2912: NO) , the example hardware management circuitry 2804 determines whether the processor resources can emulate the ISA execution and / or execute the ISA request at a later time (block 2916) (e.g., based on policy (ies) , resource capability, and / or resource availability) . If the example hardware management circuitry 2804 determines that emulation should occur (block 2916: YES) , the example ISA managing circuitry 2710 facilitates execution of ISA emulation (block 2918) , as further described below in conjunction with FIG. 29.

[0380] If the example hardware management circuitry 2804 determines that emulation should not occur (block 2916: NO) , the example hardware management circuitry 2804 creates an exception for and / or blocks the ISA request to the VMM / host 2706 (e.g., via the interface (s) 200) to indicate that the ISA request cannot be executed (block 2920) . At block 2922, the example hardware management circuitry 2804 returns control to the example OS / VMM 2707.

[0381] FIG. 30 is a flowchart representative of example machine readable instructions and / or example operations that may be executed and / or instantiated by processor circuitry (e.g., the ISA managing circuitry 2710 of FIG. 2) to facilitate ISA emulation, in conjunction with block 2918 of FIG. 29.

[0382] The machine readable instructions and / or operations corresponding to block 2918 of FIG. 30 begin at block 3002, when the example hardware management circuitry 2804 determines whether additional resources will be available later to execute the ISA execution corresponding to the ISA request. For example, the hardware management circuitry 2804 may determine whether additional hardware (e.g., sufficient resources to execute the ISA execution according to and / or more closely aligned with the policy (ies) and / or parameter (s) ) are currently executing one or more workload (s) , but will be free for the ISA execution after the one or more workloads are complete.

[0383] If the example hardware management circuitry 2804 determines that additional resources will not be available later to execute the ISA execution corresponding to the ISA request (block 3002: NO) , control continues to block 3008. If the example hardware management circuitry 2804 determines that that additional resource will be available later to execute the ISA execution corresponding to the ISA request (block 3002: YES) , the example hardware management circuitry 2804 instructs the interface (s) 200 to transmit an indication of when the ISA instructions can be executed by the processor resources to the example OS / VMM 2707 (block 3004) . For example, the hardware management circuitry 2804 may determine and / or estimate when the currently unavailable processor resource will be available based on the speed of the currently unavailable resources and the amount of workload left to complete.

[0384] At block 3006, the example hardware management circuitry 2804 determines whether the OS / VMM 2707 has rejected the later execution based on a response from the OS / VMM 2707. For example, after the indication is sent to the OS / VMM 2707 regarding when the processing resources will be available, the OS / VMM 2707 can determine whether it  wants to wait for full execution for the ISA instructions or move forward with immediate emulation. In some examples, if the OS / VMM 2707 determines to wait for the additional resources to become available (e.g., based on user and / or manufacturer preferences that indicate when to wait for the resources to be fully available if not currently avaiable) , control can return to the OS / VMM 2707 and the OS / VMM 2707 can submit a subsequent request based on the identified time when the resources will be available. In some examples, if the OS / VMM 2707 decides to wait for the additional resources to become available, the hardware management circuitry 2804 can reserve and / or queue the ISA instruction for the currently unavailable resources to execute the ISA instructions after the workload is complete.

[0385] If the example hardware management circuitry 2804 determines that the OS / VMM 2707 did not reject the later execution (block 3006: NO) , control returns to block 2922 of FIG. 29. If the example hardware management circuitry 2804 determines that the OS / VMM 2707 did reject the later execution (block 3006: YES) , the example hardware management circuitry 2804 identifies a configuration of resources that can be utilized to emulate the ISA. For example, if there are two available small device processors with a 64 bit rate and the ISA instructions corresponds to a 256 bit instruction, the hardware management circuitry 2804 may identify a configuration using the two small device processors to execute the instructions at half the bit rate (e.g., 2728 bits per cycle *2 cycles = 256 bits per 2 cycles) . At block 3010, the example hardware management circuitry 2804 transmits the emulation configuration information to the OS / VMM 2707 via the interface (s) 200. The emulation configuration information may include information related to the processor resources that will be used to emulate the ISA execution, the policies and / or parameters that will be met, the policies and / or parameters that will not be met, and / or the parameters of the emulation configuration (e.g., bit rate, latency, etc. ) .

[0386] At block 3012, the example hardware management circuitry 2804 determines if the configuration was accepted by the OS / VMM 2707 (e.g., based on a response obtained from the OS / VMM 2707 via the  interface (s) 200) . If the example hardware management circuitry 2804 determines that the configuration was accepted (block 3012: YES) , the example hardware management circuitry 2804 instructs the microcode of the hardware (e.g., the microcode processing circuitry 2711) to cause the processing resources to operate according to the emulation configuration (block 414) and control returns to block 2922 of FIG. 29. If the example hardware management circuitry 2804 determines that the configuration was not accepted (block 3012: NO) , the example hardware management circuitry 2804 determines whether other emulation configurations are available (block 416) . In this manner, the example OS / VMM 2707 and the ISA managing circuitry 2710 can negotiate an emulation configuration. In some examples, the OS / VMM 2707 may provide instructions and / or preferences that it would like to see in an emulation configuration and the ISA managing circuitry 2710 can attempt to satisfy the instructions and / or preferences and / or provide an emulation configuration that better suits the instructions and / or preferences.

[0387] If the example hardware managing circuitry 2804 determines that other emulation configurations are available (block 416: YES) , control returns to block 3010. If the example hardware managing circuitry 2804 determines that other emulation configurations are not available (block 416: NO) , the example hardware managing circuitry 2804 transmits (e.g., to the OS / VMM 2707 using the example interface (s) 200) an indication that the emulation is not available (block 418) , and control returns to block 2922.

[0388] FIG. 31 is a flowchart representative of example machine readable instructions and / or example operations 3100 that may be executed and / or instantiated by processor circuitry (e.g., the microcode processing circuitry 2711) to control the processing resources to handle execution of ISA instructions. The instructions begin at block 3102 when the example hardware control circuitry 2812 determines if ISA instructions have been obtained (e.g., from the OS / VMM 2707 directly or via the BIOS 2708) .

[0389] If the example hardware control circuitry 2812 determines that ISA instructions have not been obtained (block 3102: NO) , control returns to block 3102 until ISA instructions are obtained. If the  example hardware control circuitry 2812 determines that the ISA instructions have been obtained (block 3102: YES) , the example hardware control circuitry 2812 splits up the instructions into sub-instructions according to the configuration instruction from the ISA managing circuitry 2710 (block 3104) . For example, if the configuration corresponds to one 2728 bit processor and two 64 bit processors, the hardware control circuitry 2812 may split a 256 bit instruction into a 2728 bit instructions and two 64 bit instructions to correspond with the configuration, as further described above in conjunction with FIG. 27.

[0390] At block 3106, the example hardware control circuitry 2812 causes the processing resources to execute the split-up instructions based on the configuration instructions. Using the above example, the hardware control circuitry 2812 may provide the 2728 bit instruction to the processing resource that operates at 2728 bits per cycle for execution, the first 64 bit instruction to the first processing resource that operates at 64 bits per cycle for execution, and the second 64 bit instruction to the second processing resource that operates at 64 bits per cycle for execution. At block 3108, the example error determination circuitry 2814 determines if an error has occurred at any of the processing resources. For example, the error determination circuitry 2814 may identify operations that result in errors, infinite loops, etc.

[0391] If the example error determination circuitry 2814 determines that an error has occurred (block 3108: YES) , the example error determination circuitry 2814 transmits (e.g., using the interface (s) 210) an indication that the ISA instruction could not be complete (block 510) and the instructions end. If the example error determination circuitry 2814 determines that an error has not occurred (block 3108: NO) , the example output control circuitry 2816 combines the results (e.g., outputs) from the multiple executions at the multiple processor resources to generate the final output for the cycle (block 512) , as further described above in conjunction with FIG. 27. For example, the output control circuitry 2816 may combine the results (e.g., outputs) by concatenating the outputs, adding the outputs, multiplying the outputs, etc. If the ISA instruction corresponds to multiple instructions over  multiple cycles, the microcode processing circuitry 2711 may store the output for the cycle in memory (e.g., a register, cache, volatile memory, non-volatile memory, etc. ) to use during a subsequent cycle and / or until all the instructions are complete and then combine some or all of the outputs of the cycles. At block 3114, the example output control circuitry 2816 uses the interface (s) 210 to transmit the outputs to the OA / VMM 2707 (e.g., directly or via the BIOS 2708) .

[0392] FIG. 32 illustrates an example diagram 3200 corresponding to operation of the ISA managing circuitry 2710 of FIG. 27. The example diagram 3200 of FIG. 32 beings when the OS / VMM 2707 writes data to the ISA manager status register (ISA_MSR) to initiate an interrupt for the ISA managing circuitry 2710 to determine if and / or how to execute the ISA instructions according to the ISA execution request. When the ISA managing circuiting (e.g., implementing the UEFI BIOS microcode update manager) identifies the ISA_MSR write, the authentication circuitry 2802 (e.g., implementing the ISA decoder and / or evaluator) decodes and verifies the authenticity of the ISA_MSR write. If authenticated, the hardware management circuitry 2804 (e.g., implementing the ISA Manager) verifies the ISA configuration for the current session with message passage interface (MPI) bits, configures the ISA MPI bits in terms of allow execution, emulation, or generate exception, and applies the ISA configuration for the current session by instructing the Xucode (e.g., the microcode processing circuitry 2711) . In some examples, the hardware management circuitry 2804 may take policy-based actions including generating new micro-ops using a surplus Mapper for execution to configure the processing resources to execute the ISA instructions. After complete, the example ISA managing circuitry 2710 returns control back to the OS / VMM 2707. To return back to normal thin mode (e.g., where the processing resources are not operating as a big core but as separate smaller processor devices) , a similar process occurs.

[0393] FIG. 33 is a block diagram of an example processor platform 3300 structured to execute and / or instantiate the machine readable instructions and / or operations of FIGS. 3-5 to implement the IA managing  circuitry 2710 and / or the microcode processing circuitry 2711 of FIG. 27. The processor platform 3300 can be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network) , a mobile device (e.g., a cell phone, a smart phone, a tablet such as an iPadTM) , a personal digital assistant (PDA) , an Internet appliance, a DVD player, a CD player, a digital video recorder, a Blu-ray player, a gaming console, a personal video recorder, a set top box, a headset (e.g., an augmented reality (AR) headset, a virtual reality (VR) headset, etc. ) or other wearable device, or any other type of computing device.

[0394] The processor platform 3300 of the illustrated example includes processor circuitry 3312. The processor circuitry 3312 of the illustrated example is hardware. For example, the processor circuitry 3312 can be implemented by one or more integrated circuits, logic circuits, FPGAs microprocessors, CPUs, GPUs, DSPs, and / or microcontrollers from any desired family or manufacturer. The processor circuitry 3312 may be implemented by one or more semiconductor based (e.g., silicon based) devices. In this example, the processor circuitry 3312 implements the example interface (s) 200, the example authentication circuitry 2802, the example hardware management circuitry 2804, the example interface (s) 210, the example hardware control circuitry 2812, the example error determination circuitry 2814, and the example output control circuitry 2816.

[0395] The processor circuitry 3312 of the illustrated example includes a local memory 3313 (e.g., a cache, registers, etc. ) . The processor circuitry 3312 of the illustrated example is in communication with a main memory including a volatile memory 3314 and a non-volatile memory 3316 by a bus 3318. The volatile memory 3314 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM) , Dynamic Random Access Memory (DRAM) ,  Dynamic Random Access Memory and / or any other type of RAM device. The non-volatile memory 3316 may be implemented by flash memory and / or any other desired type of memory device. Access to the main memory 3314, 3316 of the illustrated example is controlled by a memory controller 3317.

[0396] The processor platform 3300 of the illustrated example also includes interface circuitry 3320. The interface circuitry 3320 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a  interface, a near field communication (NFC) interface, a PCI interface, and / or a PCIe interface.

[0397] In the illustrated example, one or more input devices 3322 are connected to the interface circuitry 3320. The input device (s) 3322 permit (s) a user to enter data and / or commands into the processor circuitry 3312. The input device (s) 3322 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video) , a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and / or a voice recognition system.

[0398] One or more output devices 3324 are also connected to the interface circuitry 3320 of the illustrated example. The output devices 3324 can be implemented, for example, by display devices (e.g., a light emitting diode (LED) , an organic light emitting diode (OLED) , a liquid crystal display (LCD) , a cathode ray tube (CRT) display, an in-place switching (IPS) display, a touchscreen, etc. ) , a tactile output device, a printer, and / or speaker. The interface circuitry 3320 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and / or graphics processor circuitry such as a GPU.

[0399] The interface circuitry 3320 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and / or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 3326. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.

[0400] The processor platform 3300 of the illustrated example also includes one or more mass storage devices 3328 to store software and / or data. Examples of such mass storage devices 3328 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices, and DVD drives.

[0401] The machine executable instructions 3332, which may be implemented by the machine readable instructions of FIGS. 3-5, may be stored in the mass storage device 3328, in the volatile memory 3314, in the non-volatile memory 3316, and / or on a removable non-transitory computer readable storage medium such as a CD or DVD.

[0402] From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed that increases boot performance. The disclosed systems, methods, apparatus, and articles of manufacture provide a software and / or firmware based application programming interface (API) to process instructions from an application running on an operating system, virtual machine manager (VMM) , etc., and instruct microcode to configure the processing units to be able to execute the instructions, regardless of how the instructions are structured. According, examples disclosed herein can combine smaller resources to execute code designed for larger resources without requiring the instructions to be structured for the smaller resources. In this manner, the application can generate one instruction and examples disclosed herein can determine if and / or how to execute the instruction given the constraints of the computing system.

[0403] APPARATUS, ARTICLES OF MANUFACTURE, AND METHODS FOR COMPOSABLE MACHINE LEARNING COMPUTE NODES

[0404] Compute workloads may be carried out by using machine-learning models. Machine-learning models, such as neural networks, are useful tools that have demonstrated their value solving complex problems regarding pattern recognition, natural language processing, automatic speech recognition, etc. Identifying an optimal combination of hardware and / or  software (e.g., a machine-learning model) to execute a compute workload is complex due to the vast range of available types of hardware and / or machine-learning models and customization (s) thereof.

[0405] Automated Machine Learning (AutoML) provides techniques to improve access and availability of Machine Learning (ML) to various applications and use cases. AutoML is the process of automating the operations of applying ML to tasks and workloads. For example, AutoML may be used to automate the selection, composition, and parameterization of ML models. In some such examples, AutoML may be used throughout the ML pipeline from receiving a raw dataset to generating a deployable machine-learning model.

[0406] Some AutoML approaches may select an ML model (e.g., an ML model to execute a workload) based on a hardware search space and / or a software search space. As used herein, a “hardware search space” is a space or set of feasible hardware, configurations of the hardware, etc., and / or combination (s) thereof, among which a desired hardware configuration resides to execute an ML model. For example, an AutoML system may evaluate various types of ML models based on configurations of hardware included in the hardware search space. As used herein, a “software search space” is a space of feasible ML models, configurations of the ML models, etc., and / or combination (s) thereof, among which a desired software configuration resides to execute a workload (e.g., a compute workload, an ML workload, an ML task, an ML operation, etc. ) . For example, an AutoML system may evaluate various types of ML models based on the ML models and / or configurations of the ML models included in the software search space.

[0407] Some AutoML approaches may use a single and inflexible template of hardware (e.g., a CPU, a GPU, an FPGA, etc. ) to express a hardware search space that an AutoML system may use to identify an ML model to execute a workload of interest. For example, the hardware template may be inflexible because interconnect topologies of the hardware may be fixed and / or otherwise non-configurable. Some such AutoML approaches may evaluate different types of ML models and / or configurations  of the ML models based on a single type of hardware. In some such examples, the type of hardware may have weaknesses when instantiating particular one (s) of the ML models. Thus, the one (s) of the ML models may not be selected for a particular type of ML workload based on the type of hardware evaluated. In some such examples, the one (s) of the ML models may be efficient when executing the particular type of ML workload on different hardware, but the AutoML system may not choose the one (s) of the ML models because of the inefficiencies of the underlying type of hardware on which the one (s) of the ML models is / are being evaluated.

[0408] Some AutoML approaches may use a single and inflexible software template (e.g., a type of neural network, a configuration of the neural network, etc. ) to express a software search space that an AutoML system may use to identify an ML model to execute a workload of interest. Some such AutoML approaches may evaluate execution (s) of workload (s) based on a single type of ML model. In some such examples, the ML model may have weaknesses when executing a particular type of workload. Thus, the one (s) of the ML models may not be selected for a particular type of ML workload. In some such examples, the one (s) of the ML models may be efficient when executing the particular type of ML workload, but the AutoML system may not choose the one (s) of the ML models because of the inefficiencies of the inflexible configurations of the software search space on which the one (s) of the ML models are being evaluated.

[0409] Co-development of artificial intelligence / machine learning (AI / ML) models and the hardware on which they are executed and / or instantiated is beneficial for obtaining highly efficient solutions. However, such co-development requires many slow, manual iterations by interdisciplinary human experts in both hardware design and AI / ML algorithms. Recently, AutoML approaches as described above have been proposed to reduce human design effort by performing automatic AI / ML hardware / software (HW / SW) co-design. However, as described above, existing AutoML approaches lack the hardware and software design flexibility that can unlock the true potential of AI / ML HW / SW co-design. For example,  existing AutoML approaches typically use a single fixed hardware architecture template based on a fixed set of modules and connectivity, with a fixed set of low-level design parameters for each module (e.g., buffer sizes, a number of compute units, etc. ) . As a result, the hardware design search space is restricted to a limited set of instances from only a single hardware architecture style. Similarly, the software search space also has limitations. In a neural network search, typically a search space targets a single class of network (e.g., recurrent neural network (RNN) class only or convolution neural network (CNN) class only, for example) .

[0410] Examples disclosed herein include apparatus, articles of manufacture, and methods for composable machine learning compute nodes. In some disclosed examples, incorporating hardware and software heterogeneity into an AutoML search can potentially discover new models (e.g., AI / ML models) that exploit the strengths of different compute platforms (e.g., branches and control-heavy on CPUs, massively parallel layers on GPUs, custom new layers on FPGAs, etc. ) to generate a machine learning system based on composable, modular building blocks of hardware and / or software.

[0411] Examples disclosed herein include an expressive search space representation that covers multiple templates of hardware and software architectures. In some disclosed examples, the templates can be dynamically modifiable during the HW / SW co-design search. Advantageously, the expressive search space enables the HW / SW co-design systems to explore a much larger and richer space of HW / SW designs across multiple architecture styles. In some disclosed examples, one (s) of the architectural styles can be flexible in their respective sets of modules and connectivity (e.g., selection and / or configuration of connections, topologies, inputs / outputs, etc. ) . In some such disclosed examples, the sets of modules and connectivity can be formable through composable building blocks. Advantageously, examples disclosed herein improve the likelihood of discovering more efficient hardware architecture instances and their corresponding co-designed software compared to prior AutoML approaches because examples disclosed herein offer much larger HW / SW search space (s) and composable version (s) thereof.

[0412] Examples disclosed herein include a set of hardware architecture templates and software architecture templates. Advantageously, the hardware and software templates can be based on a palette of composable architecture building blocks, each of which can have a set of micro-architectural parameters. In some disclosed examples, the micro-architectural parameters can be searchable to enhance the granularity of AutoML searches. Advantageously, the example hardware and software templates are not limited to a predefined set of modules and their fixed connectivity like templates used in some prior AutoML approaches. In some disclosed examples, the composable architectural building blocks can be flexibly combined, added, removed, modified, and / or mutated based on a set of design rules (e.g., pre-specified design rules, design rules dynamically specified or specified on-the-fly, etc. ) to create a plethora of new HW / SW architecture instances. In some disclosed examples, the formal and precise semantics and interfaces of the example hardware and software templates allow for automated search of the HW / SW design space in an AutoML framework, as well as easily extending the HW / SW blocks palette with new user and / or machine-specified blocks.

[0413] Examples disclosed herein include simultaneously evolving multiple sets of relevant composable building blocks, each of which may cover a different architecture class and design style. For example, in the hardware search space, having an AI / ML processor architecture based on the systolic array design style can be suitable for compute-intensive AI / ML models, but not suitable for memory-bound and less compute-intensive workloads. Examples disclosed herein, therefore, can simultaneously evolve HW architectures with different architectural design styles to allow the AI / ML models to flexibly evolve to achieve improved software accuracy and hardware efficiency during the co-design process. Similarly, by way of example in the software search space (e.g., the neural network software search space) , there are multiple classes of networks with their own beneficial properties (e.g., CNNs, RNNs, Transformers, etc. ) and composable building blocks (e.g., matrix times vector operations (e.g., matrix x vector) for RNNs, convolutions for CNNs, etc. ) . Advantageously, examples disclosed herein can  build improved HW / SW solutions based on composable ML compute nodes to execute workloads with less development effort compared to prior AutoML approaches.

[0414] FIG. 34 is an illustration of an example AutoML architecture 3400, which includes an example machine-learning (ML) system configurator 3402 to identify and / or generate a composable ML compute node. The AutoML architecture 3400 includes the ML system configurator 3402 to generate a hardware search space and / or a software search space based on a compute task or workload (e.g., an Artificial Intelligence / Machine Learning (AI / ML) compute task or workload) . The ML system configurator 3402 can identify hardware, or portion (s) thereof, from the hardware search space. The ML system configurator 3402 can also discover and / or otherwise identify software (e.g., an AI / ML model) , or portion (s) thereof, from the software search space. In some examples, the ML system configurator 3402 can individually and / or simultaneously evolve a composable ML compute node by iterating (i) an architecture and / or type of the hardware and / or the software and / or (ii) configuration (s) of the hardware and / or the software. For example, the ML system configurator 3402 can evolve the composable ML compute node by evaluating the hardware and / or the software when executing a workload and / or based on a simulation of the hardware and / or software executing the workload. In some such examples, the composable ML compute node can be composable because hardware and / or software components can be selected and assembled in various combinations to satisfy specific or pre-defined requirements (e.g., an accuracy requirement, a latency requirement, a throughput requirement, etc. ) . In some such examples, in response to an identification of a particular combination of hardware and / or software that satisfies the specific or pre-defined requirements, the ML system configurator 3402 can output the combination as a composable ML compute node to execute a workload of interest.

[0415] In some examples, a composable ML compute node can be implemented by a single homogeneous computing or electronic system that may be configured and / or otherwise utilized to execute an AI / ML model. For  example, the composable ML compute node can be implemented by a single Central Processor Unit (CPU) , Graphics Processor Unit (GPU) , Artificial Intelligence Processor (AI Processor) , Field Programmable Gate Array (FPGA) , Digital Signal Processor (DSP) , XPU, etc. In some examples, the composable ML compute node can be implemented by portion (s) of a single homogeneous computing or electronic system, such as portion (s) (e.g., kernel (s) ) of a single CPU, GPU, AI Processor, FPGA, DSP, XPU, etc. In some such examples, the portion (s) can include a kernel (e.g., a hardware kernel) and / or corresponding interconnect (s) to which different kernel (s) , hardware, etc., can be coupled (e.g., physically coupled, communicatively coupled, coupled via a computing or electrical bus, etc. ) . In some examples, a composable ML compute node can be implemented by multiple ones of the same type of homogeneous computing or electronic system, or portion (s) thereof. For example, the composable ML compute node can be implemented by two or more CPUs (or portion (s) thereof) , two or more GPUs (or portion (s) thereof) , two or more AI Processors (or portion (s) thereof) , two or more FPGAs (or portion (s) thereof) , two or more DSPs (or portion (s) thereof) , two or more XPUs (or portion (s) thereof) , etc.

[0416] In some examples, a composable ML compute node can be implemented by a single heterogeneous computing or electronic system that may be configured and / or otherwise utilized to execute an AI / ML model. For example, the composable ML compute node can be implemented by a CPU, a GPU, an AI Processor, an FPGA, a DSP, XPU, etc., and / or any combination (s) thereof. In some such examples, the composable ML compute node can be implemented by one or more CPUs, one or more GPUs, one or more AI Processors, one or more FPGAs, one or more DSPs, one or more XPUs, etc., and / or any combination (s) thereof. In some examples, the composable ML compute node can be implemented by portion (s) of a single heterogeneous computing or electronic system, such as portion (s) of a CPU, GPU, AI Processor, FPGA, DSP, XPU, etc., and / or any combination (s) thereof. In some examples, a composable ML compute node can be implemented by multiple ones of the same heterogeneous computing or electronic system, or portion (s)  thereof. For example, the composable ML compute node can be implemented by two or more instances of a heterogeneous computing system, which includes one or more CPUs (or portion (s) thereof) , one or more GPUs (or portion (s) thereof) , one or more AI Processors (or portion (s) thereof) , one or more FPGAs (or portion (s) thereof) , one or more DSPs (or portion (s) thereof) , one or more XPUs (or portion (s) thereof) , etc., and / or combination (s) thereof. In some examples, the composable ML compute node can be implemented by two or more different heterogeneous computing or electronic systems. For example, the composable ML compute node can be implemented by a first heterogeneous computing system and a second heterogeneous computing system. In some such examples, portion (s) of the first heterogeneous computing system and the second heterogeneous computing system can be different.

[0417] In some examples, the composable ML compute node can include, store, and / or otherwise access an executable construct to execute an AI / ML model to complete a workload, or portion (s) thereof. For example, the executable construct can be implemented by a configuration image, an executable binary, executable code (e.g., executable machine-readable code) , an executable file (e.g., an executable binary file) , an executable program, executable instructions (e.g., executable machine-readable instructions) , etc., that, when executed, can implement an AI / ML model to effectuate completion of AI / ML workloads.

[0418] The AutoML architecture 3400 of the illustrated example includes example optimized applications 3404, example optimized middleware and frameworks 3406, and example application programming interfaces (APIs) 3408. In some examples, the optimized applications 3404 can be implemented by applications (e.g., software applications, web-or browser-based applications, etc. ) that are customized, tailored, and / or otherwise optimized to effectuate the identification and / or generation of a composable ML compute node. For example, the optimized applications 3404 can be accessed, utilized, etc., by a developer (e.g., a software developer, a researcher, etc. ) , Information Technology (IT) personnel, etc. In some such  examples, the optimized applications 3404 can be accessed, utilized, etc., to co-design a hardware / software (HW / SW) solution for a technical problem that can benefit from AI / ML techniques. In some examples, the optimized middleware and frameworks 3406 can be implemented by middleware and frameworks that are customized, tailored, and / or otherwise optimized to effectuate the identification and / or generation of a composable ML compute node. For example, the optimized middleware and frameworks 3406 can implement an interface (e.g., communication, connectivity, etc. ) between the optimized applications 3404 and the APIs 3408.

[0419] The APIs 3408 of the illustrated example can be invoked to program, develop, and / or otherwise generate an AI / ML application by at least one of direct programming or API-based programming. The APIs 3408 of the illustrated example include example porting tools 3410, example direct programming APIs 3412, example API-based programming APIs 3414, and example analysis tools 3416.

[0420] In some examples, the porting tools 3410 can be implemented by software (e.g., a software application) that can adapt a program for the purpose of achieving some form of execution in a first computing or electronic environment that is different from a second computing or electronic environment for which the program was originally designed. For example, the porting tools 3410 can convert and / or otherwise adapt a first program developed for a first type of hardware, operating system (OS) , library, etc., into a second program for a second type of hardware, OS, library, etc.

[0421] In some examples, the direct programming APIs 3412 can be invoked to effectuate direct programming tasks, which may include developing and / or compiling data parallel C++ applications. In some examples, the API-based programming APIs 3414 can be invoked to effectuate API-based programming, which may include developing and / or compiling applications that call (or invoke, instantiate, etc. ) a Math Kernel Library (MKL) , an MKL Deep Neural Network (DNN) library, a data analytics acceleration library, a thread building block library, a parallel standard  template library, a media software development kit (SDK) , a deep learning deployment toolkit, a machine learning scaling library, etc., and / or any combination (s) thereof.

[0422] In some examples, the analysis tools 3416 can be called, instantiated, and / or otherwise invoked to analyze hardware, software, and / or configuration (s) thereof of a composable ML compute node. For example, the analysis tools 3416 can instantiate emulator (s) to emulate all of the hardware and / or software features of the composable ML compute node to generate and / or otherwise output one or more evaluation parameters. In some such examples, the evaluation parameters can include parameters representative and / or otherwise indicative of accuracy, latency, a number of cycles to complete a workload, or throughput of the composable ML compute node. In some examples, the evaluation parameters can include parameters representative and / or otherwise indicative of a processor or clock frequency, a fabric frequency, a read memory bandwidth, a write memory bandwidth, hardware de-rate factors, a number of memory ports, a number of data processing units (DPUs) , a number of model layers (e.g., neural network layers, convolution layers, etc. ) an activation precision (e.g., a precision of activation values to be processed) , a weight precision (e.g., a precision of weight values to be processed) , etc., and / or any combination (s) thereof. For example, the analysis tools 3416 can execute an emulator based on the composable ML compute node. In some such examples, the analysis tools 3416 can execute the emulator to determine a throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0423] In some examples, the analysis tools 3416 can instantiate simulator (s) to simulate the behavior, the configuration, etc., of a composable ML compute node to generate and / or otherwise output one or more evaluation parameters. For example, the analysis tools 3416 can execute a model (e.g., a simulation model, an AI / ML model, etc. ) based on the composable ML compute node. In some such examples, the analysis tools 3416 can execute the model to estimate, predict, and / or otherwise determine a  throughput of the composable ML compute node when the composable ML compute node executes a particular AI / ML model having a particular configuration.

[0424] The AutoML architecture 3400 of the illustrated example includes different types of hardware and / or software from which a composable ML compute node can be generated. In the illustrated example, the AutoML architecture 3400 includes interfaces and target system software for scalar, vector, matrix, and spatial hardware. Additionally and / or alternatively, any other type of hardware may be used. In this example, the scalar hardware is implemented by an example CPU 3418 and example CPU system software 3420. For example, the CPU system software 3420 can include instructions corresponding to a CPU Instruction Set Architecture (ISA) . In this example, the vector hardware is implemented by an example GPU 3422 and example GPU system software 3424. For example, the GPU system software 3424 can include kernels, portion (s) of code, etc., such as kernels, compute kernels, and / or shaders. In some examples, the kernels, the portion (s) of code) , etc., can be represented in a high-level programming language such as, for example, a High-Level Shader Language (HLSL) , OpenCL, etc.

[0425] In this exa...

Claims

1.An apparatus for managing processing units, comprising:interface circuitry to detect a request to initialize a computing system; andprocessor circuitry including one or more of:at least one of a central processing unit, a graphic processing unit or a digital signal processor, the at least one of the central processing unit, the graphic processing unit or the digital signal processor having control circuitry, arithmetic and logic circuitry, and one or more registers, the processor circuitry to execute instructions to:execute a system boot software retrieved from a memory;execute firmware for a heterogenous processing unit, the firmware retrieved from the memory;identify, via a silicon initialization code, a type of the heterogenous processing unit; andcause, via the silicon initialization code, initialization of the heterogeneous processing unit.2.An apparatus as defined in claim 1, wherein the memory is serial peripheral interface flash memory.3.An apparatus as defined in claim 2, further comprising an enhanced serial peripheral interface to facilitate sharing the serial peripheral interface flash memory between the central processing unit and the heterogenous processing unit.4.An apparatus as defined in claim 1, wherein the heterogeneous processor is a graphics processing unit.5.An apparatus as defined in claim 1, wherein the heterogeneous processor is a discrete graphics processing unit.6.An apparatus as defined in claim 1, wherein the processor circuitry is to execute the instructions to retrieve, via the silicon initialization code, a mainboard specific configuration including peripheral connect interface enhanced (PCI-E) slot information.7.An apparatus as defined in claim 1, wherein the processor circuitry is to execute the instructions to store updateable product data including address information for the heterogenous processing unit.8.An apparatus as defined in claim 7, wherein the processor circuitry is to execute the instructions to retrieve, via the silicon initialization code, the updateable product data to access the information for the heterogenous processing unit.9.A non-transitory computer readable medium comprising instructions that, when executed cause a processor to at least:detect a request to initialize a computing system; andexecute a system boot software retrieved from a memory;execute firmware for a heterogenous processing unit, the firmware retrieved from the memory;identify, via a silicon initialization code, a type of the heterogenous processing unit; andcause, via the silicon initialization code, initialization of the heterogeneous processing unit.10.A non-transitory computer readable medium as defined in claim 9, wherein the memory is serial peripheral interface flash memory.11.A non-transitory computer readable medium as defined in claim 10, wherein the instructions, when executed, cause the processor to facilitate sharing the serial peripheral interface flash memory between the central processing unit and the heterogenous processing unit.12.A non-transitory computer readable medium as defined in claim 9, wherein the heterogeneous processor is a graphics processing unit.13.A non-transitory computer readable medium as defined in claim 9, wherein the heterogeneous processor is a discrete graphics processing unit.14.A non-transitory computer readable medium as defined in claim 9, wherein the instructions, when executed, cause the processor to retrieve, via the silicon initialization code, a mainboard specific configuration including peripheral connect interface enhanced (PCI-E) slot information.15.A non-transitory computer readable medium as defined in claim 9, wherein the instructions, when executed, cause the processor to store updateable product data including address information for the heterogenous processing unit.16.A non-transitory computer readable medium as defined in claim 15, wherein the instructions, when executed, cause the processor to retrieve, via the silicon initialization code, the updateable product data to access the information for the heterogenous processing unit.17.A method comprising:detecting a request to initialize a computing system; andexecuting a system boot software retrieved from a memory;executing firmware for a heterogenous processing unit, the firmware retrieved from the memory;identifying, via a silicon initialization code, a type of the heterogenous processing unit; andcausing, via the silicon initialization code, initialization of the heterogeneous processing unit.18.A method as defined in claim 17, wherein the memory is serial peripheral interface flash memory.19.A method as defined in claim 18, further comprising facilitating sharing the serial peripheral interface flash memory between the central processing unit and the heterogenous processing unit.20.A method as defined in claim 17, wherein the heterogeneous processor is a graphics processing unit.21.A method as defined in claim 17, wherein the heterogeneous processor is a discrete graphics processing unit.22.A method as defined in claim 17, further comprising retrieving, via the silicon initialization code, a mainboard specific configuration including peripheral connect interface enhanced (PCI-E) slot information.23.A method as defined in claim 17, further comprising storing updateable product data including address information for the heterogenous processing unit.24.A method as defined in claim 23, further comprising retrieving, via the silicon initialization code, the updateable product data to access the information for the heterogenous processing unit.25.An apparatus for managing processing units, comprising:interface circuitry to detect a request to obtain a resource request from a workload;processor circuitry including one or more of:at least one of a central processing unit, a graphic processing unit or a digital signal processor, the at least one of the central processing unit, the graphic processing unit or the digital signal processor having control circuitry, arithmetic and logic circuitry, and one or more registers, the processor circuitry to execute instructions to:determine if resources are available for the workload on an infrastructure processing unit managed system;negotiate with the infrastructure processing unit to determine if an executing workload can be migrated;in response to determining that an executing workload can be migrated, cause the executing workload to be migrated; andcause the workload to execute on the resource.26.An apparatus as defined in claim 25, wherein the workload is a virtual machine.27.An apparatus as defined in claim 25, wherein the processor circuitry is to execute the instructions to validate the resource request.28.An apparatus as defined in claim 25, wherein the resource request identifies a service level agreement.29.An apparatus as defined in claim 28, wherein the processor circuitry is to execute the instructions to determine if the service level agreement identified in the resource request can be met by any available resources.30.An apparatus as defined in claim 29, wherein the processor circuitry is to prompt a user to provide a valid request in response to determining that the service level agreement cannot be met.31.An apparatus as defined in claim 25, wherein the processor circuitry is to execute the instructions to update a class of service for the executing workload.32.An apparatus as defined in claim 25, wherein the processor circuitry is to execute the instructions to store an association of the workload and the resources in a blockchain.33.A non-transitory computer readable medium comprising instructions that, when executed, causes a processor to at least:detect a request to obtain a resource request from a workload;determine if resources are available for the workload on an infrastructure processing unit managed system;negotiate with the infrastructure processing unit to determine if an executing workload can be migrated;in response to determining that an executing workload can be migrated, cause the executing workload to be migrated; andcause the workload to execute on the resource.34.A non-transitory computer readable medium as defined in claim 33, wherein the workload is a virtual machine.35.A non-transitory computer readable medium as defined in claim 33, wherein the instructions, when executed, cause the processor to validate the resource request.36.A non-transitory computer readable medium as defined in claim 33, wherein the resource request identifies a service level agreement.37.A non-transitory computer readable medium as defined in claim 36, wherein the instructions, when executed, cause the processor to execute the instructions to determine if the service level agreement identified in the resource request can be met by any available resources.38.A non-transitory computer readable medium as defined in claim 37, wherein the instructions, when executed, cause the processor to prompt a user to provide a valid request in response to determining that the service level agreement cannot be met.39.A non-transitory computer readable medium as defined in claim 33, wherein the instructions, when executed, cause the processor to update a class of service for the executing workload.40.A non-transitory computer readable medium as defined in claim 33, wherein the instructions, when executed, cause the processor to store an association of the workload and the resources in a blockchain.41.A method comprising:detecting a request to obtain a resource request from a workload;determining if resources are available for the workload on an infrastructure processing unit managed system;negotiating with the infrastructure processing unit to determine if an executing workload can be migrated;in response to determining that an executing workload can be migrated, causing the executing workload to be migrated; andcausing the workload to execute on the resource.42.A method as defined in claim 41, wherein the workload is a virtual machine.43.A method as defined in claim 41, further comprising validating the resource request.44.A method as defined in claim 41, wherein the resource request identifies a service level agreement.45.A method as defined in claim 44, further comprising executing the instructions to determine if the service level agreement identified in the resource request can be met by any available resources.46.A method as defined in claim 45, further comprising prompting a user to provide a valid request in response to determining that the service level agreement cannot be met.47.A method as defined in claim 41, further comprising updating a class of service for the executing workload.48.A method as defined in claim 41, further comprising storing an association of the workload and the resources in a blockchain.49.An apparatus for managing processing units, comprising:interface circuitry to detect a request to execute a deep neural network; andprocessor circuitry including one or more of:at least one of a central processing unit, a graphic processing unit or a digital signal processor, the at least one of the central processing unit, the graphic processing unit or the digital signal processor having control circuitry, arithmetic and logic circuitry, and one or more registers, the processor circuitry to execute instructions to:obtain a service level agreement associated with the request;determine a candidate set of operation parameters to service the request based on the service level agreement;generate a kernel for a group of operation parameters from the candidate set; andexecute the kernel to determine performance of the kernel.50.An apparatus as defined in claim 49, wherein the processor circuitry is to execute the instructions to determine if the performance meets the service level agreement.51.An apparatus as defined in claim 49, wherein the processor circuitry is to execute the instructions to determine the candidate set based on the hardware capabilities of a computing system for executing the kernel.52.An apparatus as defined in claim 49, wherein the processor circuitry is to execute the instructions to obtain an operation description associated with the request.53.An apparatus as defined in claim 49, wherein the processor circuitry is to execute the instructions to implement an application programming interface to receive the request.54.An apparatus as defined in claim 53, wherein the application programming interface manages a plurality of heterogenous processors.55.An apparatus as defined in claim 53, wherein the application programming interface is included in a oneAPI framework.56.A non-transitory computer readable medium comprising instructions that, when executed, cause a processor to at least:detect a request to execute a deep neural network; andobtain a service level agreement associated with the request;determine a candidate set of operation parameters to service the request based on the service level agreement;generate a kernel for a group of operation parameters from the candidate set; andexecute the kernel to determine performance of the kernel.57.A non-transitory computer readable medium as defined in claim 56, wherein the instructions, when executed, cause the processor to determine if the performance meets the service level agreement.58.A non-transitory computer readable medium as defined in claim 56, wherein the instructions, when executed, cause the processor to determine the candidate set based on the hardware capabilities of a computing system for executing the kernel.59.A non-transitory computer readable medium as defined in claim 56, wherein the instructions, when executed, cause the processor to obtain an operation description associated with the request.60.A non-transitory computer readable medium as defined in claim 56, wherein the instructions, when executed, cause the processor to implement an application programming interface to receive the request.61.A non-transitory computer readable medium as defined in claim 60, wherein the application programming interface manages a plurality of heterogenous processors.62.A non-transitory computer readable medium as defined in claim 60, wherein the application programming interface is included in a oneAPI framework.63.A method comprising:detecting a request to execute a deep neural network; andobtaining a service level agreement associated with the request;determining a candidate set of operation parameters to service the request based on the service level agreement;generating a kernel for a group of operation parameters from the candidate set; andexecuting the kernel to determine performance of the kernel.64.A method as defined in claim 63, further comprising determining if the performance meets the service level agreement.65.A method as defined in claim 63, further comprising determining the candidate set based on the hardware capabilities of a computing system for executing the kernel.66.A method as defined in claim 63, further comprising obtaining an operation description associated with the request.67.A method as defined in claim 63, further comprising implementing an application programming interface to receive the request.68.A method as defined in claim 67, wherein the application programming interface manages a plurality of heterogenous processors.69.A method as defined in claim 67, wherein the application programming interface is included in a oneAPI framework.

Citation Information

Patent Citations

  • Adaptation of Deep Learning Models to Resource Constrained Edge Devices

    US20210012187A1