Skip to content

hpc-unex/HeterogeneusModelDNN

 
 

Repository files navigation

Heterogeneous Model Parallelism for Deep Neural Networks

The Code for "Heterogeneous Model Parallelism for Deep Neural Networks ". []

S. Moreno-Alvarez, J. M. Haut, M. E. Paoletti and J. A. Rico-Gallego
Heterogeneous Model Parallelism for Deep Neural Networks 

Getting Started

Installation

git clone https://github.com/mhaut/HeterogeneusModelDNN.git
cd HeterogeneusModelDNN
conda create --name hetmesh --file environment.yml
conda activate hetmesh
git clone https://github.com/tensorflow/mesh
cd mesh
git checkout 6227cc2b1b4eb3a5beacfc4fbb0b3dfca13371c6
cd ..
sh patch_mesh_and_install.sh

Run code

# With 3 devices
python main_cifar.py --list_speed 70,25,5
python main_mnist.py --list_speed 40,40,20

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%