GNU bug report logs - #50672
nnpack is not reproducible

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; dated Sun, 19 Sep 2021 09:58:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 50672 <at> debbugs.gnu.org:


Received: (at 50672) by debbugs.gnu.org; 27 Sep 2021 13:25:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 27 09:25:55 2021
Received: from localhost ([127.0.0.1]:40087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mUqdm-0000wP-S1
	for submit <at> debbugs.gnu.org; Mon, 27 Sep 2021 09:25:55 -0400
Received: from mail-qk1-f169.google.com ([209.85.222.169]:33426)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1mUqdl-0000wA-K2
 for 50672 <at> debbugs.gnu.org; Mon, 27 Sep 2021 09:25:54 -0400
Received: by mail-qk1-f169.google.com with SMTP id d207so37024456qkg.0
 for <50672 <at> debbugs.gnu.org>; Mon, 27 Sep 2021 06:25:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=VFRlwK4mV6naqyfCI5Y6XVMFjvh40/J3tb8OHLotFNI=;
 b=mATdSy4AJ6xux8Uw3jqN6KxrK2KcWYFbI1GHC9+/ut+baiqfO6Mk5myW8NipQOlGCY
 fvJrcLMVOroyV7kPsk+hEhyBLHoetBK8t/dK3tGtQ3IHbP4/lR9acHAKyjD6jznUu6Xn
 yy6jEP9xSbifFLVs+ViuSs+5wOizeAoXYblDZj4f2eXvI3S6s3bx+CJpbpQnkvKuk6Xe
 fIKMEoGo2XzTKtWfD5xKX5wvelEB+zelPDoI8LADFJS367akDCaVhzzWki1bQEXQI9Wj
 vA+kBepImqecb2d4Y9a3IrgxR5sc5bbFWIyFYUQ3KTKT4zyOwuNO4nfGaI7AXGDR8vce
 EVmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=VFRlwK4mV6naqyfCI5Y6XVMFjvh40/J3tb8OHLotFNI=;
 b=HxZJk+nGYlGrN4XyvHXKTrVyiH0qK3UfvrrqCImkTe8mqQGXh76Qu9YQE/MmwJlxkN
 5xRZa3SjxgP3Obm5VU75BJDRLx7kVUJdUt+EknM6RNDFTE8v4I8BgXvHIjOFF3PhbQPO
 iF/5sIclotnfxBJNuS3ErIr3XAZC9tmAwAj6gT6llN6c7rJ1WQ/EKXN3xUk7Xgn1xy1B
 GxdtFErzUTwyMYihYjp5Ox3rrX+ICFtbHSr8vdmIiAF+OGzrEdSfOKQsAqEMjxVCrRJZ
 +PJAWp82NiZ5TUVWInpDLPk3lDGTn2ELm3oWHT1QBeoVEIMVovQN1/K1Gu3PRKONvuew
 jbJg==
X-Gm-Message-State: AOAM531o6HolOkG6c/LVIDE8gTmKJtLGppOISV6hn5sriLkUKP0a0WGN
 RHdTiV6CbRH80/p8O8lJGBmryhc3zCSKgWRLRUs=
X-Google-Smtp-Source: ABdhPJyBGjuCRHfkYOt1u4CsdQWs84EDoSfFnBzNBdQSmJ3pBYeCttsYfyE6D2ZYh/jExbCH6OI8IKFw3Re84l0mMN8=
X-Received: by 2002:a37:a943:: with SMTP id s64mr23986187qke.422.1632749147849; 
 Mon, 27 Sep 2021 06:25:47 -0700 (PDT)
MIME-Version: 1.0
References: <875yuwsxad.fsf@HIDDEN> <87a6k6j6uu.fsf@HIDDEN>
 <87tuiam5ni.fsf@HIDDEN>
In-Reply-To: <87tuiam5ni.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Mon, 27 Sep 2021 15:25:36 +0200
Message-ID: <CAJ3okZ203LfGLBsymxRTiZpJ2FQrQAFa-di4sZUytyjnz0KTsA@HIDDEN>
Subject: Re: bug#50672: python-pytorch is not reproducible
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 50672
Cc: 50672 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Fri, 24 Sept 2021 at 16:11, Ludovic Court=C3=A8s <ludovic.courtes@inria.=
fr> wrote:

> Having unbundled NNPACK in d326dec8115cf5e2cac9497633dc11ecc970361b, I
> can confirm that PyTorch itself is now reproducible, but NNPACK isn=E2=80=
=99t.

I reproduce: "guix build nnpack --no-grafts --check" differs.  Pytorch, not=
.

> PyTorch upstream noted that the problem is in NNPACK, not PyTorch
> proper.

Closing this report?

However, I notice 2 things:

 1- Unbundled dependencies are still fetched
 2- Does the Git submodule mechanism work with the SWH fallback?

--8<---------------cut here---------------start------------->8---
Initialized empty Git repository in
/gnu/store/=E2=80=A6-python-pytorch-1.9.0-checkout/.git/
From https://github.com/pytorch/pytorch
 * tag               v1.9.0     -> FETCH_HEAD

[...]

HEAD is now at d69c22d [docs] Add torch.package documentation for beta
release (#59886)
/gnu/store/=E2=80=A6-bash-minimal-5.0.16/bin/sh: warning: setlocale: LC_ALL=
:
cannot change locale (en_US.utf8)
Submodule 'android/libs/fbjni'
(https://github.com/facebookincubator/fbjni.git) registered for path
'android/libs/fbjni'
Submodule 'third_party/NNPACK_deps/FP16'
(https://github.com/Maratyszcza/FP16.git) registered for path
'third_party/FP16'
Submodule 'third_party/NNPACK_deps/FXdiv'
(https://github.com/Maratyszcza/FXdiv.git) registered for path
'third_party/FXdiv'
Submodule 'third_party/NNPACK'
(https://github.com/Maratyszcza/NNPACK.git) registered for path
'third_party/NNPACK'
Submodule 'third_party/QNNPACK' (https://github.com/pytorch/QNNPACK)
registered for path 'third_party/QNNPACK'
Submodule 'third_party/XNNPACK'
(https://github.com/google/XNNPACK.git) registered for path
'third_party/XNNPACK'

[...]

Submodule 'third_party/NNPACK_deps/psimd'
(https://github.com/Maratyszcza/psimd.git) registered for path
'third_party/psimd'
Submodule 'third_party/NNPACK_deps/pthreadpool'
(https://github.com/Maratyszcza/pthreadpool.git) registered for path
'third_party/pthreadpool'

[...]

Cloning into '/gnu/store/=E2=80=A6-python-pytorch-1.9.0-checkout/third_part=
y/NNPACK'...
Cloning into '/gnu/store/=E2=80=A6-python-pytorch-1.9.0-checkout/third_part=
y/QNNPACK'...
Cloning into '/gnu/store/=E2=80=A6-python-pytorch-1.9.0-checkout/third_part=
y/XNNPACK'...

[...]

Submodule path 'third_party/NNPACK': checked out
'c07e3a0400713d546e0dea2d5466dd22ea389c73'
Submodule path 'third_party/QNNPACK': checked out
'7d2a4e9931a82adc3814275b6219a03e24e36b4c'
Submodule path 'third_party/XNNPACK': checked out
'55d53a4e7079d38e90acd75dd9e4f9e781d2da35'

[...]
--8<---------------cut here---------------end--------------->8---


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#50672; Package guix. Full text available.
Changed bug title to 'nnpack is not reproducible' from 'python-pytorch is not reproducible' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 50672 <at> debbugs.gnu.org:


Received: (at 50672) by debbugs.gnu.org; 24 Sep 2021 14:04:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 24 10:04:26 2021
Received: from localhost ([127.0.0.1]:58948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mTloQ-0006ck-1v
	for submit <at> debbugs.gnu.org; Fri, 24 Sep 2021 10:04:26 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:1656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1mTloO-0006cR-B7
 for 50672 <at> debbugs.gnu.org; Fri, 24 Sep 2021 10:04:25 -0400
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A6Tgu6KGaxJSbeGyypLqEPceALOsnbusQ8zAX?=
 =?us-ascii?q?PiFKOHlom6mj/fxG88526faKskdtZJhNo7+90dC7MBThHMdOkO0s1NSZLWvbUQ?=
 =?us-ascii?q?mTTL2KtrGSvQEIcheWnoUx6U4HScZD4bbLfDtHZKjBgTVRKLsbsaa6GJrEv5ak?=
 =?us-ascii?q?85/pJzsaE52JxWxCe3ym+kQafnghOXJ7eaDsmvavDADQAEgqUg=3D=3D?=
X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="393937449"
Received: from unknown (HELO ribbon) ([193.50.110.104])
 by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 24 Sep 2021 16:04:17 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: 50672 <at> debbugs.gnu.org
Subject: Re: bug#50672: python-pytorch is not reproducible
References: <875yuwsxad.fsf@HIDDEN> <87a6k6j6uu.fsf@HIDDEN>
Date: Fri, 24 Sep 2021 16:04:17 +0200
In-Reply-To: <87a6k6j6uu.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Tue, 21 Sep 2021 17:17:29 +0200")
Message-ID: <87tuiam5ni.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50672
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN> skribis:

> Reported upstream: <https://github.com/pytorch/pytorch/issues/65404>.

PyTorch upstream noted that the problem is in NNPACK, not PyTorch
proper.

Having unbundled NNPACK in d326dec8115cf5e2cac9497633dc11ecc970361b, I
can confirm that PyTorch itself is now reproducible, but NNPACK isn=E2=80=
=99t.

Reported at <https://github.com/Maratyszcza/NNPACK/issues/206>.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#50672; Package guix. Full text available.

Message received at 50672 <at> debbugs.gnu.org:


Received: (at 50672) by debbugs.gnu.org; 21 Sep 2021 15:17:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 21 11:17:37 2021
Received: from localhost ([127.0.0.1]:47502 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mShWb-0002vf-KL
	for submit <at> debbugs.gnu.org; Tue, 21 Sep 2021 11:17:37 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:6516)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1mShWa-0002vS-6b
 for 50672 <at> debbugs.gnu.org; Tue, 21 Sep 2021 11:17:36 -0400
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A3WwbvK0aT5xlPeT0biF2WwqjBJAkLtp133Aq?=
 =?us-ascii?q?2lEZdPUnSL3/qynIpoVl6faUskdsZJlD8ersBEDkex/hHPFOkOos1NuZLXLbUS?=
 =?us-ascii?q?6TXfxfBOjZsl/d8k/FltK1BZ0QCZSWYeeYZTMR46fHCUuDYq4dKb+8gcSVbIzl?=
 =?us-ascii?q?vhBQpG9RGthdBktCe2Om+5JNKzV7OQ=3D=3D?=
X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="393613419"
Received: from unknown (HELO ribbon) ([193.50.110.176])
 by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 21 Sep 2021 17:17:29 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: 50672 <at> debbugs.gnu.org
Subject: Re: bug#50672: python-pytorch is not reproducible
References: <875yuwsxad.fsf@HIDDEN>
Date: Tue, 21 Sep 2021 17:17:29 +0200
In-Reply-To: <875yuwsxad.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Sun, 19 Sep 2021 11:57:14 +0200")
Message-ID: <87a6k6j6uu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50672
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s <ludovic.courtes@HIDDEN> skribis:

> $ guix challenge python-pytorch
> /gnu/store/dgdswx4vvf07xmhih21n4fnr68dh3fhd-python-pytorch-1.9.0 contents=
 differ:
>   no local build for '/gnu/store/dgdswx4vvf07xmhih21n4fnr68dh3fhd-python-=
pytorch-1.9.0'
>   https://ci.guix.gnu.org/nar/lzip/dgdswx4vvf07xmhih21n4fnr68dh3fhd-pytho=
n-pytorch-1.9.0: 0i55iwy3z4da4lhn93dnrmz775s9ga5kyfli6cmrchacacf9xfpq
>   https://bordeaux.guix.gnu.org/nar/lzip/dgdswx4vvf07xmhih21n4fnr68dh3fhd=
-python-pytorch-1.9.0: 1fl2v4pd0gcw7wp5k662q0zd4lvvzsggcm5ii8b4kq4v6synhkic
>   differing file:
>     /lib/python3.8/site-packages/torch/lib/libtorch_cpu.so
>
> 1 store items were analyzed:
>   - 0 (0.0%) were identical
>   - 1 (100.0%) differed
>   - 0 (0.0%) were inconclusive
> $ guix describe=20
> Generacio 189   Aug 30 2021 12:09:27    (nuna)
>   guix f91ae94
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: f91ae9425bb385b60396a544afe27933896b8fa3

Reported upstream: <https://github.com/pytorch/pytorch/issues/65404>.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#50672; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Sep 2021 09:57:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 19 05:57:25 2021
Received: from localhost ([127.0.0.1]:37498 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRtZc-0008Cu-OW
	for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 05:57:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:41946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1mRtZb-0008Cm-1Q
 for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 05:57:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54972)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1mRtZa-0002h4-Oj
 for bug-guix@HIDDEN; Sun, 19 Sep 2021 05:57:22 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:60887)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1mRtZY-00070g-5O
 for bug-guix@HIDDEN; Sun, 19 Sep 2021 05:57:22 -0400
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3ABDqADKtu8rqTdxuM4mRMwNJm7skDjNV00zEX?=
 =?us-ascii?q?/kB9WHVpm62j5qaTdZsgpH3JYVoqM03I+urwX5VoI0mskKKdiLN5VYtKNzOKhI?=
 =?us-ascii?q?LHFutfBMfZslndMhy70NQ179YCT4FOTOTfNBxUjcH17BKgCNYm3bC8kJyAtKPm?=
 =?us-ascii?q?4U4obw17ApsA0y5JTj+0KwlVSBkDJbdRLvShz/sCnDa+f3EKc8S8AXEfT6zvr8?=
 =?us-ascii?q?DG/aiIXTc2QyIdzWC14Q+V1A=3D=3D?=
X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="393381677"
Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2021 11:57:15 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: python-pytorch is not reproducible
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Jour du Travail de =?utf-8?Q?l'Ann=C3=A9e?= 229 de la
 =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 19 Sep 2021 11:57:14 +0200
Message-ID: <875yuwsxad.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=192.134.164.104;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail3-relais-sop.national.inria.fr
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Bad news!

--8<---------------cut here---------------start------------->8---
$ guix challenge python-pytorch
/gnu/store/dgdswx4vvf07xmhih21n4fnr68dh3fhd-python-pytorch-1.9.0 contents d=
iffer:
  no local build for '/gnu/store/dgdswx4vvf07xmhih21n4fnr68dh3fhd-python-py=
torch-1.9.0'
  https://ci.guix.gnu.org/nar/lzip/dgdswx4vvf07xmhih21n4fnr68dh3fhd-python-=
pytorch-1.9.0: 0i55iwy3z4da4lhn93dnrmz775s9ga5kyfli6cmrchacacf9xfpq
  https://bordeaux.guix.gnu.org/nar/lzip/dgdswx4vvf07xmhih21n4fnr68dh3fhd-p=
ython-pytorch-1.9.0: 1fl2v4pd0gcw7wp5k662q0zd4lvvzsggcm5ii8b4kq4v6synhkic
  differing file:
    /lib/python3.8/site-packages/torch/lib/libtorch_cpu.so

1 store items were analyzed:
  - 0 (0.0%) were identical
  - 1 (100.0%) differed
  - 0 (0.0%) were inconclusive
$ guix describe=20
Generacio 189   Aug 30 2021 12:09:27    (nuna)
  guix f91ae94
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: f91ae9425bb385b60396a544afe27933896b8fa3
--8<---------------cut here---------------end--------------->8---

The file is 165=C2=A0MiB and Diffoscope (which reads the output of =E2=80=
=98objdump=E2=80=99)
takes forever on it.

However, by comparing the output of =E2=80=98strings=E2=80=99 on each file,=
 we get a
hint:


--=-=-=
Content-Type: text/x-patch; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

diff -ubBr --show-c-function /tmp/str2 /tmp/str1
--- /tmp/str2	2021-09-19 11:14:47.806798779 +0200
+++ /tmp/str1	2021-09-19 11:14:41.962761127 +0200
@@ -1100584,472 +1100584,472 @@ compute_fast_convolution_input_gradient
 compute_grad_kernel_transform
 compute_fast_convolution_kernel_gradient.isra.0
 compute_fast_convolution_output
-nnp_fft8x8_with_offset_and_stream__avx2.__local0
-nnp_fft8x8_with_offset_and_stream__avx2.__local13
-nnp_fft8x8_with_offset_and_stream__avx2.__local18
-nnp_fft8x8_with_offset_and_stream__avx2.__local1
+nnp_fft8x8_with_offset_and_stream__avx2.__local5
 nnp_fft8x8_with_offset_and_stream__avx2.__local16
+nnp_fft8x8_with_offset_and_stream__avx2.__local6
+nnp_fft8x8_with_offset_and_stream__avx2.__local11
+nnp_fft8x8_with_offset_and_stream__avx2.__local0
 nnp_fft8x8_with_offset_and_stream__avx2.__local2
 nnp_fft8x8_with_offset_and_stream__avx2.__local7
-nnp_fft8x8_with_offset_and_stream__avx2.__local17
-nnp_fft8x8_with_offset_and_stream__avx2.__local10
-nnp_fft8x8_with_offset_and_stream__avx2.__local8
 nnp_fft8x8_with_offset_and_stream__avx2.__local15
+nnp_fft8x8_with_offset_and_stream__avx2.__local8
 nnp_fft8x8_with_offset_and_stream__avx2.__local3
-nnp_fft8x8_with_offset_and_stream__avx2.__local6
-nnp_fft8x8_with_offset_and_stream__avx2.__local14
-nnp_fft8x8_with_offset_and_stream__avx2.__local9
+nnp_fft8x8_with_offset_and_stream__avx2.__local1
 nnp_fft8x8_with_offset_and_stream__avx2.__local4
[=E2=80=A6]
 nnp_shdotxf8__avx2.__local13
-nnp_shdotxf8__avx2.__local15
 nnp_shdotxf8__avx2.__local0
+nnp_shdotxf8__avx2.__local9
+nnp_shdotxf8__avx2.__local10
+nnp_shdotxf8__avx2.__local11
+nnp_shdotxf8__avx2.__local12
+nnp_shdotxf8__avx2.__local2

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


This appears to come from NNPACK, one of the libraries that are still
bundled.  These functions seem to be generated by Python scripts that
use PeachPy, such as NNPACK/src/x86_64-fma/2d-fourier-8x8.py:

--8<---------------cut here---------------start------------->8---
for post_operation in ["stream", "store"]:
    fft8x8_arguments =3D (arg_t_pointer, arg_f_pointer, arg_t_stride, arg_f=
_stride, arg_row_count, arg_column_count, arg_row_offset, arg_column_offset)
    with Function("nnp_fft8x8_with_offset_and_{post_operation}__avx2".forma=
t(post_operation=3Dpost_operation),
        fft8x8_arguments, target=3Duarch.default + isa.fma3 + isa.avx2):
[=E2=80=A6]
--8<---------------cut here---------------end--------------->8---


The =E2=80=98__local=E2=80=99 bit in the name comes from PeachPy, in peachp=
y/name.py:

--8<---------------cut here---------------start------------->8---
            suffixed_name =3D "__local" + str(suffix)
            for name_object in iter(unnamed_objects):
                # Generate a non-conflicting name by appending a suffix
                while suffixed_name in self.names:
                    suffix +=3D 1
                    suffixed_name =3D "__local" + str(suffix)
--8<---------------cut here---------------end--------------->8---

So the problem may be that these things get generated in parallel, and
thus numbering is non-deterministic.

NNPACK/CMakeLists.txt has this bit to generate targets to build all
that:

--8<---------------cut here---------------start------------->8---
      ADD_CUSTOM_COMMAND(
        OUTPUT ${obj}
        COMMAND "PYTHONPATH=3D${PEACHPY_PYTHONPATH}"
          ${PYTHON_EXECUTABLE} -m peachpy.x86_64
            -mabi=3Dsysv -g4 -mimage-format=3D${PEACHPY_IMAGE_FORMAT}
            "-I${PROJECT_SOURCE_DIR}/src" "-I${PROJECT_SOURCE_DIR}/src/x86_=
64-fma" "-I${FP16_SOURCE_DIR}/include"
            -o ${obj} "${PROJECT_SOURCE_DIR}/${src}"
        DEPENDS ${NNPACK_BACKEND_PEACHPY_OBJS})
--8<---------------cut here---------------end--------------->8---

It might be that building just those targets sequentially would solve
the problem.

To be continued=E2=80=A6

Ludo=E2=80=99.

--=-=-=--




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#50672; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 27 Sep 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.