all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zain Jabbar <zaijab2000@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-science@gnu.org
Subject: Re: Installing python-tensorflow using Substitute
Date: Wed, 17 Apr 2024 11:57:43 -1000	[thread overview]
Message-ID: <CAH+UbWR_RaQRFrX-h_dKFnG4-3bmwXgL-k_pW0C+T7t_fdMx2g@mail.gmail.com> (raw)
In-Reply-To: <875xwf65k6.fsf@elephly.net>

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	other threads:[~2024-04-17 21:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 19:40 Installing python-tensorflow using Substitute Zain Jabbar
2024-04-17 21:30 ` Ricardo Wurmus
2024-04-17 21:57   ` Zain Jabbar [this message]
2024-04-18  8:43     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH+UbWR_RaQRFrX-h_dKFnG4-3bmwXgL-k_pW0C+T7t_fdMx2g@mail.gmail.com \
    --to=zaijab2000@gmail.com \
    --cc=guix-science@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.