singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Patnigere (JIRA)" <>
Subject [jira] [Commented] (SINGA-156) Remove the dependency on ZMQ for single process training
Date Mon, 18 Apr 2016 06:00:32 GMT


David Patnigere commented on SINGA-156:

Hello Sir,
Where is the macro USE_ZMQ located? in which file?
Also, how much knowledge of ZMQ do you think is required to work on this?
thank you.

> Remove the dependency on ZMQ for single process training
> --------------------------------------------------------
>                 Key: SINGA-156
>                 URL:
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: wangwei
> SINGA depends on ZMQ and CZMQ, which are used for both intra and inter process communication.
> In fact, for training using a single process (multiple threads), we can avoid ZMQ and
CZMQ for the intra-process communication. Hence, we can compile SINGA without ZMQ and CZMQ
for single process training.
> This ticket implements the intra-process communication by assigning a thread-safe queue
for each socket (i.e., dealer and router). The sender pushes the msg onto the receiver's queue.

> There is a macro 'USE_ZMQ', which controls the compiling of ZMQ related code. If USE_ZMQ
is not defined, SINGA can only run for single process. Otherwise, SINGA uses ZMQ for inter-process
communication for training over multiple processes.

This message was sent by Atlassian JIRA

View raw message