ibcn-cloudlet / dianne

DIANNE - DIstributed Artificial Neural NEtworks
http://dianne.intec.ugent.be
GNU Affero General Public License v3.0
22 stars 8 forks source link

Distributed deployment #14

Open khalidpandit opened 6 years ago

khalidpandit commented 6 years ago

how to distribute the layers of NN on different machines..

tverbele commented 6 years ago

In a nutshell:

In case you use DIANNE programatically, you can use the List<ModuleInstanceDTO> deployModules(UUID nnId, List<ModuleDTO> modules, UUID runtimeId, String... tags) method from DiannePlatform service to deploy modules on whichever runtime that is available.

khalidpandit commented 6 years ago

lenet_dist why does it always show 1 device always idle..

tverbele commented 6 years ago

Only one evaluation job is running, which by default only uses 1 device.

khalidpandit commented 6 years ago

Exception in thread "pool-9-thread-1" java.lang.OutOfMemoryError

i am getting this error when i am trying to learn the CNN on CIFAR data set.. is the problem with neural network setting or system memory..

tverbele commented 6 years ago

It depends on your system. The default CIFAR implementation tries to load the entire dataset in (heap) memory, so it might be that you don't have enough memory, or maybe you just need to increase the maximum heap size for the Java JVM.

khalidpandit commented 6 years ago

how can i add two learners on two different devices..for distributed learning.it seems both learners are present on same device 1

tverbele commented 6 years ago

This is indeed not supported from the builder UI. For such a setup you'll need to submit a learn job either programatically either via the command line / dashboard UI and add an option, e.g. targetCount=2 if you want to run the job on two targets.

khalidpandit commented 6 years ago

could u please provide any documentation for that..that would indeed be very helpful

tverbele commented 6 years ago

There is some documentation available on the different configuration options at https://github.com/ibcn-cloudlet/dianne/blob/e62daeb3cd5febd4624f80ba965946c84e78206b/doc/configuration.md