You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/04 11:10:25 UTC

[jira] [Commented] (SINGA-156) Remove the dependency on ZMQ for single process training

    [ https://issues.apache.org/jira/browse/SINGA-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223853#comment-15223853 ] 

ASF subversion and git services commented on SINGA-156:
-------------------------------------------------------

Commit 42f5253eacde9a0ab87d3b4ed2382a137d9652d6 in incubator-singa's branch refs/heads/master from [~flytosky]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=42f5253 ]

SINGA-156 Remove the dependency on ZMQ for single process training

Move msg queue init into dealer and router.


> Remove the dependency on ZMQ for single process training
> --------------------------------------------------------
>
>                 Key: SINGA-156
>                 URL: https://issues.apache.org/jira/browse/SINGA-156
>             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
(v6.3.4#6332)