unofficial mirror of guix-science@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Zain Jabbar <zaijab2000@gmail.com>
Cc: guix-science@gnu.org
Subject: Re: Installing python-tensorflow using Substitute
Date: Wed, 17 Apr 2024 23:30:01 +0200	[thread overview]
Message-ID: <875xwf65k6.fsf@elephly.net> (raw)
In-Reply-To: <CAH+UbWSvewC=FVd-QChnrFV0LBsok=fxW_7Y+UyOuS8KPG79eQ@mail.gmail.com> (Zain Jabbar's message of "Tue, 16 Apr 2024 09:40:38 -1000")

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


  reply	other threads:[~2024-04-17 21:31 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 [this message]
2024-04-17 21:57   ` Zain Jabbar
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=875xwf65k6.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-science@gnu.org \
    --cc=zaijab2000@gmail.com \
    /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.
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).