From dev-return-8162-archive-asf-public=cust-asf.ponee.io@mxnet.apache.org Tue Sep 29 01:43:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 5BA1D180642 for ; Tue, 29 Sep 2020 03:43:02 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 8FBFE641BF for ; Tue, 29 Sep 2020 01:43:01 +0000 (UTC) Received: (qmail 11999 invoked by uid 500); 29 Sep 2020 01:43:00 -0000 Mailing-List: contact dev-help@mxnet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.apache.org Delivered-To: mailing list dev@mxnet.apache.org Received: (qmail 11977 invoked by uid 99); 29 Sep 2020 01:42:59 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2020 01:42:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id 42B47C0104 for ; Tue, 29 Sep 2020 01:42:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.901 X-Spam-Level: X-Spam-Status: No, score=-0.901 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.2, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=github.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id 2QuGgbvDUaNg for ; Tue, 29 Sep 2020 01:42:57 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::22a; helo=mail-lj1-x22a.google.com; envelope-from=dmlc.notification+caf_=dev=mxnet.apache.org@gmail.com; receiver= Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 75EB67FB6F for ; Tue, 29 Sep 2020 01:42:57 +0000 (UTC) Received: by mail-lj1-x22a.google.com with SMTP id u21so2632761ljl.6 for ; Mon, 28 Sep 2020 18:42:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:delivered-to:dkim-signature:date:from:reply-to :to:cc:message-id:in-reply-to:references:subject:mime-version :content-transfer-encoding:precedence:list-id:list-archive:list-post :list-unsubscribe; bh=0kJgeDKIvuFa7uHrWG1o2SQ0hAK+TqmGAMse+IbCBYw=; b=TcMl/wXr/PWC/Ji5JHvdjOfgCgHRD7DvWfCZxi9bvFwapDOUMJLtva7/jJNR1jt4ay cc3CRTca8zBw7wzIwr3sMBQhabSXmM2OQ8F7XNIorQq8dqiB2RQxR6bNYr9jfZEYWViL FkNf70Gx6Iiir65dvM9u6E/aHOmzbQ6wz9HlEhi5l1Cy9MRFdZyiHrrd+fWao6acK77L q2yIColcpqutzUro6EL/Zji/CfP7YiNaGbUpSxSYjlH6s+R32iyqc5tU417xe7PN58us 5h6D+1tN24jVK3vk5uDWgFM8xfdJ/dXIDPYt9mSFJISz7Yq1TpRe0o30eKZ8Yz606rkb x7SA== X-Gm-Message-State: AOAM533DG+wZ58nlY/B2srasnbeHHqPuk7TPwPv201xDqCegG7dCxwNA vsNA7UCHQI03Af2Qpcu9GoOlxV/B5uzw0y4tyxjJumVQ6EzdV6nK7w== X-Received: by 2002:a05:651c:151:: with SMTP id c17mr419589ljd.467.1601343776742; Mon, 28 Sep 2020 18:42:56 -0700 (PDT) X-Forwarded-To: dev@mxnet.apache.org X-Forwarded-For: dmlc.notification@gmail.com dev@mxnet.apache.org Delivered-To: dmlc.notification@gmail.com Received: by 2002:ab3:66ce:0:0:0:0:0 with SMTP id w14csp316418lti; Mon, 28 Sep 2020 18:42:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNIV0xP2BWxv1xRPMQ5MdgCxoucOt6SnnAWFa4x6KANkraVhzH23faqr5WX/qoBcvWtIsA X-Received: by 2002:ac8:1301:: with SMTP id e1mr1068062qtj.136.1601343775423; Mon, 28 Sep 2020 18:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601343775; cv=none; d=google.com; s=arc-20160816; b=A2Mq7ce8OSmkp2euTARo85qPtrtqszT2ol650ZeSSMYEVlp9ao/zuS3wzVFDUDZxV3 FJDFRzAa4OCixVbQSxOZs+aYYy8iZYU+uz4/eS57GYV8mWTwOPenfSt+qyRRkw8hF7u6 pzm9bWl92rSZV3SPETG/NrzXNwCIpgWiPpzXLh/4xgs+p7/GE9v33MXLukl7O74sYAYO A17qO43hFdFmjIjyZZsVvJDWXNvhC1sdC++YVL2HTH22uCq2KH7vrlZjNAzfUS7RH619 hBtx1qtdB5DF/jYZCGbJoEHKNAgrNHRaPyxUkv2s4TOhUBXIwpvs1tYAiDhOPGM1FqCe ZPiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-post:list-archive:list-id:precedence :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:reply-to:from:date:dkim-signature; bh=0kJgeDKIvuFa7uHrWG1o2SQ0hAK+TqmGAMse+IbCBYw=; b=0AdGu5U4t8cFIlNG4fh+iX/XZldD0kyhhhLM033pCnmy3ojNCIUxaZxFmjsBQW0Eei 5ZA8RsxSL1mZNPEp2PJ5Vcp43MgcwQsBSTWSpj6CGb5eNWxdGLZ2opPipmnnlAoOh47U oa2Lt7tm/2jFhQrYw2+izgOXm40OQUjf4V+7qMouzT6NxcAnuyu3ec4pRnxCeoL9eCbn /70NsIb6PenKKgEdo+p/7mjWJANK0DhHvCcMTa9fsXgTFIzYRlfNTvBSPQZtJ/umI647 7AhZNm2E7Ml37yuXTk9HeRQR7qYc4n963hnM/+DqRJWrqi/ZDFxWVyzipgQD0aMYEGvB sk3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=IrgiKMhZ; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.203 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=github.com Received: from out-20.smtp.github.com (out-20.smtp.github.com. [192.30.252.203]) by mx.google.com with ESMTPS id cv19si5842133qvb.51.2020.09.28.18.42.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Sep 2020 18:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of noreply@github.com designates 192.30.252.203 as permitted sender) client-ip=192.30.252.203; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=IrgiKMhZ; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.203 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=github.com Received: from github-lowworker-fa7043e.ash1-iad.github.net (github-lowworker-fa7043e.ash1-iad.github.net [10.56.109.45]) by smtp.github.com (Postfix) with ESMTP id 1D782E075D for ; Mon, 28 Sep 2020 18:42:55 -0700 (PDT) X-ASF-DKIM-Sig: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1601343775; bh=0kJgeDKIvuFa7uHrWG1o2SQ0hAK+TqmGAMse+IbCBYw=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=IrgiKMhZUeoJalvR8+2XfqJPn8m9iCzhX8F/lTpvC7HCLqeSMqSB2QUl4H9gimfLG cdZ3SGP5fZraYuZBcvnu7ZY7Ku8jUBAslB/DRER4HVxl4FujoJ3IVtqed4jStmu4K5 akLlCvrLxPycjD2HgfYQSOY5fQ+yuYwWcmRfaj28= Date: Mon, 28 Sep 2020 18:42:55 -0700 From: Lanking Reply-To: apache/incubator-mxnet To: apache/incubator-mxnet Cc: Sheng Zha , Mention Message-ID: In-Reply-To: References: Subject: Re: [apache/incubator-mxnet] [RFC] MXNet 2.0 JVM Language development (#17783) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5f72911fd70b_5ebd19f01358ba"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Sender: lanking520 X-GitHub-Recipient: szha X-GitHub-Reason: mention List-Archive: https://github.com/apache/incubator-mxnet X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: dmlc.notification@gmail.com ----==_mimepart_5f72911fd70b_5ebd19f01358ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, after talking with @frankfliu, I think we can donate DJL's MXNet JNA (source code) to Apache MXNet for the low level Java support. Having that, Apache MXNet will be able to build from source generating all frontend low level Java API for users to use. The good part is it's maintainance cost, it require very minimal dependencies and everything is generated: https://github.com/awslabs/djl/tree/master/mxnet/jnarator User will be able to leverage on that directly. From the usability point of view, JavaCPP will also offer similar funcionalities. @saudet will you be open to consider if MXNet JavaCPP can be fully donated to Apache MXNet and maintained by community? These two solution is very similar and potentially JavaCPP can bring some level of performance improvement. My only concern to JavaCPP is @szha initial question, how we are going to build/maintain the Java package. Having a Java API is essential to the community since it can be used by many more JVM based languages. @hmf I would +1 on the usability you have mentioned for Scala. However, from the historical reason when we would like to build Java compatible API from MXNet Scala, there are huge obstacles blocking us moving forward. Some Scala representation require addtional effort to be used in Java. However if using Java in Scala, it is 100% supported. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-mxnet/issues/17783#issuecomment-700374199 ----==_mimepart_5f72911fd70b_5ebd19f01358ba--