This repository contains a library of Content-Aware Computing (CAC) by Fujitsu.
CAC is a software technology that aims at easy, high-speed, lightweight, and accurate deep learning processing.
Gradient-Skip is an approach for CNNs to skip backward calculations for layers that enouch converged.
This reduces calculations in backward and communications of gradient.
You can use Gradient-Skip by simply replacing the optimizer with our SGD.
Automatic Pruning is a pruning tool for neural networks, which can determine the pruning rate of each layer automatically.
Relaxed Synchronization technique removes slow processes from the group of distributed training and prevent limiting overall training speed due to slow processes.
Python 3.7 or later
CUDA 10 or later
PyTorch 1.6 or later
Apex
pip install --no-cache-dir cac
git clone https://github.com/FujitsuLaboratories/CAC.git
cd ./CAC # move to the directory where 'setup.py' is located.
pip install -e . # execute `pip install` after moving the directory.