PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10685295

Allocating resources for a machine learning model

Granted 2020-06-16 · Filed 2017-12-29 · Application 15/859,077 · Utility · Kind B1

Assignee as printed
  • X Development LLC, Mountain View, CA (US)
Inventors
Jonathan Ross, Menlo Park, CA (US); John M. Stivoric, Pittsburgh, PA (US)
CPC, current
G06F9/5083; G06N3/08; G06F9/4887; G06F9/5005; G06F9/5016; G06F9/5038; G06F9/505; G06N3/063; G06N20/00; G06F8/41; Y02D10/00

Abstract

A method for allocating resources for a machine learning model is disclosed. A machine learning model to be executed on a special purpose machine learning model processor is received. A computational data graph is generated from the machine learning model. The computational dataflow graph represents the machine learning model which includes nodes, connector directed edges, and parameter directed edges. The operations of the computational dataflow graph is scheduled and then compiled using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor. An amount of resources required to execute the computational dataflow graph is determined. Resources are allocated based on the determined amounts of resources required to execute the machine learning model represented by the computational dataflow graph.

Claims

18 claims · independent 1, 9, 14 and 17

The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.

Claim 1

Independent claim.

1. A computer-implemented method for allocating resources for a machine learning model, the method comprising:

  1. Claim 1, element e1receiving a machine learning model to execute on a special purpose machine learning model processor; 111–210
  2. Claim 1, element e2generating, from the machine learning model, a computational dataflow graph representing the machine learning model comprising a plurality of nodes, a plurality of connector directed edges, and a plurality of parameter directed edges, 212–445
  3. Claim 1, element e3wherein each node represents a respective operation performed by the machine learning model as part of the model output from the model input, 447–587
  4. Claim 1, element e4wherein each connector directed edge connects a respective first node to a respective second node that represents an operation that receives, as input, an output of an operation represented by the respective first node, and wherein each parameter directed edge connects into a respective node and represents a flow of one or more parameters of the model as input to the operation represented by the respective node; 589–1003
  5. Claim 1, element e5scheduling operations of the computational dataflow graph; 1005–1062
  6. Claim 1, element e6compiling the computational dataflow graph using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor; 1064–1240
  7. Claim 1, element e7determining an amount of resources required to execute the computational dataflow graph representing the machine learning model; and 1242–1369
  8. Claim 1, element e8allocating resources based on the determined amounts of resources required to execute the machine learning model represented by the computational dataflow graph.1375–1535
7 dependent claims: 2 to 8 (2, 3, 4, 5, 7, 8 on claim 1; 6 on 5)

Claim 2

Depends on claim 1.

2. The computer-implemented method of claim 1 , wherein

  1. Claim 2, element e1determining an amount of resources required to execute the computational data flow graph comprises: 56–154
  2. Claim 2, element e2determining a number of operations required for executing the computational dataflow graph; 156–246
  3. Claim 2, element e3determining an amount of storage required for executing the computational dataflow graph; and 248–336
  4. Claim 2, element e4determining an amount of input/output communications required for executing the computational dataflow graph.342–450

Claim 3

Depends on claim 1.

3. The computer-implemented method of claim 1 , wherein

  1. Claim 3, element e1scheduling the operations of the computational dataflow graph comprises: 56–127
  2. Claim 3, element e2determining a starting clock cycle; 129–163
  3. Claim 3, element e3determining a duration for execution of each operation; and 165–219
  4. Claim 3, element e4scheduling the operations of the computational dataflow graph using the starting clock cycle and the duration.225–334

Claim 4

Depends on claim 1.

4. The method of claim 1 , further comprising:

  1. Claim 4, element e1automatically load-balancing the machine learning model based on operations and input/output required of the model at compile time.47–177

Claim 5

Depends on claim 1.

5. The method of claim 1 , wherein

  1. Claim 5, element e1the machine learning model executes on the special purpose machine learning model processor in a data center.35–143

Claim 6

Depends on claim 5.

6. The method of claim 5 , further comprising:

  1. Claim 6, element e1adjusting data center resources based on the resource use of the machine learning model.47–134

Claim 7

Depends on claim 1.

7. The method of claim 1 , wherein

  1. Claim 7, element e1allocating resources based on the determined amounts of resources required to execute the machine learning model represented by the computational dataflow graph comprises: 35–205
  2. Claim 7, element e2identifying resources for a second machine learning model that executes on the special purpose machine learning model processor, the resources being unused during an allocated time period; and 207–394
  3. Claim 7, element e3providing the resources to the machine learning model represented by the computational dataflow graph during the allocated time period until a request for the second machine learning model is received by the special purpose machine learning model processor.400–656

Claim 8

Depends on claim 1.

8. The method of claim 1 , further comprising:

  1. Claim 8, element e1rebalancing the machine learning model based on factors including usage, timing, number of operations the model requires, or the precision necessary to perform a machine learning task.47–230

Claim 9

Independent claim.

9. A computer-implemented method for allocating resources for machine learning models to run together on a special purpose machine learning model processor, the method comprising:

  1. Claim 9, element e1generating, from machine learning models, computational dataflow graphs, each graph representing one of the machine learning models; 180–311
  2. Claim 9, element e2scheduling and compiling, using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor, the computational dataflow graphs representing the machine learning models into executable binaries; 313–573
  3. Claim 9, element e3determining an amount of resources required to execute each executable binary; 575–652
  4. Claim 9, element e4determining an amount of resources available on the special purpose machine learning model processor; 654–754
  5. Claim 9, element e5determining a first executable binary of a computational dataflow graph representing a machine learning model to execute on the special purpose machine learning model processor; 756–932
  6. Claim 9, element e6determining a second executable binary of a computational dataflow graph representing a second machine learning model to execute on the special purpose machine learning model processor; and 934–1118
  7. Claim 9, element e7allocating resources for the first and second machine executable binaries to execute together on the special purpose machine learning model processor.1124–1273
4 dependent claims: 10 to 13 (10, 12, 13 on claim 9; 11 on 10)

Claim 10

Depends on claim 9.

10. The computer-implemented method of claim 9 , wherein

  1. Claim 10, element e1determining an amount of resources required to execute the computational data flow graph comprises: 57–155
  2. Claim 10, element e2determining a number of operations required for executing the computational dataflow graph; 157–247
  3. Claim 10, element e3determining an amount of storage required for executing the computational dataflow graph; and 249–337
  4. Claim 10, element e4determining an amount of input/output communications required for executing the computational dataflow graph.343–451

Claim 11

Depends on claim 10.

11. The computer-implemented method of claim 10 , comprising:

  1. Claim 11, element e1determining a starting clock cycle; 62–96
  2. Claim 11, element e2determining a duration for execution of each operation; and 98–152
  3. Claim 11, element e3scheduling the operations of the computational dataflow graph using the starting clock cycle and the duration.158–267

Claim 12

Depends on claim 9.

12. The computer-implemented method of claim 9 , comprising

  1. Claim 12, element e1scheduling operations of the computational dataflow graph at least by: 60–129
  2. Claim 12, element e2determining a starting clock cycle; 131–165
  3. Claim 12, element e3determining a duration for execution of each operation; and 167–221
  4. Claim 12, element e4scheduling the operations of the computational dataflow graph using the starting clock cycle and the duration.227–336

Claim 13

Depends on claim 9.

13. The computer-implemented method of claim 9 , wherein

  1. Claim 13, element e1determining a second executable binary of a computational dataflow graph representing a second machine learning model to execute on the special purpose machine learning model processor comprises: 57–251
  2. Claim 13, element e2determining that the second executable binary requires a number of operations that, when added to the number of operations required by the first executable binary, does not exceed a number of operations available on the special purpose machine learning model processor; 253–521
  3. Claim 13, element e3determining that the second executable binary requires an amount of storage that, when added to the amount of storage required by the first executable binary, does not exceed an amount of storage available on the special purpose machine learning model processor; and 523–784
  4. Claim 13, element e4determining that the second executable binary requires an amount of input/output communications that, when added to the amount of input/output communications required by the first executable binary, does not exceed an amount of input/output communications available on the special purpose machine learning model processor.790–1111

Claim 14

Independent claim.

14. A system comprising

  1. Claim 14, element e1one or more computers and one or more storage devices storing instructions that are executable by the one or more computers to cause the one or more computers to perform the operations of: 24–211
  2. Claim 14, element e2receiving a machine learning model to execute on a special purpose machine learning model processor; 213–312
  3. Claim 14, element e3generating, from the machine learning model, a computational dataflow graph representing the machine learning model comprising a plurality of nodes, a plurality of connector directed edges, and a plurality of parameter directed edges, 314–547
  4. Claim 14, element e4wherein each node represents a respective operation performed by the machine learning model as part of the model output from the model input, 549–689
  5. Claim 14, element e5wherein each connector directed edge connects a respective first node to a respective second node that represents an operation that receives, as input, an output of an operation represented by the respective first node, and wherein each parameter directed edge connects into a respective node and represents a flow of one or more parameters of the model as input to the operation represented by the respective node; 691–1105
  6. Claim 14, element e6scheduling operations of the computational dataflow graph; 1107–1164
  7. Claim 14, element e7compiling the computational dataflow graph using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor; 1166–1342
  8. Claim 14, element e8determining an amount of resources required to execute the computational dataflow graph representing the machine learning model; and 1344–1471
  9. Claim 14, element e9allocating resources based on the determined amounts of resources required to execute the machine learning model represented by the computational dataflow graph.1477–1637
2 dependent claims: 15 and 16 (15, 16 on claim 14)

Claim 15

Depends on claim 14.

15. The system of claim 14 , wherein

  1. Claim 15, element e1determining an amount of resources required to execute the computational data flow graph comprises: 37–135
  2. Claim 15, element e2determining a number of operations required for executing the computational dataflow graph; 137–227
  3. Claim 15, element e3determining an amount of storage required for executing the computational dataflow graph; and 229–317
  4. Claim 15, element e4determining an amount of input/output communications required for executing the computational dataflow graph.323–431

Claim 16

Depends on claim 14.

16. The system of claim 14 , wherein

  1. Claim 16, element e1scheduling the operations of the computational dataflow graph comprises: 37–108
  2. Claim 16, element e2determining a starting clock cycle; 110–144
  3. Claim 16, element e3determining a duration for execution of each operation; and 146–200
  4. Claim 16, element e4scheduling the operations of the computational dataflow graph using the starting clock cycle and the duration.206–315

Claim 17

Independent claim.

17. A computer-implemented method for allocating resources for machine learning models to run together on a special purpose machine learning model processor, the method comprising:

  1. Claim 17, element e1generating, from machine learning models, computational dataflow graphs, each graph representing one of the machine learning models; 181–312
  2. Claim 17, element e2scheduling and compiling, using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor, the computational dataflow graphs representing the machine learning models into executable binaries; 314–574
  3. Claim 17, element e3determining an amount of resources required to execute each executable binary; 576–653
  4. Claim 17, element e4determining an amount of resources available on the special purpose machine learning model processor; 655–755
  5. Claim 17, element e5determining a first executable binary of a computational dataflow graph representing a machine learning model to execute on the special purpose machine learning model processor; 757–933
  6. Claim 17, element e6determine a second executable binary of a computational dataflow graph representing a second machine learning model to execute on the special purpose machine learning model processor, comprising: 935–1129
  7. Claim 17, element e7determining that the second executable binary requires a number of operations that, when added to the number of operations required by the first executable binary, does not exceed a number of operations available on the special purpose machine learning model processor; and 1131–1399
  8. Claim 17, element e8allocating resources for the first and second machine executable binaries to execute together on the special purpose machine learning model processor.1405–1554

17. A computer-implemented method for allocating resources for machine learning models to run together on a special purpose machine learning model processor, the method comprising:

  1. Claim 17, element e1generating, from machine learning models, computational dataflow graphs, each graph representing one of the machine learning models; 181–312
  2. Claim 17, element e2scheduling and compiling, using a deterministic instruction set architecture that specifies functionality of a special purpose machine learning model processor, the computational dataflow graphs representing the machine learning models into executable binaries; 314–574
  3. Claim 17, element e3determining an amount of resources required to execute each executable binary; 576–653
  4. Claim 17, element e4determining an amount of resources available on the special purpose machine learning model processor; 655–755
  5. Claim 17, element e5determining a first executable binary of a computational dataflow graph representing a machine learning model to execute on the special purpose machine learning model processor; 757–933
  6. Claim 17, element e6determine a second executable binary of a computational dataflow graph representing a second machine learning model to execute on the special purpose machine learning model processor, comprising: 935–1129
  7. Claim 17, element e7determining that the second executable binary requires a number of operations that, when added to the number of operations required by the first executable binary, does not exceed a number of operations available on the special purpose machine learning model processor; and 1131–1399
  8. Claim 17, element e8allocating resources for the first and second machine executable binaries to execute together on the special purpose machine learning model processor.1405–1554

Status

active

As of 2026-11-17, the USPTO record for US 10685295 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-03-02 (20 years from filing, plus 63 days of patent term adjustment), a date not yet passed (data version 20261117.2).

Basis
term_20y · pta_days:63 (20 years from filing, plus 63 days of patent term adjustment)
Term end
2038-03-02 Computed from the dates in the USPTO record
Fee lapse
none on record
Reinstatement
none on record; reinstatement_possible: false, not lapsed
As of
2026-11-17
Data version
20261117.2

A fact about the record with its basis and its as-of date, not legal advice.

Citations

References cited on the grant: 0 US patent documents · Cited by: 86 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10685295/ (needs a free key, as the links under Get this as data)

Family outside the US

Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).

This patent's family on USPTO Global Dossier

Family data from Google Patents Public Datasets, used under CC BY 4.0.

Record JSON
{
 "patent_id": "10685295",
 "status": "active",
 "basis": [
  "term_20y",
  "pta_days:63"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2038-03-02",
 "lapse_date": null,
 "reinstated_date": null,
 "as_of": "2026-11-17",
 "data_version": "20261117.2",
 "catalog_data_version": "20261117.2",
 "permalink": "https://patentref.io/p/10685295?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10685295?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10685295/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10685295",
   "audience": "agent"
  }
 ]
}

Get this as data

These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.

Elsewhere

Cite this record

https://patentref.io/p/10685295?v=20261117.2

Data 20261117.2 · as of 2026-11-17