hottub.patents
US 12,423,140 B2#3439135 Most CitedActiveUnited States (USPTO)Utility

Deep learning framework scheduling

0Forward Citations (#3439135 Global)
0.0/yrCitation Velocity (#3439135 Global)
0.00Citation PageRank (#3439135 Global)
14Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A scheduling method for a deep learning framework, a scheduling apparatus, an electronic device, a storage medium, and a program product is provided, and can be used in the field of artificial intelligence, especially in the fields of machine learning, deep learning, etc. The method includes: receiving a processing request for processing a plurality of tasks by using a dedicated processing unit, the processing request including scheduling requirements for the plurality of tasks, and each of the plurality of tasks being associated with execution of multi-batch data processing; and scheduling, based on the scheduling requirements for the plurality of tasks in batches of data, the dedicated processing unit to process the plurality of tasks.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A computer-implemented scheduling method, comprising: creating, based on creation of a first created task in a plurality of tasks, a scheduling process using a scheduling function comprised in the first created task; recreating, based on completion of the first created task, the scheduling process by using a scheduling function comprised in an uncompleted task in the plurality of tasks; receiving a processing request for processing the plurality of tasks by using a processing unit, the processing request comprising scheduling requirements for the plurality of tasks, and each of the plurality of tasks being associated with execution of multi-batch data processing; scheduling, based on the scheduling requirements for the plurality of tasks in batches of data, the processing unit using the recreated scheduling process to process the plurality of tasks; and releasing, after processing of at least one batch of data associated with a first task in the plurality of tasks is completed, storage

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the processing unit comprises a dedicated processing unit.

  3. Claim 3Depends on #1

    The method according to claim 1, wherein the scheduling requirements comprise at least one of: processing time of the processing unit occupied for processing a task in the plurality of tasks; storage space of a memory of the processing unit occupied for processing a task in the plurality of tasks; and a processing priority of a task in the plurality of tasks.

  4. Claim 4Depends on #1

    The method according to claim 1, wherein the plurality of tasks are associated with training of a deep learning model.

  5. Claim 5Depends on #1

    The method according to claim 1, wherein the scheduling the processing unit to process the plurality of tasks comprises: determining processing time to be consumed of a task in the plurality of tasks, based on processing time, indicated in the scheduling requirements, of the processing unit occupied for processing the task in the plurality of tasks, and consumed processing time of the task in the plurality of tasks; and scheduling, by using the scheduling process, the processing unit to process a task with maximum processing time to be consumed in the plurality of tasks.

  6. Claim 6Depends on #1

    The method according to claim 1, wherein the scheduling the processing unit to process the plurality of tasks comprises: stopping processing a first task based on determining that storage space of a memory of the processing unit occupied for processing the first task in the plurality of tasks exceeds storage space indicated in the scheduling requirements and allocated to the first task.

  7. Claim 7Depends on #1

    The method according to claim 1, wherein the scheduling the processing unit to process the plurality of tasks comprises: adjusting processing of a first task to reduce storage space occupied for processing the first task based on determining that storage space of a memory of the processing unit occupied for processing the first task in the plurality of tasks exceeds storage space indicated in the scheduling requirements and allocated to the first task.

  8. Claim 8Depends on #7

    The method according to claim 7, wherein the adjusting processing of a first task comprises at least one of: reducing a size of each batch of data in the multi-batch data processing associated with the first task; reducing data that needs to be stored during processing of the first task by recalculating when the data needs to be used; and storing, by using another memory, the data that needs to be stored during processing of the first task.

Technical Overview & Description

CROSS REFERENCE TO RELATED APPLICATION This application claims priority to Chinese Patent Application No. 202110362239.3, filed on Apr. 2, 2021, the contents of which are hereby incorporated by reference in their entirety for all purposes. TECHNICAL FIELD The present disclosure relates to computer technologies and, more specifically, relates to a scheduling method for a deep learning framework, a scheduling apparatus, an electronic device, a computer-readable storage medium, and a computer program product that can be used in the field of artificial intelligence, especially in the fields of machine learning, deep learning, etc. BACKGROUND A deep learning framework can greatly improve research and development efficiency of a deep learning task, and the deep learning task is usually developed by using the deep learning framework. Most of the current mainstream deep learning frameworks support the use of a central processing unit (CPU), a dedicated processing unit such as a graphics processing unit (GPU), or an application-specific integrated circuit (ASIC) chip, to implement training in deep learning tasks. At present, there are many scenarios in which several people or tasks multiplex a dedicated processing unit or a central processing unit and an application-specific integrated circuit. Therefore, in the traditional technology, a processing unit is multiplexed by using, for example, a scheduling function of an operating system or a virtualization technology. However, the scheduling function of the operating system is not applicable to a deep learning task including a multi-batch parallel data processing task, and the virtualization technology has high costs with many limitations. As a result, according to a traditional technology for multiplexing of a processing unit, a computing resource and a storage resource of a processing unit including a dedicated processing unit cannot be dynamically scheduled for, for example, a deep learning task. Therefore, the processing u

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (14)

PatentTitleYearCitations