# US 2026/0065127 A1 · Overlapping substage parallelism for machine learning model training

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0065127 A1
- Document ID: US20260065127A1
- Status: Published application
- Kind: A1
- Application number: 18/817,817
- Filed: 2024-08-28
- Published: 2026-03-05
- Earliest claimed: 2024-08-28
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Sumanth Gudaparthi; Sonali Singh; Karthik Ramu Sangaiah
- Web page: https://patentgrep.com/patent/US20260065127A1

## CPC

- G06N 20/00: Machine learning
- G06N 3/045: Combinations of networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A processing system schedules training of a machine learning model based on identifying one or more substages of passes (e.g., backward passes) of microbatches associated with training the machine learning model. At least some of the identified substages for a given layer generate, during a pass, data used to train other layers of the machine learning model, while other substages only generate data used to train the given layer. Accordingly, a scheduler of the processing system schedules the substages based on whether the data generated by the substage is used to train a different layer of the MLM.

## Claims

### Claim 1

A method comprising:
executing a first pass for a first microbatch of a machine learning model (MLM) by executing a first substage and a second substage of the first pass; and
after executing the first substage of the first pass and prior to executing the second substage of the first pass, initiating execution of a first pass for a second microbatch of the MLM.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first pass of the first microbatch comprises a backward pass of the first microbatch.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first pass of the second microbatch uses results of the first substage of the first pass of the first microbatch.

### Claim 4 (depends on 1)

The method of claim 1, wherein executing the first substage comprises calculating a first gradient calculation for the first microbatch.

### Claim 5 (depends on 3)

The method of claim 3, wherein executing the second substage comprises calculating a second gradient calculation for the first microbatch.

### Claim 6 (depends on 4)

The method of claim 4, wherein the first gradient calculation comprises an activation gradient for the first microbatch.

### Claim 7 (depends on 5)

The method of claim 5, wherein the second gradient calculation comprises a weight gradient for the first microbatch.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
executing the first pass for the second microbatch of a machine learning model executing a first substage and a second substage of the first pass for the second microbatch; and
after executing the first substage of the first pass for the second microbatch and prior to executing the second substage of the first pass, initiating execution of a first pass for a third microbatch of the MLM.

### Claim 9

A method comprising:
scheduling a first pass for a first microbatch of a machine learning model (MLM) for execution, wherein scheduling the first pass comprises scheduling execution of a first substage and a second substage of the first pass at a first processing unit; and
scheduling a first pass for a second microbatch of the MLM at a second processing unit, wherein scheduling the first pass for the second microbatch comprises scheduling a first substage of the first pass for the second microbatch after the first substage of the first pass and prior to the second substage of the first pass.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first pass of the first microbatch comprises a backward pass of the first microbatch.

### Claim 11 (depends on 9)

The method of claim 9, wherein the first pass of the second microbatch uses results of the first substage of the first pass of the first microbatch.

### Claim 12 (depends on 9)

The method of claim 9, wherein the first substage comprises a stage to calculate a first gradient calculation for the first microbatch.

### Claim 13 (depends on 12)

The method of claim 12, wherein the second substage comprises a stage to calculate a second gradient calculation for the first microbatch.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first gradient calculation comprises an activation gradient for the first microbatch.

### Claim 15 (depends on 14)

The method of claim 14, wherein the second gradient calculation comprises a weight gradient for the first microbatch.

### Claim 16

A processing system comprising
a plurality of processing units including a first processing unit and a second processing unit; and
a scheduler configured to:
schedule a first pass for a first microbatch of a machine learning model (MLM) for execution, wherein scheduling the first pass comprises scheduling execution of a first substage and a second substage of the first pass at the first processing unit; and
schedule a first pass for a second microbatch of the MLM at the second processing unit, wherein scheduling the first pass for the second microbatch comprises scheduling a first substage of the first pass for the second microbatch after the first substage of the first pass and prior to the second substage of the first pass.

### Claim 17 (depends on 16)

The processing system of claim 16, wherein the first pass of the first microbatch comprises a backward pass of the first microbatch.

### Claim 18 (depends on 16)

The processing system of claim 16, wherein the first pass of the second microbatch uses results of the first substage of the first pass of the first microbatch.

### Claim 19 (depends on 16)

The processing system of claim 16, wherein the first substage comprises a stage to calculate a first gradient calculation for the first microbatch.

### Claim 20 (depends on 19)

The processing system of claim 19, wherein the second substage comprises a stage to calculate a second gradient calculation for the first microbatch.
