IP Library Granted Patent US 11,216,273
Granted Patent B1
US 11,216,273 · App. 17/014,618 · Granted Jan 4, 2022

Model training using build artifacts

Inventors: William Story (San Francisco, CA); David Hwang (Boston, MA)
Assignee: Stripe, Inc.
G06F8/71G06F9/45558G06N20/00H04L9/0643G06F2009/45562G06F2009/45595
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,216,273
App. No.
17/014,618
Granted
Jan 4, 2022
Kind
B1
Abstract

The subject technology detects a code commit at a code repository. The subject technology sends a request for a build job to a build server. The subject technology determines that the build job is completed. The subject technology sends a training request and user token to a proxy authenticator. The subject technology determines determining that the user token is validated. The subject technology sends a training request and the user token to a training job manager. Further, the subject technology determines determining that the training job is completed.

Claims (71)

1. A method comprising:

detecting a code commit at a code repository;

sending a request for a build job to a build server;

determining that the build job is completed;

sending a training request and user token to a proxy authenticator;

determining that the user token is validated;

sending the training request, including a training job, and the user token to a training job manager; and

determining that the training job is completed.

2. The method of claim 1 , further comprising:

receiving the training request and the user token;

retrieving a container image; and

starting a container using the container image.

3. The method of claim 2 , wherein the training request includes a hash string value corresponding to the code commit.

4. The method of claim 2 , further comprising:

retrieving, using the container, a build artifact generated by the build job;

performing the training job using the build artifact;

generating at least one training artifact; and

storing the at least one training artifact on a cloud storage platform.

5. The method of claim 4 , further comprising:

unpacking the build artifact into a local directory within the container;

creating a virtual environment within the container;

performing a set of tasks related to the training job within the virtual environment; and

deleting data from the local directory after performing the set of tasks.

6. The method of claim 5 , wherein the virtual environment comprises an isolated environment executing within the container, the isolated environment having a set of packages installed that are utilized for performing the set of tasks.

7. The method of claim 1 , wherein detecting the code commit comprises:

generating a hash string value corresponding to the code commit, the code commit comprising code changes that are stored at the code repository.

8. The method of claim 7 , wherein the hash string value is based at least in part on a cryptographic hash function.

9. The method of claim 1 , wherein determining that the build job is completed comprises:

receiving a request to store a build artifact, generated by the build job, at a location on a cloud storage platform.

10. The method of claim 9 , further comprising:

storing the build artifact at a location specified by the request on the cloud storage platform, the location comprising a universal resource locator corresponding to a particular folder at the cloud storage platform.

11. A system comprising:

a network;

one or more processors; and

a memory storing instructions that, when executed by at least one processor among the one or more processors, cause the at least one processor to perform operations comprising:

detecting a code commit at a code repository;

sending a request for a build job to a build server;

determining that the build job is completed;

sending a training request and user token to a proxy authenticator;

determining that the user token is validated;

sending the training request, including a training job, and the user token to a training job manager; and

determining that the training job is completed.

12. The system of claim 11 , wherein the operations further comprise:

receiving the training request and the user token;

retrieving a container image; and

starting a container using the container image.

13. The system of claim 12 , wherein the training request includes a hash string value corresponding to the code commit.

14. The system of claim 12 , wherein the operations further comprise:

retrieving, using the container, a build artifact generated by the build job;

performing the training job using the build artifact;

generating at least one training artifact; and

storing the at least one training artifact on a cloud storage platform.

15. The system of claim 14 , wherein the operations further comprise:

unpacking the build artifact into a local directory within the container;

creating a virtual environment within the container;

performing a set of tasks related to the training job within the virtual environment; and

deleting data from the local directory after performing the set of tasks.

16. The system of claim 15 , wherein the virtual environment comprises an isolated environment executing within the container, the isolated environment having a set of packages installed that are utilized for performing the set of tasks.

17. The system of claim 11 , wherein detecting the code commit comprises:

generating a hash string value corresponding to the code commit, the code commit comprising code changes that are stored at the code repository.

18. The system of claim 17 , wherein the hash string value is based at least in part on a cryptographic hash function.

19. The system of claim 11 , wherein determining that the build job is completed comprises:

receiving a request to store a build artifact, generated by the build job, at a location on a cloud storage platform.

20. A non-transitory machine-readable medium comprising instructions which, when read by a machine, cause the machine to perform operations comprising:

detecting a code commit at a code repository;

sending a request for a build job to a build server;

determining that the build job is completed;

sending a training request and user token to a proxy authenticator;

determining that the user token is validated;

sending the training request and the user token to a training job manager; and

determining that the training job is completed.

Assignments (2)
CHANGE OF NAME Recorded Jan 30, 2026
From: STRIPE, INC.
To: STRIPE, LLC
Reel/Frame 074572/0345 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 8, 2020
From: STORY, WILLIAM; HWANG, DAVID
To: STRIPE, INC.
Reel/Frame 053714/0766 →