Return-Path: X-Original-To: apmail-horn-dev-archive@minotaur.apache.org Delivered-To: apmail-horn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CEEB1819D for ; Wed, 3 Feb 2016 05:12:42 +0000 (UTC) Received: (qmail 5566 invoked by uid 500); 3 Feb 2016 05:12:42 -0000 Delivered-To: apmail-horn-dev-archive@horn.apache.org Received: (qmail 5527 invoked by uid 500); 3 Feb 2016 05:12:42 -0000 Mailing-List: contact dev-help@horn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@horn.incubator.apache.org Delivered-To: mailing list dev@horn.incubator.apache.org Received: (qmail 5516 invoked by uid 99); 3 Feb 2016 05:12:41 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2016 05:12:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 954411A02C2 for ; Wed, 3 Feb 2016 05:12:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.765 X-Spam-Level: X-Spam-Status: No, score=-3.765 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.545] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RY3SFTh-qKcj for ; Wed, 3 Feb 2016 05:12:41 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id AB61242BC3 for ; Wed, 3 Feb 2016 05:12:40 +0000 (UTC) Received: (qmail 5498 invoked by uid 99); 3 Feb 2016 05:12:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2016 05:12:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C4DD72C044E for ; Wed, 3 Feb 2016 05:12:39 +0000 (UTC) Date: Wed, 3 Feb 2016 05:12:39 +0000 (UTC) From: "Lee Dongjin (JIRA)" To: dev@horn.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (HORN-8) Implementation of Parameter Server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HORN-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lee Dongjin closed HORN-8. -------------------------- > Implementation of Parameter Server > ---------------------------------- > > Key: HORN-8 > URL: https://issues.apache.org/jira/browse/HORN-8 > Project: Apache Horn > Issue Type: Improvement > Reporter: Edward J. Yoon > Assignee: Lee Dongjin > > The current implementation works in synchronous way like below (SmallLayeredNeuralNetworkTrainer.java 101 lines): > {code} > task0 task1 task2 > compute updates locally > -------------------------------- sends updates to master task > -------------------------------- merge updates and broadcast it to every tasks > compute updates locally > -------------------------------- sends updates to master task > -------------------------------- merge updates and broadcast it to every tasks > > ... > (Loop until onvergence) > {code} > By separating the master, we can support asynchronous parallel SGD. My idea is just using of a task0 (BSPTask) as a server daemon. In this issue ticket, single master is enough at this moment. > {code} > task0 | task1 .... taskN > | > | > | compute updates locally > | > Receive |<------ push updates to master task > Update1 | > +------> fetch updates > | > | > | > Receive |<------------------------------------ .. > Update2 | > +------------------------------------> .. > | > | > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)