From patchwork Tue Mar 23 19:46:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 28053 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 60D0327BC5C; Tue, 23 Mar 2021 19:50:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0C4E027BC59 for ; Tue, 23 Mar 2021 19:50:49 +0000 (GMT) Received: from localhost ([::1]:59646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOn3A-0005hq-7d for patchwork@mira.cbaines.net; Tue, 23 Mar 2021 15:50:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOn0e-0002nN-VC for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOn0X-0003WY-7b for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOn0X-0008I0-5c for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH 29/29] gnu: Add julia-zygote. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Mar 2021 19:48:05 +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.161652885031760 (code B ref 47350); Tue, 23 Mar 2021 19:48:05 +0000 Received: (at 47350) by debbugs.gnu.org; 23 Mar 2021 19:47:30 +0000 Received: from localhost ([127.0.0.1]:33146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzs-0008Fw-Hs for submit@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:29 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:34813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzj-0008E8-H2 for 47350@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:15 -0400 Received: by mail-wr1-f43.google.com with SMTP id j7so22066445wrd.1 for <47350@debbugs.gnu.org>; Tue, 23 Mar 2021 12:47:15 -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=kxSp2IWHDNuyOhDibCZnsDIvxBOqs/SWAM+I8iKFPT0=; b=lY4Z01fan5FZngxq0bVSfOIA8qBGNo8H33XhzTUsAYgDVPS7Jef3RGjPYlBwB1Y4gn qxC/vlJkhvcqF5zWDhkc+DS9Au9nffny/3RP1B8xRMfJ9cZHgbxFmi8cbjAfEUl4Eo7p 0ych/lT0SVfg1l8l44tCEP8yonsn7bZQL10Uap7Yd5eNkKbVsFhRHNq3bk1SxC5nToha xIr9zVh58DnNucRn6LJFzSg190BWSeKvBXheSoJYf/aE6gnQbs6Khh/2wo0CvVGoIM1y sQPvh0OIM3pta3ev3heBoXRpmCiibChcaMF/qr4b26zgse1L0/g6qSC9T90OHWb293g2 SXkg== 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=kxSp2IWHDNuyOhDibCZnsDIvxBOqs/SWAM+I8iKFPT0=; b=QKeO1oYwKgno4JH+pXd4KNnmPqqTgBZN/AAonl2L/AuOO49dXE8l4ZEVRwB+6IR8uz L1v7q+8AnA0C7vFxxxTXKsi53wwDeN3Ui2QgTC9b2CsRzxVAtR40iMFXabOVTQq/s6G7 K4AeObxlL1mLYwuCri0pke3bRy2HlmY3mXlP/m59Kufuts2EopgGvXOmcuUEPQxA28dC OnoyNcNCNbX9m5vuryvznlhct78uaETKBXeNoTTTHFTuifx9Xidt4MqUgeghJtnY1hiE mPmzwOLLba/1q8qTlAG7EdFddqK2neWM7+VDzOYwRM3mHmwCU1NVlnIZ4ll8D1kOiH8F wm3w== X-Gm-Message-State: AOAM530fH5S5KmKykWJxo9CIIccioRLCjhL6sUXeYmxivL3gg5fgU40v cMqGSDukMwBRlL07BnIeyD2N3cXiUP0= X-Google-Smtp-Source: ABdhPJz7vQrIVV7R+wlKW5xfJ3NR6vplX2f/zNxXqneRm/fCl/GPxIMBxMlmmdg5mCCMT45O8xDnzA== X-Received: by 2002:a5d:5904:: with SMTP id v4mr5686515wrd.261.1616528830046; Tue, 23 Mar 2021 12:47:10 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a131sm3656104wmc.48.2021.03.23.12.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 12:47:09 -0700 (PDT) From: zimoun Date: Tue, 23 Mar 2021 20:46:56 +0100 Message-Id: <20210323194656.18303-10-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210323194656.18303-1-zimon.toutoune@gmail.com> References: <20210323194656.18303-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 464a6377f6..9ee1f9dd4a 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1234,3 +1234,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)))