guix-science
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing python-tensorflow using Substitute


From: Zain Jabbar
Subject: Re: Installing python-tensorflow using Substitute
Date: Wed, 17 Apr 2024 11:57:43 -1000

Aloha,

Thank you for your reply. It seems as though there were updates and
`python-tensorflow` needs to be rebuilt by the substitute server. That
is, `guix weather python-tensorflow` returns no usable substitutes at
the moment, and build 680683 on the server has failed

https://guix.bordeaux.inria.fr/build/680683/details

I will let you know how your commands work when these other issues are
resolved.
But they seem promising, I had to build `jaxlib` manually before and
now it downloaded the substitute!

I also appreciate the probable explanation for my errors. If the
substitute does not work later I will try to run the build without any
other applications (not even Emacs! How terrifying!!).

Slightly unrelated, but thank you for adding `python-tensorflow` to
begin with. I saw some of your messages on IRC about getting 2.0+ to
work on Guix and your commit to the repo. Adding this package to my
local system is awesome! Not to mention you can add it to Guix Jupyter
notebooks too.

On Wed, Apr 17, 2024 at 11:30 AM Ricardo Wurmus <rekado@elephly.net> wrote:
>
> Hi,
>
> > Request: I would like to install `python-tensorflow`.
> >
> > Possible Solution: I would like to use the substitute available on the
> > `guix.bordeaux.inria.fr` server. According to `guix weather
> > python-tensorflow` and this link:
> >
> > https://guix.bordeaux.inria.fr/build/678221/details
> >
> > I believe that after authenticating the key to the server and adding
> > the server url to the list of substitutes I should be ready to use the
> > substitutes.
>
> Correct.  There appear to be some strange issues with the packages that
> use the bazel-build-system.  When you use "guix build --no-grafts
> python-tensorflow" do you get a binary from the substitute server?
>
> > Weird Issues with Manual Compilation: I have not been successful in
> > building the program on my machine. While compiling, Guix / Bazel will
> > crash at random points during the compilation process. I know it is
> > not consistent by scanning the logs and seeing different numbers
> > `[X/Y]` when it crashes.
>
> You are probably running out of memory.  The build is very costly.
> Whenever I do this on my laptop I run *only* the build and nothing else
> (not my browser, not even Emacs).
>
> --
> Ricardo



-- 
Mahalo,
Zain Jabbar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]