unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia)
@ 2021-03-23 19:42 zimoun
  2021-03-23 19:45 ` [bug#47350] [PATCH 01/29] gnu: Add julia-constructionbase zimoun
                   ` (4 more replies)
  0 siblings, 5 replies; 71+ messages in thread
From: zimoun @ 2021-03-23 19:42 UTC (permalink / raw)
  To: 47350; +Cc: zimoun, anothersms, ludo

Hi,

This adds all the packages required to build Zygote, the source-to-source
automatic differentiation in Julia.

   <https://github.com/FluxML/Zygote.jl>

It is the first brick to have Flux, the Julia machine learning framework.

  <https://github.com/FluxML/Flux.jl>

Noting that (at least 3) large pieces are still missing: Juno, Documenter and
CUDA.

Speaking about the Julia package CUDA, it is required by the test suite of
Zygote, that's why the #:tests? is #f.  However, we manually check the package
by running the small examples, e.g.,

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment -C --ad-hoc julia julia-zygote -- julia
julia> using Zygote
[ Info: Precompiling Zygote [e88e6eb3-aa80-5325-afca-941959d7151f]

julia> f(x) = 5x + 3
f (generic function with 1 method)

julia> f(10), f'(10)
(53, 5)

julia> @code_llvm f'(10)

;  @ /gnu/store/5m6676w77bbz44prbfxhxmk88srgxy81-profile/share/julia/packages/Zygote/src/compiler/interface.jl:62 within `#43'
define i64 @"julia_#43_2036"(i64) {
top:
  ret i64 5
}

julia>  W, b = rand(2, 3), rand(2);

julia> predict(x) = W*x .+ b;

julia> g = gradient(Params([W, b])) do
         sum(predict([1,2,3]))
       end
Grads(...)

julia> g[W], g[b]
([1.0 2.0 3.0; 1.0 2.0 3.0], 2-element Fill{Float64}: entries equal to 1.0)
--8<---------------cut here---------------end--------------->8---

All the packages are not archived because of the rate limit.  They should be soon.

--8<---------------cut here---------------start------------->8---
for n in $(git log -30 --format="%s" --reverse | cut -d'-' -f2 | sed 's/\.//');
do
  ./pre-inst-env guix lint -c archival julia-${n} ;
done

gnu/packages/julia-xyz.scm:397:7: julia-constructionbase@1.1.0: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:817:5: julia-macrotools@0.5.6: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:1040:5: julia-reexport@1.0.0: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:723:5: julia-irtools@0.4.2: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:283:5: julia-colortypes@0.10.12: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:1059:5: julia-requires@1.1.3: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:1085:5: julia-richardson@1.4.0: scheduled Software Heritage archival
gnu/packages/julia-xyz.scm:552:5: julia-finitedifferences@0.12.2: Software Heritage rate limit reached; try again later
gnu/packages/julia-xyz.scm:211:5: julia-chainrulestestutils@0.6.4: archival rate limit exceeded; try again later

gnu/packages/julia-xyz.scm:528:5: julia-fillarrays@0.11.7: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:309:5: julia-commonsubexpressions@0.3.0: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:131:5: julia-calculus@0.5.1: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:441:5: julia-diffresults@1.0.3: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:488:5: julia-difftests@0.1.1: archival rate limit exceeded; try again later
guix lint: error: julia-compilersupportlibraries: unknown package
guix lint: error: julia-openspecfun: unknown package
gnu/packages/julia-xyz.scm:1112:5: julia-specialfunctions@1.3.0: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:155:5: julia-chainrules@0.7.54: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:613:5: julia-forwarddiff@0.10.17: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:1221:5: julia-zygoterules@0.2.1: archival rate limit exceeded; try again later
gnu/packages/julia-xyz.scm:1243:5: julia-zygote@0.6.4: archival rate limit exceeded; try again later
--8<---------------cut here---------------end--------------->8---


Last, well, I feel motivated to implement an (recursive) importer, even
inaccurate, it will greatly help.


All the best,
simon

zimoun (29):
  gnu: Add julia-constructionbase.
  gnu: Add julia-macrotools.
  gnu: Add julia-nanmath.
  gnu: Add julia-reexport.
  gnu: Add julia-irtools.
  gnu: Add julia-staticarrays.
  gnu: Add julia-unitful.
  gnu: Add julia-abstractffts.
  gnu: Add julia-colortypes.
  gnu: Add julia-colors.
  gnu: Add julia-example.
  gnu: Add julia-requires.
  gnu: Add julia-chainrulescore.
  gnu: Add julia-richardson.
  gnu: Add julia-finitedifferences.
  gnu: Add julia-chainrulestestutils.
  gnu: Add julia-fillarrays.
  gnu: Add julia-commonsubexpressions.
  gnu: Add julia-calculus.
  gnu: Add julia-diffresults.
  gnu: Add julia-difftests.
  gnu: Add julia-compilersupportlibraries-jll.
  gnu: Add julia-openspecfun-jll.
  gnu: Add julia-specialfunctions.
  gnu: Add julia-diffrules.
  gnu: Add julia-chainrules.
  gnu: Add julia-forwarddiff.
  gnu: Add julia-zygoterules.
  gnu: Add julia-zygote.

 gnu/packages/julia-xyz.scm | 777 +++++++++++++++++++++++++++++++++++++
 1 file changed, 777 insertions(+)


base-commit: a2f3a456bec357394fe550d927c26bbbdaa7ba6e
-- 
2.28.0





^ permalink raw reply	[flat|nested] 71+ messages in thread

end of thread, other threads:[~2021-03-29 15:11 UTC | newest]

Thread overview: 71+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-23 19:42 [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) zimoun
2021-03-23 19:45 ` [bug#47350] [PATCH 01/29] gnu: Add julia-constructionbase zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 02/29] gnu: Add julia-macrotools zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 03/29] gnu: Add julia-nanmath zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 04/29] gnu: Add julia-reexport zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 05/29] gnu: Add julia-irtools zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 06/29] gnu: Add julia-staticarrays zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 07/29] gnu: Add julia-unitful zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 08/29] gnu: Add julia-abstractffts zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 09/29] gnu: Add julia-colortypes zimoun
2021-03-23 19:46 ` [bug#47350] [PATCH 10/29] gnu: Add julia-colors zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 11/29] gnu: Add julia-example zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 12/29] gnu: Add julia-requires zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 13/29] gnu: Add julia-chainrulescore zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 14/29] gnu: Add julia-richardson zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 15/29] gnu: Add julia-finitedifferences zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 17/29] gnu: Add julia-fillarrays zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 18/29] gnu: Add julia-commonsubexpressions zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 19/29] gnu: Add julia-calculus zimoun
2021-03-23 19:46 ` [bug#47350] [PATCH 20/29] gnu: Add julia-diffresults zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 21/29] gnu: Add julia-difftests zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 22/29] gnu: Add julia-compilersupportlibraries-jll zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 23/29] gnu: Add julia-openspecfun-jll zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 24/29] gnu: Add julia-specialfunctions zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 25/29] gnu: Add julia-diffrules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 26/29] gnu: Add julia-chainrules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 27/29] gnu: Add julia-forwarddiff zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 28/29] gnu: Add julia-zygoterules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 29/29] gnu: Add julia-zygote zimoun
2021-03-23 22:48 ` [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) Nicolò Balzarotti
2021-03-23 23:01   ` zimoun
2021-03-24  8:15     ` Nicolò Balzarotti
2021-03-24  9:35       ` zimoun
2021-03-25  0:58         ` zimoun
2021-03-25  9:47           ` Nicolò Balzarotti
2021-03-25 11:32             ` zimoun
2021-03-27 21:01             ` Nicolò Balzarotti
2021-03-27 21:24               ` zimoun
2021-03-27 21:41                 ` Nicolò Balzarotti
2021-03-27 22:08                   ` zimoun
2021-03-29 14:50                     ` bug#47350: " Ludovic Courtès
2021-03-29 15:10                       ` [bug#47350] " zimoun
2021-03-25  1:04 ` [bug#47350] [PATCH v2 01/30] build: julia-build-system: Turn on depreciation warnings zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 02/30] gnu: Add julia-constructionbase zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 03/30] gnu: Add julia-macrotools zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 04/30] gnu: Add julia-nanmath zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 05/30] gnu: Add julia-reexport zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 06/30] gnu: Add julia-irtools zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 07/30] gnu: Add julia-staticarrays zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 08/30] gnu: Add julia-unitful zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 09/30] gnu: Add julia-abstractffts zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 11/30] gnu: Add julia-colors zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 12/30] gnu: Add julia-example zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 13/30] gnu: Add julia-requires zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 14/30] gnu: Add julia-chainrulescore zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 15/30] gnu: Add julia-richardson zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 16/30] gnu: Add julia-finitedifferences zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 17/30] gnu: Add julia-chainrulestestutils zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 18/30] gnu: Add julia-fillarrays zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 19/30] gnu: Add julia-commonsubexpressions zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 21/30] gnu: Add julia-diffresults zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 22/30] gnu: Add julia-difftests zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 23/30] gnu: Add julia-compilersupportlibraries-jll zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 24/30] gnu: Add julia-openspecfun-jll zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 25/30] gnu: Add julia-specialfunctions zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 26/30] gnu: Add julia-diffrules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 27/30] gnu: Add julia-chainrules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 28/30] gnu: Add julia-forwarddiff zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 29/30] gnu: Add julia-zygoterules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 30/30] gnu: Add julia-zygote zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).