Comments (1)
Hi,
Thanks for pointing out this issue. Yes, we forgot to create a new memory class for EFSignSGDCompressor
. Now if you want to use EFSignSGDCompressor
with its memory, you may call GRACE like this:
# Horovod TensorFlow
import horovod.tensorflow as hvd
from grace_dl.tensorflow.communicator.allgather import Allgather
from grace_dl.tensorflow.compressor.efsignsgd import EFSignSGDCompressor
from grace_dl.tensorflow.memory.efsignsgd import EFSignSGDMemory
world_size = hvd.size()
grc = Allgather(EFSignSGDCompressor(lr=0.1), EFSignSGDMemory(lr=0.1), world_size)
# or with helper
from grace_dl.tensorflow.helper import grace_from_params
params={'compressor': 'efsignsgd', 'memory': 'efsignsgd', 'communicator': 'allgather'}
grc = grace_from_params(params)
opt = hvd.DistributedOptimizer(opt, grace=grc)
from grace.
Related Issues (20)
- bug: tensorflow natural compression returns 'Python int too large to convert to C long' HOT 2
- A question about one-bit quantization implementation in tensorflow backend. HOT 1
- Discussion about TernGrad HOT 13
- DGC warmup HOT 3
- Threshold compression hangs. HOT 1
- Seeking suggestions for embedding into ddp HOT 8
- Problematic error: suddenly interrupt when trainning HOT 3
- Some questions about the grace HOT 2
- [DDP] weight in classifier HOT 1
- Any plans to port to latest Horovod (0.24) ? HOT 3
- DGC GPU usage in GRACE HOT 4
- The question about QSGD algorithm in the paper HOT 1
- Environment build failed on AWS EC2 g4dn instance with OS image (Deep Learning AMI, ami-0184e674549ab8432) HOT 4
- horovodrun command reports an error and cannot run the examples
- Question about the time complexity. HOT 3
- GRACE PyTorch Distributed HOT 6
- TypeError:compensate() missing 1 required positional argument: 'name' HOT 10
- About the usage of GRACE HOT 2
- Global or Local compression HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grace.