From dev-return-2890-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Sat May 19 18:50:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A3A5118063B for ; Sat, 19 May 2018 18:50:28 +0200 (CEST) Received: (qmail 25114 invoked by uid 500); 19 May 2018 16:50:27 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 25103 invoked by uid 99); 19 May 2018 16:50:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2018 16:50:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 36D8D1802E5 for ; Sat, 19 May 2018 16:50:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -11.011 X-Spam-Level: X-Spam-Status: No, score=-11.011 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=2, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KG2qChekRy5Y for ; Sat, 19 May 2018 16:50:25 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 6DF005F3FF for ; Sat, 19 May 2018 16:50:24 +0000 (UTC) Received: (qmail 25079 invoked by uid 99); 19 May 2018 16:50:23 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2018 16:50:23 +0000 Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id DEC6D3CE for ; Sat, 19 May 2018 16:50:22 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id m11-v6so12605694otf.3 for ; Sat, 19 May 2018 09:50:22 -0700 (PDT) X-Gm-Message-State: ALKqPwdwRa/5f3ts+04AIBgH19q25CjSwrL79DoA1NL/0m72mqTXaf0h KahK2h2Ui13YUyJo3U1tvSubhF85mBgCtkCcuao= X-Google-Smtp-Source: AB8JxZpTrF+5BHJSj91hAWTozhvasY7RNA1wc0CP0RHKmzyWFFsy3HB5ej52ArxXPuwekiZBCfv0fb++Wmzi/LQdW4g= X-Received: by 2002:a9d:3d37:: with SMTP id a52-v6mr9908551otc.91.1526748622471; Sat, 19 May 2018 09:50:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5609:0:0:0:0:0 with HTTP; Sat, 19 May 2018 09:50:22 -0700 (PDT) In-Reply-To: References: From: Hen Date: Sat, 19 May 2018 09:50:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Using parts of code from library under PyTorch organization To: dev@mxnet.incubator.apache.org Content-Type: multipart/alternative; boundary="0000000000004dc837056c91dd74" --0000000000004dc837056c91dd74 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It's 2-clause BSD: https://github.com/pytorch/cpuinfo/blob/master/LICENSE Which files are you looking to incorporate? I want to see what the source headers look like. Hen On Fri, May 18, 2018 at 5:47 PM, Marco de Abreu < marco.g.abreu@googlemail.com> wrote: > By the way. In general, I'd prefer to have a solution in C++ as part of o= ur > Backend, as this would allow us to share this information with all fronte= nd > APIs. Tobias is currently working on a PR which does exactly the same, bu= t > for GPUs. > > Marco de Abreu schrieb am Sa., 19. Mai > 2018, > 02:45: > > > I would have to check the license, but I assume it's under Apache. In > that > > case, it should be enough to copy the file and keep the original licens= e > > header. Additionally, you have to document any changes you made and whe= re > > you got it from. You can do this in the header, below the license. > > > > In any case, check the NOTICE of the project and see if they contain an= y > > special instructions. > > > > -Marco > > > > Anirudh schrieb am Sa., 19. Mai 2018, 00:27: > > > >> Hi Alex, > >> > >> I am no expert but adding the license and the copyright to the header = of > >> the file should be enough. > >> Can someone who has experience with this confirm ? > >> > >> Anirudh > >> > >> On Fri, May 18, 2018 at 10:55 AM, Alex Zai wrote: > >> > >> > For this issue (https://github.com/apache/ > incubator-mxnet/issues/10836 > >> ), > >> > we > >> > need to determine the number of physical cores for each platform. > >> Currently > >> > we assume each platform supports HyperThreading and just fetch the > >> number > >> > of logical cores and divide by 2. However, in cases where the machin= e > >> does > >> > not support HTT, we underutilize the CPUs. Per the issue=E2=80=99s t= hread, the > >> > PyTorch organization has a library that does just this ( > >> > https://github.com/pytorch/cpuinfo). The library is a bit heavy and > we > >> > only > >> > need a small portion of the code. Does anyone know if there is an > issue > >> > with just using a subset of the code? > >> > > >> > > >> > > >> > Alex > >> > > >> > > > --0000000000004dc837056c91dd74--