# US 2025/0156230 A1 · Resource management techniques to reduce startup overhead for machine learning tasks

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

- Number: US 2025/0156230 A1
- Document ID: US20250156230A1
- Status: Published application
- Kind: A1
- Application number: 19/022,905
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2021-09-22
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Ramyanshu Datta; Zhihan Li; Arun Babu Nagarajan; Arvind Sowmyan; Kohen Berith Chia; Wei You; Ishaaq Chandy; Kunal Mehrotra; Andrea Olgiati; Lakshmi Naarayanan Ramakrishnan; Saurabh Gupta
- Web page: https://patentgrep.com/patent/US20250156230A1

## CPC

- G06F 9/5033: {considering data affinity}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 2209/5011: Pool
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Parameters of a pool of computing resources to be utilized for machine learning tasks from a set of entities are stored, including a category of the computing resources, and a post-task-completion retention period during which, after completion of a task, at least a portion of data stored at the resource is not to be deleted. A compute instance of the pool is assigned to a task requested from the set of entities after determining that one or more configuration settings of the instance satisfy a preference indicated in the request for the task, and that the retention period of the instance relative to a completion of an earlier task on the instance has not expired. A result of the task is stored.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A computer-implemented method, comprising:
storing a first set of parameters of a first pool of computing resources to be utilized for tasks requested by one or more entities of a first set of entities, wherein the first set of parameters includes a post-task-completion retention period during which, after completion of a task at a computing resource of the first pool, at least a portion of data stored at the computing resource for the task is to be retained at the computing resource;
selecting a first computing resource of the first pool for a first task indicated in a first request from an entity of the first set of entities, wherein the first request does not specify a computing resource to be used for the first task, wherein assignment of the first computing resource to the first task is based at least in part on a determination that (a) a first configuration setting of the first computing resource satisfies a first configuration preference indicated in the first request, and (b) the post-task-completion retention period of the first computing resource relative to a completion of an earlier task at the first computing resource has not expired, and wherein a second configuration setting of the first computing resource does not satisfy a second configuration preference indicated in the first request; and
modifying the second configuration setting to satisfy the second configuration preference prior to causing the first task to be implemented at the first computing resource.

### Claim 22 (depends on 21)

The computer-implemented method as recited in claim 21, wherein the earlier task utilized a first set of data stored at the first computing resource, wherein the first set of data is retained at the first computing resource after completion of the earlier task, and wherein the first task utilizes at least a portion of the first set of data.

### Claim 23 (depends on 21)

The computer-implemented method as recited in claim 21, wherein the second configuration setting comprises one or more of: (a) a networking setting, (b) a security setting or (c) a storage setting.

### Claim 24 (depends on 21)

The computer-implemented method as recited in claim 21, wherein the first set of parameters comprises an indication of an upper limit on a number of computing resources of a particular category permitted within the first pool, wherein the first computing resource belongs to the particular category, the computer-implemented method further comprising:
adding the first computing resource to the pool, prior to selecting the first computing resource for the first task, based at least in part on a determination that adding the first computing resource does not result in exceeding the upper limit.

### Claim 25 (depends on 21)

The computer-implemented method as recited in claim 21, wherein the first computing resource comprises a compute instance of a virtualized computing service of a cloud computing environment.

### Claim 26 (depends on 21)

The computer-implemented method as recited in claim 21, further comprising:
receiving, at a cloud computing environment, via one or more programmatic interfaces, a request to establish the first pool, wherein the request indicates at least one of (a) the post-task-completion retention period or (b) the set of entities, and wherein the first set of parameters is stored in response to the request.

### Claim 27 (depends on 21)

The computer-implemented method as recited in claim 21, wherein the earlier task comprises a first machine learning task, and wherein the first task comprises another machine learning task.

### Claim 28

A system, comprising:
one or more computing devices;
wherein the one or more computing devices include instructions that upon execution on or across the one or more computing devices:
store a first set of parameters of a first pool of computing resources to be utilized for tasks requested by one or more entities of a first set of entities, wherein the first set of parameters includes a post-task-completion retention period during which, after completion of a task at a computing resource of the first pool, at least a portion of data stored at the computing resource for the task is to be retained at the computing resource;
select a first computing resource of the first pool for a first task indicated in a first request from an entity of the first set of entities, wherein the first request does not specify a computing resource to be used for the first task, wherein assignment of the first computing resource to the first task is based at least in part on a determination that (a) a first configuration setting of the first computing resource satisfies a first configuration preference indicated in the first request, and (b) the post-task-completion retention period of the first computing resource relative to a completion of an earlier task at the first computing resource has not expired, and wherein a second configuration setting of the first computing resource does not satisfy a second configuration preference indicated in the first request; and
modify the second configuration setting to satisfy the second configuration preference prior to causing the first task to be implemented at the first computing resource.

### Claim 29 (depends on 28)

The system as recited in claim 28, wherein the earlier task utilized a first set of data stored at the first computing resource, wherein the first set of data is retained at the first computing resource after completion of the earlier task, and wherein the first task utilizes at least a portion of the first set of data.

### Claim 30 (depends on 28)

The system as recited in claim 28, wherein the second configuration setting comprises one or more of: (a) a networking setting, (b) a security setting or (c) a storage setting.

### Claim 31 (depends on 28)

The system as recited in claim 28, wherein the first set of parameters comprises an indication of an upper limit on a number of computing resources of a particular category permitted within the first pool, wherein the first computing resource belongs to the particular category, and wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices:
add the first computing resource to the pool, prior to selecting the first computing resource for the first task, based at least in part on a determination that adding the first computing resource does not result in exceeding the upper limit.

### Claim 32 (depends on 28)

The system as recited in claim 28, wherein the first computing resource comprises a compute instance of a virtualized computing service of a cloud computing environment.

### Claim 33 (depends on 28)

The system as recited in claim 28, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices:
receive, at a cloud computing environment, via one or more programmatic interfaces, a request to establish the first pool, wherein the request indicates at least one of (a) the post-task-completion retention period or (b) the set of entities, and wherein the first set of parameters is stored in response to the request.

### Claim 34 (depends on 28)

The system as recited in claim 28, wherein the earlier task comprises a first machine learning task, and wherein the first task comprises another machine learning task.

### Claim 35

One or more non-transitory computer-accessible storage media storing program instructions that when executed on or across one or more processors:
store a first set of parameters of a first pool of computing resources to be utilized for tasks requested by one or more entities of a first set of entities, wherein the first set of parameters includes a post-task-completion retention period during which, after completion of a task at a computing resource of the first pool, at least a portion of data stored at the computing resource for the task is to be retained at the computing resource;
select a first computing resource of the first pool for a first task indicated in a first request from an entity of the first set of entities, wherein the first request does not specify a computing resource to be used for the first task, wherein assignment of the first computing resource to the first task is based at least in part on a determination that (a) a first configuration setting of the first computing resource satisfies a first configuration preference indicated in the first request, and (b) the post-task-completion retention period of the first computing resource relative to a completion of an earlier task at the first computing resource has not expired, and wherein a second configuration setting of the first computing resource does not satisfy a second configuration preference indicated in the first request; and
modify the second configuration setting to satisfy the second configuration preference prior to causing the first task to be implemented at the first computing resource.

### Claim 36 (depends on 35)

The one or more non-transitory computer-accessible storage media as recited in claim 35, wherein the earlier task utilized a first set of data stored at the first computing resource, wherein the first set of data is retained at the first computing resource after completion of the earlier task, and wherein the first task utilizes at least a portion of the first set of data.

### Claim 37 (depends on 35)

The one or more non-transitory computer-accessible storage media as recited in claim 35, wherein the second configuration setting comprises one or more of: (a) a networking setting, (b) a security setting or (c) a storage setting.

### Claim 38 (depends on 35)

The one or more non-transitory computer-accessible storage media as recited in claim 35, wherein the first set of parameters comprises an indication of an upper limit on a number of computing resources of a particular category permitted within the first pool, wherein the first computing resource belongs to the particular category, and wherein the one or more non-transitory computer-accessible storage media store further program instructions that when executed on or across the one or more processors:
add the first computing resource to the pool, prior to selecting the first computing resource for the first task, based at least in part on a determination that adding the first computing resource does not result in exceeding the upper limit.

### Claim 39 (depends on 35)

The one or more non-transitory computer-accessible storage media as recited in claim 35, wherein the first computing resource comprises a compute instance of a virtualized computing service of a cloud computing environment.

### Claim 40 (depends on 35)

The one or more non-transitory computer-accessible storage media as recited in claim 35, storing further program instructions that when executed on or across the one or more processors:
receive, at a cloud computing environment, via one or more programmatic interfaces, a request to establish the first pool, wherein the request indicates at least one of (a) the post-task-completion retention period or (b) the set of entities, and wherein the first set of parameters is stored in response to the request.
