Giter Club home page Giter Club logo

shiweiliuiiiiiii / in-time-over-parameterization Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 6.0 251 KB

[ICML 2021] "Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training" by Shiwei Liu, Lu Yin, Decebal Constantin Mocanu, Mykola Pechenizkiy

Python 100.00%
deep-learning dynamic-sparse-training generalization in-time-over-parameterization in-time-overparameterization over-parameterization overparameterization sparse-training sparsity

in-time-over-parameterization's People

Contributors

shiweiliuiiiiiii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

in-time-over-parameterization's Issues

GPU memory reduction: will this method reduce GPU memory consumption?

Hi, Thanks for you excellent work on Dynamic Sparse Training. I am trying to reproduce your work and to reduce GPU memory consumption during sparse training.

I read through your code and try to implement your method on another vgg training implement to verify my understanding of your code. Here is my modification:

My modification:

bing0037/pytorch-vgg-cifar10_ITOP@6dab205

My running scripts:

# baseline: 
model=vgg16
# dense training:
CUDA_VISIBLE_DEVICES=1 python main.py  --arch=$model

# sparse training: ITOP with RigL
CUDA_VISIBLE_DEVICES=1 python main.py  --arch=$model --sparse --sparse_init ERK  --multiplier 1 --density 0.05 --update_frequency 4000 --growth gradient --death magnitude --redistribution none

Result: GPU memory consumption:

Baseline: 2639MB
ITOP with RigL: 2765MB

Question:

My run results show that ITOP with RigL consumes more or equal (it is supposed to be significantly less, right?) GPU memory than normal. Could you help me to figure out the problem of my implementation or any comment or suggestions?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.