Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed
Date: Sun, 09 Jan 2022 23:30:24
Message-Id: CA+t6X7fAkf8ojRvq7EFH2DDfrkd43OYAY0dJ5ujg5MvnCr8BuQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed by Mark Knecht
1 вс, 9 янв. 2022 г. в 16:52, Mark Knecht <markknecht@×××××.com>:
2 >
3 > On Sun, Jan 9, 2022 at 3:59 AM gevisz <gevisz@×××××.com> wrote:
4 > >
5 > > вс, 21 нояб. 2021 г. в 17:12, Mark Knecht <markknecht@×××××.com>:
6 > > >
7 > > > Congrats!
8 > >
9 > > Thank you. However, it was not for long. On 30-12-2021 recompilation
10 > > of the same tensorflow-2.7.0 because of some changed dependencies
11 > > failed with the same f**ng "Bazel failed" error as before.
12 > >
13 > > So, I am currently going to degrade my Gentoo system to the state it
14 > > was in on 12-12-2021, when its last update was successful and froze it
15 > > forever.
16 > >
17 > > The problem is that I do not know how to do it but I am going to post
18 > > this question as a separate thread. (I am using webrsync method.)
19 > >
20 >
21 > Sorry for the problems. I saw your other thread about downgrading
22 > Gentoo. I agree with the other responses you got there that Gentoo, in
23 > general, does not support standing still much less going backward.
24 >
25 > I will offer what will probably not be a popular comment but my
26 > opinion is Gentoo is exactly the wrong sort of distribution for doing
27 > work in tensorflow. With all of it's updates, limited testing of
28 > packages, extreme amounts of code building, and not being a distro
29 > that the official tensorflow folks even verify on, it's just too hard.
30 > (And a contributing factor to how I moved away in the beginning.)
31 >
32 > My thought is that you might create a 20.04 LTS Ubuntu VM (or possibly
33 > an LXC container) running whatever your desktop flavor of Gentoo is -
34 > I run Kubuntu - and just run tensorflow in the VM. You won't easily
35 > get GPU support unless you deal with passthrough, but the software
36 > will just work and you won't spend time dealing with building code
37 > which can be spent coding tensorflow.
38 >
39 > If you insist on running in Gentoo consider the LXD container running
40 > an older rev of Gentoo. (If you can find one) Get it working, if you
41 > can, and then never update it.
42 >
43 > lxc image list images: gentoo
44 >
45 > There are openrc and systemd versions available, but a Kubuntu stable
46 > container would more likely to 'just work' IMO.
47
48 Thank you for your reply, Mark.
49
50 Unfortunately, you missed my previous message in this thread
51 where I wrote that I do have Ubuntu 20.04 on the same computer.
52 However, tensorflow fails to run on it because it is not compiled
53 to be inconsistent with my videocard. So, Gentoo is my only option
54 for this hardware.

Replies

Subject Author
Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed gevisz <gevisz@×××××.com>
Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed Mark Knecht <markknecht@×××××.com>