From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EHGZHJpGWmAIYwAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 19:50:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EDNoGJpGWmAkUQAAB5/wlQ (envelope-from ) for ; Tue, 23 Mar 2021 19:50:50 +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 E7512CC11 for ; Tue, 23 Mar 2021 20:50:49 +0100 (CET) Received: from localhost ([::1]:59646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOn3B-0005hq-4N for larch@yhetil.org; Tue, 23 Mar 2021 15:50:49 -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 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=1616529050; 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=kxSp2IWHDNuyOhDibCZnsDIvxBOqs/SWAM+I8iKFPT0=; b=HAmb8iujdEoGk/RW2Lg6lqz1nAMpw6S6CwtbMWSeJMgZzC//qKvPbZWU6diFMVmZZm9QXV MCc3wGeDrmdCQ/k/Vx3IgLQWQgFe9PrKM0gD1aYwHr1B6G9xUckoYr7/PMf/S2yPkvs08r A+e5K330IazEvQgZaKVzogIYQRZozKvU01wa+WHcV4QLuvnhmWW/sDmaJVaNoozRrypZiZ NtB2zMDEIkakcqwIT6bVzn7UwyATmTSzt8Wta8GtgASodKe9mu9pGENR5Qm50aiqJ8x12c F3a3xOF+oX1C3ZjC4KGabOJFyK0se9ViPI20iBnunRvCDSBP1j2a+rwkF/Gk+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616529050; a=rsa-sha256; cv=none; b=WvWNZbYghgNTRPag1PhYaeVM8ZxZZ1xhuOsRsuOcvs4m0IkWmzROPYd/cju3fizmPj8RO2 fmh8uQtURxIGuv13Gudd3bps6SicBGB+J/suHFKjGUOkbRTB+AnJWc69/LNHDIkGexwUUq L/vxCtbvPLo8Vm9ljYNs6ddcBKgYmwmguHbhYfL1U83PBTZTOH8aOJ55orUY0jLG9D6tP1 8fzs5K6Js4dZiYDg76LTcLC36lZCAc0P8zVdtXDWZYTDneUzaauvVIySaJ1BTYTf9SMeQp s68BlTXKlqYGx2ZlssD8rDMLoYiwzngHrDLGeVltwlW+6pB5nVDf7wV3vj4ExA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=lY4Z01fa; 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=lY4Z01fa; 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: E7512CC11 X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: CDcg9t6IRvPn * 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))) -- 2.28.0