Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video memory optimization method and device, equipment and storage medium

An optimization method and preset technology, applied in the field of data processing, can solve the problems of increased memory usage, inability to train the model, and increased memory overhead, and achieve the effect of optimizing the memory space, taking into account the running time, and optimizing the memory space.

Pending Publication Date: 2022-02-01
SHANGHAI SENSETIME TECH DEV CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the training model becomes larger and deeper, the overhead of video memory will inevitably increase. When the model is further enlarged, or the batch size is increased, the video memory usage of model training will also increase, and finally higher than that of the graphics card. Memory capacity, making the model unable to train

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video memory optimization method and device, equipment and storage medium
  • Video memory optimization method and device, equipment and storage medium
  • Video memory optimization method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the specific technical solutions of the invention will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following examples are used to illustrate the present application, but not to limit the scope of the present application.

[0079] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0080] In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchang...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a video memory optimization method and device, equipment and a storage medium, and the method comprises the steps: generating a first calculation graph based on a preset network model; determining an incidence relation between a video memory peak value of the first calculation graph and operation data; based on the association relationship, adjusting the first calculation graph to generate at least one second calculation graph; determining a target calculation graph in the at least one second calculation graph based on the video memory peak value and the operation duration of the at least one second calculation graph; and based on the target calculation graph, determining a video memory space required by the preset network model.

Description

technical field [0001] The embodiments of the present application relate to the technical field of data processing, and relate to, but are not limited to, a video memory optimization method, device, device, and storage medium. Background technique [0002] With the rapid development of the field of deep learning, the training of large models with super-parameters or even super-large models has gradually entered people's field of vision. As the training model becomes larger and deeper, the overhead of video memory will inevitably increase. When the model is further enlarged, or the batch size is increased, the video memory usage of model training will also increase, and finally higher than that of the graphics card. The memory capacity makes the model unable to train. Contents of the invention [0003] An embodiment of the present application provides a technical solution for video memory optimization. [0004] The technical scheme of the embodiment of the application is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F9/54G06N3/04G06N3/063G06N3/08
CPCG06F9/44578G06F9/546G06N3/063G06N3/08G06F2209/548G06N3/045Y02D10/00
Inventor 赵成钢颜子杰张宇帆张行程
Owner SHANGHAI SENSETIME TECH DEV CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products