# US 2026/0086885 A1 · Pipelined horizontal parallelism for large language models

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

- Number: US 2026/0086885 A1
- Document ID: US20260086885A1
- Status: Published application
- Kind: A1
- Application number: 18/895,281
- Filed: 2024-09-24
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Dhwani Satish Mehta; Abhinav Vishnu
- Web page: https://patentgrep.com/patent/US20260086885A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/5044: {considering hardware capabilities}
- G06F 2209/509: Offload
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A disclosed computer-implemented method may include generating, via a hardware accelerator included in a plurality of hardware accelerators that includes the hardware accelerator and at least one additional hardware accelerator, a first result tensor segment by executing a tensor operation on a first activation tensor segment included in an activation tensor. The method may also include executing, via the hardware accelerator, a collective communication operation with the at least one additional hardware accelerator as to the first result tensor segment and, during execution of the collective communication operation with the at least one additional hardware accelerator, generating, via the hardware accelerator, a next result tensor segment by executing the tensor operation on a next activation tensor segment included in the activation tensor. Various other methods, systems, and computer-readable media are also disclosed.

## Claims

### Claim 1

A method comprising:
generating, via a hardware accelerator included in a plurality of hardware accelerators comprising the hardware accelerator and at least one additional hardware accelerator, a first result tensor segment by executing a tensor operation on a first activation tensor segment included in an activation tensor;
executing, via the hardware accelerator, a collective communication operation with the at least one additional hardware accelerator as to the first result tensor segment; and
during execution of the collective communication operation with the at least one additional hardware accelerator, generating, via the hardware accelerator, a next result tensor segment by executing the tensor operation on a next activation tensor segment included in the activation tensor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the tensor operation comprises a General Matrix Multiply (GEMM) operation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the collective communication operation comprises an Allreduce (AR) operation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the collective communication operation comprises an Allgather (AG) operation.

### Claim 5 (depends on 1)

The method of claim 1, further comprising segmenting the activation tensor into a plurality of activation tensor segments, the plurality of activation tensor segments comprising at least the first activation tensor segment and the next activation tensor segment, based on a pipeline depth parameter, the pipeline depth parameter corresponding to a number of activation tensor segments included in the plurality of activation tensor segments.

### Claim 6 (depends on 5)

The method of claim 5, wherein the pipeline depth parameter comprises a value of at least two.

### Claim 7 (depends on 1)

The method of claim 1, wherein the tensor operation and the collective communication operation are executed in a pipelined manner to overlap computation and communication tasks.

### Claim 8 (depends on 1)

The method of claim 1, wherein the execution of the collective communication operation with the at least one additional hardware accelerator is initiated prior to completion of the tensor operation on the next activation tensor segment.

### Claim 9 (depends on 1)

The method of claim 1, wherein the execution of the tensor operation on the next activation tensor segment is initiated prior to completion of the collective communication operation with at least one additional hardware accelerator.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
the hardware accelerator and the at least one additional hardware accelerator are physically coupled to a common bus; and
executing, via the hardware accelerator, the collective communication operation with the at least one additional hardware accelerator on the first result tensor segment comprises executing the collective communication operation with the at least one additional hardware accelerator as to the first result tensor segment via the common bus.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
the hardware accelerator and the at least one additional hardware accelerator are communicatively coupled via a network; and
executing, via the hardware accelerator, the collective communication operation with the at least one additional hardware accelerator on the first result tensor segment comprises directing executing the collective communication operation with the at least one additional hardware accelerator as to the first result tensor segment via the network.

### Claim 12 (depends on 1)

The method of claim 1, wherein the hardware accelerator comprises a graphics processing unit (GPU).

### Claim 13 (depends on 1)

The method of claim 1, wherein the at least one additional hardware accelerator comprises a graphics processing unit (GPU).

### Claim 14

A system comprising:
a hardware accelerator; and
at least one additional hardware accelerator;
wherein the hardware accelerator is configured to:
generate a first result tensor segment by executing a tensor operation on a first activation tensor segment included in an activation tensor;
execute a collective communication operation with the at least one additional hardware accelerator on the first result tensor segment; and
during execution of the collective communication operation with the at least one additional hardware accelerator, generate a next result tensor segment by executing the tensor operation as to a next activation tensor segment included in the activation tensor.

### Claim 15 (depends on 14)

The system of claim 14, wherein the tensor operation comprises a General Matrix Multiply (GEMM) operation.

### Claim 16 (depends on 14)

The system of claim 14, wherein the collective communication operation comprises at least one of:
an Allreduce (AR) operation; or
an Allgather (AG) operation.

### Claim 17 (depends on 14)

The system of claim 14, wherein the execution of the collective communication operation with the at least one additional hardware accelerator is initiated prior to completion of the tensor operation on the next activation tensor segment.

### Claim 18 (depends on 14)

The system of claim 14, wherein the execution of the tensor operation on the next activation tensor segment is initiated prior to completion of the collective communication operation with the at least one additional hardware accelerator.

### Claim 19 (depends on 14)

The system of claim 14, wherein the hardware accelerator further segments the activation tensor into a plurality of activation tensor segments, the plurality of activation tensor segments comprising at least the first activation tensor segment and the next activation tensor segment, based on a pipeline depth parameter, the pipeline depth parameter corresponding to a number of activation tensor segments included in the plurality of activation tensor segments.

### Claim 20

A system comprising:
a hardware accelerator; and
at least one additional hardware accelerator; and
a host device coupled to the hardware accelerator and the at least one additional hardware accelerator, wherein the host device is configured to:
direct the hardware accelerator to generate a first result tensor segment by executing a tensor operation on a first activation tensor segment included in an activation tensor;
direct the hardware accelerator and the at least one additional hardware accelerator to execute a collective communication operation on the first result tensor segment;
direct the hardware accelerator to execute the tensor operation on a next activation tensor segment included in the activation tensor to generate a next result tensor segment, during execution of the collective communication operation.
