From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SP2bBXTiW2CbZwEAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 02:08:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4AFAAXTiW2CJRwAA1q6Kng (envelope-from ) for ; Thu, 25 Mar 2021 01:08:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 99E411AA6F for ; Thu, 25 Mar 2021 02:08:03 +0100 (CET) Received: from localhost ([::1]:37074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPETi-0003fE-R4 for larch@yhetil.org; Wed, 24 Mar 2021 21:08:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPESm-0002py-Dm for guix-patches@gnu.org; Wed, 24 Mar 2021 21:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPESl-0003tY-Eq for guix-patches@gnu.org; Wed, 24 Mar 2021 21:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPESl-0000lS-9n for guix-patches@gnu.org; Wed, 24 Mar 2021 21:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH v2 30/30] gnu: Add julia-zygote. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Mar 2021 01:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47350@debbugs.gnu.org Cc: zimoun Received: via spool by 47350-submit@debbugs.gnu.org id=B47350.16166343722857 (code B ref 47350); Thu, 25 Mar 2021 01:07:03 +0000 Received: (at 47350) by debbugs.gnu.org; 25 Mar 2021 01:06:12 +0000 Received: from localhost ([127.0.0.1]:36681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERw-0000jw-IE for submit@debbugs.gnu.org; Wed, 24 Mar 2021 21:06:12 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:42696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERM-0000cY-Im for 47350@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:36 -0400 Received: by mail-wm1-f54.google.com with SMTP id b2-20020a7bc2420000b029010be1081172so258482wmj.1 for <47350@debbugs.gnu.org>; Wed, 24 Mar 2021 18:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bmh5ZLXZOrk1VsEFDfpgNS7YM65NmbhbyePjXw4nAg0=; b=vOe27TPN6zvv0fhSLd6UohQndMuXw6hvWoXY1hhgzTdv4bjSXY+ktrYGEFHB4MhI7t aNOL0Pt77EuZhiUBce2UaWiZ4KQP+JaPopGxy7pPlq87uOG+t6hwknmD2mNTdADg4KPn WOxFv4kpXKr+gyOh6QhGcUN4YXuZXa7pMkyBEBGL4APAfohiz/hfvntPGIaANHfvHWRj dcuOTLtGnvqEyAZjaN/W+WGBK4rtziwA5yeDnS9xX+fBnlnurQYBYHtCXXID0GKnAMm3 5e33MmWj34jakPh5in+xEmBo9pS2qXlsY/Dp7tBCFMZkA1RBePUrpZV2Oo0BYwd/5heR gPmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bmh5ZLXZOrk1VsEFDfpgNS7YM65NmbhbyePjXw4nAg0=; b=rnPhiBFa4VM4IIsmngsirLU3Go8BixqBetW3F2w3YjGgQGNfDrvj3Z1+47OzAuyHkA 8gfXyLreuMBzSmSBkolqaicI88NKS1ohS0NjU3qO0GJAIMzRSwu9+Ex9WzQ1dB1RbNu2 8wxuCNYqhowdXo2VMmIeKZZvfLnUdfmMeWoqIWSgvXi68gFutJ8bpaXIRVFfHJxSJgBz 007NezW0zFEqanWu0Haq1q9jAUkG4pzWcvlmDbuN+A9DfFY89i8fPiXRaOma15T8R/WH HaFXpWVBdAtt2Ilu4FV2Y9kny/k9d0CDQ3z7xWM184Z7BPXtazir9dOMUqYqGuovk8fg uEpw== X-Gm-Message-State: AOAM5317F1fir1X+WfZZmTlqCbKCWDM0erKLOFjTr1MO5kVlm1On1dOY ccwmFsBsA2nvmiehP7FRQMMUYiACbdo= X-Google-Smtp-Source: ABdhPJwbeELdvl/CTICxdZF482JZ33dFksrlQo8jz3Xo5iwx4SdkpCfqPy6pu4zzsFa9UBW1nyCimw== X-Received: by 2002:a7b:c084:: with SMTP id r4mr5301778wmh.166.1616634331186; Wed, 24 Mar 2021 18:05:31 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w6sm5208488wrl.49.2021.03.24.18.05.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 18:05:30 -0700 (PDT) From: zimoun Date: Thu, 25 Mar 2021 02:05:16 +0100 Message-Id: <20210325010516.18994-28-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210325010516.18994-1-zimon.toutoune@gmail.com> References: <20210325010516.18994-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616634483; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Bmh5ZLXZOrk1VsEFDfpgNS7YM65NmbhbyePjXw4nAg0=; b=PifJEEJCO1xS901Go7DOi1tWoy/iXk3mmIuFAXMD6QTKgdnXP8/ejKKt3E8qJ6wpCPAQCd RPMVGv70mrHS5QR4cB+8Arkh06BWhfyTRd5kNd8F1cShYG6SqlUF6V4KMTVc6bvlOffbwF OWZ3KDG0Xq+iBhAkOrBhm3BatCKTTflMuiQ+mZFvdUieRqyv2GU9LY4bzd0NuMsOGTq6nB HQI/6cqnpdHbdxfzzpKVlE4eMCZDCs0snZMRkxBvRLbMBuZeamt6gnYdCAK46ESV4xF6i9 gXHJj/HhKjRDNicy12OiMGmJkm+ueq93uUEmXu5a3XENDalf/cG4tJochBOYkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616634483; a=rsa-sha256; cv=none; b=aFoxCBwTmImx8ERoOoKoqDylg2s4aQmEIUN/xkPvGTFW3eOs4qr0p3EnW4WyS0N+F+XbpM fYO+lVsexd4OAJyBg4c1C45IRtOhzmxGPU70r9wAj1Yu0lyH1caYQLe5jVihT49WwQsUIJ 2F1n2r6rlbEjKOOof1XX9Y7McE/5o2asjD62TF5w4/h6NiMOAqhdpMVVlOzJo9UcsiDqQo ilX323MuT3A5oabj+eVvdYV/gQoAqScdxkHpo+h5LpPJd84mc/bG49mkY8JZrf7tQM6DlT 8exA4sdkbm43DhrzmUinUL6RSxzWXYMWACbxV7dKY4ceCfK+m8jOT10P1f9d+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=vOe27TPN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=vOe27TPN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 99E411AA6F X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: wflRJX/0kqll * gnu/packages/julia-xyz.scm (julia-zygote): New variable. --- gnu/packages/julia-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index af8b41e82b..cbff69117d 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1221,3 +1221,38 @@ system.") (description "Minimal package which enables to add custom gradients to Zygote, without depending on Zygote itself.") (license license:expat))) + +(define-public julia-zygote + (package + (name "julia-zygote") + (version "0.6.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FluxML/Zygote.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h2ph0lsisbkh8y4xgwzgw9p5zi243q8zzp5gfh3zw9pzkx6a1rf")))) + (build-system julia-build-system) + (arguments + `(#:tests? #f)) ;require CUDA, not packaged yet + (propagated-inputs + `(("julia-abstractffs" ,julia-abstractffts) + ("julia-chainrules" ,julia-chainrules) + ("julia-diffrules" ,julia-diffrules) + ("julia-fillarrays" ,julia-fillarrays) + ("julia-forwarddiff" ,julia-forwarddiff) + ("julia-irtools" ,julia-irtools) + ("julia-macrotools" ,julia-macrotools) + ("julia-nanmath" ,julia-nanmath) + ("julia-requires" ,julia-requires) + ("julia-specialfunctions" ,julia-specialfunctions) + ("julia-zygote-rules" ,julia-zygoterules))) + (home-page "https://fluxml.ai/Zygote.jl") + (synopsis "Automatic differentiation in Julia") + (description "Zygote provides source-to-source automatic +differentiation (AD) in Julia, and is the next-generation AD system for the +Flux differentiable programming framework.") + (license license:expat))) -- 2.28.0