Vision-based teleoperation of dexterous robotic systems
By imitating the movements of human hands and using depth cameras and neural network technology to convert the posture of human hands into the postures of robot hands, it solves the problem of difficulty in operating complex tasks for robots in the existing technology and realizes an efficient and dexterous remote operating system. .
Patent Information
- Application Number
- CN202010973239.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-09-16
AI Technical Summary
Existing technology makes it difficult to effectively control and operate robots with complex tasks, especially when performing tasks through intuition and creativity. Remote operation interfaces are often non-intuitive and difficult to use, requiring a lot of training and practice.
By imitating the movements of the human hand, using a depth camera to capture the movement of the human hand, generating a point cloud, processing the point cloud to determine the posture of the hand, and converting it into the corresponding posture of the robot hand, providing an intuitive control method that utilizes neural networks and Optimization technology enables complex task execution of robotic systems.
It realizes a low-cost, mark-free, and glove-free remote operating system, allowing complex robot tasks to be controlled through vision, improving task success rate and dexterity, reducing operational difficulty, and is suitable for a variety of application scenarios such as search and rescue, and medicine. wait.
Smart Images

Figure CN112540671B_ABST
Abstract
Description
Technical Field
[0001] At least one embodiment is directed to using a robot to perform and facilitate tasks under the control of a human operator. For example, at least one embodiment is directed to controlling a robotic arm by mimicking the movements of a human hand according to the various novel techniques described herein. Background Art
[0002] Controlling a robot to perform tasks can be a difficult and challenging problem. One way to control a robot is through direct human control. For example, some robotic systems provide a joystick or programming interface to a human operator to allow the operator to move the robot. However, such interfaces are often non-intuitive and difficult to use, requiring extensive training and practice to use. This is especially true when the operator is trying to perform complex tasks (e.g., interacting with other objects). Therefore, improving remote operator interfaces is an important area of research in the field of robotic control. BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Figure 1 illustrates examples of remote operations across various tasks in accordance with at least one embodiment;
[0004] Figure 2 shows an example of a robotic arm and hand according to at least one embodiment;
[0005] Figure 3 An example of a system that tracks human hand motion and converts the motion into corresponding motion of a robotic arm in accordance with at least one embodiment is shown.
[0006] Figure 4 shows an example of a glove that can be used to assist in hand pose estimation in accordance with at least one embodiment;
[0007] Figure 5 An example of an architecture for a system for determining hand gestures according to at least one embodiment is shown;
[0008] Figure 6 An example of estimating a hand pose from a point cloud is shown in accordance with at least one embodiment;
[0009] Figure 7 illustrates examples of human hand gestures and a robotic gripper performing corresponding gestures in accordance with at least one embodiment;
[0010] Figure 8 illustrates examples of human hand poses and corresponding robotic gripper poses in accordance with at least one embodiment;
[0011] Fig. 9An example of a task in which a robot is controlled to remove paper from a folded wallet is shown in accordance with at least one embodiment.
[0012] Fig.10 An example of a task in which a robot is controlled to remove an object from a drawer is shown in accordance with at least one embodiment.
[0013] Fig.11 An example of a task in which a robot is controlled to open a jar is shown according to at least one embodiment;
[0014] Fig.12 shows an example of completion time of a teleoperation task according to an embodiment;
[0015] Fig.13 shows an example of the success rate of a teleoperation task according to an embodiment;
[0016] Fig.14 An example of a resulting process performed by a computer system to direct a robotic arm to perform a task by simulating the motion of a human hand is shown;
[0017] Fig.15A Inference and / or training logic according to at least one embodiment is shown;
[0018] Fig. 15B Inference and / or training logic according to at least one embodiment is shown;
[0019] Fig.16 illustrates deployment and training of a neural network according to at least one embodiment;
[0020] Fig.17 An example data center system is shown in accordance with at least one embodiment;
[0021] Fig.18A An example of an autonomous vehicle is shown in accordance with at least one embodiment;
[0022] Fig.18B According to at least one embodiment, Fig.18A Examples of camera positions and fields of view for autonomous vehicles;
[0023] Fig. 18C is a diagram showing a method according to at least one embodiment Fig.18A A block diagram of an example system architecture for an autonomous vehicle;
[0024] Fig.18D is a diagram showing a method according to at least one embodiment Fig.18A A diagram of a system for communication between one or more cloud-based servers and an autonomous vehicle;
[0025] Fig.19 is a block diagram illustrating a computer system according to at least one embodiment;
[0026] Fig. 20 is a block diagram illustrating a computer system according to at least one embodiment;
[0027] Fig.21 A computer system according to at least one embodiment is shown;
[0028] Fig. 22 A computer system according to at least one embodiment is shown;
[0029] Fig.23A A computer system according to at least one embodiment is shown;
[0030] Fig. 23B A computer system according to at least one embodiment is shown;
[0031] Fig.23C A computer system according to at least one embodiment is shown;
[0032] Fig.23D A computer system according to at least one embodiment is shown;
[0033] Fig.23E and Fig.23F illustrates a shared programming model according to at least one embodiment;
[0034] Fig.24 An exemplary integrated circuit and associated graphics processor are shown in accordance with at least one embodiment;
[0035] Figure 25A-25B An exemplary integrated circuit and associated graphics processor are shown in accordance with at least one embodiment;
[0036] Figure 26A-26B Additional exemplary graphics processor logic is shown in accordance with at least one embodiment;
[0037] Fig. 27 A computer system according to at least one embodiment is shown;
[0038] Fig.28A illustrates a parallel processor according to at least one embodiment;
[0039] Fig.28B shows a partition unit according to at least one embodiment;
[0040] Fig.28C illustrates a processing cluster according to at least one embodiment;
[0041] Fig.28DA graphics multiprocessor is shown in accordance with at least one embodiment;
[0042] Fig.29 A multi-graphics processing unit (CPU) system is shown in accordance with at least one embodiment;
[0043] Fig.30 A graphics processor according to at least one embodiment is shown;
[0044] Fig.31 is a block diagram illustrating a processor microarchitecture for a processor according to at least one embodiment;
[0045] Fig.32 A deep learning application processor according to at least one embodiment is shown;
[0046] Fig.33 is a block diagram illustrating an example neuromorphic processor in accordance with at least one embodiment;
[0047] Fig.34 illustrates at least a portion of a graphics processor according to one or more embodiments;
[0048] Fig.35 illustrates at least a portion of a graphics processor according to one or more embodiments;
[0049] Fig.36 illustrates at least a portion of a graphics processor according to one or more embodiments;
[0050] Fig.37 is a block diagram of a graphics processing engine 3710 of a graphics processor according to at least one embodiment;
[0051] Fig.38 is a block diagram of at least a portion of a graphics processor core according to at least one embodiment;
[0052] Fig.39A and Fig.39B illustrates thread execution logic 3900 for an array of processing elements including a graphics processor core in accordance with at least one embodiment;
[0053] Fig.40 illustrates a parallel processing unit ("PPU") in accordance with at least one embodiment;
[0054] Fig.41 illustrates a general processing cluster ("GPC") in accordance with at least one embodiment;
[0055] Fig.42 illustrates a memory partitioning unit of a parallel processing unit ("PPU") according to at least one embodiment; and
[0056] Fig.43 A streaming multiprocessor in accordance with at least one embodiment is shown. DETAILED DESCRIPTION
[0057] This document describes systems and methods for controlling a robot through teleoperation. In at least one embodiment, the system estimates the pose of a human hand and then guides the robot to a corresponding pose. In one example, when a human operator performs an action with their hand, the action is captured by a depth camera, and the system uses the data from the depth camera to generate a point cloud. The point cloud is processed to determine the pose of the hand. The pose of the hand identifies the position of the fingertips and the approximation of the joint angles and bones in the hand. The system then converts the pose of the hand into a corresponding pose of the robot hand. In some examples, the system corrects for differences in the size of the robot hand and the difference in the number of fingers between the human hand and the robot hand. In some examples, the pose of the human hand can be converted into a robot hand with a larger or smaller number of fingers. In some examples, the pose of the human hand can be converted into the pose of an excavator, an industrial robot, or a vehicle. For example, a human can imitate the shape of a claw or bucket on a bulldozer, and the system can convert the pose of the hand into a corresponding pose of the claw or bucket, thereby providing intuitive control of the machine. The human driver can view the robot directly or remotely through a video display and can guide the robot to perform tasks by replicating the requested movements in real time.
[0058] In at least one embodiment, teleoperation offers the possibility of endowing a robotic system with complex reasoning capabilities, intuition, and creativity to perform tasks. At least one example described herein provides a low-cost vision-based teleoperation system that allows full control of an entire 23 DoA robotic system by observing an exposed human hand. Some examples enable operators to perform a variety of complex manipulation tasks, beyond simple pick and place operations. At least one embodiment allows for the collection of high-dimensional, multimodal, state-action data that can be used in the future to learn sensorimotor strategies for challenging manipulation tasks. The system performance of at least one embodiment is measured by speed and reliability metrics between two human demonstrators on various tasks. In various embodiments, the system can be composed of as shown in Figures 15 to Fig.43 The invention may be implemented by one or more systems described / depicted in the specification.
[0059] Various embodiments can be applied to search and rescue, space, medicine, prosthetics, and applied machine learning fields. In at least one embodiment, teleoperation allows robotic systems to perform complex tasks using human cognition, creativity, and responsiveness through a human-machine interface ("HMI"). At least one embodiment relies on a combination of tactile feedback and improved human skeleton and finger tracking. At least one embodiment provides a low-cost, markerless, glove-free teleoperation solution that leverages innovations in machine vision, optimization, motion generation, and GPU computing. At least one embodiment retains the ability to capture and deliver fine dexterous manipulation to drive advanced actuated robotic systems for solving a wide variety of grasping and manipulation tasks. In one example, four Intel RealSense depth cameras and two NVIDIA GPUs are combined with deep learning and nonlinear optimization to produce a teleoperation system with minimal footprint. Despite the lack of tactile feedback, the example of the system is highly functional and efficient through human cognition. In at least one embodiment, this result confirms human gaze research, which shows that humans learned to use vision to plan, control, and predict the state of hand movements before precise hand control. In some examples, the depth camera can be a radar-based (RADAR) or laser radar (LIDAR)-based imaging system, or a medical imaging system, such as a magnetic resonance imager or an X-ray imager.
[0060] In various examples, the teleoperation system exploits the human ability to plan, move, and predict the outcomes of their physical actions using vision alone, which is sufficient to solve various tasks. Various embodiments have one or more of the following advantages listed: a markerless, gloveless, and fully vision-based teleoperation system that deftly expresses a highly actuated robotic arm system with direct imitation, a novel cost function and projection scheme for relocating human hand joint kinematics to robotic hand joints, thereby maintaining the feasibility of hand dexterity and precision grasping in the presence of hand joint tracking errors, demonstrations of the teleoperation system on various tasks, particularly those involving fine manipulation and dexterity, and system evaluations with two trained human demonstrators (also referred to as drivers) showing that high task success rates can be achieved despite the lack of tactile feedback.
[0061] In various embodiments, the developed system is capable of such dexterous robotic manipulation using multi-camera depth views of a bare human hand. In some examples, the system can be a glove-free and fully vision-based teleoperation system that dexterously interfaces with a highly actuated robotic arm system through direct imitation. The system can also demonstrate a range of tasks, particularly those involving fine manipulation and dexterity (e.g., extracting a banknote from a wallet and picking up two cubes with four fingers at the same time, such as Figure 1 shown).
[0062] Figure 1 Examples of teleoperation across various tasks in accordance with at least one embodiment are shown. In one example, the robotic gripper 104 grasps a cylinder using a grasping gesture based on the human hand 102. In another example, the robotic gripper 108 grasps a cube using a grasping gesture based on the human hand 106. In another example, the gripper 112 grasps a cup using a grasping gesture based on the human hand 110. In another example, the robotic gripper 116 grasps a wallet using a grasping gesture based on the human hand 114.
[0063] A teleoperation setup can include a robotic system and an adjacent human driver arena, such as Figure 2 shown. Figure 2 An example of a robot with tactile sensors according to at least one embodiment is shown. In at least one embodiment, a robot 202 has a robot gripper 204 for grasping an object. In at least one embodiment, a set of cameras 206, 208, 210, and 212 are used to observe the workspace of the robot 202. In at least one embodiment, the gripper 204 includes a set of tactile sensors 216, 218, 220, and 222 that provide sensory information to a control computer system. In at least one embodiment, the tactile sensors can be covered with a friction material to enhance and / or improve the robot's ability to grasp an object.
[0064] In some embodiments, Figure 2As shown, the robotic system can be a KUKA LBR iiwa7 R800 series arm with a Wonik Robotics Allegro hand, which is equipped with four SynTouch BioTac tactile sensors on the fingertips and 3M TB641 gripping tape on the inner surface of the phalange and palm, where the rubber surface of the BioTac sensors and the 3M tape may improve the friction of the hand, and the BioTacs themselves can produce 23 signals that can then be used to learn sensorimotor control from demonstrations. The human arena can be a black cloth table surrounded by four calibrated and time-synchronized cameras, such as Intel RealSense RGB 3D cameras, which can be spatially arranged to cover a workspace of 80cm×55cm×38cm. In some examples, since teleoperation is entirely based on human vision and spatial reasoning, the camera can be directly adjacent to the robot to improve line of sight and visual proximity. It should be noted that Figure 2 These are intended to be illustrative examples, and in various embodiments, the system may include any robotic system utilizing any robotic components (e.g., various types of robotic arms, hands, tactile sensors, grasping handles, other sensors, cameras, and / or variations thereof) in any suitable environment.
[0065] In order to produce a natural feeling teleoperation system, a mimetic paradigm may be employed. Exposed human hand motion (posture and finger configurations) may be constantly observed and measured by a visual perception module. The human hand motion may then be communicated to the robotic system in an apparent replicated motion. The approach may enable a human driver to curl and arrange their fingers, form grasps, redirect and translate their hand, and the robotic system to follow in a similar manner. In at least one embodiment, the system relies heavily on Dense Articulated Real-Time Tracking ("DART"), which may form the backbone for tracking the poses and joint angles of the human hand. In one embodiment, the system architecture and components are connected in Figure 3 Described in.
[0066] Figure 3An example of a system for real-time tracking of a human hand and controlling a robot to perform corresponding motions according to at least one embodiment is shown. In at least one embodiment, the system operates using three threads, which are independent processes running on one or more processors of a computer system. In at least one embodiment, the learning thread uses a fused input point cloud from four cameras in the studio to provide hand pose and joint angle priors. In at least one embodiment, the tracking thread runs DART for prior hand tracking and kinematic retargeting required to map the human hand configuration to the allegro hand. In at least one embodiment, the control thread runs a Riemannian motion strategy to provide target joint commands to KUKA and allegro hands given hand poses and joint angles.
[0067] In at least one embodiment, one or more images of a hand are obtained from an RGB depth ("RGB-D") camera 302. The images are processed by pointNet: stage 1 304, pointNet: stage 2 306, and joint network 308 to generate a hand pose for the hand in the image. In at least one embodiment, an articulated hand model 310 and hand pose are processed using DART 312 and kinematic relocalization 314 to generate a corresponding hand pose for a robotic gripper. In at least one embodiment, a control thread applies a Riemannian motion strategy 318 to the gripper hand pose, and the resulting information is used to control the robot 320.
[0068] Figure 3 An embodiment is shown that includes the following components: 1) DART for hand tracking; 2) Deep neural network for human hand state estimation and enhancement of DART; 3) Human hand state refinement with DART and conversion to Allegro hand state via nonlinear optimization, and 4) Motion generation and control via Riemannian motion policy (RMP) and torque-level impedance controller. Figure 3 In one embodiment shown in FIG. 1 , the above components are connected in a daisy chain. In at least one embodiment, the system generates a total waiting time of about one second.
[0069] In at least one embodiment, DART is used for continuous pose and joint angle tracking of human hands. In at least one embodiment, DART uses an articulated model of a hand registered to an input point cloud. A human hand model can be obtained and converted into a single mesh model. Using computer-aided design ("CAD") software, the fingers of the mesh model can be separated into their respective proximal, intermediate, and distal links and re-exported as separate meshes along with an associated extensible markup language ("XML") file describing their kinematic arrangement. In general, a human hand model may have 20 rotational joints: four joints per finger, one abduction joint and three flexion joints.
[0070] In at least one embodiment, DART is a model-based tracker that relies on nonlinear optimization and initialization (e.g., from a previous frame or an initial guess). In some examples, if this initialization is not within the convergence range, the tracker may fail to converge to the correct solution. In various embodiments, when tracking a human hand model with point cloud data, the hand model often captures false local minima, resulting in tracking failure every few minutes. Therefore, to reliably track human hands over long periods of time (which is useful for teleoperation), it may be necessary to have reliable hand pose priors, clean hand segmentation, and multi-view camera studios to prevent the hand model from capturing unexpected local minima. In various embodiments, one method for generating hand pose priors is to train a neural network on a large dataset of human hand poses given camera images.
[0071] Figure 4 An example of a colored glove for obtaining hand poses and segmentation is shown. In at least one embodiment, the glove 402 includes five fingers 404, 406, 408, 410, and 412, each of which is colored with a different color of fabric. In at least one embodiment, unique colors are printed so that annotation generation is trivial for OpenCV color thresholding. In at least one embodiment, the color on the back of the palm 414 uniquely determines the pose of the hand.
[0072] In at least one embodiment, a fabric glove having colored spots (such as Figure 4As shown) is used as an effective solution to obtain hand pose priors using deep neural networks. In at least one embodiment, data collection is performed in two stages. In at least one embodiment, in the first stage, the user wears gloves to obtain hand pose priors for DART to be able to robustly track human hands. In at least one embodiment, this process will generate hand pose and joint angle annotations of the original depth map for the RGB-D camera in the second stage. In at least one embodiment, the second stage uses these annotations and operates on the original point cloud based on the corresponding depth map, and eliminates the need for the user to wear gloves.
[0073] In at least one embodiment, colored gloves are used for hand tracking. In at least one embodiment, the gloves have colored spots at the fingertips and three spots on the back of the palm. In at least one embodiment, hand tracking includes both hand pose and joint angles of the fingers. In at least one embodiment, the user moves their hands onto a table in a multi-camera studio with four Intel RealSense D415 RGB-D cameras pointing downward at the table. In at least one embodiment, the problem of hand pose estimation with gloves is proposed through key point positioning. In at least one embodiment, ResNet-50 with spatial softmax is used to regress from RGB images to the 2D position of the center of the colored spots on the gloves, called GloveNet. In at least one embodiment, the colored spots on the fingertips are also regressed, but are found to be unhelpful for the final whole hand tracking, and the prediction of the spots on the back of the palm is used for hand pose estimation.
[0074] In at least one embodiment, the hand pose can be estimated by three unique key points, as indicated by three different colored spots at the back of the palm of the glove. In at least one embodiment, in order to obtain annotations for the centers of the spots, HSV thresholding in OpenCV is used to generate segmentations and calculate the centroids of the colored spots of these segmentations. In at least one embodiment, to assist in segmentation for high-quality annotation, the user wears a black glove with colored spots and moves the hand over a table also covered with a black cloth. In at least one embodiment, the hand pose can be obtained by the predicted 2D positions of the spots from all four cameras: the 2D key points are converted to their corresponding 3D positions using the depth values, resulting in a total of four 3D predictions for each spot from four cameras. In at least one embodiment, these 3D positions are filtered and smoothed in time to obtain the hand pose. In at least one embodiment, the hand segmentation is also obtained by removing 3D points that fall outside the hand boundary volume. In at least one embodiment, the dimension of this volume is heuristically obtained based on the hand pose obtained from the neural network prediction. Crucially, in at least one embodiment, DART now optimizes only on segmented hand points to prevent the hand model from slipping off points on the arm, which is often seen when using a full point cloud. In at least one embodiment, DART does not use RGB images - the glove only provides pose priors and assisted hand segmentation - so the result of DART with hand pose priors and segmentation in the first stage is to generate annotations for use with the camera captured raw point cloud in the second stage that can be operated on a bare human hand.
[0075] In at least one embodiment, in the second stage, it is expected that the user will not need to wear gloves for any remote operation in the future. In at least one embodiment, while the first stage operates on the RGB image, the second stage operates directly on the fused point cloud of the bare human hand, which is obtained by back-projecting the four depth maps from the external calibration camera into the global reference frame. In at least one embodiment, the annotations of this stage come from the data generated in the first stage. In at least one embodiment, since the camera also provides synchronized depth images, the tracking results of the first stage can provide annotations of the point cloud.
[0076] In at least one embodiment, the fused point cloud contains both points on the table and the human body and arms, so the hand must be located first. In at least one embodiment, the points on the table are removed by fitting a plane, and the remaining points (including the arm and the human body) are fed into an architecture that locates the hand and provides the hand posture. In at least one embodiment, the network estimates the hand posture by regressing the 3D position of the specified key points on the hand based on voting. In at least one embodiment, it is trained to predict the 3D coordinates of 23 key points specified on the hand - 4 joint key points on each of the 2 5 fingers and 3 key points on the back of the palm - for hand posture estimation. In at least one embodiment, the loss function is a standard Euclidean loss between the predicted and ground truth key points and a voting loss. In at least one embodiment, an auxiliary segmentation loss is also added to obtain hand segmentation. In at least one embodiment, for efficiency reasons, any input point cloud of size N×3 is uniformly subsampled to a fixed size of 8192×3 before being fed to the network.
[0077] In at least one embodiment, although reasonable hand pose estimation and segmentation are achieved, it is difficult to obtain high-quality predictions for the 20 joint keypoints on the fingers using this network. In at least one embodiment, the uniform subsampling used at the input means that the points on the fingers are not densely sampled, and therefore a second stage of refinement is required, which resamples the points on the hand from the original raw point cloud given the pose and segmentation of the first stage. In at least one embodiment, Figure 5 The entire network architecture is shown. In at least one embodiment, the second stage is trained only on a loss function related to keypoints, and no segmentation is required. In at least one embodiment, it uses points sampled on the hand instead and accurately predicts 23 keypoints. In at least one embodiment, additional randomization is added to the hand poses of the second stage in order to make any inaccuracies from the hand poses of the first stage robust. In at least one embodiment, Figure 7 Shows how the second stage refinement improves the system. In at least one embodiment, by running DART using the priors of the glove, the two stages of the network are trained on 100K point clouds collected in 7 to 8 hours for a total of 30 to 45 minutes per batch. In at least one embodiment, they together provide annotations of key points, joint angles, and segmentation. On a single NVIDIA TitanXp GPU, training takes a total of 15 hours.
[0078] In at least one embodiment, while keypoints are a natural representation of the Euclidean space used in the PointNet++ architecture, most articulated models use joints as a natural parameterization. In at least one embodiment, it is desirable to have an output in joint space that can be used as joints before DART. In at least one embodiment, a third neural network is trained that maps the 23 keypoint locations predicted by the PointNet++ inspired architecture to the corresponding joint angles. In at least one embodiment, this neural network, called JointNet, is a two-layer fully connected network that accepts an input of size 23×3 and predicts a 20-dimensional vector of joint angles for the finger.
[0079] In at least one embodiment, a neural network is trained on data collected within the constraints of multiple human hand studio workloads to ensure accurate pose fit for the application and enable DART's sensible priors. Qualitatively, in at least one embodiment, the hand tracker works well for hands that are geometrically close to the DART human hand model. In at least one embodiment, the average keypoint error on a validation set of seven thousand images of different hand poses and finger configurations is 9.7mm, and the joint error is 1.33 degrees per joint.
[0080] exist Figure 5 In , the PointNet++ inspired architecture operates in two stages. The first stage segments the hand (shown in pink) and provides a rough hand pose. The second stage optimizes the hand pose based on the hand segmentation and pose in the first stage. The loss functions include segmentation loss, Euclidean loss between predicted keypoints and ground truth keypoints, and voting loss used in
[11] . Since the second stage optimizes the keypoints, there is no need for segmentation loss. The collection abstraction takes an input of size N x (d + C) and outputs N'x (d + C4), while the feature propagation layer takes an input of size N'x (d + C') and outputs a tensor of size N x (d + C3). These two together form the backbone of the network. MLP is used to map the embeddings of the PointNet++ backbone to the corresponding desired output. More details about the network are provided in the Appendix.
[0081] exist Figure 6 In one embodiment, the input point cloud has points from a table as well as a human body and an arm. In at least one embodiment, a plane is adapted to remove points on the table, and the remaining points are input to a first stage of the network, which recovers the hand pose. In at least one embodiment, a second stage improves the pose and provides more accurate results. In at least one embodiment, the hand image on the right shows points from Figure 5 Results of Phase 1 and Phase 2.
[0082] In at least one embodiment, data collection is initiated using DART and no hand pose prior is required, thereby providing seeds for the training of the initial network to generate hand priors. Subsequently, DART and the latest trained neural network may generate more and more data. In at least one embodiment, the network is permanently updated with the latest data set to generate DART priors better and better, which can ultimately expand the range in which DART can operate without failure. In some examples, the hand pose neural network can be a point network-based architecture that operates directly on fused point cloud data, which is obtained by back-projecting the depth image from the external calibrated depth camera into a single global reference frame with annotations provided by DART. In various embodiments, since the fused point cloud contains both points on the table and human bodies and arms, the hand must be located first. Points can be removed from the table by installing a plane and feeding the remaining points containing arms and human bodies into the point network, which can locate the hand and provide hand poses. The point network can be based on a voting-based regression scheme that estimates the hand pose through the 3D position of the specified key points on the hand, which may be associated with the spatial softmax commonly used in 2D key point positioning. In various embodiments, a point net may be trained to predict 3D coordinates of 23 key points specified on the hand - four joint key points for each of the five fingers and three key points on the back of the hand - for hand pose estimation. The loss function may be the Euclidean distance between the predicted key points and the ground truth key points. In addition, an auxiliary segmentation loss may be included to obtain hand segmentation. For efficiency reasons, any input point cloud may be uniformly subsampled to a fixed 8192×3 size before being fed into the point net. In at least one embodiment, although reasonable hand pose estimation and segmentation may be achieved, high-quality predictions for the 20 joint key points on the fingers may not have been achieved. In at least one embodiment, the uniform subsampling used at the input may indicate that the points on the fingers are not densely sampled, so a second stage refinement may be required, which resamples the points on the hand from the original raw point cloud given the pose and segmentation of the first stage. In at least one embodiment, the second stage may be trained on the same loss function, but instead the 23 key points may be accurately predicted using only the sampled points on the hand. In at least one embodiment, in order to make any inaccuracies in the hand pose from the first stage robust, random perturbations can be added to the hand pose in the second stage. Figure 4Depicted is a second stage of refinement within a system according to at least one embodiment. In at least one embodiment, two stages of training a pointnet can be performed on 100K point clouds collected in 7-8 hours total at 30 to 45 minutes per batch by running DART to provide annotations for keypoints, joint angles, and segmentation. In at least one embodiment, in order to provide joint angle priors for the fingers, a third neural network can be trained that maps the keypoint locations predicted by the pointnet to the corresponding joint angles. The neural network, which can be referred to as a jointnet, can be a two-layer fully connected network that accepts an input size of 23×3 and predicts a 20-dimensional vector of finger joint angles.
[0083] In at least one embodiment, a neural network is trained on data collected across multiple human hands to ensure that the accurate poses of the system fit and enable DART's sensible priors. In some embodiments, the hand tracker may work better for hands that are geometrically close to DART's model of a human hand.
[0084] In at least one embodiment, teleoperation of a robotic hand that is kinematically different from a human hand may require a module that can map observed human hand joints to robotic hand joints, which in some embodiments may be referred to as Allegro hand joints. Figure 7 An example of a human hand pose 702 and a robotic gripper 704 performing the corresponding pose according to at least one embodiment is shown. There may be many different approaches to kinematic retargeting. For example, in at least one embodiment, a module may be used to match the position from the palm to the fingertips and the middle joints, as well as the directionality of the proximal phalanges and the distal phalanges of the thumb. In at least one embodiment, an optimized mapping may be used to label a human depth image so that a deep network can ingest the depth image and output joint angles. In at least one embodiment, motion retargeting is also utilized. For example, a deep recurrent neural network may be trained in an unsupervised manner to retarget motion between bones. In at least one embodiment, the system utilizes a fingertip task space metric because the distal region may have the highest priority in grasping and manipulation tasks, as measured by its contact rate, degree of innervation, and enhanced controllability for fine in-hand manipulation skills. In at least one embodiment, the joint axis and position between the two hands may be different, and therefore, a metric that directly compares the joint angles between the two hands cannot be used. In at least one embodiment, in order to capture and optimize the positioning of the fingertips, the distance and direction between the fingertips are considered. Specifically, in at least one embodiment, the cost function for kinematic relocalization may be selected as:
[0085]
[0086] where q h,q a are the angles of the human hand model and the Allegro hand, r i ∈R 3 It can be a vector pointing from the origin of one coordinate system to the origin of another coordinate system, expressed in the origin coordinate system (see Figure 7 ). Further, in at least one embodiment, d i =||r i (q h )|| and The conversion weight function s(d i ) can be defined as:
[0087]
[0088] Where S1 can be a vector originating from a main finger (index finger, middle finger, ring finger) and pointing to the thumb, and S2 can be a vector between two main fingers when both main fingers have an associated vector ∈ S1 (e.g., both main fingers are projected with the thumb). In at least one embodiment, the distance function f(d i )∈R is defined as:
[0089]
[0090] Among them, β=1.6 can be a scaling factor, η1=1×10-4m can be the distance between the main finger and the thumb, and η2=3×10-2m can be the minimum spacing between the two main fingers when both main fingers are projected with the thumb.
[0091]
[0092] In at least one embodiment, these projections ensure close contact between the primary finger and the thumb without causing primary finger collision in a precision grasp. In at least one embodiment, this can be particularly useful when visual finger tracking inaccuracies occur. In some examples, the vector r i Not only can the distance and direction from one task space to another be captured, but their expression in local coordinates can further contain information about the coordinate system and thus how the fingertips are oriented relative to each other. Thus, in at least one embodiment, the coordinate system of a human hand model can have an equivalent coordinate system on the Allegro model that is similarly oriented and located. Figure 7 The vectors shown in may form a minimal set that produces the desired relocation behavior. In some embodiments, γ = 2.5 × 10 -3can be a weight to adjust the Allegro angle to zero (equal to a fully open hand). In at least one embodiment, this term helps reduce redundancy in the solution and ensures that the hand does not enter strange minima that may be difficult to recover from (e.g., fingers embedding themselves into the palm). Figure 8 Various mappings from human hands 602-617 to Allegro robot hands 618-633 generated by kinematic repositioning are shown in FIG. Figure 8 A collection of human hand poses 802-817 and corresponding poses of the robotic gripper 818-833 are shown.
[0093] In at least one embodiment, the above cost function is minimized in real time using a sequential least squares quadratic programming ("SLSQP") algorithm. In at least one embodiment, the routine starts with the Allegro joint angles set to zero, and each solution thereafter can start from the previous solution. In at least one embodiment, a forward kinematic calculation is found between the human hand model and the various coordinate systems of the Allegro hand. In at least one embodiment, a first-order low-pass filter is applied to the raw repositioned joint angles to remove high-frequency noise that occurs when tracking a human hand and to smooth discrete events, such as step response changes in the repositioned angles caused by the projection algorithm.
[0094] In at least one embodiment, the Riemannian Motion Policy ("RMP") is a real-time motion generation method that computes acceleration fields from potential function gradients and corresponding Riemannian metrics. In at least one embodiment, the RMP combines the generation of multi-priority Cartesian trajectories and collision avoidance behaviors in a cohesive framework. In at least one embodiment, they are used to control the Cartesian pose of the Allegro palm given an observed human hand pose while avoiding arm-palm collisions with the table or operator using collision planes. In at least one embodiment, given these goals, the RMP generates target arm joint trajectories and is sent to the torque-level impedance controller of the arm at a frequency of 200 Hz. In at least one embodiment, the kinematically repositioned Allegro angles are sent to the torque-level joint controller at 30 Hz. In at least one embodiment, one final calibration detail involves recording the human hand pose motion to the robotic system. In at least one embodiment, this is done by finding a transformation from the robot coordinate system to the camera coordinate system. In at least one embodiment, the transformation is calculated using an initial view of the human hand and an initial pose assumed by the robotic hand. In at least one embodiment, to facilitate the driver's spatial reasoning, the driver's desired initial hand pose is a fully open hand with the palm parallel to the table and the fingers pointing forward. In at least one embodiment, the robot's assumed initial pose mimics this pose. In at least one embodiment, in this way, the robot moves in the same direction as the driver's hand, thereby enabling intuitive spatial reasoning.
[0095] Overall, the system can be reliably used to solve a variety of tasks across a range of difficulty. In some examples, the ability to solve these tasks suggests that the system may have the flexibility to perform precision and force grasping, multi-finger grasping and non-grasp manipulation, intra-hand finger gaiting, and intra-hand manipulation compounding (e.g., grasping with two fingers while manipulating with the remaining fingers).
[0096] Fig. 9 An example of a task according to at least one embodiment is shown in which the robot is controlled to remove paper from a folded wallet. In at least one embodiment, the driver must first open the wallet and move it to a specific advantageous position in order to remove the banknotes. In at least one embodiment, the hand is able to hold the paper by squeezing the fingers together.
[0097] Fig.10 An example of a task according to at least one embodiment is shown in which the robot is controlled to remove an object from a drawer. In at least one embodiment, this is a somewhat long-range task and requires dexterity in opening the drawer and holding the tea bag.
[0098] Fig.11 An example of a task according to at least one embodiment is shown in which a robot is controlled to open a jar. In at least one embodiment, the task requires rotating the lid multiple times to open the lid while maintaining contact.
[0099] The following table describes examples of 15 different tasks of varying complexity, ranging from classic pick and place to multi-step long reach tasks. In at least one embodiment, each of these tasks is performed in five (5) consecutive trials to avoid preferential selection, and the success rate is reported accordingly. In at least one embodiment, if the object falls out of the workspace volume, the trial is considered a failure. The last column represents the skill required for teleoperation while changing the state of the hand over time.
[0100]
[0101]
[0102] In one experiment, drivers went through a warm-up training phase where they attempted to solve the tasks in three to five (3-5) non-consecutive attempts. Subsequently, each driver performed five consecutive test trials for each task to avoid preferentially choosing outcomes, and the drivers were scored based on their performance. Performance metrics for these tasks included mean completion time (“CT”) and success rate, which capture the speed and reliability of the teleoperation system. The system was tested with two drivers, Fig.12 and Fig.13 Its performance indicators are reported in .
[0103] In at least one embodiment, the system can be reliably used to solve a variety of tasks with a certain degree of difficulty. In at least one embodiment, the difference in average CT across tasks indicates the influence of task complexity and field of view. In at least one embodiment, the difference in average CT between drivers for each task indicates that there is indeed a dependence on driver behavior. In at least one embodiment, the influence includes fatigue, training, creativity, and motivation. In at least one embodiment, the ability to solve these tasks shows that the teleoperation system has flexibility and can exhibit precision and force grasping, multi-finger holding and non-holding operations, in-hand finger gaits, and in-hand manipulation complexes (e.g., grasping with two fingers while manipulating with the remaining fingers). Note that in at least one embodiment, certain tasks, such as container and wallet tasks, take particularly long to perform teleoperation because they are multi-stage tasks. On the other hand, tasks that require picking up small cubes may be particularly challenging because the behavior of releasing the grasp of these objects using the projection scheme used in kinematic relocalization may be unpredictable. However, in various embodiments, this rich demonstration of dexterous skills transferred only by observation of bare human hands provides empirical evidence that the methods and architectures of this article work well. In at least one embodiment, an important aspect worth emphasizing is that while the fully teleoperation process for a particular task may not be perfect (e.g., a driver may lose an object in their hand, except for retrieving it again to complete the task), the data collected is still equally valuable in helping the robot learn to recover from failures. In at least one embodiment, this data can be viewed as play data useful for learning teleplanning. In at least one embodiment, discrete events such as intermittent finger-object contact can be observed in the tactile signals. In at least one embodiment, fluctuations in these state-action signals reveal rich, complex behaviors induced in the system by this specific setup. In at least one embodiment, force estimates can also be obtained. In at least one embodiment, this data can now be generated as needed for a specific task, with the hope that functional sensorimotor patterns can be collected and imparted to the system in an autonomous setting.
[0104] In at least one embodiment, the system can enable a highly actuated arm system to find motor solutions to a variety of manipulation tasks by translating observed motion of a human hand and fingers into motion of a robotic arm and fingers. In at least one embodiment, several tasks, such as extracting paper money from a wallet and opening a cardboard box within a plastic container, can be so complex that it can be intractable to manually design robotic solutions or directly apply learning methods. Solving these and other tasks with a specific robot can allow these solutions to be generated as needed for many demonstrations. Furthermore, creating these solutions on the system itself can allow for reading, accessing, and storing various tactile signals in the robot's fingertips, various commands and measured joint position and velocity signals issued through the hand and arm, various torque commands throughout the system, and all camera feeds associated with the system. In at least one embodiment, this rich source of data, along with demonstrations of the tasks, can be used to solve complex, multi-stage, long-range tasks.
[0105] In at least one embodiment, the technology described herein provides a viable, low-cost solution for remotely operating advanced DoA robotic systems. In at least one embodiment, the driver's observable workload can be expanded to allow tasks covering greater distances with better RGB-D cameras. In at least one embodiment, the projection scheme in kinematic relocation can successfully manipulate small objects, but interferes with finger gesture tasks and timely releases the grasp on small objects. In at least one embodiment, this problem can be completely solved by hand tracking, which can accurately resolve situations where human fingertips are in contact. In at least one embodiment, human hand tracking is further improved by enhancing the robustness of the size and shape of the driver's hand. The lack of tactile feedback may make precise tasks difficult to complete. To compensate, in at least one embodiment, the establishment of autonomous control features relieves some of the control burden on the driver. In at least one embodiment, system latency is reduced and the responsiveness of the RMP motion generator is adjusted for faster reactions. In at least one embodiment, high-precision tasks such as inserting into a slip-in mating shaft hole pose challenges. In at least one embodiment, the difficulty of completing tasks is greatly reduced by improving hand tracking performance, automatic precision grasping control of assembled objects, and improving targeting of small parts and insertion locations.
[0106] In at least one embodiment, the input to the system is a point cloud of a human presenter's hand. In at least one embodiment, a neural network, such as one based on a PointNet++ neural network, maps the point cloud to an estimate of the pose of the hand relative to the camera and the joint angles of the hand. In at least one embodiment, these estimates, along with the articulated hand model and the initial point cloud, are then provided to DART, which performs tracking by refining the neural network estimates. Finally, in one embodiment, to perform kinematic relocalization, an optimization problem of finding Allegro hand joint angles that results in a fingertip pose close to that of a human hand is solved.
[0107] In at least one embodiment, gloved hand tracking is accomplished through keypoint detection with a neural network. In at least one embodiment, a user wears a black glove with colored spots and moves a hand on a table covered with a black cloth, i.e., the scene is equipped in a way that facilitates hand tracking. In at least one embodiment, since the colors are distinct and most of the background is black, OpenCV HSV color thresholding is used to generate annotations for these colored spots. In at least one embodiment, the HSV threshold varies with the time of day, so data is collected across days to build a large dataset of 50K images. At least one embodiment uses a neural network to fit this data, which makes the entire process robust to lighting changes and poor annotations, and avoids the burden of finding appropriate thresholds at test time for the user. In at least one embodiment, the network, referred to as GloveNet, uses a four (4) layer ResNet-50 with a spatial softmax at the end to regress to the 2D position of the fingertips. At least one embodiment uses an anti-aliased ResNet-50 for accurate and consistent predictions. The various stages of the pipeline are described below.
[0108] At least one embodiment uses images while training and applies various data augmentations. At least one embodiment focuses on a hand moving on a table. For each training image, at least one embodiment sets the color values of all pixels whose depth exceeds a threshold to zero. While training, at least one embodiment either fills these zeroed-out values with whatever color is on the glove, or leaves the image unchanged based on a random number generator. At least one embodiment also replaces these zeroed-out values with random noise based on some probability. In at least one embodiment, the network learns to ignore colors in the background that look similar to the colors on the glove.
[0109] At least one embodiment uses test time augmentation ("TTA") to obtain a confidence for each predicted fingertip position. At least one embodiment generates new images by randomly shifting the initial images and passing them all through the network in a batch. Then, at least one embodiment subtracts the applied random shift from the predicted position of each image to bring it into the reference frame of the initial image and averages them to obtain a mean and standard deviation. At least one embodiment uses the standard deviation as a confidence measure. At least one embodiment also uses it to clean up noisy ground truth data.
[0110] At test time, at least one embodiment generates four randomly shifted images for each camera image, and a combination of 16 images total from all four cameras. At least one embodiment computes predicted fingertip positions and their confidence measures, and discards those with low confidence. For the confident ones, at least one embodiment computes the Euclidean distance di between them and the previous fingertip position, and converts them to probabilities pi via softmax:
[0111]
[0112] At least one embodiment pushes the predicted positions with probability pi>0.2 in a rolling buffer and calculates the geometric median to obtain the final predicted position of the 3D fingertip. Hyperparameter α=500.
[0113]
[0114] In at least one embodiment, the prediction of blobs on the back of the palm is stable, but the prediction of blobs on the fingertips tends to be quite inconsistent over time. In at least one embodiment, because the annotations are generated by computing the center of mass ("CoM") of the segmented blobs using HSV color thresholding in OpenCV, the CoM of the fingertips is somewhat inconsistent across frames due to occlusion. Therefore, at least one embodiment relies solely on the hand pose estimate provided by the blobs on the back of the palm.
[0115]
[0116]
[0117] In at least one embodiment, the architecture consists of four (4) set abstraction layers SAi and four (4) feature propagation layers FPj. In at least one embodiment, the set abstraction layers subsample points, while the feature propagation layers interpolate features at a higher resolution.
[0118] In at least one embodiment, a set of abstraction levels takes as input N×(d+C) N points with d-dim coordinates and C-dim point features. At least one embodiment outputs a tensor N'×(d+C') where the N' sampled points with d-dim coordinates and new C'-dim feature vectors summarize the local context.
[0119] In at least one embodiment, at the feature propagation level, point features are propagated from N i ×(d+C) points propagate to N i-1 points, where N i-1 and N i (N i ≤N i-1 ) is the point set size of the input and output of the set abstraction level i. In at least one embodiment, this is done by i-1 Interpolate the coordinates of the point N i In at least one embodiment, then N i-1 The interpolated features at the points are concatenated with the point features from the skip links at the set abstraction level.
[0120] In at least one embodiment, the backbone of hand pose estimation is an architecture that returns an embedding f of size N × C. Different MLPs are used to map this embedding to corresponding desired outputs.
[0121] z=mlp_layer1(f)
[0122] δ xyz =voting(z)
[0123] cords=input xyz +δ xyz
[0124] JointMask xyz =sigmoid(seg(z))
[0125] HandSeg xyz =cls(z)
[0126] HandSegProb xyz =sigmoid(HandSeg xyz )
[0127] weights = HandSegProb xyz JointMask xyz
[0128]
[0129]
[0130] In at least one embodiment, the voting layer obtains the relative position δ of the 23 key points relative to each point. xyz The seg layer obtains a mask for each keypoint, i.e., a neighborhood of points that contribute to the keypoint location. In at least one embodiment, the HandSeg layer segments the hand from the background. At least one embodiment uses Euclidean loss for voting and keypoints while using Sigmoid cross entropy for HandSeg.
[0131] In at least one embodiment, the 23×3 keypoint locations are flattened into a 69-dimensional vector before being fed to the JointNet which returns a 20-dimensional vector of joint angles. In at least one embodiment, this particular architecture proved to be an effective compromise between accuracy and efficiency among all the hand-designed architectures tried.
[0132]
[0133] For one embodiment, completion times for five (5) consecutive trials for each task are shown. In at least one embodiment, failed trials are indicated by F. In at least one embodiment, for most trials, the driver only uses three to four (3-4) training paths for warm-up. In at least one embodiment, these five (5) consecutive trials can both test the ability to perform a specific task without fatigue and make the tracking work trouble-free. In at least one embodiment, performance can vary depending on the driver and how he or she feels on a given day, but experiments have shown that performance is generally very similar.
[0134]
[0135] In at least one embodiment, relocalization with a neural network produces unsatisfactory results - it does not provide comparable accuracy to online optimization with sequential least squares. In at least one embodiment, the projection threshold used in relocalization may require some tuning when grasping small objects, so training a neural network for new arbitrary tasks becomes cumbersome.
[0136] In at least one embodiment, the hand tracking system relies on a combination of model-based tracking and model-free tracking. In at least one embodiment, model-based tracking systems tend to be more accurate because they perform online optimization based on input observations of a given model. However, in at least one embodiment, since the optimization tends to be highly nonlinear, they also require good initialization to find a reasonable solution. In at least one embodiment, at least one embodiment uses a model-free system that can provide a good initialization. In at least one embodiment, the model-free system is a neural network trained on data generated by the model-based system.
[0137] In at least one embodiment, a model-based tracker such as DART
[27] is used and data is collected in areas where it works reliably, and this is repeated to cover a wide range of poses. In at least one embodiment, the performance of DART can be stochastic: it may sometimes work reliably for the same motion and fail catastrophically at other times due to spurious local minima in the optimization of a given input point cloud. However, in at least one embodiment, if data is collected for scenes where it works reasonably, a neural network can be fit to that data and ensure that it provides a good initialization for DART, thereby preventing it from getting stuck in spurious local minima in the future. In at least one embodiment, this is incumbent on the fact that neural networks can generalize beyond the scope of the training set. In at least one embodiment, this process of data collection and neural network fitting is repeated and improves the performance of DART, allowing tracking to proceed without failure for a long time. In at least one embodiment, a two-stage PointNet++ based architecture is trained on the annotations generated by DART, allowing at least one embodiment to make tracking both robust and accurate by providing a good initialization.
[0138] Fig.14 An example of a processing of a result performed by a computer system to guide a robotic arm to perform a task by simulating the motion of a human hand is shown. In at least one embodiment, the computer system is such Figure 21 to Figure 2 3. In at least one embodiment, the computer system includes a processor and a memory, wherein the memory stores executable instructions, and the executable instructions are executed by the processor to cause the system to execute Fig.14 In at least one embodiment, the processor is a plurality of processors or a dedicated processor, such as in FIG. 15 to FIG. Fig.43 The GPU shown in and described below.
[0139] In at least one embodiment, at box 1402, a computer system obtains an image of a human hand from a depth camera. In various embodiments, the depth camera can be an RGB depth camera, a binocular camera, a radar or laser-based imager, or a medical imaging system (e.g., an MRI, X-ray, computed tomography, or computed axial tomography scanner). In at least one embodiment, at box 1404, the computer system generates a point cloud of the human hand from the image. The point cloud provides three-dimensional data describing the hand from which a pose can be determined. In at least one embodiment, at box 1406, the computer system analyzes the point cloud to determine the joint structure and joint angles of the hand. In various embodiments, this, combined with the position of the hand in space, constitutes the pose of the hand.
[0140] In at least one embodiment, at block 1408, the computer system converts the pose of the human hand into a corresponding pose of the robotic gripper. In at least one embodiment, the robotic gripper may be an articulated robotic hand similar to a human hand. The articulated robotic hand may have fewer or more fingers than a human hand, and each finger of the articulated robotic hand may have one or more articulated segments. In at least one embodiment, the pose of the human hand includes a set of articulated segments and joint angles and the overall position of the human hand, and the pose of the robotic gripper is determined by replicating the joint angles of the human hand pose with the robotic hand. In at least one embodiment, the robotic hand has fewer fingers than a human hand, and the pose associated with a subset of the human fingers is used to determine the corresponding pose of the robotic gripper. In at least one embodiment, the robotic gripper may be larger or smaller than a human hand, and a scaling factor is applied to the pose of the human hand when determining the corresponding pose of the robotic gripper. In at least one embodiment, the human hand pose includes the position of the hand, and the corresponding position of the robotic hand is determined by converting the coordinate system from the coordinate system corresponding to the human driver to the coordinate system of the robot. In some examples, the scaling factor may be applied to the positional aspect of the pose. For example, six inches of movement of a human hand may correspond to six feet of movement by a robotic gripper.
[0141] In at least one embodiment, at box 1410, the computer system determines a set of actions to reposition the robotic gripper from a current position to a corresponding pose determined at box 1408. In at least one embodiment, the system determines a motion path for the robotic hand to change the robotic hand from its current pose to the pose determined at box 1408. In at least one embodiment, these motions are determined according to a Reimannian motion strategy. In at least one embodiment, at box 1412, the computer system causes the robot to perform the set of motions determined at box 1410. In at least one embodiment, as a result, the robotic gripper moves to assume a pose corresponding to a human hand. In various embodiments, using these techniques, the driver is able to intuitively guide the robot's motions through the motions of the driver's hand. In at least one embodiment, no gloves or worn equipment are required.
[0142] Reasoning and training logic
[0143] Fig.15A Inference and / or training logic 1515 is shown for performing reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the inference and / or training logic 815.
[0144] In at least one embodiment, the inference and / or training logic 1515 may include, but is not limited to, code and / or data storage 1501 for storing forward and / or output weights and / or input / output data, and / or other parameters to configure neurons or layers of a neural network that is trained and / or used for inference in aspects of one or more embodiments. In at least one embodiment, the training logic 1515 may include or be coupled to code and / or data storage 1501 to store graphics code or other software to control the timing and / or sequence in which weights and / or other parameter information will be loaded to configure logic including integer and / or floating point units (collectively referred to as arithmetic logic units (ALUs)). In at least one embodiment, code such as graphics code loads weights or other parameter information into a processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, the code and / or data storage 1501 stores weight parameters and / or input / output data for each layer of a neural network that is trained or used in conjunction with one or more embodiments during forward propagation of input / output data and / or weight parameters during inference and / or training using aspects of one or more embodiments. In at least one embodiment, any portion of code and / or data storage 1501 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.
[0145] In at least one embodiment, any portion of code and / or data storage 1501 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, code and / or code and / or data storage 1501 may be cache memory, dynamic random addressable memory ("DRAM"), static random addressable memory ("SRAM"), non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the choice of whether code and / or code and / or data storage 1501 is internal or external to a processor, e.g., composed of DRAM, SRAM, flash memory, or other types of memory, depends on the available on-chip storage, the latency requirements for performing training and / or inference functions, the batch size of data used in inferring and / or training neural networks, or some combination of these factors.
[0146] In at least one embodiment, the inference and / or training logic 1515 may include, but is not limited to, code and / or data storage 1505 to store backward and / or output weights and / or input / output data corresponding to a neural network or layer of a neural network trained and / or used for inference in aspects of one or more embodiments. In at least one embodiment, the code and / or data storage 1505 stores weight parameters and / or input / output data for each layer of a neural network trained or used in conjunction with one or more embodiments during backward propagation of input / output data and / or weight parameters during training and / or inference using aspects of one or more embodiments. In at least one embodiment, the training logic 1515 may include or be coupled to code and / or data storage 1505 to store graphics code or other software to control the timing and / or sequence in which weights and / or other parameter information will be loaded to configure logic including integer and / or floating point units (collectively referred to as arithmetic logic units (ALUs)). In at least one embodiment, code such as graphics code loads weights or other parameter information into a processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, any portion of code and / or data storage 1505 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. In at least one embodiment, any portion of code and / or data storage 1505 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, code and / or data storage 1505 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other memory. In at least one embodiment, the choice of whether code and / or data storage 1505 is internal or external to the processor, for example, whether it is composed of DRAM, SRAM, flash memory, or other storage types, depends on the available storage on chip, the latency requirements for performing training and / or inference functions, the batch size of data used in inferring and / or training neural networks, or some combination of these factors.
[0147] In at least one embodiment, code and / or data storage 1501 and code and / or data storage 1505 may be separate storage structures. In at least one embodiment, code and / or data storage 1501 and code and / or data storage 1505 may be the same storage structure. In at least one embodiment, code and / or data storage 1501 and code and / or data storage 1505 may be partially the same storage structure and partially separate storage structures. In at least one embodiment, any portion of code and / or data storage 1501 and code and / or data storage 1505 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory.
[0148] In at least one embodiment, the inference and / or training logic 1515 may include, but is not limited to, one or more arithmetic logic units (“ALUs”) 1510 including integer and / or floating point units to perform logic and / or arithmetic operations based at least in part on or as directed by training and / or inference code (e.g., graphics code), the results of which may produce activations (e.g., output values from a layer or neuron within a neural network) stored in activation storage 1520 as functions of input / output and / or weight parameter data stored in code and / or data storage 1501 and / or code and / or data storage 1505. In at least one embodiment, the activations stored in activation storage 1520 are generated based on linear algebra and / or matrix-based mathematics performed by ALU 1510 in response to executing instructions or other code, where weight values and / or data 1501 stored in code and / or data storage 1505 are used as operands along with other values (e.g., bias values, gradient information, momentum values, or other parameters or hyperparameters), any or all of which may be stored in code and / or data storage 1505 or code and / or data storage 1501 or other on-chip or off-chip memory.
[0149] In at least one embodiment, one or more ALUs 1510 are included in one or more processors or other hardware logic devices or circuits, while in another embodiment, one or more ALUs 1510 may be external to the processor or other hardware logic device or circuit (e.g., a coprocessor) that uses them. In at least one embodiment, ALUs 1510 may be included within the execution unit of the processor, or otherwise included in a set of ALUs accessible to the execution unit of the processor, which may be within the same processor or distributed between different processors of different types (e.g., central processing unit, graphics processing unit, fixed function unit, etc.). In at least one embodiment, data storage 1501, code and / or data storage 1505, and activation storage 1520 may be on the same processor or other hardware logic device or circuit, while in another embodiment, they may be in different processors or other hardware logic devices or circuits, or in some combination of the same and different processors or other hardware logic devices or circuits. In at least one embodiment, any portion of activation storage 1520 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. Additionally, inference and / or training code may be stored with other code accessible to a processor or other hardware logic or circuitry and may be retrieved and / or processed using the processor's fetch, decode, schedule, execute, exit, and / or other logic circuitry.
[0150] In at least one embodiment, activation storage 1520 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other memory. In at least one embodiment, activation storage 1520 may be completely or partially within or external to one or more processors or other logic circuits. In at least one embodiment, activation storage 1520 is a choice of being internal or external to the processor, for example, or consisting of DRAM, SRAM, flash memory, or some other storage type, depending on the available on-chip storage, the latency requirements for performing training and / or inference functions, the batch size of data used in inferencing and / or training neural networks, or some combination of these factors. In at least one embodiment, Fig.15A The inference and / or training logic 1515 shown in FIG. 1 may be implemented with an application specific integrated circuit (“ASIC”) (e.g., an ASIC from Google). Processing unit from Graphcore TM Inference Processing Unit (IPU) from Intel (e.g., "Lake Crest") processor). In at least one embodiment, Fig.15A The inference and / or training logic 1515 shown may be used in conjunction with central processing unit (“CPU”) hardware, graphics processing unit (“GPU”) hardware, or other hardware such as a field programmable gate array (“FPGA”).
[0151] Fig. 15B Various inference and / or training logic 1515 are shown in accordance with at least one embodiment. In at least one embodiment, inference and / or training logic 1515 may include, but is not limited to, hardware logic where computing resources are dedicated or otherwise dedicated to use in conjunction with weight values or other information corresponding to one or more layers of neurons within a neural network. In at least one embodiment, Fig. 15B The inference and / or training logic 1515 shown in FIG. 1 may be integrated with an application specific integrated circuit (ASIC) (e.g., Google's Processing unit, Graphcore TM Inference Processing Unit (IPU) from Intel (e.g., "Lake Crest") processor). In at least one embodiment, Fig. 15BThe inference and / or training logic 1515 shown may be used in conjunction with central processing unit (CPU) hardware, graphics processing unit (GPU) hardware, or other hardware (e.g., field programmable gate array (FPGA)). In at least one embodiment, the inference and / or training logic 1515 includes, but is not limited to, code and / or data storage 1501 and code and / or data storage 1505, which may be used to store code (e.g., graphics code) weight values and / or other information, including bias values, gradient information, momentum values, and / or other parameter or hyperparameter information. Fig. 15B In at least one embodiment shown in , each of code and / or data storage 1501 and code and / or data storage 1505 is associated with a dedicated computing resource (e.g., computing hardware 1502 and computing hardware 1506), respectively. In at least one embodiment, each of computing hardware 1502 and computing hardware 1506 includes one or more ALUs that perform mathematical functions (e.g., linear algebraic functions) only on the information stored in code and / or data storage 1501 and code and / or data storage 1505, respectively, with the results stored in activation storage 1520.
[0152] In at least one embodiment, each of the code and / or data storage 1501 and 1505 and the corresponding computing hardware 1502 and 1506 corresponds to a different layer of the neural network, thereby providing activation of one "storage / compute pair 1501 / 1502" from the code and / or data storage 1501 and computing hardware 1502 as input to the next "storage / compute pair 1505 / 1506" of the code and / or data storage 1505 and computing hardware 1506 to mirror the conceptual organization of the neural network. In at least one embodiment, each storage / compute pair 1501 / 1502 and 1505 / 1506 can correspond to more than one neural network layer. In at least one embodiment, additional storage / compute pairs (not shown) can be included in the inference and / or training logic 1515 after or in parallel with the storage / compute pairs 1501 / 1502 and 1505 / 1506.
[0153] Neural network training and deployment
[0154] Fig.16The training and deployment of a deep neural network according to at least one embodiment is shown. In at least one embodiment, an untrained neural network 1606 is trained using a training data set 1602. In at least one embodiment, the training framework 1604 is a PyTorch framework, while in other embodiments, the training framework 1604 is Tensorflow, Boost, Caffe, Microsoft Cognitive Toolkit / CNTK, MXNet, Chainer, Keras, Deeplearning4j, or other training frameworks. In at least one embodiment, the training framework 1604 trains the untrained neural network 1606 and enables it to be trained using the processing resources described herein to generate a trained neural network 1608. In at least one embodiment, the weights may be randomly selected or by using a deep belief network. In at least one embodiment, training may be performed in a supervised, partially supervised, or unsupervised manner.
[0155] In at least one embodiment, untrained neural network 1606 is trained using supervised learning, where training data set 1602 includes inputs paired with expected outputs for the inputs, or where training data set 1602 includes inputs with known outputs, and the outputs of neural network 1606 are manually graded. In at least one embodiment, untrained neural network 1606 is trained in a supervised manner to process inputs from training data set 1602 and compare the resulting outputs to a set of expected or expected outputs. In at least one embodiment, errors are then propagated back through untrained neural network 1606. In at least one embodiment, training framework 1604 adjusts the weights that control untrained neural network 1606. In at least one embodiment, training framework 1604 includes tools for monitoring the condition that untrained neural network 1606 is converging toward a model, such as trained neural network 1608, that is suitable for generating correct answers, such as results 1614, based on known input data, such as new data 1612. In at least one embodiment, the training framework 1604 repeatedly trains the untrained neural network 1606 while adjusting the weights to refine the output of the untrained neural network 1606 using a loss function and an adjustment algorithm (e.g., stochastic gradient descent). In at least one embodiment, the training framework 1604 trains the untrained neural network 1606 until the untrained neural network 1606 reaches a desired accuracy. In at least one embodiment, the recurrent neural network 1608 can then be deployed to implement any number of machine learning operations.
[0156] In at least one embodiment, the untrained neural network 1606 is trained using unsupervised learning, where the untrained neural network 1606 attempts to train itself using unlabeled data. In at least one embodiment, the unsupervised learning training data set 1602 will include input data without any associated output data or "ground truth" data. In at least one embodiment, the untrained neural network 1606 can learn the groupings within the training data set 1602 and can determine how the various inputs are related to the untrained data set 1602. In at least one embodiment, unsupervised training can be used to generate a self-organizing map, which is a trained neural network 1608 that is capable of performing operations useful for reducing the dimensionality of the new data 1612. In at least one embodiment, unsupervised training can also be used to perform anomaly detection, which allows identification of data points in the new data set 1612 that deviate from the normal pattern of the new data set 1612.
[0157] In at least one embodiment, semi-supervised learning can be used, which is a technique in which the training data set 1602 includes a mixture of labeled data and unlabeled data. In at least one embodiment, the training framework 1604 can be used to perform incremental learning, such as through transfer learning techniques. In at least one embodiment, incremental learning enables the trained neural network 1608 to adapt to new data 1612 without forgetting the knowledge injected into the network during initial training.
[0158] Data Center
[0159] Fig.17 An example data center 1700 is shown in which at least one embodiment may be used. In at least one embodiment, the data center 1700 includes a data center infrastructure layer 1710 , a framework layer 1720 , a software layer 1730 , and an application layer 1740 .
[0160] In at least one embodiment, Fig.17As shown, the data center infrastructure layer 1710 may include a resource coordinator 1712, grouped computing resources 1714, and node computing resources ("node CRs") 1716(1)-1716(N), where "N" represents any complete positive integer. In at least one embodiment, the node CRs 1716(1)-1716(N) may include, but are not limited to, any number of central processing units ("CPUs") or other processors (including accelerators, field programmable gate arrays (FPGAs), graphics processors, etc.), storage devices (e.g., dynamic read-only memories), memory devices (e.g., solid-state or disk drives), network input / output ("NW I / O") devices, network switches, virtual machines ("VMs"), power modules and cooling modules, etc. In at least one embodiment, one or more of the node CRs 1716(1)-1716(N) may be servers having one or more of the above-mentioned computing resources.
[0161] In at least one embodiment, the computing resources 1714 of the grouping can include a separate grouping of node CRs housed in one or more racks (not shown), or a separate grouping of many racks housed in a data center in each geographical location (also not shown). The separate grouping of node CRs in the computing resources 1714 of the grouping can include computing, networks, memory or storage resources that can be configured or allocated to support a grouping of one or more workloads. In at least one embodiment, several node CRs including a CPU or a processor can be grouped in one or more racks to provide computing resources to support one or more workloads. In at least one embodiment, one or more racks can also include any combination of any number of power modules, cooling modules and network switches.
[0162] In at least one embodiment, resource coordinator 1712 may be configured or otherwise configured to control one or more nodes CR 1716(1)-1716(N) and / or grouped computing resources 1714. In at least one embodiment, resource coordinator 1712 may include a software design infrastructure ("SDI") management entity for data center 1700. In at least one embodiment, resource coordinator may include hardware, software, or some combination thereof.
[0163] In at least one embodiment, Fig.17As shown, the framework layer 1720 includes a job scheduler 1732, a configuration manager 1734, a resource manager 1736, and a distributed file system 1738. In at least one embodiment, the framework layer 1720 may include a framework for supporting the software 1732 of the software layer 1730 and / or one or more applications 1742 of the application layer 1740. In at least one embodiment, the software 1732 or one or more applications 1742 may include web-based service software or applications, such as services or applications provided by Amazon Web Services, Google Cloud, and Microsoft Azure. In at least one embodiment, the framework layer 1720 may be, but is not limited to, a free and open source software network application framework, such as Apache Spark TM (hereinafter referred to as "Spark") that can utilize the distributed file system 1738 for large-scale data processing (e.g., "big data"). In at least one embodiment, the job scheduler 1732 may include a Spark driver to facilitate the scheduling of workloads supported by various layers of the data center 1700. In at least one embodiment, the configuration manager 1734 may be capable of configuring different layers (e.g., software layer 1730 and framework layer 1720 including Spark) and a distributed file system 1738 for supporting large-scale data processing. In at least one embodiment, the resource manager 1736 may be capable of managing cluster or group computing resources mapped to or allocated to support the distributed file system 1738 and the job scheduler 1732. In at least one embodiment, the cluster or group computing resources may include group computing resources 1714 at the data center infrastructure layer 1710. In at least one embodiment, the resource manager 1736 may coordinate with the resource coordinator 1712 to manage these mapped or allocated computing resources.
[0164] In at least one embodiment, software 1732 included in software layer 1730 may include software used by node CRs 1716(1)-1716(N), grouped computing resources 1714, and / or at least a portion of distributed file system 1738 of framework layer 1720. One or more types of software may include, but are not limited to, Internet web page search software, email virus scanning software, database software, and streaming video content software.
[0165] In at least one embodiment, one or more applications 1742 included in application layer 1740 may include one or more types of applications used by at least a portion of node CRs 1716(1)-1716(N), grouped computing resources 1714, and / or distributed file system 1738 of framework layer 1720. The one or more types of applications may include, but are not limited to, any number of genomics applications, cognitive computing, and machine learning applications, including training or inference software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), or other machine learning applications used in conjunction with one or more embodiments.
[0166] In at least one embodiment, any of configuration manager 1734, resource manager 1736, and resource coordinator 1712 can implement any number and type of self-modification actions based on any number and type of data acquired in any technically feasible manner. In at least one embodiment, the self-modification actions can relieve a data center operator of data center 1700 from making potentially bad configuration decisions and can avoid underutilized and / or poorly performing portions of the data center.
[0167] In at least one embodiment, data center 1700 may include tools, services, software, or other resources to train one or more machine learning models or use one or more machine learning models to predict or infer information according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model may be trained by calculating weight parameters according to a neural network architecture using the software and computing resources described above with respect to data center 1700. In at least one embodiment, by using weight parameters calculated by one or more training techniques described herein, information may be inferred or predicted using trained machine learning models corresponding to one or more neural networks using the resources described above with respect to data center 1700.
[0168] In at least one embodiment, the data center can use a CPU, an application-specific integrated circuit (ASIC), a GPU, an FPGA, or other hardware to use the above resources to perform training and / or reasoning. In addition, one or more of the above software and / or hardware resources can be configured as a service to allow users to train or perform information reasoning, such as image recognition, speech recognition, or other artificial intelligence services.
[0169] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15BProvides details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be implemented in the system Fig.17 In some embodiments, the present invention provides a method for performing inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0170] Autonomous Vehicles
[0171] Fig.18A An example of an autonomous vehicle 1800 is shown in accordance with at least one embodiment. In at least one embodiment, autonomous vehicle 1800 (alternatively referred to herein as "vehicle 1800") may be, but is not limited to, a passenger vehicle such as a car, truck, bus, and / or another type of vehicle that may accommodate one or more passengers. In at least one embodiment, vehicle 1800 may be a semi-tractor-trailer for hauling cargo. In at least one embodiment, vehicle 1800 may be an aircraft, a robotic vehicle, or another type of vehicle.
[0172] An autonomous vehicle may be described according to the automation levels defined by the National Highway Traffic Safety Administration (“NHTSA”) of the U.S. Department of Transportation and the Society of Automotive Engineers (“SAE”) in the “Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles” (e.g., Standard No. J3016-201806, published on June 15, 2018, Standard No. J3016-201609, published on September 30, 2016, and previous and future versions of this standard). In one or more embodiments, the vehicle 1800 may be capable of functioning according to one or more of the levels 1 to 5 of the autonomous driving levels. For example, in at least one embodiment, depending on the embodiment, the vehicle 1800 may be capable of conditional automation (level 3), high automation (level 4), and / or full automation (level 5).
[0173] In at least one embodiment, the vehicle 1800 may include, but is not limited to, components such as a chassis, a body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other components of the vehicle. In at least one embodiment, the vehicle 1800 may include, but is not limited to, a propulsion system 1850, such as an internal combustion engine, a hybrid power plant, an all-electric engine, and / or another type of propulsion system. In at least one embodiment, the propulsion system 1850 may be connected to a drive train of the vehicle 1800, which may include, but is not limited to, a transmission, to enable the vehicle 1800 to be propelled. In at least one embodiment, the propulsion system 1850 may be controlled in response to receiving a signal from a throttle / accelerator 1852.
[0174] In at least one embodiment, when propulsion system 1850 is operating (e.g., when the vehicle is traveling), steering system 1854 (which may include, but is not limited to, a steering wheel) is used to steer vehicle 1800 (e.g., along a desired path or route). In at least one embodiment, steering system 1854 may receive signals from one or more steering actuators 1856. A steering wheel may be optional for full automation (Level 5) functionality. In at least one embodiment, brake sensor system 1846 may be used to operate vehicle brakes in response to signals received from one or more brake actuators 1848 and / or brake sensors.
[0175] In at least one embodiment, the one or more controllers 1836 may include, but are not limited to, one or more system on a chip (“SoC”) ( Fig.18A1800) and / or one or more graphics processing units ("GPUs") provide signals (e.g., representing commands) to one or more components and / or systems of the vehicle 1800. For example, in at least one embodiment, the one or more controllers 1836 may send signals to operate vehicle brakes via brake actuators 1848, operate steering system 1854 via one or more steering actuators 1856, and / or operate propulsion system 1850 via throttle / accelerator 1852. The one or more controllers 1836 may include one or more onboard (e.g., integrated) computing devices (e.g., supercomputers) that process sensor signals and output operational commands (e.g., signals representing commands) to achieve autonomous driving and / or assist a driver in driving the vehicle 1800. In at least one embodiment, the one or more controllers 1836 may include a first controller 1836 for autonomous driving functions, a second controller 1836 for functional safety functions, a third controller 1836 for artificial intelligence functions (e.g., computer vision), a fourth controller 1836 for infotainment functions, a fifth controller 1836 for redundancy in emergency situations, and / or other controllers. In at least one embodiment, a single controller 1836 may handle two or more of the above functions, two or more controllers 1836 may handle a single function, and / or any combination thereof.
[0176] In at least one embodiment, the one or more controllers 1836 provide signals for controlling one or more components and / or systems of the vehicle 1800 in response to sensor data received from one or more sensors (e.g., sensor inputs). In at least one embodiment, the sensor data can be received from sensors such as, but not limited to, global navigation satellite system ("GNSS") sensors 1858 (e.g., one or more global positioning system sensors), one or more RADAR sensors 1860, one or more ultrasonic sensors 1862, one or more LIDAR sensors 1864, one or more inertial measurement unit (IMU) sensors 1866 (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetic compasses, one or more magnetometers, etc.), one or more microphones 1896, one or more stereo cameras 1868, one or more wide angle cameras 1870 (e.g., fisheye cameras), one or more infrared cameras 1872, one or more surround cameras 1874 (e.g., 360 degree cameras), telephoto cameras (e.g., infrared cameras), and / or a plurality of other sensors. Fig.18A Not shown), mid-range camera ( Fig.18A1800), one or more speed sensors 1844 (e.g., for measuring the speed of the vehicle 1800), one or more vibration sensors 1842, one or more steering sensors 1840, one or more brake sensors (e.g., as part of a brake sensor system 1846), and / or other sensor types are received.
[0177] In at least one embodiment, one or more controllers 1836 may receive input (e.g., represented by input data) from a dashboard 1832 of the vehicle 1800 and provide output (e.g., represented by output data, display data, etc.) via a human machine interface ("HMI") display 1834, an audible annunciator, a speaker, and / or other components of the vehicle 1800. In at least one embodiment, the output may include information such as vehicle speed, velocity, time, map data (e.g., high definition map ( Fig.18A 1800 ), location data (e.g., the location of the vehicle 1800 , such as on a map), directions, locations of other vehicles (e.g., occupancy barriers), information about objects and states of objects sensed by one or more controllers 1836 , etc. For example, in at least one embodiment, the HMI display 1834 can display information about the presence of one or more objects (e.g., road signs, warning signs, traffic light changes, etc.) and / or information about driving maneuvers the vehicle has, is, or will make (e.g., changing lanes now, taking exit 34B in two miles, etc.).
[0178] In at least one embodiment, the vehicle 1800 further includes a network interface 1824, which can use one or more wireless antennas 1826 and / or one or more modems to communicate through one or more networks. For example, in at least one embodiment, the network interface 1824 may be able to communicate through Long Term Evolution ("LTE"), Wideband Code Division Multiple Access ("WCDMA"), Universal Mobile Telecommunications System ("UMTS"), Global System for Mobile Communications ("GSM"), IMT-CDMA Multi-Carrier ("CDMA2000"), etc. In at least one embodiment, the one or more wireless antennas 1826 can also use one or more local area networks (e.g., Bluetooth, Bluetooth Low Energy (LE), Z-Wave, ZigBee, etc.) and / or low power wide area networks (hereinafter referred to as "LPWAN") (e.g., LoRaWAN, SigFox, etc.) to enable communication between objects in the environment (e.g., vehicles, mobile devices).
[0179] The reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provides details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be implemented in the system Fig.18A for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0180] Fig.18B According to at least one embodiment, Fig.18A 1800. In at least one embodiment, the cameras and respective fields of view are an example embodiment and are not intended to be limiting. For example, in at least one embodiment, additional and / or alternative cameras may be included and / or the cameras may be located at different locations on the vehicle 1800.
[0181] In at least one embodiment, the camera type for the camera may include, but is not limited to, a digital camera that may be suitable for use with components and / or systems of the vehicle 1800. In at least one embodiment, one or more cameras may operate at an automotive safety integrity level ("ASIL") B and / or other ASILs. In at least one embodiment, the camera type may have any image capture rate, such as 60 frames per second (fps), 120fps, 240fps, etc., depending on the embodiment. In at least one embodiment, the camera may be able to use a rolling shutter, a global shutter, another type of shutter, or a combination thereof. In at least one embodiment, the color filter array may include a red transparent transparent ("RCCC") filter array, a red transparent transparent blue ("RCCB") filter array, a red blue green transparent ("RBGC") filter array, a Foveon X3 filter array, a Bayer sensor ("RGGB") filter array, a monochrome sensor filter array, and / or other types of filter arrays. In at least one embodiment, a clear pixel camera, such as one having an RCCC, RCCB, and / or RBGC color filter array, may be used in an effort to increase photosensitivity.
[0182] In at least one embodiment, one or more cameras can be used to perform advanced driver assistance system ("ADAS") functions (e.g., as part of a redundant or fail-safe design). For example, in at least one embodiment, a multi-function mono camera can be installed to provide functions including lane departure warning, traffic sign assistance, and intelligent headlight control. In at least one embodiment, one or more cameras (e.g., all cameras) can simultaneously record and provide image data (e.g., video).
[0183] In at least one embodiment, one or more cameras can be mounted in a mounting assembly, such as a custom designed (three-dimensional ("3D") printed) assembly, so as to cut out stray light and reflections from within the car (e.g., reflections of the dashboard reflecting in the windshield mirror) that may interfere with the camera's image data capture capabilities. With respect to the rearview mirror mounting assembly, in at least one embodiment, the rearview mirror assembly can be 3D printed custom so that the camera mounting plate matches the shape of the rearview mirror. In at least one embodiment, one or more cameras can be integrated into the rearview mirror. For side-view cameras, in at least one embodiment, one or more cameras can also be integrated within four pillars at each corner of the cabin.
[0184] In at least one embodiment, a camera (e.g., a forward-facing camera) having a field of view that includes a portion of the environment in front of the vehicle 1800 can be used for surround vision, as well as to help identify the forward path and obstacles with the assistance of one or more controllers 1836 and / or control SoCs, thereby providing information critical to generating an occupancy grid and / or determining a preferred vehicle path. In at least one embodiment, the forward-facing camera can be used to perform many of the same ADAS functions as LIDAR, including but not limited to emergency braking, pedestrian detection, and collision avoidance. In at least one embodiment, the forward-facing camera can also be used for ADAS functions and systems, including but not limited to lane departure warning ("LDW"), automatic cruise control ("ACC"), and / or other functions (e.g., traffic sign recognition).
[0185] In at least one embodiment, a variety of cameras can be used in a forward-facing configuration, including, for example, a monocular camera platform including a CMOS ("complementary metal oxide semiconductor") color imager. In at least one embodiment, a wide-angle camera 1870 can be used to sense objects entering from the periphery (e.g., pedestrians, people crossing the street, or bicycles). Although in Fig.18B Only one wide-angle camera 1870 is shown in FIG. 1 , however, in other embodiments, there may be any number (including zero) of wide-angle cameras 1870 on the vehicle 1800. In at least one embodiment, any number of remote cameras 1898 (e.g., a remote stereo camera pair) may be used for depth-based object detection, particularly for objects for which a neural network has not yet been trained. In at least one embodiment, the remote cameras 1898 may also be used for object detection and classification and basic object tracking.
[0186] In at least one embodiment, any number of stereo cameras 1868 may also be included in the forward configuration. In at least one embodiment, one or more stereo cameras 1868 may include an integrated control unit including a scalable processing unit that may provide programmable logic ("FPGA") and a multi-core microprocessor with a controller area network ("CAN") or Ethernet interface integrated on a single chip. In at least one embodiment, such a unit may be used to generate a 3D map of the environment of the vehicle 1800, including distance estimates for all points in the image. In at least one embodiment, one or more stereo cameras 1868 may include, but are not limited to, a compact stereo vision sensor, which may include, but are not limited to, two camera lenses (one on each side) and an image processing chip that can measure the distance from the vehicle 1800 to the target object and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane departure warning functions. In at least one embodiment, other types of stereo cameras 1868 may be used in addition to those described herein.
[0187] In at least one embodiment, a camera having a field of view of a portion of the environment including the sides of the vehicle 1800 (e.g., a side view camera) can be used for surround viewing to provide information for creating and updating occupancy grids and generating side collision warnings. For example, in at least one embodiment, one or more surround cameras 1874 (e.g., such as Fig.18B Four surround cameras 1874 (shown) can be positioned on the vehicle 1800. In at least one embodiment, the one or more surround cameras 1874 can include, but are not limited to, any number and combination of one or more wide-angle cameras 1870, one or more fish-eye lenses, one or more 360-degree cameras, and / or the like. For example, in at least one embodiment, four fish-eye lens cameras can be located at the front, rear, and sides of the vehicle 1800. In at least one embodiment, the vehicle 1800 can use three surround cameras 1874 (e.g., left, right, and rear), and can utilize one or more other cameras (e.g., a forward-facing camera) as a fourth surround camera.
[0188] In at least one embodiment, a camera having a field of view that includes a portion of the environment behind the vehicle 1800 (e.g., a rear view camera) can be used for parking assistance, surround view, rear collision warning, and creating and updating occupancy grids. In at least one embodiment, a variety of cameras can be used, including but not limited to cameras that are also suitable as one or more forward-facing cameras (e.g., one or more long-range cameras 1898 and / or one or more mid-range cameras 1876, one or more stereo cameras 1868, one or more infrared cameras 1872, etc.), as described herein.
[0189] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations related to one or more embodiments. Fig.15A and / or Fig. 15B Provides details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 can be used to Fig.18B In a system of the present invention, an operation can be performed based at least in part on weight parameters calculated using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0190] Fig. 18C According to at least one embodiment, Fig.18A A block diagram of an example system architecture of an autonomous vehicle 1800. In at least one embodiment, Fig. 18C Each of the components, features, and systems of the vehicle 1800 in FIG. 1 is shown as being connected via a bus 1802. In at least one embodiment, the bus 1802 may include, but is not limited to, a CAN data interface (referred to herein alternatively as a "CAN bus"). In at least one embodiment, the CAN bus may be a network inside the vehicle 1800 that helps control various features and functions of the vehicle 1800, such as actuation of brakes, acceleration, braking, steering, wipers, etc. In one embodiment, the bus 1802 may be configured to have dozens or even hundreds of nodes, each with its own unique identifier (e.g., a CAN ID). In at least one embodiment, the bus 1802 may be read to find steering wheel angle, ground speed, engine revolutions per minute ("RPM"), button position, and / or other vehicle status indicators. In at least one embodiment, the bus 1802 may be a CAN bus that complies with ASIL B.
[0191] In at least one embodiment, in addition to or from CAN, FlexRay and / or Ethernet can be used. In at least one embodiment, there can be any number of buses 1802, which can include but are not limited to zero or more CAN buses, zero or more FlexRay buses, zero or more Ethernet buses, and / or zero or more other types of buses using other protocols. In at least one embodiment, two or more buses 1802 can be used to perform different functions, and / or can be used for redundancy. For example, the first bus 1802 can be used for collision avoidance functions, and the second bus 1802 can be used for actuation control. In at least one embodiment, each bus 1802 can communicate with any component of the vehicle 1800, and two or more buses 1802 can communicate with the same component. In at least one embodiment, each of any number of one or more systems on a chip ("SoC") 1804, each of one or more controllers 1836, and / or each computer within the vehicle can access the same input data (e.g., input from sensors of the vehicle 1800) and can be connected to a common bus, such as a CAN bus.
[0192] In at least one embodiment, the vehicle 1800 may include one or more controllers 1836, such as those described herein with respect to Fig.18A Those described. Controller 1836 can be used for a variety of functions. In at least one embodiment, controller 1836 can be coupled to any of the various other components and systems of vehicle 1800 and can be used to control vehicle 1800, artificial intelligence of vehicle 1800, infotainment of vehicle 1800, etc.
[0193] In at least one embodiment, the vehicle 1800 may include any number of SoCs 1804. Each of the SoCs 1804 may include, but is not limited to, a central processing unit ("CPU") 1806, a graphics processing unit ("GPU") 1808, one or more processors 1810, one or more caches 1812, one or more accelerators 1814, one or more data stores 1816, and / or other components and features not shown. In at least one embodiment, the one or more SoCs 1804 may be used to control the vehicle 1800 in a variety of platforms and systems. For example, in at least one embodiment, the one or more SoCs 1804 may be combined with a high-definition ("HD") map 1822 in a system (e.g., a system of the vehicle 1800), which may be downloaded from one or more servers (e.g., a system of the vehicle 1800) via a network interface 1824. Fig. 18C ) to obtain map refreshes and / or updates.
[0194] In at least one embodiment, one or more CPUs 1806 may include a CPU cluster or CPU complex (referred to herein alternatively as "CCPLEX"). In at least one embodiment, one or more CPUs 1806 may include multiple cores and / or a secondary ("L2") cache. For example, in at least one embodiment, one or more CPUs 1806 may include eight cores in a mutually coupled multiprocessor configuration. In at least one embodiment, one or more CPUs 1806 may include four dual-core clusters, each with a dedicated L2 cache (e.g., 2MB L2 cache). In at least one embodiment, CPUs 1806 (e.g., CCPLEX) may be configured to support simultaneous cluster operations such that any combination of clusters of one or more CPUs 1806 may be active at any given time.
[0195] In at least one embodiment, one or more CPUs 1806 may implement power management functions, including but not limited to one or more of the following features: each hardware module may be automatically clock gated when idle to save dynamic power; each core clock may be gated when the core is not actively executing instructions due to executing a wait for interrupt ("WFI") / wait for event ("WFE") instruction; each core may be independently powered; each core cluster may be independently clock gated when all cores are clock gated or power gated; and / or each core cluster may be independently power gated when all cores are power gated. In at least one embodiment, one or more CPUs 1806 may further implement an enhanced algorithm for managing power states, wherein allowed power states and expected wake-up times are specified, and hardware / microcode determines the optimal power state for cores, clusters, and CCPLEX inputs. In at least one embodiment, the processing core may support a simplified power state entry sequence in software, wherein the work is offloaded to the microcode.
[0196] In at least one embodiment, one or more GPUs 1808 may include an integrated GPU (or referred to herein as an "iGPU"). In at least one embodiment, one or more GPUs 1808 may be programmable and may be effective for parallel workloads. In at least one embodiment, one or more GPUs 1808, in at least one embodiment, may use an enhanced tensor instruction set. In at least one embodiment, one or more GPUs 1808 may include one or more streaming microprocessors, wherein each streaming microprocessor may include a level 1 ("L1") cache (e.g., an L1 cache with a storage capacity of at least 96KB), and two or more streaming microprocessors may share an L2 cache (e.g., an L2 cache with a storage capacity of 512KB). In at least one embodiment, GPU 1808 may include at least eight streaming microprocessors. In at least one embodiment, one or more GPUs 1808 may use one or more computing application programming interfaces (one or more APIs). In at least one embodiment, one or more GPUs 1808 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA's CUDA).
[0197] In at least one embodiment, one or more GPUs 1808 may be optimized for power consumption to achieve optimal performance in automotive and embedded use cases. For example, in one embodiment, one or more GPUs 1808 may be manufactured on fin field effect transistors ("FinFETs"). In at least one embodiment, each streaming microprocessor may include multiple mixed precision processing cores divided into multiple blocks. For example, but not limited to, 64 PF32 cores and 32 PF64 cores may be divided into four processing blocks. In at least one embodiment, 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed precision NVIDIA TENSOR COREs for deep learning matrix arithmetic, a zero-level ("L0") instruction cache, a thread warp scheduler, a dispatch unit, and / or a 64KB register file may be allocated to each processing block. In at least one embodiment, the streaming microprocessor may include independent parallel integer and floating point data paths to provide efficient execution of workloads that mix computation and addressing operations. In at least one embodiment, the streaming microprocessor may include independent thread scheduling capabilities to achieve finer-grained synchronization and collaboration between parallel threads. In at least one embodiment, a streaming microprocessor may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.
[0198] In at least one embodiment, one or more GPUs 1808 may include high bandwidth memory ("HBM") and / or a 16GB HBM2 memory subsystem to provide a peak memory bandwidth of about 900GB / sec in some examples. In at least one embodiment, synchronous graphics random access memory ("SGRAM"), such as graphics double data rate type five synchronous random access memory ("GDDR5"), may be used in addition to or in lieu of HBM memory.
[0199] In at least one embodiment, one or more GPUs 1808 may include unified memory technology. In at least one embodiment, address translation service (“ATS”) support may be used to allow one or more GPUs 1808 to directly access one or more CPU 1806 page tables. In at least one embodiment, when one or more GPU 1808 memory management units (“MMUs”) experience a miss, an address translation request may be sent to one or more CPUs 1806. In response, in at least one embodiment, one or more CPUs 1806 may look up the virtual-physical mapping of the address in its page table and transmit the translation back to one or more GPUs 1808. In at least one embodiment, unified memory technology may allow a single unified virtual address space to be used for both one or more CPUs 1806 and one or more GPU 1808 memory, thereby simplifying programming of one or more GPUs 1808 and porting applications to one or more GPUs 1808.
[0200] In at least one embodiment, one or more GPUs 1808 may include any number of access counters that can track the frequency of accesses to other processors' memory by one or more GPUs 1808. In at least one embodiment, the access counters can help ensure that memory pages are moved to the physical memory of the processor that accesses the page most frequently, thereby improving the efficiency of memory ranges shared between processors.
[0201] In at least one embodiment, one or more SoCs 1804 may include any number of caches 1812, including those described herein. For example, in at least one embodiment, one or more caches 1812 may include a level 3 ("L3") cache that can be used for both one or more CPUs 1806 and one or more GPUs 1808 (e.g., connecting two CPUs 1806 and GPUs 1808). In at least one embodiment, one or more caches 1812 may include a write-back cache that can track the state of a line, for example, by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). In at least one embodiment, although smaller cache sizes may be used, the L3 cache may include 4MB or more, depending on the embodiment.
[0202] In at least one embodiment, one or more SoCs 1804 may include one or more accelerators 1814 (e.g., hardware accelerators, software accelerators, or a combination thereof). In at least one embodiment, one or more SoCs 1804 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. In at least one embodiment, large on-chip memory (e.g., 4MB of SRAM) may enable the hardware acceleration cluster to accelerate neural networks and other calculations. In at least one embodiment, the hardware acceleration cluster may be used to supplement one or more GPUs 1808 and unload some tasks of one or more GPUs 1808 (e.g., freeing up more cycles of one or more GPUs 1808 to perform other tasks). In at least one embodiment, one or more accelerators 1814 may be used for target workloads that are sufficiently stable to withstand acceleration tests (e.g., perception, convolutional neural networks ("CNN"), recursive neural networks ("RNN"), etc.). In at least one embodiment, CNNs may include regional or regional convolutional neural networks ("RCNN") and fast RCNNs (e.g., such as for object detection) or other types of CNNs.
[0203] In at least one embodiment, one or more accelerators 1814 (e.g., a hardware acceleration cluster) may include a deep learning accelerator ("DLA"). One or more DLAs may include, but are not limited to, one or more Tensor Processing Units ("TPUs"), which may be configured to provide an additional 10 trillion operations per second for deep learning applications and reasoning. In at least one embodiment, a TPU may be an accelerator configured and optimized to perform image processing functions (e.g., for CNN, RCNN, etc.). DLAs may be further optimized for specific sets of neural network types and floating point operations and reasoning. In at least one embodiment, the design of one or more DLAs may provide higher performance per millimeter than a typical general-purpose GPU, and generally greatly exceeds the performance of a CPU. In at least one embodiment, one or more TPUs may perform several functions, including supporting, for example, INT8, INT16, and FP16 data types for single instance convolution functions for features and weights, and post-processor functions. In at least one embodiment, one or more DLAs can quickly and efficiently execute neural networks, particularly CNNs, on processed or unprocessed data for any of a variety of functions, including, for example, but not limited to: a CNN for object recognition and detection using data from a camera sensor; a CNN for distance estimation using data from a camera sensor; a CNN for emergency vehicle detection and identification and detection using data from microphone 1896; a CNN for face recognition and vehicle owner recognition using data from a camera sensor; and / or a CNN for safety and / or security-related events.
[0204] In at least one embodiment, one or more DLAs can perform any function of one or more GPUs 1808, and by using an inference accelerator, for example, a designer can target one or more DLAs or one or more GPUs 1808 for any function. For example, in at least one embodiment, a designer can focus the processing and floating point operations of a CNN on one or more DLAs and leave other functions to one or more GPUs 1808 and / or one or more other accelerators 1814.
[0205] In at least one embodiment, one or more accelerators 1814 (e.g., a hardware acceleration cluster) may include a programmable vision accelerator ("PVA"), which may be referred to herein alternatively as a computer vision accelerator. In at least one embodiment, one or more PVAs may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems ("ADAS") 1838, autonomous driving, augmented reality ("AR") applications, and / or virtual reality ("VR") applications. One or more PVAs may strike a balance between performance and flexibility. For example, in at least one embodiment, each PVA may include, for example, but not limited to, any number of reduced instruction set computer ("RISC") cores, direct memory access ("DMA"), and / or any number of vector processors.
[0206] In at least one embodiment, the RISC core can interact with an image sensor (e.g., an image sensor of any camera described herein), an image signal processor, and the like. In at least one embodiment, each RISC core can include any number of memories. In at least one embodiment, the RISC core can use any of a variety of protocols, depending on the embodiment. In at least one embodiment, the RISC core can execute a real-time operating system ("RTOS"). In at least one embodiment, the RISC core can be implemented using one or more integrated circuit devices, application specific integrated circuits ("ASICs"), and / or storage devices. For example, in at least one embodiment, the RISC core can include an instruction cache and / or a tightly coupled RAM.
[0207] In at least one embodiment, the DMA may enable components of one or more PVAs to access system memory independently of one or more CPUs 1806. In at least one embodiment, the DMA may support any number of features for providing optimizations to the PVA, including, but not limited to, support for multi-dimensional addressing and / or circular addressing. In at least one embodiment, the DMA may support up to six or more dimensions of addressing, which may include, but are not limited to, block width, block height, block depth, horizontal block stepping, vertical block stepping, and / or depth stepping.
[0208] In at least one embodiment, the vector processor may be a programmable processor that may be designed to efficiently and flexibly execute programming for computer vision algorithms and provide signal processing capabilities. In at least one embodiment, the PVA may include a PVA core and two vector processing subsystem partitions. In at least one embodiment, the PVA core may include a processor subsystem, one or more DMA engines (e.g., two DMA engines), and / or other peripherals. In at least one embodiment, the vector processing subsystem may be used as the main processing engine of the PVA and may include a vector processing unit ("VPU"), an instruction cache, and / or a vector memory (e.g., "VMEM"). In at least one embodiment, the VPU may include a digital signal processor, such as a single instruction multiple data ("SIMD"), a very long instruction word ("VLIW") digital signal processor. In at least one embodiment, the combination of SIMD and VLIW may improve throughput and speed.
[0209] In at least one embodiment, each vector processor may include an instruction cache and may be coupled to a dedicated memory. As a result, in at least one embodiment, each vector processor may be configured to execute independently of other vector processors. In at least one embodiment, the vector processors included in a particular PVA may be configured to exploit data parallelism. For example, in at least one embodiment, multiple vector processors included in a single PVA may execute the same computer vision algorithm, except on different regions of an image. In at least one embodiment, the vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on the same image, or even different algorithms on sequential images or portions of images. In at least one embodiment, any number of PVAs may be included in a hardware acceleration cluster, and any number of vector processors may be included in each PVA, among other things. In at least one embodiment, one or more PVAs may include additional error correction code ("ECC") memory to enhance overall system security.
[0210] In at least one embodiment, one or more accelerators 1814 (e.g., a hardware acceleration cluster) may include an on-chip computer vision network and static random access memory ("SRAM") to provide high bandwidth, low latency SRAM for one or more accelerators 1814. In at least one embodiment, the on-chip memory may include at least 4MB of SRAM, including, for example, but not limited to, eight field-configurable memory blocks that can be accessed by both the PVA and the DLA. In at least one embodiment, each pair of memory blocks may include an advanced peripheral bus ("APB") interface, configuration circuits, controllers, and multiplexers. In at least one embodiment, any type of memory may be used. In at least one embodiment, the PVA and DLA may access the memory via a backbone network that provides high-speed access to the memory for the PVA and the DLA. In at least one embodiment, the backbone network may include an on-chip computer vision network that interconnects the PVA and the DLA to the memory (e.g., using APB).
[0211] In at least one embodiment, the on-chip computer vision network may include an interface that determines that both the PVA and DLA provide ready and valid signals before transmitting any control signals / addresses / data. In at least one embodiment, the interface may provide separate phases and separate channels for sending control signals / addresses / data, as well as burst-type communications for continuous data transmission. In at least one embodiment, the interface may comply with the International Organization for Standardization ("ISO") 26262 or International Electrotechnical Commission ("IEC") 61508 standards, although other standards and protocols may be used.
[0212] In at least one embodiment, one or more SoCs 1804 may include a real-time gaze tracking hardware accelerator. In at least one embodiment, the real-time gaze tracking hardware accelerator may be used to quickly and efficiently determine the position and range of objects (e.g., within a world model) to generate real-time visual simulations for use in RADAR signal interpretation, for sound propagation synthesis and / or analysis, for simulation of SONAR systems, for general wave propagation simulations, for comparison with LIDAR data for positioning and / or other functions, and / or for other purposes.
[0213] In at least one embodiment, one or more accelerators 1814 (e.g., a cluster of hardware accelerators) have a wide range of uses for autonomous driving. In at least one embodiment, the PVA can be a programmable vision accelerator that can be used in key processing stages in ADAS and autonomous vehicles. In at least one embodiment, the capabilities of the PVA at low power consumption and low latency are well matched to algorithmic domains that require predictable processing. In other words, the PVA excels in semi-intensive or intensive conventional computations, even on small data sets, which require predictable runtimes with low latency and low power consumption. In at least one embodiment, such as an autonomous vehicle (vehicle 1800), the PVA is designed to run classic computer vision algorithms because they are efficient at object detection and integer math operations.
[0214] For example, according to at least one embodiment of the technology, PVA is used to perform computer stereo vision. In at least one embodiment, a semi-global matching based algorithm can be used in some examples, although this is not meant to be limiting. In at least one embodiment, applications for Level 3-5 autonomous driving use dynamic estimation / stereo matching on the fly (e.g., structure recovery from motion, pedestrian recognition, lane detection, etc.). In at least one embodiment, PVA can perform computer stereo vision functions on input from two monocular cameras.
[0215] In at least one embodiment, the PVA can be used to perform dense optical flow. For example, in at least one embodiment, the PVA can process raw RADAR data (e.g., using a 4D Fast Fourier Transform) to provide processed RADAR data. In at least one embodiment, the PVA is used for time-of-flight depth processing, for example, by processing raw time-of-flight data to provide processed time-of-flight data.
[0216] In at least one embodiment, the DLA can be used to run any type of network to enhance control and driving safety, including, for example, but not limited to, a neural network, which outputs a confidence score for each object detection. In at least one embodiment, the confidence score can be expressed or interpreted as a probability, or as providing a relative "weight" of each detection relative to other detections. In at least one embodiment, the confidence score enables the system to make further decisions about which detections should be considered true positive detections rather than false positive detections. For example, in at least one embodiment, the system can set a threshold for the confidence score and only consider detections that exceed the threshold as true positive detections. In one embodiment using an automatic emergency braking ("AEB") system, a false positive detection will cause the vehicle to automatically perform emergency braking, which is obviously undesirable. In at least one embodiment, a highly confident detection can be considered a trigger for AEB. In at least one embodiment, the DLA can run a neural network for regressing confidence values. In at least one embodiment, the neural network may take as its input at least some subset of parameters, such as bounding box dimensions, a ground plane estimate obtained (e.g., from another subsystem), outputs of one or more IMU sensors 1866 associated with vehicle 1800 heading, distance, 3D position estimates of objects obtained from the neural network and / or other sensors (e.g., one or more LIDAR sensors 1864 or one or more RADAR sensors 1860), and the like.
[0217] In at least one embodiment, one or more SoCs 1804 may include one or more data stores 1816 (e.g., memory). In at least one embodiment, one or more data stores 1816 may be on-chip memory of one or more SoCs 1804 that may store neural networks to be executed on one or more GPUs 1808 and / or DLAs. In at least one embodiment, one or more data stores 1816 may have a capacity large enough to store multiple instances of a neural network for redundancy and safety. In at least one embodiment, one or more data stores 1816 may include an L2 or L3 cache.
[0218] In at least one embodiment, one or more SoCs 1804 may include any number of processors 1810 (e.g., embedded processors). In at least one embodiment, one or more processors 1810 may include a boot and power management processor, which may be a dedicated processor and subsystem to handle boot power and management functions and related security implementations. In at least one embodiment, the boot and power management processor may be part of the boot sequence of one or more SoCs 1804 and may provide runtime power management services. In at least one embodiment, the boot power and management processor may provide clock and voltage programming, assist system low power state transitions, one or more SoCs 1804 thermal and temperature sensor management, and / or one or more SoCs 1804 power state management. In at least one embodiment, each temperature sensor may be implemented as a ring oscillator whose output frequency is proportional to the temperature, and one or more SoCs 1804 may use the ring oscillator to detect the temperature of one or more CPUs 1806, one or more GPUs 1808, and / or one or more accelerators 1814. In at least one embodiment, if the temperature is determined to exceed a threshold, the boot and power management processor can enter a temperature fault routine and place one or more SoCs 1804 into a lower power consumption state and / or place the vehicle 1800 into a driver's safe parking pattern (e.g., bringing the vehicle 1800 to a safe stop).
[0219] In at least one embodiment, one or more processors 1810 may further include a set of embedded processors that can be used as an audio processing engine. In at least one embodiment, the audio processing engine can be an audio subsystem that can provide full hardware support for multi-channel audio through multiple interfaces and a wide and flexible range of audio I / O interfaces. In at least one embodiment, the audio processing engine is a dedicated processor core that has a digital signal processor with dedicated RAM.
[0220] In at least one embodiment, one or more processors 1810 may further include an always-on processor engine that may provide the necessary hardware features to support low-power sensor management and wake-up use cases. In at least one embodiment, the processors on the always-on processor engine may include, but are not limited to, processor cores, tightly coupled RAM, supporting peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.
[0221] In at least one embodiment, one or more processors 1810 may further include a safety cluster engine, which includes but is not limited to a dedicated processor subsystem for handling safety management of automotive applications. In at least one embodiment, the safety cluster engine may include but is not limited to two or more processor cores, tightly coupled RAM, supporting peripherals (e.g., timers, interrupt controllers, etc.) and / or routing logic. In safe mode, in at least one embodiment, two or more cores may operate in lockstep mode and may be used as a single core with comparison logic to detect any differences between their operations. In at least one embodiment, one or more processors 1810 may further include a real-time camera engine, which may include but is not limited to a dedicated processor subsystem for handling real-time camera management. In at least one embodiment, one or more processors 1810 may further include a high dynamic range signal processor, which may include but is not limited to an image signal processor, which is a hardware engine as part of the camera processing pipeline.
[0222] In at least one embodiment, one or more processors 1810 may include a video image synthesizer, which may be a processing block (e.g., implemented on a microprocessor) that implements video post-processing functions required by a video playback application to generate a final video to generate a final image for a player window. In at least one embodiment, the video image synthesizer may perform lens distortion correction on one or more wide-angle cameras 1870, one or more surround cameras 1874, and / or one or more in-cabin monitoring camera sensors. In at least one embodiment, preferably, one or more in-cabin monitoring camera sensors are monitored by a neural network running on another instance of SoC 1804, which is configured to identify cabin events and respond accordingly. In at least one embodiment, the in-cabin system may perform, but is not limited to, lip reading to activate cellular service and make calls, dictate emails, change the vehicle's destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web surfing. In at least one embodiment, certain functions are available to the driver when the vehicle is operating in autonomous mode, otherwise they are disabled.
[0223] In at least one embodiment, the video image synthesizer may include enhanced temporal noise reduction for simultaneous spatial and temporal noise reduction. For example, in at least one embodiment, where motion occurs in the video, the noise reduction appropriately weights the spatial information, thereby reducing the weight of information provided by adjacent frames. In at least one embodiment, where an image or portion of an image does not include motion, the temporal noise reduction performed by the video image synthesizer may use information from previous images to reduce noise in the current image.
[0224] In at least one embodiment, the video image compositor may also be configured to perform stereoscopic correction on the input stereoscopic lens frames. In at least one embodiment, the video image compositor may also be used for user interface composition when the operating system desktop is used, and does not require one or more GPUs 1808 to continuously render new surfaces. In at least one embodiment, when one or more GPUs 1808 are powered and actively performing 3D rendering, the video image compositor may be used to offload one or more GPUs 1808 to improve performance and responsiveness.
[0225] In at least one embodiment, one or more SoCs 1804 may further include a mobile industry processor interface ("MIPI") camera serial interface for receiving video and input from a camera, a high-speed interface, and / or a video input block that may be used for a camera and associated pixel input functionality. In at least one embodiment, one or more SoCs 1804 may further include an input / output controller that may be controlled by software and may be used to receive I / O signals that are not committed to a specific role.
[0226] In at least one embodiment, the one or more SoCs 1804 may further include a wide range of peripheral interfaces to enable communication with peripheral devices, audio encoders / decoders ("codecs"), power management, and / or other devices. The one or more SoCs 1804 may be used to process data from cameras (e.g., connected via Gigabit multimedia serial links and Ethernet), sensors (e.g., one or more LIDAR sensors 1864, one or more RADAR sensors 1860, etc., which may be connected via Ethernet), data from the bus 1802 (e.g., speed of the vehicle 1800, steering wheel position, etc.), data from one or more GNSS sensors 1858 (e.g., connected via Ethernet or CAN bus), etc. In at least one embodiment, the one or more SoCs 1804 may further include dedicated high-performance mass storage controllers, which may include their own DMA engines and may be used to free the one or more CPUs 1806 from routine data management tasks.
[0227] In at least one embodiment, one or more SoC 1804 can be an end-to-end platform with a flexible architecture that spans automation levels 3-5, thereby providing a comprehensive functional safety architecture that utilizes and effectively uses computer vision and ADAS technology to achieve diversity and redundancy, which provides a platform that can provide a flexible and reliable driving software stack and deep learning tools. In at least one embodiment, one or more SoC 1804 can be faster and more reliable than conventional systems, and even more energy efficient and space efficient. For example, in at least one embodiment, one or more accelerators 1814, when combined with one or more CPUs 1806, one or more GPUs 1808, and one or more data memories 1816, can provide a fast and effective platform for level 3-5 autonomous vehicles.
[0228] In at least one embodiment, computer vision algorithms can be executed on a CPU, which can be configured using a high-level programming language (e.g., the C programming language) to execute a variety of processing algorithms on a variety of visual data. However, in at least one embodiment, CPUs generally cannot meet the performance requirements of many computer vision applications, such as those related to execution time and power consumption. In at least one embodiment, many CPUs are unable to execute complex object detection algorithms in real time, which are used in in-vehicle ADAS applications and actual Level 3-5 autonomous vehicles.
[0229] The embodiments described herein allow for multiple neural networks to be executed simultaneously and / or sequentially, and for the results to be combined together to achieve Level 3-5 autonomous driving functions. For example, in at least one embodiment, a CNN executed on a DLA or discrete GPU (e.g., one or more GPUs 1820) may include text and word recognition, allowing the supercomputer to read and understand traffic signs, including signs for which the neural network has not been specifically trained. In at least one embodiment, the DLA may also include a neural network that is capable of recognizing, interpreting, and providing semantic understanding of symbols and passing that semantic understanding to a path planning module running on the CPU Complex.
[0230] In at least one embodiment, for level 3, 4, or 5 driving, multiple neural networks may be run simultaneously. For example, in at least one embodiment, a warning sign consisting of "Caution: flashing lights indicate icy conditions" coupled with electric lights may be interpreted by multiple neural networks independently or collectively. In at least one embodiment, the sign itself may be recognized as a traffic sign by a first deployed neural network (e.g., an already trained neural network), and the text "flashing lights indicate icy conditions" may be interpreted by a second deployed neural network, which notifies the vehicle's path planning software (preferably executing on a CPU Complex) that icy conditions exist when flashing lights are detected. In at least one embodiment, flashing lights may be recognized by operating a third deployed neural network over multiple frames, notifying the vehicle's path planning software of the presence (or absence) of flashing lights. In at least one embodiment, all three neural networks may be run simultaneously, such as within a DLA and / or on one or more GPUs 1808.
[0231] In at least one embodiment, a CNN for facial recognition and vehicle owner identification can use data from the camera sensor to identify the presence of an authorized driver and / or owner of the vehicle 1800. In at least one embodiment, the always-on sensor processor engine can be used to unlock the vehicle when the owner approaches the driver's door and turns on the lights, and, in a security mode, can be used to disable the vehicle when the owner leaves the vehicle. In this way, one or more SoCs 1804 provide protection against theft and / or carjacking.
[0232] In at least one embodiment, a CNN for emergency vehicle detection and identification can use data from microphone 1896 to detect and identify emergency vehicle sirens. In at least one embodiment, one or more SoCs 1804 use CNNs to classify environmental and urban sounds, as well as classify visual data. In at least one embodiment, the CNN running on the DLA is trained to identify the relative approach speed of emergency vehicles (e.g., by using the Doppler effect). In at least one embodiment, the CNN can also be trained to identify emergency vehicles for the area where the vehicle is operating, as identified by one or more GNSS sensors 1858. In at least one embodiment, when operating in Europe, the CNN will seek to detect European sirens, while when in the United States, the CNN will seek to identify only North American sirens. In at least one embodiment, once an emergency vehicle is detected, a control program can be used with the assistance of one or more ultrasonic sensors 1862 to execute emergency vehicle safety routines, slow down the vehicle, drive the vehicle to the side of the road, stop the vehicle, and / or idle the vehicle until one or more emergency vehicles pass.
[0233] In at least one embodiment, the vehicle 1800 may include one or more CPUs 1818 (e.g., one or more discrete CPUs or one or more dCPUs) that may be coupled to one or more SoCs 1804 via a high-speed interconnect (e.g., PCIe). In at least one embodiment, the one or more CPUs 1818 may include an X86 processor, such as one or more CPUs 1818 that may be used to perform any of a variety of functions, including, for example, arbitrating potential inconsistent results between ADAS sensors and one or more SoCs 1804, and / or monitoring the status and health of a controller 1836 and / or an on-chip information system ("information SoC") 1830.
[0234] In at least one embodiment, the vehicle 1800 may include one or more GPUs 1820 (e.g., one or more discrete GPUs or one or more dGPUs) that may be coupled to one or more SoCs 1804 via a high-speed interconnect (e.g., NVIDIA's NVLINK). In at least one embodiment, the one or more GPUs 1820 may provide additional artificial intelligence functionality, such as by executing redundant and / or different neural networks, and may be used to train and / or update the neural network based at least in part on input from sensors of the vehicle 1800 (e.g., sensor data).
[0235] In at least one embodiment, the vehicle 1800 may further include a network interface 1824, which may include, but is not limited to, one or more wireless antennas 1826 (e.g., one or more wireless antennas 1826 for different communication protocols, such as cellular antennas, Bluetooth antennas, etc.). In at least one embodiment, the network interface 1824 may be used to enable wireless connection with the cloud (e.g., servers and / or other network devices), other vehicles, and / or computing devices (e.g., passenger's client devices) via the Internet. In at least one embodiment, in order to communicate with other vehicles, a direct link may be established between the vehicle 1800 and the other vehicle and / or an indirect link may be established (e.g., via a network and the Internet). In at least one embodiment, a vehicle-to-vehicle communication link may be used to provide a direct link. The vehicle-to-vehicle communication link may provide the vehicle 1800 with information about vehicles near the vehicle 1800 (e.g., vehicles in front of, to the side of, and / or behind the vehicle 1800). In at least one embodiment, the aforementioned functionality may be part of the cooperative adaptive cruise control functionality of the vehicle 1800.
[0236] In at least one embodiment, the network interface 1824 may include a SoC that provides modulation and demodulation functions and enables one or more controllers 1836 to communicate via a wireless network. In at least one embodiment, the network interface 1824 may include a radio frequency front end for up-conversion from baseband to radio frequency and down-conversion from radio frequency to baseband. In at least one embodiment, frequency conversion may be performed in any technically feasible manner. For example, frequency conversion may be performed by a known process and / or using a superheterodyne process. In at least one embodiment, the radio frequency front end function may be provided by a separate chip. In at least one embodiment, the network interface may include a wireless function for communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, Bluetooth, Bluetooth LE, Wi-Fi, Z-Wave, ZigBee, LoRaWAN, and / or other wireless protocols.
[0237] In at least one embodiment, the vehicle 1800 may further include one or more data stores 1828, which may include, but are not limited to, off-chip (e.g., one or more off-chip SoC 1804) memory. In at least one embodiment, the one or more data stores 1828 may include, but are not limited to, one or more storage elements, including RAM, SRAM, dynamic random access memory ("DRAM"), video random access memory ("VRAM"), flash memory, hard disk, and / or other components and / or devices that can store at least one bit of data.
[0238] In at least one embodiment, the vehicle 1800 may further include one or more GNSS sensors 1858 (e.g., GPS and / or assisted GPS sensors) to assist in mapping, perception, occupancy raster generation, and / or path planning functions. In at least one embodiment, any number of one or more GNSS sensors 1858 may be used, including, for example but not limited to, GPS connected to a serial interface (e.g., RS-232) bridge using a USB connector with Ethernet.
[0239] In at least one embodiment, the vehicle 1800 may further include one or more RADAR sensors 1860. One or more RADAR sensors 1860 may be used by the vehicle 1800 for remote vehicle detection, even in darkness and / or inclement weather conditions. In at least one embodiment, the RADAR functional safety level may be ASIL B. One or more RADAR sensors 1860 may use CAN and / or bus 1802 (e.g., to transmit data generated by one or more RADAR sensors 1860) for control and access to object tracking data, and in some examples may access Ethernet to access raw data. In at least one embodiment, a variety of RADAR sensor types may be used. For example, but not limited to, one or more RADAR sensors 1860 may be suitable for front, rear, and side RADAR use. In at least one embodiment, one or more RADAR sensors 1860 are pulse Doppler RADAR sensors.
[0240] In at least one embodiment, one or more RADAR sensors 1860 may include different configurations, such as long-range with narrow field of view, short-range with wide range, short-range side coverage, etc. In at least one embodiment, the long-range RADAR can be used for adaptive cruise control functions. In at least one embodiment, the long-range RADAR system can provide a wide field of view achieved by two or more independent scans (e.g., within 250m). In at least one embodiment, one or more RADAR sensors 1860 can help distinguish between static objects and moving objects, and can be used by the ADAS system 1838 for emergency braking assistance and forward collision warning. One or more sensors 1860 included in the long-range RADAR system may include, but are not limited to, a single-base multi-mode RADAR with multiple (e.g., six or more) fixed RADAR antennas and high-speed CAN and FlexRay interfaces. In at least one embodiment, having six antennas, the central four antennas can create a focused beam pattern designed to record the surroundings of the vehicle 1800 at a higher speed with minimal traffic interference in adjacent lanes. In at least one embodiment, the other two antennas can extend the field of view so that vehicles entering or leaving the lane of vehicle 1800 can be detected quickly.
[0241] In at least one embodiment, as an example, the medium-range RADAR system may include a range of up to 160m (front) or 80m (rear), and a field of view of up to 42 degrees (front) or 150 degrees (rear). In at least one embodiment, the short-range RADAR system may include, but is not limited to, any number of RADAR sensors 1860 designed to be mounted at both ends of the rear bumper. When mounted at both ends of the rear bumper, in at least one embodiment, the RADAR sensor system can generate two light beams that constantly monitor the rear of the vehicle and nearby blind spots. In at least one embodiment, the short-range RADAR system can be used in the ADAS system 1838 for blind spot detection and / or lane change assistance.
[0242] In at least one embodiment, the vehicle 1800 may further include one or more ultrasonic sensors 1862. Ultrasonic sensors 1862 that may be positioned at the front, rear, and / or sides of the vehicle 1800 may be used for parking assistance and / or creating and updating occupancy barriers. In at least one embodiment, a variety of one or more ultrasonic sensors 1862 may be used, and one or more different ultrasonic sensors 1862 may be used for different detection ranges (e.g., 2.5m, 4m). In at least one embodiment, one or more ultrasonic sensors 1862 may operate at a functional safety level of ASIL B.
[0243] In at least one embodiment, the vehicle 1800 may include one or more LIDAR sensors 1864. The LIDAR sensor 1864 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. In at least one embodiment, the LIDAR sensor 1864 may be functional safety level ASIL B. In at least one embodiment, the vehicle 1800 may include multiple (e.g., two, four, six, etc.) LIDAR sensors 1864 that may use Ethernet (e.g., provide data to a Gigabit Ethernet switch).
[0244] In at least one embodiment, one or more LIDAR sensors 1864 may be able to provide a list of objects and their distances for a 360-degree field of view. In at least one embodiment, one or more commercially available LIDAR sensors 1864 may, for example, have an advertised range of approximately 100m, have an accuracy of 2cm-3cm, and support 100Mbps Ethernet connections. In at least one embodiment, one or more non-obtrusive LIDAR sensors 1864 may be used. In such an embodiment, one or more LIDAR sensors 1864 may be implemented as small devices that can be embedded in the front, rear, sides, and / or corners of the vehicle 1800. In at least one embodiment, one or more LIDAR sensors 1864, in such an embodiment, may provide up to 120 degrees of horizontal field of view and 35 degrees of vertical field of view, even for low reflectivity objects, and have a range of 200m. In at least one embodiment, one or more forward LIDAR sensors 1864 may be configured for a horizontal field of view between 45 degrees and 135 degrees.
[0245] In at least one embodiment, LIDAR technology (such as 3D flash LIDAR) may also be used. 3D flash LIDAR uses laser flashes as a transmission source to illuminate approximately 200m around the vehicle 1800. In at least one embodiment, the flash LIDAR unit includes but is not limited to a receiver that records the laser pulse propagation time and the reflected light on each pixel, which in turn corresponds to the range from the vehicle 1800 to the object. In at least one embodiment, the flash LIDAR can allow each laser flash to be used to generate a highly accurate and distortion-free image of the surrounding environment. In at least one embodiment, four flash LIDAR sensors can be deployed, one sensor on each side of the vehicle 1800. In at least one embodiment, the 3D flash LIDAR system includes but is not limited to a solid-state 3D line-of-sight array LIDAR camera with no moving parts other than a fan (e.g., a non-scanning LIDAR device). In at least one embodiment, the flash LIDAR device can use 5 nanosecond Class I (eye-safe) laser pulses per frame and can capture the reflected laser light in the form of a 3D range point cloud and co-registered intensity data.
[0246] In at least one embodiment, the vehicle may also include one or more IMU sensors 1866. In at least one embodiment, one or more IMU sensors 1866 may be located at the rear axle center of the vehicle 1800, in at least one embodiment. In at least one embodiment, one or more IMU sensors 1866 may include, for example but not limited to, one or more accelerometers, one or more magnetometers, one or more gyroscopes, one or more magnetic compasses, and / or other sensor types. In at least one embodiment, for example in a six-axis application, one or more IMU sensors 1866 may include but are not limited to accelerometers and gyroscopes. In at least one embodiment, for example in a nine-axis application, one or more IMU sensors 1866 may include but are not limited to accelerometers, gyroscopes, and magnetometers.
[0247] In at least one embodiment, one or more IMU sensors 1866 may be implemented as a miniature high-performance GPS-aided inertial navigation system ("GPS / INS") that combines micro-electromechanical systems ("MEMS") inertial sensors, a high-sensitivity GPS receiver, and an advanced Kalman filter algorithm to provide estimates of position, velocity, and attitude; in at least one embodiment, one or more IMU sensors 1866 may enable the vehicle 1800 to estimate heading without input from a magnetic sensor by directly observing and correlating velocity changes from GPS to one or more IMU sensors 1866. In at least one embodiment, one or more IMU sensors 1866 and one or more GNSS sensors 1858 may be combined in a single integrated unit.
[0248] In at least one embodiment, the vehicle 1800 can include one or more microphones 1896 positioned within and / or around the vehicle 1800. In at least one embodiment, among other things, the one or more microphones 1896 can be used for emergency vehicle detection and identification.
[0249] In at least one embodiment, the vehicle 1800 may further include any number of camera types, including one or more stereo cameras 1868, one or more wide-angle cameras 1870, one or more infrared cameras 1872, one or more surround cameras 1874, one or more long-range cameras 1898, one or more mid-range cameras 1876, and / or other camera types. In at least one embodiment, the cameras may be used to capture image data around the entire periphery of the vehicle 1800. In at least one embodiment, the type of camera used depends on the vehicle 1800. In at least one embodiment, any combination of camera types may be used to provide the necessary coverage around the vehicle 1800. In at least one embodiment, the number of cameras may vary depending on the embodiment. For example, in at least one embodiment, the vehicle 1800 may include six cameras, seven cameras, ten cameras, twelve cameras, or another number of cameras. The cameras may, by way of example but not limitation, support Gigabit Multimedia Serial Link ("GMSL") and / or Gigabit Ethernet. In at least one embodiment, the present invention previously described with reference to FIG. Fig.18A and Fig.18B Each camera is described in more detail.
[0250] In at least one embodiment, the vehicle 1800 may further include one or more vibration sensors 1842. In at least one embodiment, the one or more vibration sensors 1842 may measure vibrations of a component of the vehicle 1800 (e.g., one or more shafts). For example, in at least one embodiment, changes in vibration may indicate changes in the road surface. In at least one embodiment, when two or more vibration sensors 1842 are used, the difference between the vibrations may be used to determine friction or slippage of the road surface (e.g., when there is a vibration difference between a powered drive shaft and a freely rotating shaft).
[0251] In at least one embodiment, the vehicle 1800 may include an ADAS system 1838. In some examples, the ADAS system 1838 may include, but is not limited to, a SoC. In at least one embodiment, the ADAS system 1838 may include, but is not limited to, any number of autonomous / adaptive / automatic cruise control ("ACC") systems, cooperative adaptive cruise control ("CACC") systems, forward collision warning ("FCW") systems, automatic emergency braking ("AEB") systems, lane departure warning ("LDW") systems, lane keeping assist ("LKA") systems, blind spot warning ("BSW") systems, rear cross traffic warning ("RCTW") systems, collision warning ("CW") systems, lane centering ("LC") systems, and / or other systems, features, and / or functions, and combinations thereof.
[0252] In at least one embodiment, the ACC system may use one or more RADAR sensors 1860, one or more LIDAR sensors 1864, and / or any number of cameras. In at least one embodiment, the ACC system may include a longitudinal ACC system and / or a lateral ACC system. In at least one embodiment, the longitudinal ACC system monitors and controls the distance to vehicles immediately adjacent to the vehicle 1800 and automatically adjusts the speed of the vehicle 1800 to maintain a safe distance from the vehicle ahead. In at least one embodiment, the lateral ACC system performs distance keeping and suggests that the vehicle 1800 change lanes when necessary. In at least one embodiment, the lateral ACC is related to other ADAS applications, such as LC and CW.
[0253] In at least one embodiment, the CACC system uses information from other vehicles, which can be received from other vehicles via a wireless link or indirectly via a network connection (e.g., via the Internet) via a network interface 1824 and / or one or more wireless antennas 1826. In at least one embodiment, a direct link can be provided by a vehicle-to-vehicle ("V2V") communication link, while an indirect link can be provided by an infrastructure-to-vehicle ("I2V") communication link. Typically, the V2V communication concept provides information about the vehicle immediately ahead (e.g., the vehicle immediately ahead of vehicle 1800 and in the same lane as it), while the I2V communication concept provides information about traffic further ahead. In at least one embodiment, the CACC system can include one or both of the I2V and V2V information sources. In at least one embodiment, given the information of the vehicle ahead of vehicle 1800, the CACC system can be more reliable and has the potential to improve the smoothness of traffic flow and reduce road congestion.
[0254] In at least one embodiment, the FCW system is designed to warn the driver of the hazard so that the driver can take corrective action. In at least one embodiment, the FCW system uses a forward-facing camera and / or one or more RADAR sensors 1860, which are coupled to a dedicated processor, DSP, FPGA and / or ASIC, which are electrically coupled to driver feedback, such as a display, speaker and / or vibration component. In at least one embodiment, the FCW system can provide warnings, such as in the form of sounds, visual warnings, vibrations and / or rapid brake pulses.
[0255] In at least one embodiment, the AEB system detects an impending forward collision with another vehicle or other object and may automatically apply brakes if the driver does not take corrective action within specified time or distance parameters. In at least one embodiment, the AEB system may use one or more forward-facing cameras and / or one or more RADAR sensors 1860 coupled to a dedicated processor, DSP, FPGA, and / or ASIC. In at least one embodiment, when the AEB system detects a hazard, the AEB system typically first warns the driver to take corrective action to avoid the collision, and, if the driver does not take corrective action, the AEB system may automatically apply brakes to attempt to prevent or at least mitigate the effects of the predicted collision. In at least one embodiment, the AEB system may include technologies such as dynamic brake support and / or braking for impending collisions.
[0256] In at least one embodiment, the LDW system provides visual, audible, and / or tactile warnings, such as steering wheel or seat vibrations, to alert the driver when the vehicle 1800 crosses a lane marking. In at least one embodiment, the LDW system is inactive when the driver indicates an intentional lane departure by activating a turn signal. In at least one embodiment, the LDW system may use a front-facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to components such as a display, speaker, and / or vibration. In at least one embodiment, the LKA system is a variation of the LDW system. If the vehicle 1800 begins to leave the lane, the LKA system provides steering input or braking to correct the vehicle 1800.
[0257] In at least one embodiment, the BSW system detects and warns the driver of vehicles in the blind spot of the car. In at least one embodiment, the BSW system can provide visual, auditory and / or tactile alerts to indicate that it is unsafe to merge or change lanes. In at least one embodiment, the BSW system can provide additional warnings when the driver uses a turn signal. In at least one embodiment, the BSW system can use a rear-facing camera and / or one or more RADAR sensors 1860 coupled to a dedicated processor, DSP, FPGA and / or ASIC, which is electrically coupled to driver feedback, such as a display, speaker and / or vibration component.
[0258] In at least one embodiment, the RCTW system can provide visual, audible, and / or tactile notifications when an object is detected outside of the rear camera range while the vehicle 1800 is in reverse. In at least one embodiment, the RCTW system includes an AEB system to ensure that the vehicle brakes are applied to avoid a collision. In at least one embodiment, the RCTW system can use one or more rear-facing RADAR sensors 1860 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to driver feedback, such as a display, speaker, and / or vibration component.
[0259] In at least one embodiment, conventional ADAS systems may be prone to false positive results, which may annoy and distract the driver, but are generally not catastrophic because conventional ADAS systems warn the driver and allow the driver to decide whether a safe condition actually exists and take appropriate action. In at least one embodiment, in the event of conflicting results, the vehicle 1800 itself decides whether to listen to the results of the main computer or the auxiliary computer (e.g., the first controller 1836 or the second controller 1836). For example, in at least one embodiment, the ADAS system 1838 can be a backup and / or auxiliary computer for providing perception information to a backup computer rationality module. In at least one embodiment, the backup computer rationality monitor can run redundant various software on hardware components to detect faults in perception and dynamic driving tasks. In at least one embodiment, the output from the ADAS system 1838 can be provided to the monitoring MCU. In at least one embodiment, if the outputs from the main computer and the auxiliary computer conflict, the supervisory MCU decides how to coordinate the conflict to ensure safe operation.
[0260] In at least one embodiment, the primary computer can be configured to provide a confidence score to the supervisory MCU to indicate the primary computer's confidence in the selected result. In at least one embodiment, if the confidence score exceeds a threshold, the supervisory MCU can follow the instructions of the primary computer regardless of whether the secondary computer provides conflicting or inconsistent results. In at least one embodiment, in the event that the confidence score does not meet the threshold, and in the event that the primary computer and the secondary computer indicate different results (e.g., conflict), the supervisory MCU can arbitrate between the computers to determine the appropriate result.
[0261] In at least one embodiment, the supervisory MCU can be configured to run a neural network that is trained and configured to determine conditions under which the auxiliary computer provides a false alarm based at least in part on outputs from the primary computer and the auxiliary computer. In at least one embodiment, one or more neural networks in the supervisory MCU can learn when the output of the auxiliary computer can be trusted and when it cannot be trusted. For example, in at least one embodiment, when the auxiliary computer is a RADAR-based FCW system, one or more neural networks in the supervisory MCU can learn when the FCW system identifies metal objects that are not actually dangerous, such as drainage grates or manhole covers that will trigger an alarm. In at least one embodiment, when the auxiliary computer is a camera-based LDW system, when there are cyclists or pedestrians and lane departure is actually the safest operation, the neural network in the supervisory MCU can learn to override the LDW. In at least one embodiment, the supervisory MCU may include at least one of a DLA or a GPU suitable for running one or more neural networks with associated memory. In at least one embodiment, the supervisory MCU may include and / or be included as a component of one or more SoCs 1804.
[0262] In at least one embodiment, the ADAS system 1838 may include an auxiliary computer that performs ADAS functions using traditional computer vision rules. In at least one embodiment, the auxiliary computer may use classical computer vision rules (if-then), and the presence of one or more neural networks in the supervisory MCU may improve reliability, safety, and performance. For example, in at least one embodiment, the diverse implementations and intentional non-identity make the entire system more fault-tolerant, especially for failures caused by software (or software-hardware interface) functions. For example, in at least one embodiment, if there is a software vulnerability or error in the software running on the main computer, and the different software code running on the auxiliary computer provides the same overall result, the supervisory MCU can be more confident that the overall result is correct and that the vulnerability in the software or hardware on the main computer will not cause a major error.
[0263] In at least one embodiment, the output of the ADAS system 1838 can be input into the perception module of the main computer and / or the dynamic driving task module of the main computer. For example, in at least one embodiment, if the ADAS system 1838 indicates a forward collision warning due to an object directly ahead, the perception block can use this information in identifying the object. In at least one embodiment, as described herein, the auxiliary computer can have its own neural network that is trained to reduce the risk of false positives.
[0264] In at least one embodiment, the vehicle 1800 may further include an infotainment SoC 1830 (e.g., an in-vehicle infotainment system (IVI)). Although shown and described as a SoC, in at least one embodiment, the infotainment system 1830 may not be a SoC and may include, but is not limited to, two or more discrete components. In at least one embodiment, the infotainment SoC 1830 may include, but is not limited to, a combination of hardware and software that can be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., TV, movies, streaming, etc.), phone (e.g., hands-free calling), network connectivity (e.g., LTE, WiFi, etc.), and / or information services (e.g., navigation system, rear parking assist, radio data system, vehicle-related information such as fuel level, total distance covered, brake fuel level, oil level, door open / closed, air filter information, etc.) to the vehicle 1800. For example, the infotainment SoC 1830 may include a radio, a disk player, a navigation system, a video player, USB and Bluetooth connections, a car, an in-vehicle entertainment system, WiFi, steering wheel audio controls, hands-free voice control, a head-up display ("HUD"), an HMI display 1834, a telematics device, a control panel (e.g., for controlling and / or interacting with various components, features, and / or systems), and / or other components. In at least one embodiment, the infotainment SoC 1830 may be further used to provide information (e.g., visual and / or auditory) to a user of the vehicle, such as information from an ADAS system 1838, autonomous driving information (such as planned vehicle maneuvers), trajectories, surrounding environment information (e.g., intersection information, vehicle information, road information, etc.), and / or other information.
[0265] In at least one embodiment, the infotainment SoC 1830 may include any number and type of GPU functionality. In at least one embodiment, the infotainment SoC 1830 may communicate with other devices, systems, and / or components of the vehicle 1800 via a bus 1802 (e.g., CAN bus, Ethernet, etc.). In at least one embodiment, the infotainment SoC 1830 may be coupled to a monitoring MCU so that the GPU of the infotainment system may perform some autonomous driving functions in the event of a failure of a main controller 1836 (e.g., a main computer and / or backup computer of the vehicle 1800). In at least one embodiment, the infotainment SoC 1830 may cause the vehicle 1800 to enter a driver-to-safety stop mode, as described herein.
[0266] In at least one embodiment, the vehicle 1800 may further include a dashboard 1832 (e.g., a digital dashboard, an electronic dashboard, a digital instrument panel, etc.). In at least one embodiment, the dashboard 1832 may include, but is not limited to, a controller and / or a supercomputer (e.g., a discrete controller or a supercomputer). In at least one embodiment, the dashboard 1832 may include, but is not limited to, any number and combination of a set of instruments, such as a speedometer, a fuel level, an oil pressure, a tachometer, an odometer, a turn indicator, one or more shift position indicators, one or more seat belt warning lights, one or more parking brake warning lights, one or more engine fault lights, supplementary restraint system (e.g., airbag) information, lighting controls, safety system controls, navigation information, etc. In some examples, information may be displayed and / or shared between the infotainment SoC 1830 and the dashboard 1832. In at least one embodiment, the dashboard 1832 may be included as part of the infotainment SoC 1830, and vice versa.
[0267] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provides details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be implemented in the system Fig. 18C to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0268] Fig.18D In accordance with at least one embodiment, one or more cloud-based servers and Fig.18A1800. In at least one embodiment, system 1876 may include, but is not limited to, one or more servers 1878, one or more networks 1890, and any number and type of vehicles, including vehicle 1800. In at least one embodiment, one or more servers 1878 may include, but are not limited to, multiple GPUs 1884(A)-1884(H) (collectively referred to herein as GPUs 1884), PCIe switches 1882(A)-1882(H) (collectively referred to herein as PCIe switches 1882), and / or CPUs 1880(A)-1880(B) (collectively referred to herein as CPUs 1880), GPUs 1884, CPUs 1880, and PCIe switches 1882 may be interconnected with high-speed connections, such as, but not limited to, NVLink interface 1888 and / or PCIe connections 1886 developed by NVIDIA. In at least one embodiment, the GPUs 1884 are connected via NVLink and / or NVSwitch SoC, and the GPUs 1884 and PCIe switches 1882 are connected via PCIe interconnects. In at least one embodiment, although eight GPUs 1884, two CPUs 1880, and four PCIe switches 1882 are shown, this is not intended to be limiting. In at least one embodiment, each of the servers 1878 may include, but is not limited to, any combination of any number of GPUs 1884, CPUs 1880, and / or PCIe switches 1882. For example, in at least one embodiment, one or more servers 1878 may each include eight, sixteen, thirty-two, and / or more GPUs 1884.
[0269] In at least one embodiment, one or more servers 1878 may receive image data representing an image from a vehicle via one or more networks 1890, the image showing an unexpected or changed road condition, such as a recently started road project. In at least one embodiment, one or more servers 1878 may transmit a neural network 1892, an updated neural network 1892, and / or map information 1894, including but not limited to information about traffic and road conditions, via one or more networks 1890 and to the vehicle. In at least one embodiment, updates to the map information 1894 may include but are not limited to updates to the HD map 1822, such as information about construction sites, potholes, access roads, flooding, and / or other obstacles. In at least one embodiment, the neural network 1892, the updated neural network 1892, and / or the map information 1894 may be generated by new training and / or experience represented in data received from any number of vehicles in the environment, and / or based at least on training performed at a data center (e.g., using one or more servers 1878 and / or other servers).
[0270] In at least one embodiment, one or more servers 1878 can be used to train a machine learning model (e.g., a neural network) based at least in part on the training data. In at least one embodiment, the training data can be generated by the vehicle, and / or can be generated in simulation (e.g., using a game engine). In at least one embodiment, any amount of the training data is labeled (e.g., where the associated neural network benefits from supervised learning) and / or otherwise preprocessed. In at least one embodiment, no amount of the training data is labeled and / or preprocessed (e.g., where the associated neural network does not require supervised learning). In at least one embodiment, once the machine learning model is trained, the machine learning model can be used by the vehicle (e.g., transmitted to the vehicle via one or more networks 1890, and / or the machine learning model can be used by one or more servers 1878 to remotely monitor the vehicle.
[0271] In at least one embodiment, one or more servers 1878 may receive data from the vehicle and apply the data to the latest real-time neural network for real-time intelligent reasoning. In at least one embodiment, one or more servers 1878 may include a deep learning supercomputer and / or a dedicated AI computer powered by one or more GPUs 1884, such as the DGX and DGX Station machines developed by NVIDIA. However, in at least one embodiment, one or more servers 1878 may include a deep learning infrastructure of a data center powered by a CPU.
[0272] In at least one embodiment, the deep learning infrastructure of one or more servers 1878 may be capable of rapid, real-time inference, and may use this capability to assess and validate the health of the processors, software, and / or associated hardware in the vehicle 1800. For example, in at least one embodiment, the deep learning infrastructure may receive periodic updates from the vehicle 1800, such as an image sequence and / or objects that the vehicle 1800 has located in that image sequence (e.g., via computer vision and / or other machine learning object classification techniques). In at least one embodiment, the deep learning infrastructure may run its own neural network to identify objects and compare them to those identified by the vehicle 1800, and, if the results do not match and the deep learning infrastructure concludes that the AI in the vehicle 1800 is malfunctioning, the one or more servers 1878 may send a signal to the vehicle 1800 to instruct the fail-safe computer of the vehicle 1800 to take control, notify passengers, and complete a safe parking maneuver.
[0273] In at least one embodiment, one or more servers 1878 may include one or more GPUs 1884 and one or more programmable inference accelerators (e.g., NVIDIA's TensorRT 3). In at least one embodiment, the combination of GPU-driven servers and inference acceleration can enable real-time response. In at least one embodiment, for example, in situations where performance is not critical, servers driven by CPUs, FPGAs, and other processors can be used for inference. In at least one embodiment, one or more hardware structures 1515 are used to execute one or more embodiments. This article combines Fig.15A and / or Fig. 15B Provides details about the hardware structure (x) 1515.
[0274] Computer Systems
[0275] Fig.19 1 is a block diagram illustrating an exemplary computer system according to at least one embodiment, which may be a system of interconnected devices and components, a system on a chip (SOC), or some combination thereof formed with a processor 1900, which may include an execution unit to execute instructions. In at least one embodiment, according to the present disclosure, such as the embodiments described herein, the computer system 1900 may include, but is not limited to, components, such as a processor 1902, whose execution unit includes logic to execute algorithms for processing data. In at least one embodiment, the computer system 1900 may include a processor, such as a processor available from Intel Corporation of Santa Clara, California. Processor family, Xeon TM , XScale TM and / or StrongARM TM , Core TM or Nervana TM microprocessor, although other systems (including PCs with other microprocessors, engineering workstations, set-top boxes, etc.) may also be used. In at least one embodiment, computer system 1900 may execute a version of the WINDOWS operating system available from Microsoft Corporation of Redmond, Wash., although other operating systems (e.g., UNIX and Linux), embedded software, and / or graphical user interfaces may also be used.
[0276] Embodiments may be used in other devices, such as handheld devices and embedded applications. Some examples of handheld devices include cellular phones, Internet Protocol (Internet Protocol) devices, digital cameras, personal digital assistants ("PDAs"), and handheld PCs. In at least one embodiment, the embedded application may include a microcontroller, a digital signal processor ("DSP"), a system on a chip, a network computer ("NetPC"), a set-top box, a network hub, a wide area network ("WAN") switch, or any other system that can execute one or more instructions according to at least one embodiment.
[0277] In at least one embodiment, the computer system 1900 may include, but is not limited to, a processor 1902, which may include, but is not limited to, one or more execution units 1908 to perform machine learning model training and / or reasoning according to the techniques described herein. In at least one embodiment, the system 1900 is a single-processor desktop or server system, but in another embodiment, the system 1200 may be a multi-processor system. In at least one embodiment, the processor 1902 may include, but is not limited to, a complex instruction set computer ("CISC") microprocessor, a reduced instruction set computing ("RISC") microprocessor, a very long instruction word ("VLIW") microprocessor, a processor that implements an instruction set combination, or any other processor device, such as a digital signal processor. In at least one embodiment, the processor 1902 may be coupled to a processor bus 1910, which may transmit data signals between the processor 1902 and other components in the computer system 1900.
[0278] In at least one embodiment, processor 1902 may include, but is not limited to, a level 1 ("L1") internal cache memory ("cache") 1904. In at least one embodiment, processor 1902 may have a single internal cache or multiple levels of internal cache. In at least one embodiment, the cache memory may reside external to processor 1902. Other embodiments may also include a combination of internal and external caches, depending on the particular implementation and needs. In at least one embodiment, register file 1906 may store different types of data in various registers, including, but not limited to, integer registers, floating point registers, status registers, and instruction pointer registers.
[0279] In at least one embodiment, an execution unit 1908, including but not limited to logic to perform integer and floating point operations, is also located in the processor 1902. In at least one embodiment, the processor 1902 may also include a microcode ("ucode") read-only memory ("ROM") for storing microcode for certain macroinstructions. In at least one embodiment, the execution unit 1908 may include logic for processing a packed instruction set 1909. In at least one embodiment, by including the packed instruction set 1909 in the instruction set of the general purpose processor 1902, and the associated circuitry to execute the instructions, operations used by many multimedia applications may be performed using packed data in the general purpose processor 1902. In one or more embodiments, many multimedia applications may be executed faster and more efficiently by using the full width of the processor's data bus to perform operations on the packed data, which may not require the transfer of smaller units of data on the processor's data bus to perform one or more operations one data element at a time.
[0280] In at least one embodiment, execution unit 1908 may also be used in microcontrollers, embedded processors, graphics devices, DSPs, and other types of logic circuits. In at least one embodiment, computer system 1900 may include, but is not limited to, memory 1920. In at least one embodiment, memory 1920 may be implemented as a dynamic random access memory ("DRAM") device, a static random access memory ("SRAM") device, a flash memory device, or other storage device. In at least one embodiment, memory 1920 may store one or more instructions 1919 and / or data 1921 represented by data signals that may be executed by processor 1902.
[0281] In at least one embodiment, the system logic chip can be coupled to the processor bus 1910 and the memory 1920. In at least one embodiment, the system logic chip can include, but is not limited to, a memory controller hub ("MCH") 1916, and the processor 1902 can communicate with the MCH 1916 via the processor bus 1910. In at least one embodiment, the MCH 1916 can provide a high bandwidth memory path 1918 to the memory 1920 for instruction and data storage and for storage of graphics commands, data, and textures. In at least one embodiment, the MCH 1916 can initiate data signals between the processor 1902, the memory 1920, and other components in the computer system 1900, and bridge data signals between the processor bus 1910, the memory 1920, and the system I / O 1922. In at least one embodiment, the system logic chip can provide a graphics port for coupling to a graphics controller. In at least one embodiment, the MCH 1916 may be coupled to the memory 1920 via a high bandwidth memory path 1918 , and the graphics / video card 1912 may be coupled to the MCH 1916 via an Accelerated Graphics Port (“AGP”) interconnect 1914 .
[0282] In at least one embodiment, the computer system 1900 can use the system I / O 1922 as a proprietary hub interface bus to couple the MCH 1916 to an I / O controller hub ("ICH") 1930. In at least one embodiment, the ICH 1930 can provide direct connections to certain I / O devices through a local I / O bus. In at least one embodiment, the local I / O bus can include, but is not limited to, a high-speed I / O bus used to connect peripheral devices to the memory 1920, the chipset, and the processor 1902. Examples can include, but are not limited to, an audio controller 1929, a firmware hub ("flash BIOS") 1928, a wireless transceiver 1926, data storage 1924, a traditional I / O controller 1923 including user input and a keyboard interface, a serial expansion port 1927 (e.g., a universal serial bus (USB)), and a network controller 1934. The data storage 1924 can include a hard drive, a floppy drive, a CD-ROM device, a flash memory device, or other mass storage device.
[0283] In at least one embodiment, Fig.19 The system is shown as comprising interconnected hardware devices or "chips", while in other embodiments, Fig.19 An exemplary system on a chip ("SoC") may be shown. In at least one embodiment, Fig.19The devices shown in can be interconnected with a proprietary interconnect, a standardized interconnect (eg, PCIe), or some combination thereof. In at least one embodiment, one or more components of computer system 1900 are interconnected using a compute express link (CXL) interconnect.
[0284] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations related to one or more embodiments. Fig.15A and / or Fig. 15B Provides details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be implemented in the system Fig.19 for use in reasoning or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0285] Fig. 20 2000 is a block diagram illustrating an electronic device 2000 for utilizing a processor 2010 according to at least one embodiment. In at least one embodiment, the electronic device 2000 may be, for example but not limited to, a notebook computer, a tower server, a rack server, a blade server, a laptop computer, a desktop computer, a tablet computer, a mobile device, a phone, an embedded computer, or any other suitable electronic device.
[0286] In at least one embodiment, system 2000 may include, but is not limited to, a processor 2010 communicatively coupled to any suitable number or kind of components, peripherals, modules, or devices. In at least one embodiment, processor 2010 is coupled using a bus or interface, such as an I2C bus, a system management bus ("SMBus"), a low pin count (LPC) bus, a serial peripheral interface ("SPI"), a high-definition audio ("HDA") bus, a serial advanced technology attachment ("SATA") bus, a universal serial bus ("USB") (versions 1, 2, 3), or a universal asynchronous receiver / transmitter ("UART") bus. In at least one embodiment, Fig. 20 A system is shown that includes interconnected hardware devices or "chips", while in other embodiments, Fig. 20 An exemplary system on a chip ("SoC") may be shown. In at least one embodiment, Fig. 20 The devices shown in can be interconnected with a proprietary interconnect, a standardized interconnect (e.g., PCIe), or some combination thereof. In at least one embodiment, Fig. 20 One or more components of the system are interconnected using Compute Express Link (CXL) interconnect lines.
[0287] In at least one embodiment, Fig. 20It may include a display 2024, a touch screen 2025, a touch pad 2030, a near field communication unit (“NFC”) 2045, a sensor hub 2040, a thermal sensor 2046, a fast chipset (“EC”) 2035, a trusted platform module (“TPM”) 2038, a BIOS / firmware / flash memory (“BIOS, FW Flash”) 2022, a DSP 2060, a drive 2020 (e.g., a solid state disk (“SSD”) or a hard disk drive (“HDD”)), a wireless local area network unit (“WLAN”) 2050, a Bluetooth unit 2052, a wireless wide area network unit (“WWAN”) 2056, a global positioning system (GPS) 2055, a camera (“USB 3.0 camera”) 2054 (e.g., a USB 3.0 camera), and / or a low power double data rate (“LPDDR”) memory unit (“LPDDR3”) 2015 implemented in, for example, the LPDDR3 standard. These components may each be implemented in any suitable manner.
[0288] In at least one embodiment, other components may be communicatively coupled to the processor 2010 through the components discussed above. In at least one embodiment, the accelerometer 2041, ambient light sensor (“ALS”) 2042, compass 2043, and gyroscope 2044 may be communicatively coupled to the sensor hub 2040. In at least one embodiment, the thermal sensor 2039, fan 2037, keyboard 2046, and touchpad 2030 may be communicatively coupled to the EC 2035. In at least one embodiment, the speaker 2063, earphone 2064, and microphone (“mic”) 2065 may be communicatively coupled to the audio unit (“audio codec and class D amplifier”) 2064, which in turn may be communicatively coupled to the DSP 2060. In at least one embodiment, the audio unit 2064 may include, for example, but not limited to, an audio encoder / decoder (“codec”) and a class D amplifier. In at least one embodiment, the SIM card (“SIM”) 2057 may be communicatively coupled to the WWAN unit 2056. In at least one embodiment, components such as the WLAN unit 2050 and the Bluetooth unit 2052 and the WWAN unit 2056 may be implemented as a next generation form factor (NGFF).
[0289] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be Fig. 20for use in a system for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0290] Fig.21 A computer system 2100 is shown in accordance with at least one embodiment. In at least one embodiment, the computer system 2100 is configured to implement the various processes and methods described throughout this disclosure.
[0291] In at least one embodiment, the computer system 2100 includes, but is not limited to, at least one central processing unit ("CPU") 2102 connected to a communication bus 2110 implemented using any suitable protocol, such as PCI ("Peripheral Component Interconnect"), Peripheral Component Interconnect Express ("PCI-Express"), AGP ("Accelerated Graphics Port"), HyperTransport, or any other bus or one or more point-to-point communication protocols. In at least one embodiment, the computer system 2100 includes, but is not limited to, a main memory 2104 and control logic (e.g., implemented as hardware, software, or a combination thereof), and data is stored in the main memory 2104 (which may take the form of random access memory ("RAM")). In at least one embodiment, a network interface subsystem ("network interface") 2122 provides an interface to other computing devices and networks for receiving data from other systems outside the computer system 2100 and sending data to other systems.
[0292] In at least one embodiment, the computer system 2100 includes, but is not limited to, an input device 2108, a parallel processing system 2112, and a display device 2106, which may be implemented using a conventional cathode ray tube ("CRT"), a liquid crystal display ("LCD"), a light emitting diode ("LED"), a plasma display, or other suitable display technology. In at least one embodiment, user input is received from the input device 2108 (such as a keyboard, a mouse, a touch pad, a microphone, etc.). In at least one embodiment, each of the foregoing modules may be located on a single semiconductor platform to form a processing system.
[0293] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be Fig.21for use in a system to perform inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0294] Fig. 22 A computer system 2200 is shown according to at least one embodiment. In at least one embodiment, the computer system 2200 includes, but is not limited to, a computer 2210 and a USB stick 2220. In at least one embodiment, the computer 2210 may include, but is not limited to, any number and type of one or more processors (not shown) and memory (not shown). In at least one embodiment, the computer 2210 includes, but is not limited to, a server, a cloud instance, a laptop, and a desktop computer.
[0295] In at least one embodiment, the USB stick 2220 includes, but is not limited to, a processing unit 2230, a USB interface 2240, and a USB interface logic 2250. In at least one embodiment, the processing unit 2230 may be any instruction execution system, device, or device capable of executing instructions. In at least one embodiment, the processing unit 2230 may include, but is not limited to, any number and type of processing cores (not shown). In at least one embodiment, the processing core 2230 includes an application-specific integrated circuit ("ASIC") that is optimized to perform any number and type of operations associated with machine learning. For example, in at least one embodiment, the processing core 2230 is a tensor processing unit ("TPC") that is optimized to perform machine learning reasoning operations. In at least one embodiment, the processing core 2230 is a visual processing unit ("VPU") that is optimized to perform machine vision and machine learning reasoning operations.
[0296] In at least one embodiment, USB interface 2240 can be any type of USB connector or USB socket. For example, in at least one embodiment, USB interface 2240 is a USB 3.0 Type-C socket for data and power. In at least one embodiment, USB interface 2240 is a USB 3.0 Type-A connector. In at least one embodiment, USB interface logic 2250 can include any number and type of logic that enables processing unit 2230 to interface with a device (e.g., computer 2210) via USB connector 2240.
[0297] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be Fig. 22 for use in a system for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0298] Fig.23A An exemplary architecture is shown in which multiple GPUs 2310-2313 are communicatively coupled to multiple multi-core processors 2305-2306 via high-speed links 2340-2343 (e.g., buses, point-to-point interconnects, etc.). In one embodiment, the high-speed links 2340-2343 support 4GB / s, 30GB / s, 80GB / s, or higher communication throughput. Various interconnect protocols can be used, including but not limited to PCIe 4.0 or 5.0 and NVLink 2.0.
[0299] In addition, in one embodiment, two or more of the GPUs 2310-2313 are interconnected via high-speed links 2329-2330, which can be implemented using the same or different protocols / links as those used for high-speed links 2340-2343. Similarly, two or more multi-core processors 2305-2306 can be connected via high-speed links 2328, which can be a symmetric multiprocessor (SMP) bus running at 20GB / s, 30GB / s, 120GB / s or higher. Alternatively, all communications between the various system components shown in Figure 23 can be accomplished using the same protocol / link (e.g., via a common interconnect structure).
[0300] In one embodiment, each multi-core processor 2305-2306 is communicatively coupled to processor memory 2301-2302 via memory interconnects 2326-2327, respectively, and each GPU 2310-2313 is communicatively coupled to GPU memory 2320-2323 via GPU memory interconnects 2350-2353. Memory interconnects 2326-2327 and 2350-2353 may utilize the same or different memory access technologies. By way of example and not limitation, processor memory 2301-2302 and GPU memory 2320-2323 may be volatile memory, such as dynamic random access memory (DRAM) (including stacked DRAM), graphics DDR SDRAM (GDDR) (e.g., GDDR5, GDDR6), or high bandwidth memory (HBM) and / or may be non-volatile memory (e.g., 3DXPoint or Nano-Ram). In one embodiment, some portion of the processor memory 2301-2302 may be volatile memory, while another portion of the processor memory 2301-2302 may be non-volatile memory (eg, using a two-level memory (2LM) hierarchy).
[0301] As described herein, although the various processors 2305-2306 and GPUs 2310-2313 may be physically coupled to specific memories 2301-2302, 2320-2323, respectively, a unified memory architecture may be implemented in which the same virtual system address space (also referred to as an "effective address" space) is distributed among the various physical memories. For example, the processor memories 2301-2302 may each include 64GB of system memory address space, and the GPU memories 2320-2323 may each include 32GB of system memory address space (resulting in a total of 256GB of addressable memory in this example).
[0302] Fig. 23B Additional details are shown for the interconnection between the multi-core processor 2307 and the graphics acceleration module 2346 according to an exemplary embodiment. The graphics acceleration module 2346 may include one or more GPU chips integrated on a line card coupled to the processor 2307 via the high-speed link 2340. Alternatively, the graphics acceleration module 2346 may be integrated with the processor 2307 on the same package or chip.
[0303] In at least one embodiment, the processor 2307 shown includes multiple cores 2360A-2360D, each core having a translation lookaside buffer 2361A-2361D and one or more caches 2362A-2362D. In at least one embodiment, the cores 2360A-2360D may include various other components for executing instructions not shown and processing data. Caches 2362A-2362D may include level 1 (L1) and level 2 (L2) caches. In addition, one or more shared caches 2356 may be included in caches 2362A-2362D and shared by a group of cores 2360A-2360D. For example, one embodiment of the processor 2307 includes 24 cores, each core having its own L1 cache, twelve shared L2 caches, and twelve shared L3 caches. In this embodiment, two adjacent cores share one or more L2 and L3 caches. The processor 2307 and the graphics acceleration module 2346 are connected to the system memory 2314, which may include Fig.23A Processor memory 2301-2302.
[0304] The coherence of data and instructions stored in the various caches 2362A-2362D, 2356, and the system memory 2314 is maintained via inter-core communications on the coherence bus 2364. For example, each cache may have cache coherence logic / circuitry associated therewith that communicates on the coherence bus 2364 in response to a detected read or write to a particular cache line. In one implementation, a cache snooping protocol is implemented on the coherence bus 2364 to snoop cache accesses.
[0305] In one embodiment, the proxy circuit 2325 communicatively couples the graphics acceleration module 2346 to the coherence bus 2364, thereby allowing the graphics acceleration module 2346 to participate in a cache coherence protocol as a peer of the cores 2360A-2360D. In particular, the interface 2335 provides a connection to the proxy circuit 2325 via a high-speed link 2340 (e.g., a PCIe bus, NVLink, etc.), and the interface 2337 connects the graphics acceleration module 2346 to the link 2340.
[0306] In one embodiment, the accelerator integrated circuit 2336 represents multiple graphics processing engines 2331, 2332, N of the graphics acceleration module 2346, providing cache management, memory access, context management, and interrupt management services. The graphics processing engines 2331, 2332, N can each include a separate graphics processing unit (GPU). Optionally, the graphics processing engines 2331, 2332, N may include different types of graphics processing engines within the GPU, such as a graphics execution unit, a media processing engine (e.g., a video encoder / decoder), a sampler, and a dual-track engine. In at least one embodiment, the graphics acceleration module 2346 can be a GPU with multiple graphics processing engines 2331-2332, N or the graphics processing engines 2331-2332, N can be separate GPUs integrated on a common package, line card, or chip.
[0307] In one embodiment, the accelerator integrated circuit 2336 includes a memory management unit (MMU) 2339 for performing various memory management functions, such as virtual to physical memory translation (also known as effective to real memory translation) and memory access protocols for accessing system memory 2314. The MMU 2339 may also include a translation lookaside buffer (TLB) (not shown) for caching virtual / effective to physical / real address translations. In one implementation, the cache 2338 stores commands and data for efficient access by the graphics processing engines 2331-2332, N. In one embodiment, the data stored in the cache 2338 and the graphics memory 2333-2334, M is kept consistent with the core cache 2362A-2362D, 2356 and the system memory 2314. As described above, this can be accomplished via proxy circuitry 2325 representing cache 2338 and memory 2333-2334, M (e.g., sending updates to cache 2338 related to modifications / accesses of cache lines on processor caches 2362A-2362D, 2356 and receiving updates from cache 2338).
[0308] A set of registers 2345 stores context data for threads executed by graphics processing engines 2331-2332, N, and context management circuitry 2348 manages thread contexts. For example, context management circuitry 2348 may perform save and restore operations to save and restore contexts for various threads during context switches (e.g., where a first thread is saved and a second thread is stored so that the second thread can be executed by the graphics processing engine). For example, upon a context switch, context management circuitry 2348 may store current register values to a specified area in memory (e.g., identified by a context pointer). Then, when returning to context, it may restore the register values. In one embodiment, interrupt management circuitry 2347 receives and processes interrupts received from system devices.
[0309] In one implementation, the MMU 2339 converts virtual / effective addresses from the graphics processing engine 2331 to actual / physical addresses in the system memory 2314. One embodiment of the accelerator integrated circuit 2336 supports multiple (e.g., 4, 8, 16) graphics accelerator modules 2346 and / or other accelerator devices. The graphics accelerator module 2346 can be dedicated to a single application executed on the processor 2307, or can be shared between multiple applications. In one embodiment, a virtualized graphics execution environment is proposed in which the resources of the graphics processing engines 2331-2332, N are shared with multiple applications or virtual machines (VMs). In at least one embodiment, resources can be subdivided into "slices" and allocated to different VMs and / or applications based on the processing requirements and priorities associated with the VMs and / or applications.
[0310] In at least one embodiment, the accelerator integrated circuit 2336 acts as a bridge to the system for the graphics acceleration module 2346 and provides address translation and system memory cache services. In addition, the accelerator integrated circuit 2336 can provide virtualization facilities for the host processor to manage virtualization, interrupts, and memory management of the graphics processing engines 2331-2332.
[0311] Because the hardware resources of the graphics processing engines 2331-2332, N are explicitly mapped to the real address space seen by the host processor 2307, any host processor can directly address these resources using effective address values. In one embodiment, one function of the accelerator integrated circuit 2336 is the physical separation of the graphics processing engines 2331-2332, N so that they appear as independent units in the system.
[0312] In at least one embodiment, one or more graphics memories 2333-2334, M are respectively coupled to each of the graphics processing engines 2331-2332, N. The graphics memories 2333-2334, M store instructions and data processed by each graphics processing engine 2331-2332, N. The graphics memories 2333-2334, M may be volatile memories, such as DRAM (including stacked DRAM), GDDR memories (e.g., GDDR5, GDDR6), or HBM, and / or may be non-volatile memories (e.g., 3D XPoint or Nano-Ram).
[0313] In one embodiment, to reduce data traffic on link 2340, biasing techniques are used to ensure that data stored in graphics memory 2333-2334, M will be data that is most frequently used by graphics processing engines 2331-2332, N and preferably not used (at least not frequently) by cores 2360A-2360D. Similarly, the biasing mechanism attempts to keep data needed by a core (preferably not graphics processing engines 2331-2332, N) in caches 2362A-2362D, 2356 of the core and system memory 2314.
[0314] Fig.23C Another exemplary embodiment is shown in which an accelerator integrated circuit 2336 is integrated within the processor 2307. In this embodiment, the graphics processing engines 2331-2332, N communicate directly with the accelerator integrated circuit 2336 via interface 2337 and interface 2335 over a high-speed link 2340 (again, any form of bus or interface protocol may be utilized). The accelerator integrated circuit 2336 may perform operations related to Fig. 23B The same operations as described, but with potentially higher throughput given the close proximity of the coherent bus 2364 and caches 2362A-2362D, 2356. One embodiment supports different programming models, including a dedicated-processing programming model (without graphics acceleration module virtualization) and a shared programming model (with virtualization), which may include a programming model controlled by the accelerator integrated circuit 2336 and a programming model controlled by the graphics acceleration module 2346.
[0315] In at least one embodiment, the graphics processing engines 2331-2332, N are dedicated to a single application or process under a single operating system. In at least one embodiment, a single application can funnel other application requests to the graphics processing engines 2331-2332, N, thereby providing virtualization within a VM / partition.
[0316] In at least one embodiment, the graphics processing engines 2331-2332, N can be shared by multiple VM / application partitions. In at least one embodiment, the sharing model can use a hypervisor to virtualize the graphics processing engines 2331-2332, N to allow access by each operating system. For a single partition system without a hypervisor, the operating system owns the graphics processing engines 2331-2332, N. In at least one embodiment, the operating system can virtualize the graphics processing engines 2331-2332, N to provide access to each process or application.
[0317] In at least one embodiment, the graphics acceleration module 2346 or a separate graphics processing engine 2331-2332, N uses a processing handle to select a processing element. In one embodiment, the processing element is stored in the system memory 2314 and can be addressed using the effective address to real address conversion technology described herein. In at least one embodiment, the processing handle can be an implementation-specific value provided to the host process when registering its context with the graphics processing engine 2331-2332, N (i.e., calling system software to add the processing element to the processing element linked list). In at least one embodiment, the lower 16 bits of the processing handle can be the offset of the processing element in the linked list.
[0318] Fig.23D An exemplary accelerator integrated slice 2390 is shown. As used herein, a "slice" includes a specified portion of the processing resources of an accelerated integrated circuit 2336. An application effective address space 2382 within the system memory 2314 stores a processing element 2383. In one embodiment, the processing element 2383 is stored in response to a GPU call 2381 of an application 2380 executed on the processor 2307. The processing element 2383 contains a processing state for the corresponding application 2380. The work descriptor (WD) 2384 contained in the processing element 2383 may be a single job requested by the application or may contain a pointer to a job queue. In at least one embodiment, WD 2384 is a pointer to a job request queue in the application address space 2382.
[0319] Graphics acceleration module 2346 and / or single graphics processing engines 2331-2332, N can be shared by all or part of the processes in the system. In at least one embodiment, an infrastructure for setting process state and sending WD 2384 to graphics acceleration module 2346 to start a job in a virtualized environment can be included.
[0320] In at least one embodiment, the dedicated process programming model is implementation specific. In this model, a single process owns the graphics acceleration module 2346 or a single graphics processing engine 2331. Since the graphics acceleration module 2346 is owned by a single process, when the graphics acceleration module 2346 is allocated, the hypervisor initializes the accelerator integrated circuit 2336 for the owning partition, and the operating system initializes the accelerator integrated circuit 2336 for the owning process.
[0321] In operation, the WD acquisition unit 2391 in the accelerator integrated slice 2390 acquires the next WD 2384, which includes an indication of the work to be completed by one or more graphics processing engines of the graphics acceleration module 2346. Data from WD 2384 can be stored in registers 2345 and used by MMU 2339, interrupt management circuit 2347 and / or context management circuit 2348, as shown. For example, one embodiment of MMU 2339 includes a fragment / page roaming circuit for accessing a fragment / page table 2386 within an OS virtual address space 2385. The interrupt management circuit 2347 can handle interrupt events 2392 received from graphics acceleration. When performing graphics operations, the effective address 2393 generated by the graphics processing engine 2331-2332, N is converted into a real address by MMU2339.
[0322] In one embodiment, the same register set 2345 is replicated for each graphics processing engine 2331-2332, N and / or graphics acceleration module 2346 and can be initialized by a hypervisor or operating system. Each of these replicated registers can be included in an accelerator integrated slice 2390. An exemplary register that can be initialized by a hypervisor is shown in Table 1.
[0323] Table 1 - Registers initialized by the hypervisor
[0324] 1 Chip Control Register 2 Real address (RA) scheduling process area pointer 3 Authorization Mask Override Register 4 Interrupt vector table entry offset 5 Interrupt vector table entry restriction 6 Status Register 7 Logical Partition ID 8 Real Address (RA) Hypervisor Accelerator Utilization Record Correction 9 Memory Description Register
[0325] Table 2 shows an example register initialized by the operating system.
[0326] Table 2 – Registers initialized by the operating system
[0327] 1 Process and thread identification 2 Effective Address (EA) context save / restore pointer 3 Virtual Address (VA) Accelerator Utilization Record Pointer 4 Virtual address (VA) memory segment table pointer 5 Authorization Mask 6 Job Descriptor
[0328] In one embodiment, each WD 2384 is specific to a particular graphics acceleration module 2346 and / or graphics processing engine 2331-2332, N. It contains all the information needed by the graphics processing engine 2331-2332, N to do its work, or it can be a pointer to a memory location where the application has set up a command queue for work to be done.
[0329] Fig.23E Additional details of an exemplary embodiment of a sharing model are shown. This embodiment includes a hypervisor real address space 2398 in which a processing element list 2399 is stored. The hypervisor real address space 2398 is accessible through a hypervisor 2396, which virtualizes a graphics acceleration module engine for an operating system 2395.
[0330] In at least one embodiment, the shared programming model allows all processes or a subset of processes from all partitions or a subset of partitions in the system to use the graphics acceleration module 2346. There are two programming models for sharing the graphics acceleration module 2346 by multiple processes and partitions (time slice sharing and graphics directed sharing).
[0331] In this model, the hypervisor 2396 owns the graphics acceleration module 2346 and makes its functionality available to all operating systems 2395. In order for the graphics acceleration module 2346 to support the hypervisor 2396 for virtualization, the graphics acceleration module 2346 can comply with the following conditions: 1) The application's job request must be autonomous (i.e., no state needs to be maintained between jobs), or the graphics acceleration module 2346 must provide a context save and restore mechanism. 2) The graphics acceleration module 2346 guarantees that the application's job request is completed within a specified time, including any translation errors, or the graphics acceleration module 2346 provides the ability to preempt job processing. 3) When operating in a directed sharing programming model, the graphics acceleration module 2346 must ensure fairness between processes.
[0332] In at least one embodiment, an operating system 2395 system call is required for an application 2380 to use a graphics acceleration module 2346 type, a work descriptor (WD), an authorization mask register (AMR) value, and a context save / restore region pointer (CSRP). In at least one embodiment, the graphics acceleration module 2346 type describes the target acceleration function for the system call. In at least one embodiment, the graphics acceleration module 2346 type can be a specific system value. In at least one embodiment, the WD is formatted specifically for the graphics acceleration module 2346 and can be in the form of a graphics acceleration module 2346 command, an effective address pointer to a user-defined structure, an effective address pointer to a command queue, or any other data structure to describe the work to be done by the graphics acceleration module 2346. In one embodiment, the AMR value is the AMR state to be used for the current process. In at least one embodiment, the value passed to the operating system is similar to the application that sets the AMR. If the accelerator integrated circuit 2336 and the graphics acceleration module 2346 implementation do not support the user authorization mask override register (UAMOR), the operating system can apply the current UAMOR value to the AMR value before passing the AMR in the hypervisor call. The hypervisor 2396 may optionally apply the current authorization mask override register (AMOR) value before placing the AMR into the processing element 2383. In at least one embodiment, the CSRP is one of the registers 2345 that contains the effective address of an area in the application address space 2382 for the graphics acceleration module 2346 to save and restore context state. This pointer is optional if there is no need to save state between jobs or preempt jobs. In at least one embodiment, the context save / restore area may be fixed system memory.
[0333] After receiving the system call, the operating system 2395 can verify that the application 2380 has been registered and authorized to use the graphics acceleration module 2346. The operating system 2395 then calls the hypervisor 2396 using the information shown in Table 3.
[0334] Table 3 – OS call information calling the hypervisor
[0335] 1 Work Descriptor (WD) 2 Authorization Mask Register (AMR) value (may be masked) 3 Effective Address (EA) Context Save / Restore Region Pointer (CSRP) 4 Process ID (PID) and optional thread ID (TID) 5 Virtual Address (VA) Accelerator Utilization Record Pointer (AURP) 6 Virtual address of the storage segment table pointer (SSTP) 7 Logical Interrupt Service Number (LISN)
[0336] After receiving the hypervisor call, the hypervisor 2396 verifies that the operating system 2395 has registered and is authorized to use the graphics acceleration module 2346. The hypervisor 2396 then places the processing element 2383 into a linked list of processing elements of the corresponding graphics acceleration module 2346 type. The processing element may contain the information shown in Table 4.
[0337] Table 4 – Processing Component Information
[0338]
[0339]
[0340] In at least one embodiment, the hypervisor initializes the plurality of accelerator integrated slice 2390 registers 2345 .
[0341] like Fig.23F As shown in , in at least one embodiment, a unified memory is used, which can be addressed by a common virtual memory address space for accessing physical processor memory 2301-2302 and GPU memory 2320-2323. In this implementation, operations performed on GPU 2310-2313 use the same virtual / effective memory address space to access processor memory 2301-2302, and vice versa, thereby simplifying programmability. In one embodiment, the first part of the virtual / effective address space is allocated to processor memory 2301, the second part of the virtual / effective address space is allocated to the second processor memory 2302, the third part of the virtual / effective address space is allocated to GPU memory 2320, and so on. In at least one embodiment, the entire virtual / effective memory space (sometimes referred to as the effective address space) is thus distributed on each of processor memory 2301-2302 and GPU memory 2320-2323, thereby allowing any processor or GPU to access any physical memory with a virtual address mapped to that memory.
[0342] In one embodiment, bias / consistency management circuits 2394A-2394E within one or more MMUs 2339A-2339E ensure cache coherence between caches of one or more host processors (e.g., 2305) and GPUs 2310-2313 and implement biasing techniques that indicate physical memory in which certain types of data should be stored. Although multiple instances of bias / consistency management circuits 2394A-2394E are shown in FIG. 23, bias / consistency circuits may be implemented within an MMU of one or more host processors 2305 and / or within an accelerator integrated circuit 2336.
[0343] One embodiment allows the memory 2320-2323 attached to the GPU to be mapped as part of the system memory and accessed using shared virtual memory (SVM) technology, but will not suffer from the performance defects associated with the full system cache coherence. In at least one embodiment, the ability to access the memory 2320-2323 attached to the GPU as system memory without heavy cache coherence overhead provides a beneficial operating environment for GPU unloading. This arrangement allows the host processor 2305 software to set operands and access calculation results without incurring the overhead of traditional I / O DMA data copies. Such traditional copies involve driver calls, interrupts, and memory-mapped I / O (MMIO) accesses, which are inefficient relative to simple memory accesses. In at least one embodiment, the ability to access the memory 2320-2323 attached to the GPU without cache coherence overhead may be critical to the execution time of the unloaded calculation. For example, in the case of a large amount of streaming write memory traffic, the cache coherence overhead can greatly reduce the effective write bandwidth seen by the GPU 2310-2313. In at least one embodiment, the efficiency of operand setup, the efficiency of result access, and the efficiency of GPU computation may play a role in determining the efficiency of GPU offloading.
[0344] In at least one embodiment, the selection of GPU bias and host processor bias is driven by a bias tracker data structure. For example, a bias table can be used, which can be a page granular structure (i.e., controlled at the granularity of a memory page) that includes 1 or 2 bits per memory page attached to the GPU. In at least one embodiment, the bias table can be implemented in the stolen memory range of one or more memories 2320-2323 attached to the GPU, with or without a bias cache in the GPU 2310-2313 (e.g., to cache frequently / recently used entries of the bias table). Optionally, the entire bias table can be maintained within the GPU.
[0345] In at least one embodiment, the bias table entry associated with each access to the memory 2320-2323 attached to the GPU is accessed before the GPU memory is actually accessed, resulting in the following operations. First, the local request from the GPU 2310-2313 to find its page in the GPU bias is directly forwarded to the corresponding GPU memory 2320-2323. The local request from the GPU to find its page in the host bias is forwarded to the processor 2305 (e.g., as described above, through a high-speed link). In one embodiment, the request from the processor 2305 to find the requested page in the host processor bias completes a request similar to a normal memory read. Optionally, the request for the page of the GPU bias can be forwarded to the GPU 2310-2313. In at least one embodiment, if the GPU is not currently using the page, the GPU can convert the page to the host processor bias. In at least one embodiment, the bias state of the page can be changed by a software-based mechanism, a hardware-assisted software-based mechanism, or in limited cases, it can be changed purely by a hardware-based mechanism.
[0346] One mechanism for changing the bias state employs an API call (e.g., OpenCL) which in turn calls the GPU's device driver which in turn sends a message (or queued command descriptor) to the GPU directing it to change the bias state and, for certain transitions, perform a cache flush operation in the host. In at least one embodiment, the cache flush operation is used for transitions from host processor 2305 bias to GPU bias, but not for the reverse transition.
[0347] In one embodiment, cache coherency is maintained by temporarily disabling the host processor 2305 from caching GPU biased pages. To access these pages, the processor 2305 may request access from the GPU 2310, which may or may not be granted immediately. Therefore, to reduce communication between the processor 2305 and the GPU 2310, it is beneficial to ensure that the GPU biased pages are the pages required by the GPU and not the pages required by the host processor 2305, and vice versa.
[0348] One or more hardware structures 1515 are used to implement one or more embodiments. Fig.15A and / or Fig. 15B Provides details about the hardware structure (x) 1515.
[0349] Fig.24An exemplary integrated circuit and associated graphics processor according to various embodiments described herein are shown, which can be manufactured using one or more IP cores. In addition to the illustrated, other logic and circuits may also be included in at least one embodiment, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.
[0350] Fig.24 2S / I.sup.2C controller 2440. In at least one embodiment, the integrated circuit 2400 includes one or more application processors 2405 (e.g., CPUs), at least one graphics processor 2410, and may additionally include an image processor 2415 and / or a video processor 2420, any of which may be modular IP cores. In at least one embodiment, the integrated circuit 2400 includes peripheral or bus logic including a USB controller 2425, a UART controller 2430, a SPI / SDIO controller 2435, and an I.sup.2S / I.sup.2C controller 2440. In at least one embodiment, the integrated circuit 2400 may include a display device 2445 coupled to one or more of a High Definition Multimedia Interface (HDMI) controller 2450 and a Mobile Industry Processor Interface (MIPI) display interface 2455. In at least one embodiment, storage may be provided by a flash subsystem 2460, which includes flash memory and a flash controller. In at least one embodiment, a memory interface may be provided via memory controller 2465 for accessing SDRAM or SRAM memory devices. In at least one embodiment, some integrated circuits also include an embedded security engine 2470 .
[0351] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in integrated circuit 2400 to infer or predict operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0352] Figure 25A-25B An exemplary integrated circuit and associated graphics processor according to various embodiments described herein are shown, which can be manufactured using one or more IP cores. In addition to the illustrated, other logic and circuits may also be included in at least one embodiment, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.
[0353] Figure 25A-25B is a block diagram illustrating an exemplary graphics processor for use within a SoC according to embodiments described herein. Fig.25A Another exemplary graphics processor 2510 of a system on a chip integrated circuit is shown, which may be manufactured using one or more IP cores, in accordance with at least one embodiment. Fig.25B An exemplary graphics processor 2540 of a system on a chip integrated circuit is shown, which may be manufactured using one or more IP cores, according to at least one embodiment. In at least one embodiment, Fig.25A The graphics processor 2510 is a low power graphics processor core. In at least one embodiment, Fig.25B The graphics processor 2540 is a higher performance graphics processor core. In at least one embodiment, each graphics processor 2510, 2540 can be Fig.24 A variant of the graphics processor 2410.
[0354] In at least one embodiment, the graphics processor 2510 includes a vertex processor 2505 and one or more fragment processors 2515A-2515N (e.g., 2515A, 2515B, 2515C, 2515D to 2515N-1 and 2515N). In at least one embodiment, the graphics processor 2510 can execute different shader programs via separate logic, so that the vertex processor 2505 is optimized to perform operations for the vertex shader program, while one or more fragment processors 2515A-2515N perform fragment (e.g., pixel) shading operations or pixel shader programs for fragments. In at least one embodiment, the vertex processor 2505 performs the vertex processing stage of the 3D graphics pipeline and generates primitives and vertex data. In at least one embodiment, the one or more fragment processors 2515A-2515N use the primitives and vertex data generated by the vertex processor 2505 to generate a frame buffer displayed on a display device. In at least one embodiment, one or more fragment processors 2515A-2515N are optimized to execute fragment shader programs as provided in the OpenGL API, which can be used to perform similar operations as pixel shader programs provided in the Direct 3D API.
[0355] In at least one embodiment, graphics processor 2510 additionally includes one or more memory management units (MMUs) 2520A-2520B, caches 2525A-2525B, and circuit interconnects 2530A-2530B. In at least one embodiment, one or more MMUs 2520A-2520B provide virtual to physical address mappings for graphics processor 2510, including for vertex processor 2505 and / or one or more fragment processors 2515A-2515N, which may reference vertex or image / texture data stored in memory in addition to vertex or image / texture data stored in one or more caches 2525A-2525B. In at least one embodiment, one or more MMUs 2520A-2520B may synchronize with other MMUs within the system, including with Fig.24 One or more MMUs associated with one or more application processors 2405, image processor 2415, and / or video processor 2420 enable each processor 2405-2420 to participate in a shared or unified virtual memory system. In at least one embodiment, one or more circuit interconnects 2530A-2530B enable graphics processor 2510 to interface with other IP cores within the SoC via an internal bus of the SoC or via a direct connection.
[0356] In at least one embodiment, graphics processor 2540 includes Fig.25A One or more MMUs 2520A-2520B, caches 2525A-2525B, and circuit interconnects 2530A-2530B of a graphics processor 2510. In at least one embodiment, a graphics processor 2540 includes one or more shader cores 2555A-2555N (e.g., 2555A, 2555B, 2555C, 2555D, 2555E, 2555F, up to 2555N-1 and 2555N) that provide a unified shader core architecture in which a single core or type or core can execute all types of programmable shader code, including shader program code for implementing vertex shaders, fragment shaders, and / or compute shaders. In at least one embodiment, the number of shader cores may vary. In at least one embodiment, the graphics processor 2540 includes an inter-core task manager 2545 that acts as a thread dispatcher to dispatch execution threads to one or more shader cores 2555A-2555N and a tiling unit 2558 to accelerate tiling operations for tile-based rendering, in which rendering operations of a scene are subdivided in image space, for example, to optimize use of internal caches by exploiting local spatial coherence within the scene.
[0357] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be Fig.25A and / or Fig.25B for use in an integrated circuit for performing inference or prediction operations based at least in part on weight parameters calculated using a neural network training operation, a neural network function or architecture, or a neural network use case described herein.
[0358] Figure 26A-26B Additional exemplary graphics processor logic according to the embodiments described herein is shown. In at least one embodiment, Fig.26A shows that it can be included in Fig.24 The graphics core 2600 within the graphics processor 2410 may, in at least one embodiment, be Fig.25B Unified shader cores 2555A-2555N in . Fig.26B A highly parallel general purpose graphics processing unit 2630 suitable for deployment on a multi-chip module in at least one embodiment is shown.
[0359] In at least one embodiment, graphics core 2600 includes a shared instruction cache 2602, texture units 2618, and cache / shared memory 2620, which are common to execution resources within graphics core 2600. In at least one embodiment, graphics core 2600 may include multiple slices 2601A-2601N or partitions for each core, and a graphics processor may include multiple instances of graphics core 2600. Slices 2601A-2601N may include support logic including a local instruction cache 2604A-2604N, a thread scheduler 2606A-2606N, a thread dispatcher 2608A-2608N, and a set of registers 2610A-2610N. In at least one embodiment, the slices 2601A-2601N may include a set of additional function units (AFU 2612A-2612N), floating point units (FPU 2614A-2614N), integer arithmetic logic units (ALU 2616-2616N), address calculation units (ACU 2613A-2613N), double precision floating point units (DPFPU 2615A-2615N), and matrix processing units (MPU 2617A-2617N).
[0360] In at least one embodiment, the FPU 2614A-2614N can perform single-precision (32-bit) and half-precision (16-bit) floating-point operations, while the DPFPU 2615A-2615N can perform double-precision (64-bit) floating-point operations. In at least one embodiment, the ALU 2616A-2616N can perform variable-precision integer operations with 8-bit, 16-bit, and 32-bit precision, and can be configured for mixed-precision operations. In at least one embodiment, the MPU 2617A-2617N can also be configured for mixed-precision matrix operations, including half-precision floating-point operations and 8-bit integer operations. In at least one embodiment, the MPU 2617A-2617N can perform various matrix operations to accelerate machine learning application frameworks, including general matrix-to-matrix multiplication (GEMM) that enables support for acceleration. In at least one embodiment, the AFU 2612A-2612N can perform additional logical operations that are not supported by the floating-point unit or integer unit, including trigonometric operations (e.g., Sine, Cosine, etc.).
[0361] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in graphics core 2600 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0362] Fig.26BA general purpose processing unit (GPGPU) 2630 in at least one embodiment is shown, which can be configured to enable highly parallel computing operations to be performed by a graphics processing unit array. In at least one embodiment, GPGPU 2630 can be directly linked to other instances of GPGPU 2630 to create a multi-GPU cluster to increase the training speed of deep neural networks. In at least one embodiment, GPGPU 2630 includes a host interface 2632 to enable connection with a host processor. In at least one embodiment, host interface 2632 is a PCI Express interface. In at least one embodiment, host interface 2632 can be a manufacturer-specific communication interface or communication structure. In at least one embodiment, GPGPU 2630 receives commands from a host processor and distributes execution threads associated with those commands to a group of computing clusters 2636A-2636H using a global scheduler 2634. In at least one embodiment, computing clusters 2636A-2636H share cache memory 2638. In at least one embodiment, cache memory 2638 may be used as a higher level cache for cache memory within computing clusters 2636A-2636H.
[0363] In at least one embodiment, GPGPU 2630 includes memory 2644A-2644B coupled to compute cluster 2636A-2636H via a set of memory controllers 2642A-2642B. In at least one embodiment, memory 2644A-2644B may include various types of memory devices, including dynamic random access memory (DRAM) or graphics random access memory (e.g., synchronous graphics random access memory (SGRAM)), including graphics double data rate (GDDR) memory.
[0364] In at least one embodiment, computing clusters 2636A-2636H each include a set of graphics cores, such as Fig.26A The graphics core 2600 may include multiple types of integer logic units and floating point logic units that may perform computational operations with a range of precisions suitable for machine learning computations. For example, in at least one embodiment, at least a subset of the floating point units in each of the computing clusters 2636A-2636H may be configured to perform 16-bit or 32-bit floating point operations, while a different subset of the floating point units may be configured to perform 64-bit floating point operations.
[0365] In at least one embodiment, multiple instances of GPGPU 2630 may be configured to operate as a computing cluster. In at least one embodiment, the communications used by computing clusters 2636A-2636H for synchronization and data exchange vary between embodiments. In at least one embodiment, multiple instances of GPGPU 2630 communicate through host interface 2632. In at least one embodiment, GPGPU 2630 includes an I / O hub 2639 that couples GPGPU 2630 with GPU link 2640, which enables direct connection to other instances of GPGPU 2630. In at least one embodiment, GPU link 2640 is coupled to a dedicated GPU to GPU bridge that enables communication and synchronization between multiple instances of GPGPU 2630. In at least one embodiment, GPU link 2640 is coupled to a high-speed interconnect to send and receive data to other GPGPUs or parallel processors. In at least one embodiment, multiple instances of GPGPU 2630 are located in separate data processing systems and communicate through network devices accessible via host interface 2632. In at least one embodiment, GPU link 2640 may be configured to enable connection to a host processor in addition to or as an alternative to host interface 2362 .
[0366] In at least one embodiment, the GPGPU 2630 may be configured to train a neural network. In at least one embodiment, the GPGPU 2630 may be used within an inference platform. In at least one embodiment in which the GPGPU 2630 is used for inference, the GPGPU may include fewer computing clusters 2636A-2636H relative to when the GPGPU is used to train a neural network. In at least one embodiment, the memory technology associated with the memory 2644A-2644B may differ between the inference and training configurations, with higher bandwidth memory technology dedicated to the training configuration. In at least one embodiment, the inference configuration of the GPGPU 2630 may support inference specific instructions. For example, in at least one embodiment, the inference configuration may provide support for one or more 8-bit integer dot product instructions that may be used during inference operations of a deployed neural network.
[0367] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15BDetails are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in GPGPU 2630 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.
[0368] Fig. 27 2700 and 2710A. 2701 is a block diagram illustrating a computing system 2700 according to at least one embodiment. In at least one embodiment, the computing system 2700 includes a processing subsystem 2701 having one or more processors 2702 and a system memory 2704 communicating via an interconnect path, which may include a memory hub 2705. In at least one embodiment, the memory hub 2705 may be a separate component within a chipset component, or may be integrated within one or more processors 2702. In at least one embodiment, the memory hub 2705 is coupled to an I / O subsystem 2711 via a communication link 2706. In at least one embodiment, the I / O subsystem 2711 includes an I / O hub 2707, which may enable the computing system 2700 to receive input from one or more input devices 2708. In at least one embodiment, the I / O hub 2707 may enable a display controller, which may be included in one or more processors 2702, to provide output to one or more display devices 2710A. In at least one embodiment, the one or more display devices 2710A coupled to the I / O hub 2707 may include local, internal, or embedded display devices.
[0369] In at least one embodiment, the processing subsystem 2701 includes one or more parallel processors 2712 coupled to the memory hub 2705 via a bus or other communication link 2713. In at least one embodiment, the communication link 2713 can be one of any number of standard-based communication link technologies or protocols, such as but not limited to PCI Express, or can be a vendor-specific communication interface or communication structure. In at least one embodiment, the one or more parallel processors 2712 form a parallel or vector processing system in a computational concentration, which can include a large number of processing cores and / or processing clusters, such as a multi-integrated core (MIC) processor. In at least one embodiment, the one or more parallel processors 2712 form a graphics processing subsystem that can output pixels to one of the one or more display devices 2710A coupled via the I / O hub 2707. In at least one embodiment, the one or more parallel processors 2712 can also include a display controller and display interface (not shown) to enable direct connection to one or more display devices 2710B.
[0370] In at least one embodiment, a system storage unit 2714 can be connected to the I / O hub 2707 to provide a storage mechanism for the computing system 2700. In at least one embodiment, an I / O switch 2716 can be used to provide an interface mechanism to enable connection between the I / O hub 2707 and other components, such as a network adapter 2718 and / or a wireless network adapter 2719 that can be integrated into the platform, as well as various other devices that can be added via one or more additional devices 2720. In at least one embodiment, the network adapter 2718 can be an Ethernet adapter or another wired network adapter. In at least one embodiment, the wireless network adapter 2719 can include one or more of Wi-Fi, Bluetooth, near field communication (NFC), or other network devices including one or more radios.
[0371] In at least one embodiment, computing system 2700 may include other components not explicitly shown, including USB or other port connections, optical storage drives, video capture devices, etc., which may also be connected to I / O hub 2707. Fig. 27 The communication paths interconnecting the various components in the system may be implemented using any suitable protocol, such as a PCI (Peripheral Component Interconnect) based protocol (e.g., PCI-Express), or other bus or point-to-point communication interfaces and / or one or more protocols (e.g., NV-Link high-speed interconnect or interconnect protocol).
[0372] In at least one embodiment, one or more parallel processors 2712 include circuits optimized for graphics and video processing (including, for example, video output circuits) and constitute a graphics processing unit (GPU). In at least one embodiment, one or more parallel processors 2712 include circuits optimized for general processing. In at least one embodiment, the components of the computing system 2700 can be integrated with one or more other system elements on a single integrated circuit. For example, in at least one embodiment, one or more parallel processors 2712, memory hub 2705, one or more processors 2702, and I / O hub 2707 can be integrated into a system on chip (SoC) integrated circuit. In at least one embodiment, the components of the computing system 2700 can be integrated into a single package to form a system-in-package (SIP) configuration. In at least one embodiment, at least a portion of the components of the computing system 2700 can be integrated into a multi-chip module (MCM), which can be interconnected with other multi-chip modules into a modular computing system.
[0373] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Provide details about the reasoning and / or training logic 1515. In at least one embodiment, the reasoning and / or training logic 1515 may be Fig. 27 for use in a system for performing inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0374] processor
[0375] Fig.28A 2800 according to at least one embodiment. In at least one embodiment, the various components of the parallel processor 2800 may be implemented using one or more integrated circuit devices, such as a programmable processor, an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). In at least one embodiment, the parallel processor 2800 shown is a processor according to an exemplary embodiment. Fig. 27 A variation of the one or more parallel processors 2712 shown.
[0376] In at least one embodiment, parallel processor 2800 includes parallel processing unit 2802. In at least one embodiment, parallel processing unit 2802 includes I / O unit 2804, which enables communication with other devices, including other instances of parallel processing unit 2802. In at least one embodiment, I / O unit 2804 can be directly connected to other devices. In at least one embodiment, I / O unit 2804 connects with other devices by using a hub or switch interface (e.g., memory hub 2705). In at least one embodiment, the connection between memory hub 2705 and I / O unit 2804 forms communication link 2713. In at least one embodiment, I / O unit 2804 is connected to host interface 2806 and memory crossbar switch 2816, wherein host interface 2806 receives commands for performing processing operations and memory crossbar switch 2816 receives commands for performing memory operations.
[0377] In at least one embodiment, when the host interface 2806 receives the command buffer via the I / O unit 2804, the host interface 2806 can direct the work operations to execute those commands to the front end 2808. In at least one embodiment, the front end 2808 is coupled with a scheduler 2810, which is configured to assign commands or other work items to the processing cluster array 2812. In at least one embodiment, the scheduler 2810 ensures that the processing cluster array 2812 is properly configured and in a valid state before assigning tasks to the processing cluster array 2812. In at least one embodiment, the scheduler 2810 is implemented by firmware logic executed on a microcontroller. In at least one embodiment, the microcontroller-implemented scheduler 2810 can be configured to perform complex scheduling and work distribution operations at coarse and fine granularity, thereby achieving fast preemption and context switching of threads executed on the processing array 2812. In at least one embodiment, the host software can prove the workload for scheduling on the processing array 2812 through one of a plurality of graphics processing doorbells. In at least one embodiment, the workload may then be automatically distributed across the processing array 2812 by scheduler 2810 logic within a microcontroller that includes scheduler 2810 .
[0378] In at least one embodiment, the processing cluster array 2812 may include up to "N" processing clusters (e.g., cluster 2814A, cluster 2814B to cluster 2814N). In at least one embodiment, each cluster 2814A-2814N of the processing cluster array 2812 may execute a large number of concurrent threads. In at least one embodiment, the scheduler 2810 may use various scheduling and / or work distribution algorithms to distribute work to the clusters 2814A-2814N of the processing cluster array 2812, which may vary according to the workload generated by each program or computing type. In at least one embodiment, scheduling may be handled dynamically by the scheduler 2810, or may be partially assisted by compiler logic during the compilation of program logic configured to be executed by the processing cluster array 2812. In at least one embodiment, different clusters 2814A-2814N of the processing cluster array 2812 may be allocated to process different types of programs or to perform different types of calculations.
[0379] In at least one embodiment, processing cluster array 2812 can be configured to perform various types of parallel processing operations. In at least one embodiment, processing cluster array 2812 is configured to perform general-purpose parallel computing operations. For example, in at least one embodiment, processing cluster array 2812 can include logic to perform processing tasks including filtering video and / or audio data, performing modeling operations including physics operations, and performing data transformations.
[0380] In at least one embodiment, processing cluster array 2812 is configured to perform parallel graphics processing operations. In at least one embodiment, processing cluster array 2812 may include additional logic to support the execution of such graphics processing operations, including but not limited to texture sampling logic to perform texture operations, as well as tessellation logic and other vertex processing logic. In at least one embodiment, processing cluster array 2812 may be configured to execute shader programs related to graphics processing, such as but not limited to vertex shaders, tessellation shaders, geometry shaders, and pixel shaders. In at least one embodiment, parallel processing units 2802 may transfer data from system memory via I / O units 2804 for processing. In at least one embodiment, during processing, the transferred data may be stored to on-chip memory (e.g., parallel processor memory 2822) during processing and then written back to system memory.
[0381] In at least one embodiment, when parallel processing unit 2802 is used to perform graphics processing, scheduler 2810 can be configured to divide the processing workload into tasks of approximately equal size to better distribute graphics processing operations to multiple clusters 2814A-2814N of processing cluster array 2812. In at least one embodiment, portions of processing cluster array 2812 can be configured to perform different types of processing. For example, in at least one embodiment, a first portion can be configured to perform vertex shading and topology generation, a second portion can be configured to perform tessellation and geometry shading, and a third portion can be configured to perform pixel shading or other screen space operations to generate a rendered image for display. In at least one embodiment, intermediate data generated by one or more of clusters 2814A-2814N can be stored in a buffer to allow the intermediate data to be transferred between clusters 2814A-2814N for further processing.
[0382] In at least one embodiment, the processing cluster array 2812 can receive processing tasks to be performed via the scheduler 2810, which receives commands defining the processing tasks from the front end 2808. In at least one embodiment, the processing tasks can include an index of data to be processed, such as surface (patch) data, primitive data, vertex data, and / or pixel data, as well as state parameters and commands defining how to process the data (e.g., what program to execute). In at least one embodiment, the scheduler 2810 can be configured to obtain an index corresponding to a task, or can receive an index from the front end 2808. In at least one embodiment, the front end 2808 can be configured to ensure that the processing cluster array 2812 is configured to a valid state before starting a workload specified by an incoming command buffer (e.g., a batch buffer, a push buffer, etc.).
[0383] In at least one embodiment, each of the one or more instances of parallel processing unit 2802 can be coupled to parallel processor memory 2822. In at least one embodiment, parallel processor memory 2822 can be accessed via memory crossbar switch 2816, which can receive memory requests from processing cluster array 2812 and I / O unit 2804. In at least one embodiment, memory crossbar switch 2816 can access parallel processor memory 2822 via memory interface 2818. In at least one embodiment, memory interface 2818 can include multiple partition units (e.g., partition unit 2820A, partition unit 2820B to partition unit 2820N), which can each be coupled to a portion of parallel processor memory 2822 (e.g., a memory unit). In at least one embodiment, the plurality of partition units 2820A-2820N are configured to be equal to the number of storage units, such that the first partition unit 2820A has a corresponding first storage unit 2824A, the second partition unit 2820B has a corresponding storage unit 2824B, and the Nth partition unit 2820N has a corresponding Nth storage unit 2824N. In at least one embodiment, the number of partition units 2820A-2820N may not be equal to the number of storage devices.
[0384] In at least one embodiment, the memory units 2824A-2824N may include various types of memory devices, including dynamic random access memory (DRAM) or graphics random access memory, such as synchronous graphics random access memory (SGRAM), including graphics double data rate (GDDR) memory. In at least one embodiment, the memory units 2824A-2824N may also include 3D stacked memory, including but not limited to high bandwidth memory (HBM). In at least one embodiment, rendering targets such as frame buffers or texture maps can be stored across memory units 2824A-2824N, allowing partition units 2820A-2820N to write portions of each rendering target in parallel to efficiently use the available bandwidth of parallel processor memory 2822. In at least one embodiment, local instances of parallel processor memory 2822 can be eliminated to facilitate a unified memory design that utilizes system memory in combination with local cache memory.
[0385] In at least one embodiment, any of the clusters 2814A-2814N of the processing cluster array 2812 can process data to be written to any memory unit 2824A-2824N within the parallel processor memory 2822. In at least one embodiment, the memory crossbar 2816 can be configured to transmit the output of each cluster 2814A-2814N to any partition unit 2820A-2820N or another cluster 2814A-2814N, and the cluster 2814A-2814N can perform other processing operations on the output. In at least one embodiment, each cluster 2814A-2814N can communicate with the memory interface 2818 through the memory crossbar 2816 to read from or write to various external storage devices. In at least one embodiment, memory crossbar switch 2816 has connections to memory interface 2818 to communicate with I / O unit 2804, and connections to local instances of parallel processor memory 2822, thereby enabling processing units within different processing clusters 2814A-2814N to communicate with system memory or other memory that is not local to parallel processing unit 2802. In at least one embodiment, memory crossbar switch 2816 can use virtual channels to separate traffic flows between clusters 2814A-2814N and partition units 2820A-2820N.
[0386] In at least one embodiment, multiple instances of parallel processing unit 2802 may be provided on a single plug-in card, or multiple plug-in cards may be interconnected. In at least one embodiment, different instances of parallel processing unit 2802 may be configured to interoperate, even if different instances have different numbers of processing cores, different numbers of local parallel processor memories, and / or other configuration differences. For example, in at least one embodiment, some instances of parallel processing unit 2802 may include higher precision floating point units relative to other instances. In at least one embodiment, a system incorporating one or more instances of parallel processing unit 2802 or parallel processor 2800 may be implemented in a variety of configurations and form factors, including but not limited to desktop, laptop or handheld personal computers, servers, workstations, game consoles, and / or embedded systems.
[0387] Fig.28B is a block diagram of a partition unit 2820 according to at least one embodiment. In at least one embodiment, the partition unit 2820 is Fig.28A2820A-2820N. In at least one embodiment, the partition unit 2820 includes an L2 cache 2821, a frame buffer interface 2825, and a raster operation unit ("ROP") 2826. The L2 cache 2821 is a read / write cache that is configured to perform load and store operations received from the memory crossbar 2816 and the ROP 2826. In at least one embodiment, the L2 cache 2821 outputs read misses and urgent write-back requests to the frame buffer interface 2825 for processing. In at least one embodiment, updates may also be sent to the frame buffer via the frame buffer interface 2825 for processing. In at least one embodiment, the frame buffer interface 2825 interacts with one of the memory units in the parallel processor memory, such as the memory units 2824A-2824N of FIG. 28 (e.g., within the parallel processor memory 2822).
[0388] In at least one embodiment, ROP 2826 is a processing unit that performs raster operations such as stenciling, z-testing, blending, etc. In at least one embodiment, ROP 2826 then outputs processed graphics data stored in graphics memory. In at least one embodiment, ROP 2826 includes compression logic to compress depth or color data written to memory and decompress depth or color data read from memory. In at least one embodiment, the compression logic can be lossless compression logic that utilizes one or more of a variety of compression algorithms. The compression logic performed by ROP 2826 can vary based on the statistical characteristics of the data to be compressed. For example, in at least one embodiment, incremental color compression is performed based on depth and color data on a per-tile basis.
[0389] In at least one embodiment, ROP 2826 is included within each processing cluster (e.g., clusters 2814A-2814N of FIG. 28 ), rather than within partition unit 2820. In at least one embodiment, read and write requests for pixel data are transmitted through memory crossbar 2816 rather than pixel fragment data. In at least one embodiment, the processed graphics data may be displayed on a display device (such as a Fig. 27 2702 for further processing, or by Fig.28A One of the processing entities within parallel processor 2800 is routed for further processing.
[0390] Fig.28CIt is a block diagram of a processing cluster 2814 in a parallel processing unit according to at least one embodiment. In at least one embodiment, the processing cluster is an instance of one of the processing clusters 2814A-2814N of Figure 28. In at least one embodiment, one or more of the one or more processing clusters 2814 can be configured to execute many threads in parallel, where "thread" refers to an instance of a specific program executed on a specific set of input data. In at least one embodiment, single instruction multiple data (SIMD) instruction issuance technology is used to support the parallel execution of a large number of threads without providing multiple independent instruction units. In at least one embodiment, single instruction multiple thread (SIMT) technology is used to support the parallel execution of a large number of generally synchronized threads, which uses a common instruction unit, which is configured to issue instructions to a group of processing engines in each processing cluster.
[0391] In at least one embodiment, the operation of the processing cluster 2814 can be controlled by assigning processing tasks to the pipeline manager 2832 of the SIMT parallel processor. In at least one embodiment, the pipeline manager 2832 receives instructions from the scheduler 2810 of Figure 28 and manages the execution of these instructions through the graphics multiprocessor 2834 and / or the texture unit 2836. In at least one embodiment, the graphics multiprocessor 2834 is an exemplary instance of a SIMT parallel processor. However, in at least one embodiment, various types of SIMT parallel processors of different architectures can be included in the processing cluster 2814. In at least one embodiment, one or more instances of the graphics multiprocessor 2834 can be included in the processing cluster 2814. In at least one embodiment, the graphics multiprocessor 2834 can process data, and the data crossbar switch 2840 can be used to distribute the processed data to one of multiple possible destinations (including other shader units). In at least one embodiment, the pipeline manager 2832 can facilitate the distribution of processing data by specifying the destination of the processing data to be distributed to the data crossbar switch 2840.
[0392] In at least one embodiment, each graphics multiprocessor 2834 within a processing cluster 2814 may include the same set of function execution logic (e.g., arithmetic logic units, load-store units, etc.). In at least one embodiment, the function execution logic may be configured in a pipelined manner, where new instructions may be issued before previous instructions are completed. In at least one embodiment, the function execution logic supports a variety of operations, including integer and floating point arithmetic, comparison operations, Boolean operations, shifts, and calculations of various algebraic functions. In at least one embodiment, the same functional unit hardware may be utilized to perform different operations, and any combination of functional units may be present.
[0393] In at least one embodiment, the instructions transmitted to the processing cluster 2814 constitute threads. In at least one embodiment, a group of threads executed across a group of parallel processing engines is a thread group. In at least one embodiment, the thread group executes the program on different input data. In at least one embodiment, each thread within a thread group can be assigned to a different processing engine within the graphics multiprocessor 2834. In at least one embodiment, a thread group may include fewer threads than the number of processing engines within the graphics multiprocessor 2834. In at least one embodiment, when the number of threads included in the thread group is less than the number of processing engines, one or more processing engines may be idle during the cycle that is processing the thread group. In at least one embodiment, a thread group may also include more threads than the number of processing engines within the graphics multiprocessor 2834. In at least one embodiment, when a thread group includes more threads than the number of processing engines within the graphics multiprocessor 2834, processing can be performed in consecutive clock cycles. In at least one embodiment, multiple thread groups can be executed simultaneously on the graphics multiprocessor 2834.
[0394] In at least one embodiment, the graphics multiprocessor 2834 includes an internal cache memory to perform load and store operations. In at least one embodiment, the graphics multiprocessor 2834 can abandon the internal cache and use the cache memory (e.g., L1 cache 2848) within the processing cluster 2814. In at least one embodiment, each graphics multiprocessor 2834 can also access the L2 cache within the partition unit (e.g., the partition unit 2820A-2820N of Figure 28), which is shared between all processing clusters 2814 and can be used to transfer data between threads. In at least one embodiment, the graphics multiprocessor 2834 can also access off-chip global memory, which can include one or more of the local parallel processor memory and / or system memory. In at least one embodiment, any memory outside the parallel processing unit 2802 can be used as global memory. In at least one embodiment, the processing cluster 2814 includes multiple instances of the graphics multiprocessor 2834, which can share common instructions and data that can be stored in the L1 cache 2848.
[0395] In at least one embodiment, each processing cluster 2814 may include a memory management unit ("MMU") 2845 configured to map virtual addresses to physical addresses. In at least one embodiment, one or more instances of the MMU 2845 may reside within the memory interface 2818 of FIG. 28. In at least one embodiment, the MMU 2845 includes a set of page table entries (PTEs) for mapping virtual addresses to physical addresses of tiles and optionally to cache memory lines. In at least one embodiment, the MMU 2845 may include an address translation lookaside buffer (TLB) or a cache that may reside within the graphics multiprocessor 2834 or an L1 cache or processing cluster 2814. In at least one embodiment, the physical address is processed to allocate surface data access locality for efficient request interleaving between partition units. In at least one embodiment, a cache line index may be used to determine whether a request for a cache line is a hit or a miss.
[0396] In at least one embodiment, the processing clusters 2814 can be configured such that each graphics multiprocessor 2834 is coupled to a texture unit 2836 to perform texture mapping operations, such as determining texture sample locations, reading texture data, and filtering texture data. In at least one embodiment, texture data is read from an internal texture L1 cache (not shown) or from an L1 cache within the graphics multiprocessor 2834 as needed, and texture data is retrieved from an L2 cache, local parallel processor memory, or system memory. In at least one embodiment, each graphics multiprocessor 2834 outputs processed tasks to a data crossbar 2840 to provide the processed tasks to another processing cluster 2814 for further processing or to store the processed tasks in an L2 cache, local parallel processor memory, or system memory via a memory crossbar 2816. In at least one embodiment, a preROP 2842 (pre-raster operations unit) is configured to receive data from the graphics multiprocessor 2834, direct the data to a ROP unit, which may be located with a partition unit as described herein (e.g., partition units 2820A-2820N of FIG. 28). In at least one embodiment, the PreROP 2842 unit may perform optimizations for color blending, organize pixel color data, and perform address translations.
[0397] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15BDetails are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in graphics processing cluster 2814 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0398] Fig.28D A graphics multiprocessor 2834 is shown in accordance with at least one embodiment. In at least one embodiment, the graphics multiprocessor 2834 is coupled to a pipeline manager 2832 of a processing cluster 2814. In at least one embodiment, the graphics multiprocessor 2834 has an execution pipeline that includes, but is not limited to, an instruction cache 2852, an instruction unit 2854, an address mapping unit 2856, a register file 2858, one or more general purpose graphics processing unit (GPGPU) cores 2862, and one or more load / store units 2866. The GPGPU cores 2862 and the load / store units 2866 are coupled to a cache memory 2872 and a shared memory 2870 via a memory and cache interconnect 2868.
[0399] In at least one embodiment, the instruction cache 2852 receives a stream of instructions to be executed from the pipeline manager 2832. In at least one embodiment, the instructions are cached in the instruction cache 2852 and dispatched for execution by the instruction unit 2854. In one embodiment, the instruction unit 2854 can dispatch instructions as thread groups (e.g., warps), each thread group being assigned to a different execution unit within the GPGPU core 2862. In at least one embodiment, the instructions can access any local, shared, or global address space by specifying an address within the unified address space. In at least one embodiment, the address mapping unit 2856 can be used to convert addresses in the unified address space into different memory addresses that can be accessed by the load / store unit 2866.
[0400] In at least one embodiment, register file 2858 provides a set of registers for the functional units of graphics multiprocessor 2834. In at least one embodiment, register file 2858 provides temporary storage for operands for data paths of functional units (e.g., GPGPU core 2862, load / store unit 2866) connected to graphics multiprocessor 2834. In at least one embodiment, register file 2858 is divided between each functional unit such that a dedicated portion of register file 2858 is allocated to each functional unit. In at least one embodiment, register file 2858 is divided between different warps being executed by graphics multiprocessor 2834.
[0401] In at least one embodiment, the GPGPU cores 2862 may each include a floating point unit (FPU) and / or an integer arithmetic logic unit (ALU) for executing instructions of the graphics multiprocessor 2834. The GPGPU cores 2862 may be similar in architecture or the architecture may be different. In at least one embodiment, the first part of the GPGPU core 2862 includes a single-precision FPU and an integer ALU, while the second part of the GPGPU core includes a double-precision FPU. In at least one embodiment, the FPU may implement the IEEE 754-2808 standard for floating-point arithmetic or enable variable-precision floating-point arithmetic. In at least one embodiment, the graphics multiprocessor 2834 may additionally include one or more fixed-function or special-function units to perform specific functions, such as copying rectangles or pixel blending operations. In at least one embodiment, one or more of the GPGPU cores may also include fixed or special-function logic.
[0402] In at least one embodiment, the GPGPU core 2862 includes SIMD logic capable of executing a single instruction to multiple sets of data. In at least one embodiment, the GPGPU core 2862 can physically execute SIMD4, SIMD8 and SIMD16 instructions, and logically execute SIMD1, SIMD2 and SIMD32 instructions. In at least one embodiment, the SIMD instructions for the GPGPU core can be generated by a shader compiler at compile time, or automatically generated when executing a program written and compiled for a single program multiple data (SPMD) or SIMT architecture. In at least one embodiment, multiple threads of a program configured for a SIMT execution model can be executed by a single SIMD instruction. For example, in at least one embodiment, eight SIMT threads that perform the same or similar operations can be executed in parallel by a single SIMD8 logic unit.
[0403] In at least one embodiment, the memory and cache interconnect 2868 is an interconnect network that connects each functional unit of the graphics multiprocessor 2834 to the register file 2858 and the shared memory 2870. In at least one embodiment, the memory and cache interconnect 2868 is a crossbar interconnect that allows the load / store unit 2866 to implement load and store operations between the shared memory 2870 and the register file 2858. In at least one embodiment, the register file 2858 can operate at the same frequency as the GPGPU core 2862, so that the latency of data transfer between the GPGPU core 2862 and the register file 2858 is very low. In at least one embodiment, the shared memory 2870 can be used to enable communication between threads executing on the functional units within the graphics multiprocessor 2834. In at least one embodiment, the cache memory 2872 can be used as, for example, a data cache to cache texture data communicated between the functional units and the texture unit 2836. In at least one embodiment, the shared memory 2870 can also be used as a program-managed cache. In at least one embodiment, in addition to automatically cached data stored in cache memory 2872, threads executing on GPGPU core 2862 may programmatically store data in shared memory.
[0404] In at least one embodiment, a parallel processor or GPGPU as described herein is communicatively coupled to a host / processor core to accelerate graphics operations, machine learning operations, pattern analysis operations, and various general purpose GPU (GPGPU) functions. In at least one embodiment, the GPU can be communicatively coupled to the host processor / core via a bus or other interconnect (e.g., a high-speed interconnect such as PCIe or NVLink). In at least one embodiment, the GPU can be integrated with the core on the same package or chip and communicatively coupled to the core via an internal processor bus / interconnect (e.g., inside the package or chip). In at least one embodiment, regardless of the manner in which the GPU is connected, the processor core can assign work to the GPU in the form of a sequence of commands / instructions contained in a work descriptor. In at least one embodiment, the GPU then uses dedicated circuits / logic to efficiently process these commands / instructions.
[0405] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15BDetails are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in graphics multiprocessor 2834 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0406] Fig.29 A multi-GPU computing system 2900 is shown in accordance with at least one embodiment. In at least one embodiment, the multi-GPU computing system 2900 may include a processor 2902 coupled to a plurality of general purpose graphics processing units (GPGPUs) 2906A-D via a host interface switch 2904. In at least one embodiment, the host interface switch 2904 is a PCI express switch device that couples the processor 2902 to a PCI express bus, over which the processor 2902 may communicate with the GPGPUs 2906A-D. The GPGPUs 2906A-D may be interconnected via a set of high-speed point-to-point GPU-to-GPU links 2916. In at least one embodiment, the GPU-to-GPU links 2916 are connected to each GPGPU 2906A-D via a dedicated GPU link. In at least one embodiment, the P2P GPU links 2916 enable direct communication between each GPGPU 2906A-D without communicating through the host interface bus 2904 to which the processor 2902 is connected. In at least one embodiment, with GPU-to-GPU traffic directed to P2P GPU link 2916, host interface bus 2904 remains available for system memory access or communication with other instances of multi-GPU computing system 2900, e.g., via one or more network devices. Although in at least one embodiment, GPGPUs 2906A-D are connected to processor 2902 via host interface switch 2904, in at least one embodiment, processor 2902 includes direct support for P2P GPU link 2916 and can connect directly to GPGPUs 2906A-D.
[0407] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 can be used in multi-GPU computing system 2900 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0408] Fig.30is a block diagram of a graphics processor 3000 according to at least one embodiment. In at least one embodiment, graphics processor 3000 includes ring interconnect 3002, pipeline front end 3004, media engine 3037, and graphics cores 3080A-3080N. In at least one embodiment, ring interconnect 3002 couples graphics processor 3000 to other processing units, including other graphics processors or one or more general purpose processor cores. In at least one embodiment, graphics processor 3000 is one of many processors integrated within a multi-core processing system.
[0409] In at least one embodiment, the graphics processor 3000 receives batches of commands via a ring interconnect 3002. In at least one embodiment, the input commands are interpreted by a command streamer 3003 in a pipeline front end 3004. In at least one embodiment, the graphics processor 3000 includes scalable execution logic to perform 3D geometry processing and media processing via one or more graphics cores 3080A-3080N. In at least one embodiment, for 3D geometry processing commands, the command streamer 3003 provides the commands to a geometry pipeline 3036. In at least one embodiment, for at least some media processing commands, the command streamer 3003 provides the commands to a video front end 3034, which is coupled to a media engine 3037. In at least one embodiment, the media engine 3037 includes a video quality engine (VQE) 3030 for video and image post-processing, and a multi-format encoding / decoding (MFX) 3033 engine for providing hardware accelerated media data encoding and decoding. In at least one embodiment, the geometry pipeline 3036 and the media engine 3037 each generate execution threads for thread execution resources provided by at least one graphics core 3080A.
[0410] In at least one embodiment, the graphics processor 3000 includes scalable thread execution resources that play an important role in modular cores 3080A-3080N (sometimes referred to as core slices), each of which has multiple sub-cores 3050A-550N, 3060A-3060N (sometimes referred to as core sub-slices). In at least one embodiment, the graphics processor 3000 can have any number of graphics cores 3080A to 3080N. In at least one embodiment, the graphics processor 3000 includes a graphics core 3080A having at least a first sub-core 3050A and a second sub-core 3060A. In at least one embodiment, the graphics processor 3000 is a low-power processor with a single sub-core (e.g., 3050A). In at least one embodiment, the graphics processor 3000 includes multiple graphics cores 3080A-3080N, each graphics core including a group of first sub-cores 3050A-3050N and a group of second sub-cores 3060A-3060N. In at least one embodiment, each of the first sub-cores 3050A-3050N includes at least a first set of execution units 3052A-3052N and a media / texture sampler 3054A-3054N. In at least one embodiment, each of the second sub-cores 3060A-3060N includes at least a second set of execution units 3062A-3062N and a sampler 3064A-3064N. In at least one embodiment, each of the sub-cores 3050A-3050N, 3060A-3060N shares a set of shared resources 3070A-3070N. In at least one embodiment, the shared resources include a shared cache memory and pixel operation logic.
[0411] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding inference and / or training logic 1515. In at least one embodiment, inference and / or training logic 1515 may be used in graphics processor 3000 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0412] Fig.313100, which may include logic circuits for executing instructions. In at least one embodiment, the processor 3100 may execute instructions, including x86 instructions, ARM instructions, special instructions for application-specific integrated circuits (ASICs), and the like. In at least one embodiment, the processor 3100 may include registers for storing packed data, such as 64-bit wide MMXTM registers in microprocessors enabled with MMX technology by Intel Corporation, Santa Clara, California. In at least one embodiment, MMX registers available in integer and floating point form may operate with packed data elements that accompany single instruction multiple data ("SIMD") and streaming SIMD extension ("SSE") instructions. In at least one embodiment, 128-bit wide XMM registers associated with SSE2, SSE3, SSE4, AVX, or higher (generally referred to as "SSEx") technology may hold such packed data operands. In at least one embodiment, the processor 3100 may execute instructions to accelerate machine learning or deep learning algorithms, training, or reasoning.
[0413] In at least one embodiment, the processor 3100 includes an in-order front end ("front end") 3101 to fetch instructions to be executed and prepare instructions for later use in the processor pipeline. In at least one embodiment, the front end 3101 may include several units. In at least one embodiment, an instruction prefetcher 3126 fetches instructions from memory and provides the instructions to an instruction decoder 3128, which in turn decodes or interprets the instructions. For example, in at least one embodiment, the instruction decoder 3128 decodes the received instructions into one or more operations of so-called "microinstructions" or "micro-operations" (also referred to as "micro-operations" or "microinstructions") that are executable by the machine. In at least one embodiment, the instruction decoder 3128 parses the instructions into opcodes and corresponding data and control fields, which can be used by the microarchitecture to perform operations according to at least one embodiment. In at least one embodiment, the trace cache 3130 can assemble the decoded microinstructions into a program-ordered sequence or trace in the microinstruction queue 3134 for execution. In at least one embodiment, when trace cache 3130 encounters a complex instruction, microcode ROM 3132 provides the microinstructions necessary to complete the operation.
[0414] In at least one embodiment, some instructions may be converted into a single micro-operation, while other instructions may require several micro-operations to complete the entire operation. In at least one embodiment, if more than four micro-operations are required to complete an instruction, the instruction decoder 3128 may access the microcode ROM 3132 to execute the instruction. In at least one embodiment, the instruction may be decoded into a small number of micro-operations for processing at the instruction decoder 3128. In at least one embodiment, if multiple micro-operations are required to complete the operation, the instruction may be stored in the microcode ROM 3132. In at least one embodiment, the trace cache 3130 references the entry point programmable logic array ("PLA") to determine the correct micro-instruction pointer for reading the microcode sequence from the microcode ROM 3132 to complete one or more instructions according to at least one embodiment. In at least one embodiment, after the microcode ROM 3132 completes the micro-operation sequencing of the instruction, the front end 3101 of the machine may resume fetching micro-operations from the trace cache 3130.
[0415] In at least one embodiment, an out-of-order execution engine ("out-of-order engine") 3103 can prepare instructions for execution. In at least one embodiment, the out-of-order execution logic has multiple buffers to smooth and reorder the instruction flow to optimize performance as instructions go down the pipeline and are scheduled for execution. In at least one embodiment, the out-of-order execution engine 3103 includes, but is not limited to, an allocator / register renamer 3140, a memory microinstruction queue 3142, an integer / floating point microinstruction queue 3144, a memory scheduler 3146, a fast scheduler 3102, a slow / general purpose floating point scheduler ("slow / general purpose FP scheduler") 3104, and a simple floating point scheduler ("simple FP scheduler") 3106. In at least one embodiment, the fast scheduler 3102, the slow / general purpose floating point scheduler 3104, and the simple floating point scheduler 3106 are also collectively referred to as "microinstruction schedulers 3102, 3104, 3106". In at least one embodiment, the allocator / register renamer 3140 allocates machine buffers and resources required for each microinstruction to execute in sequence. In at least one embodiment, the allocator / register renamer 3140 renames logical registers to entries in the register file. In at least one embodiment, the allocator / register renamer 3140 also allocates entries for each microinstruction in one of the two microinstruction queues, the memory microinstruction queue 3142 for memory operations and the integer / floating point microinstruction queue 3144 for non-memory operations, in front of the memory scheduler 3146 and the microinstruction schedulers 3102, 3104, 3106. In at least one embodiment, the microinstruction schedulers 3102, 3104, 3106 determine when the microinstructions are ready to execute based on the readiness of their slave input register operand sources and the availability of the execution resource microinstructions that need to be completed. In at least one embodiment, the fast scheduler 3102 of at least one embodiment can be scheduled on each half of the main clock cycle, while the slow / general floating point scheduler 3104 and the simple floating point scheduler 3106 can be scheduled once per main processor clock cycle. In at least one embodiment, microinstruction schedulers 3102, 3104, 3106 arbitrate dispatch ports to schedule microinstructions for execution.
[0416] In at least one embodiment, execution block b11 includes, but is not limited to, integer register file / branch network 3108, floating point register file / branch network ("FP register file / branch network") 3110, address generation units ("AGU") 3112 and 3114, fast arithmetic logic units ("fast ALU") 3116 and 3118, slow arithmetic logic unit ("slow ALU") 3120, floating point ALU ("FP") 3122, and floating point move unit ("FP move") 3124. In at least one embodiment, integer register file / branch network 3108 and floating point register file / bypass network 3110 are also referred to herein as "register files 3108, 3110". In at least one embodiment, AGUs 3112 and 3114, fast ALUs 3116 and 3118, slow ALU 3120, floating point ALU 3122, and floating point move unit 3124 are also referred to herein as "execution units 3112, 3114, 3116, 3118, 3120, 3122, and 3124." In at least one embodiment, execution block b11 may include, but is not limited to, any number (including zero) and type of register files, branch networks, address generation units, and execution units (in any combination).
[0417] In at least one embodiment, register files 3108, 3110 can be arranged between microinstruction schedulers 3102, 3104, 3106 and execution units 3112, 3114, 3116, 3118, 3120, 3122 and 3124. In at least one embodiment, integer register file / branch network 3108 performs integer operations. In at least one embodiment, floating point register file / branch network 3110 performs floating point operations. In at least one embodiment, each of register files 3108, 3110 can include but is not limited to a branch network that can bypass or forward the just completed result that has not yet been written to the register file to a new slave object. In at least one embodiment, register files 3108, 3110 can communicate data with each other. In at least one embodiment, integer register file / branch network 3108 can include but is not limited to two separate register files, one register file for low-order 32-bit data, and a second register file for high-order 32-bit data. In at least one embodiment, floating point register file / branch network 3110 may include, but is not limited to, 128-bit wide entries, since floating point instructions typically have operands that are 64 to 128 bits wide.
[0418] In at least one embodiment, the execution units 3112, 3114, 3116, 3118, 3120, 3122, 3124 can execute instructions. In at least one embodiment, the register files 3108, 3110 store integer and floating point data operand values that the microinstructions need to execute. In at least one embodiment, the processor 3100 may include, but is not limited to, any number of execution units 3112, 3114, 3116, 3118, 3120, 3122, 3124 and combinations thereof. In at least one embodiment, the floating point ALU 3122 and the floating point move unit 3124 can perform floating point, MMX, SIMD, AVX and SSE or other operations, including specialized machine learning instructions. In at least one embodiment, the floating point ALU 3122 may include, but is not limited to, a 64-bit by 64-bit floating point divider to perform division, square root and remainder micro-operations. In at least one embodiment, floating point hardware can be used to process instructions involving floating point values. In at least one embodiment, ALU operations can be passed to fast ALUs 3116, 3118. In at least one embodiment, fast ALUs 3116, 3118 can perform fast operations with an effective delay of half a clock cycle. In at least one embodiment, most complex integer operations enter slow ALU 3120, because slow ALU 3120 can include, but is not limited to, integer execution hardware for long delay type operations, such as multipliers, shifts, flag logic, and branch processing. In at least one embodiment, memory load / store operations can be performed by AGUS 3112, 3114. In at least one embodiment, fast ALU 3116, fast ALU 3118, and slow ALU 3120 can perform integer operations on 64-bit data operands. In at least one embodiment, fast ALU 3116, fast ALU 3118, and slow ALU 3120 can be implemented to support various data bit sizes including sixteen, thirty-two, 128, 256, etc. In at least one embodiment, the floating point ALU 3122 and floating point move unit 3124 can be implemented to support a range of operands having bits of various widths. In at least one embodiment, the floating point ALU 3122 and floating point move unit 3124 can operate on 128-bit wide packed data operands in conjunction with SIMD and multimedia instructions.
[0419] In at least one embodiment, microinstruction schedulers 3102, 3104, 3106 schedule dependent operations before the parent load completes execution. In at least one embodiment, since microinstructions can be speculatively scheduled and executed in processor 3100, processor 3100 can also include logic for handling memory misses. In at least one embodiment, if the data load in the data cache misses, there may be a dependent operation running in the pipeline, which temporarily makes the scheduler have no correct data. In at least one embodiment, a replay mechanism tracks and re-executes instructions using incorrect data. In at least one embodiment, it may be necessary to replay the dependent operation and allow the independent operation to be completed. In at least one embodiment, the scheduler and replay mechanism of at least one embodiment of the processor can also be designed to capture the instruction sequence for the text string comparison operation.
[0420] In at least one embodiment, the term "register" may refer to an onboard processor storage location that can be used as part of an instruction to identify an operand. In at least one embodiment, registers may be those that can be used from outside the processor (from a programmer's perspective). In at least one embodiment, registers may not be limited to a particular type of circuit. On the contrary, in at least one embodiment, registers can store data, provide data, and perform the functions described herein. In at least one embodiment, the registers described herein can be implemented using a variety of different techniques by circuits within the processor, such as dedicated physical registers, physical registers dynamically allocated using register renaming, a combination of dedicated and dynamically allocated physical registers, etc. In at least one embodiment, integer registers store 32-bit integer data. The register file of at least one embodiment also includes eight multimedia SIMD registers for packaging data.
[0421] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding the inference and / or training logic 1515. In at least one embodiment, part or all of the inference and / or training logic 815 may be incorporated into the execution block 3111 and other memories or registers shown or not shown. For example, in at least one embodiment, the training and / or inference techniques described herein may use one or more ALUs shown in the execution block 3111. In addition, weight parameters may be stored in on-chip or off-chip memory and / or registers (shown or not shown) that configure the ALUs of the execution block 3111 to perform one or more of the machine learning algorithms, neural network architectures, use cases, or training techniques described herein.
[0422] Fig.32A deep learning application processor 3200 is shown in accordance with at least one embodiment. In at least one embodiment, the deep learning application processor 3200 uses instructions that, if executed by the deep learning application processor 3200, cause the deep learning application processor 3200 to perform some or all of the processes and techniques described throughout this disclosure. In at least one embodiment, the deep learning application processor 3200 is an application specific integrated circuit (ASIC). In at least one embodiment, the application processor 3200 performs matrix multiplication operations or is "hardwired" into hardware as a result of executing one or more instructions, or both. In at least one embodiment, the deep learning application processor 3200 includes, but is not limited to, processing clusters 3210(1)-3210(12), inter-chip links (“ICLs”) 3220(1)-3220(12), inter-chip controllers (“ICCs”) 3230(1)-3230(2), second generation high bandwidth memory (“HBM2”) 3240(1)-3240(4), memory controllers (“Mem Ctrlrs”) 3242(1)-3242(4), high bandwidth memory physical layer (“HBM PHY”) 3244(1)-3244(4), a management controller central processing unit (“management controller CPU”) 3250, serial peripheral interface, inter-integrated circuit, and general purpose input / output blocks (“SPI, I2C, GPIO”) 3260, peripheral component interconnect express controller and direct memory access block (“PCIe controller and DMA”) 3270, and sixteen-lane peripheral component interconnect express ports (“PCI Express”). x 16”)3280.
[0423] In at least one embodiment, the processing cluster 3210 may perform deep learning operations, including inference or prediction operations based on weight parameters calculated based on one or more training techniques, including those described herein. In at least one embodiment, each processing cluster 3210 may include, but is not limited to, any number and type of processors. In at least one embodiment, the deep learning application processor 3200 may include any number and type of processing clusters 3200. In at least one embodiment, the inter-chip link 3220 is bidirectional. In at least one embodiment, the inter-chip link 3220 and the inter-chip controller 3230 enable multiple deep learning application processors 3200 to exchange information, including activation information generated from executing one or more machine learning algorithms embodied in one or more neural networks. In at least one embodiment, the deep learning application processor 3200 may include any number (including zero) and type of ICL 3220 and ICC 3230.
[0424] In at least one embodiment, HBM2 3240 provides a total of 32GB of memory. HBM2 3240(i) is associated with both memory controller 3242(i) and HBM PHY 3244(i). In at least one embodiment, any number of HBM2 3240 can provide any type and total amount of high bandwidth memory and can be associated with any number (including zero) and type of memory controller 3242 and HBM PHY 3244. In at least one embodiment, SPI, I2C, GPIO 3260, PCIe controller and DMA 3270 and / or PCIe 3280 can be replaced with any number and type of blocks to implement any number and type of communication standards in any technically feasible manner.
[0425] Reasoning and / or training logic 1515 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig.15A and / or Fig. 15B Details are provided regarding the inference and / or training logic 1515. In at least one embodiment, the deep learning application processor is used to train a machine learning model (e.g., a neural network) to predict or infer information provided to the deep learning application processor 3200. In at least one embodiment, the deep learning application processor 3200 is used to infer or predict information based on a trained machine learning model (e.g., a neural network) that has been trained by another processor or system or by the deep learning application processor 3200. In at least one embodiment, the processor 3200 can be used to perform one or more of the neural network use cases described herein.
[0426] Fig.33 3300 according to at least one embodiment. In at least one embodiment, the neuromorphic processor 3300 may receive one or more inputs from a source external to the neuromorphic processor 3300. In at least one embodiment, these inputs may be transmitted to one or more neurons 3302 within the neuromorphic processor 3300. In at least one embodiment, the neurons 3302 and their components may be implemented using circuits or logic including one or more arithmetic logic units (ALUs). In at least one embodiment, the neuromorphic processor 3300 may include, but is not limited to, thousands of instances of neurons 3302, but any suitable number of neurons 3302 may be used. In at least one embodiment, each instance of a neuron 3302 may include a neuron input 3304 and a neuron output 3306. In at least one embodiment, a neuron 3302 may generate an output that may be transmitted to the inputs of other instances of the neuron 3302. In at least one embodiment, the neuron input 3304 and the neuron output 3306 may be interconnected via a synapse 3308.
[0427] In at least one embodiment, the neurons 3302 and synapses 3308 may be interconnected such that the neuromorphic processor 3300 operates to ...
Claims
1. A computer-implemented method comprising: determining at least one first joint angle of a joint of at least one finger of the hand model from the image of the hand; converting the at least one first joint angle of the joint to at least one second joint angle of a joint of the robotic hand based at least in part on a distance and a direction from a fingertip of the at least one finger of the model of the hand to a fingertip of another finger by performing at least a kinematic repositioning of the at least one first joint angle of the joint; determining a set of motions to reposition the robotic hand from a first pose to a second pose based at least in part on the at least one second joint angle of the joint; as well as The robotic hand is caused to perform the set of motions.
2. The computer-implemented method of claim 1 , further comprising: Acquire the image from a depth camera; determining a point cloud of the hand from the image; as well as The at least one first joint angle of the joint of the at least one finger is determined using the point cloud.
3. The computer-implemented method of claim 2, wherein: The depth camera is an RGB depth camera, a radar imager, a medical imaging system, or a LIDAR system.
4. The computer-implemented method of claim 1 , further comprising: determining a third pose of the model of the hand, the third pose comprising information identifying a position of each of five fingers of the hand; as well as The third posture includes information identifying positions of one or more joints of the hand. The computer-implemented method of claim 1 , wherein the set of motions is determined using a Riemannian motion strategy.
6. The computer-implemented method of claim 1, wherein the robotic hand is an articulated robotic hand, a robotic gripper, or a probe.
7. The computer-implemented method of claim 1 , wherein: The robotic hand includes one or more tactile sensors providing tactile sensor information; and The tactile sensor information includes a two-dimensional array of force values for the fingers of the robotic hand.
8. A system comprising: one or more processors; as well as a computer-readable memory storing executable instructions that, as a result of execution of the executable instructions by the one or more processors, cause the system to: determining at least one first joint angle of a joint of at least one finger of the appendage from the image of the appendage performing the task; converting the at least one first joint angle of the joint of the at least one finger of the appendage to at least one second joint angle of a joint of the robotic gripper by performing at least a kinematic repositioning of the at least one first joint angle of the joint based at least in part on a distance and a direction from the fingertip of the at least one finger of the appendage to a fingertip of another finger; determining a set of motions to reposition the robotic gripper from a first pose to a second pose of the robotic gripper based at least in part on the at least one second joint angle of the joint; as well as The set of motions is executed to position the robotic gripper in the second pose to enable the robotic gripper to perform the task.
9. The system of claim 8, wherein the executable instructions cause the system to further: generating a point cloud from the image of the appendage; and The at least one first joint angle of the joint is determined from the point cloud.
10. The system of claim 8, wherein the set of movements is performed according to a Riemannian movement strategy.
11. The system of claim 8, wherein the appendage is a human hand or a human foot.
12. The system of claim 8, wherein the executable instructions cause the system to apply a scaling factor to the at least one first joint angle of the joint of the appendage to determine the at least one second joint angle of the joint of the robotic gripper.
13. The system of claim 8, wherein the executable instructions cause the system to determine: A third pose of the appendage, wherein the third pose of the appendage specifies a set of joint angles that includes the at least one first joint angle of the joint.
14. The system of claim 8, wherein the second pose specifies a target set of joint angles for the joint and a position of the robotic gripper.
15. The system of claim 8, wherein the second pose is determined using a subset of the at least one first joint angle of the joint.
16. A computer-readable medium storing instructions that, as a result of execution of the instructions by one or more processors of a computer system, cause the computer system to: determining at least one first joint angle of a joint of at least one finger of a model of an appendage of the human from an image of the human performing a task; converting the at least one first joint angle of the joint of the appendage to at least one second joint angle of a joint of the robotic hand based at least in part on a distance and direction from a fingertip of the at least one finger of the model of the appendage to a fingertip of another finger by performing at least a kinematic repositioning of the at least one first joint angle of the joint; determining a set of motions to reposition the robotic hand from a first pose to a second pose of the robotic hand based at least in part on the at least one second joint angle of the joint; as well as The robotic hand is caused to perform the set of motions.
17. The computer-readable medium of claim 16, wherein the instructions cause the computer system to further: Acquire the image from a depth camera; determining a point cloud of the appendage from the image; and The at least one first joint angle of the joint is determined based at least in part on the point cloud.
18. The computer-readable medium of claim 17, wherein the depth camera is an RGB depth camera, a radar imager, a medical imaging system, or a LIDAR system.
19. The computer-readable medium of claim 16, wherein the instructions cause the computer system to determine a third pose of the model of the appendage, the third pose comprising information identifying a position of each of five fingers of the hand, and the third pose comprising information identifying a position of one or more joints of the hand.
20. The computer-readable medium of claim 16, wherein the instructions cause the computer system to further: A point cloud of the appendage is determined from the image, wherein the point cloud provides three-dimensional data describing the hand, and the at least one first joint angle of the joint is determined from the three-dimensional data.
21. The computer-readable medium of claim 16, wherein: The robotic hand includes one or more tactile sensors providing tactile sensor information; and The tactile sensor information includes a two-dimensional array of force values for the fingers of the robotic hand.
22. The computer readable medium of claim 16, wherein the robotic hand is an articulated robotic hand, a robotic gripper, or a probe.
23. The computer-readable medium of claim 16, wherein the instructions cause the computer system to further: determining a point cloud of the appendage from the image; and The joint structure and joint angles of the joints of the appendages of the human are determined.
24. The computer readable medium of claim 16, wherein the first pose of the robotic hand is a current pose of the robotic hand.
25. A robot comprising: an arm comprising one or more articulated members connected by one or more servo motors; a robotic appendage connected to the arm; one or more processors; as well as The computer readable medium of claim 16 coupled to said one or more processors.
Citation Information
Patent Citations
Iterative closest point technique based on a solution of inverse kinematics problem
US20160335790A1
User interface for a tele-operated robotic hand system
US8989902B1
