Giter Site home page Giter Site logo

DGC warmup about grace HOT 3 CLOSED

sands-lab avatar sands-lab commented on August 22, 2024
DGC warmup

from grace.

Comments (3)

hangxu0304 avatar hangxu0304 commented on August 22, 2024

No. However, you can change the sparsity dynamically in your training script by calling:

for i in range(epochs):
  grc.compressor.compress_ratio = 0.01*pow(2,i)

from grace.

yimjinkyu1 avatar yimjinkyu1 commented on August 22, 2024

Thank you,

I have also another question.

I think DGC algorithm deploy momentum correction algorithm.
Is it right your code has this algorithm in DGC code ?

The figures for improving the imagenet model speed of DGC original papers are higher than your paper indicators.

from grace.

hangxu0304 avatar hangxu0304 commented on August 22, 2024

Yes. The momentum correction is implemented in grace_dl/torch/memory/dgc.py .
I think the hyper-parameters used in our experiment are a bit different from the original author's, e.g. batch size, number of nodes, learning rate, whether apply compression only on high rank gradients, etc. Please refer to the original author's repo for an exact reproduction.

from grace.

Related Issues (20)

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.