# US 2026/0073467 A1 · Multi-instance gpu aware autoscaling in ai model service

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

- Number: US 2026/0073467 A1
- Document ID: US20260073467A1
- Status: Published application
- Kind: A1
- Application number: 18/829,441
- Filed: 2024-09-10
- Published: 2026-03-12
- Earliest claimed: 2024-09-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Abhishek Malvankar; Chen Wang; Yue Zhu; RINA INOUE; Eun Kyung LEE
- Web page: https://patentgrep.com/patent/US20260073467A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An embodiment analyzes an inference request to determine a set of parameters of execution corresponding to the inference request. For a Large Language Model (LLM), a first amount of a computing resource is computed, that amount of computing resource being estimated to be needed to produce a set of intermediate results while processing the inference request by executing the LLM using a set of multi-instance Graphical Processing Units (GPUs) (MIGs), a MIG in the set of MIGs comprising a set of slices of a corresponding GPU (set of MIG slices). A set of instructions is sent to a controller associated with the MIG, to cause the controller to modify a second amount of the computing resource available to a MIG slice in the set of MIG slices. The inference request is scheduled to execute using the first amount of computing resource at the MIG slice.

## Claims

### Claim 1

A computer-implemented method comprising:
analyzing an inference request to determine a set of parameters of execution corresponding to the inference request;
computing, for a Large Language Model (LLM), a first amount of a computing resource that will be needed to produce and store the LLM output, the LLM output comprising a set of intermediate results produced while processing the inference request by executing the LLM using a set of multi-instance Graphical Processing Units (GPUs) (MIGs), a MIG in the set of MIGs comprising a set of slices of a corresponding GPU (set of MIG slices);
causing, by sending a set of instructions to a controller associated with the MIG, the controller to modify a second amount of the computing resource available to a MIG slice in the set of MIG slices; and
scheduling the inference request to execute using the first amount of computing resource at the MIG slice.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
identifying an attention layer in the LLM, wherein the set of intermediate results is an output of the attention layer.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the set of intermediate results is a set of Key-Value pairs at an intermediate layer in a neural network of the LLM.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
analyzing, to extract a set of parameters of environment, a computing environment of the LLM, the computing environment comprising the MIGs; and
using, in the computing, at least a subset of the set of parameters of environment.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
detecting a change in a parameter in the parameters of environment;
recomputing, using a changed value of the parameter in the parameters of environment, the first amount of the computing resource to form a third amount of the computing resource; and
causing, by sending a second set of instructions to the controller, the controller to modify the first amount of the computing resource available to the MIG slice to a third amount.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the modification of the amount to the third amount occurs while the MIG slice is processing the inference request by suspending the processing of the inference request.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein the change in the parameter is a change in a performance of the LLM in the computing environment.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein the change in the parameter is a change in a number of active users using the computing environment.

### Claim 9 (depends on 5)

The computer-implemented method of claim 5, wherein the change in the parameter is a change in rate of requests being directed at the LLM in the computing environment.

### Claim 10 (depends on 5)

The computer-implemented method of claim 5, wherein the change in the parameter is a change in a utilization of at least one of the MIG slices.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the computing resource is a memory available to the MIG slice in the set of MIG slices.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the memory is one of a cache memory and a primary memory.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the causing occurs while the MIG is processing another request.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein the set of instructions comprises an instruction to allocate the first amount by deallocating a third amount of computing resource from an existing amount of the computing resource already configured in the MIG slice.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the deallocating occurs while the MIG is processing another request.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, wherein the LLM is a transformer-type model.

### Claim 17

A computer program product comprising:
One or more computer readable storage media; and
program instructions stored on the one or more storage media and configured to perform operations comprising:
analyzing an inference request to determine a set of parameters of execution corresponding to the inference request;
computing, for a Large Language Model (LLM), a first amount of a computing resource that will be needed to produce and store the LLM output, the LLM output comprising a set of intermediate results produced while processing the inference request by executing the LLM using a set of multi-instance Graphical Processing Units (GPUs) (MIGs), a MIG in the set of MIGs comprising a set of slices of a corresponding GPU (set of MIG slices);
causing, by sending a set of instructions to a controller associated with the MIG, the controller to modify a second amount of the computing resource available to a MIG slice in the set of MIG slices; and
scheduling the inference request to execute using the first amount of computing resource at the MIG slice.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the stored program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the stored program instructions are stored in a computer readable storage device in a server data processing system, and wherein the stored program instructions are downloaded in response to a request over a network to a remote data processing system for use in a computer readable storage device associated with the remote data processing system, further comprising:
program instructions to meter use of the program instructions associated with the request; and
program instructions to generate an invoice based on the metered use.

### Claim 20

A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
analyzing an inference request to determine a set of parameters of execution corresponding to the inference request;
computing, for a Large Language Model (LLM), a first amount of a computing resource that will be needed to produce and store the LLM output, the LLM output comprising a set of intermediate results produced while processing the inference request by executing the LLM using a set of multi-instance Graphical Processing Units (GPUs) (MIGs), a MIG in the set of MIGs comprising a set of slices of a corresponding GPU (set of MIG slices);
causing, by sending a set of instructions to a controller associated with the MIG, the controller to modify a second amount of the computing resource available to a MIG slice in the set of MIG slices; and
scheduling the inference request to execute using the first amount of computing resource at the MIG slice.
