From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE218158011 for ; Mon, 10 Jan 2022 16:16:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C71862BC031; Mon, 10 Jan 2022 16:16:23 +0000 (UTC) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 114132BC00D for ; Mon, 10 Jan 2022 16:16:22 +0000 (UTC) Received: by mail-il1-x133.google.com with SMTP id r16so10084496ile.8 for ; Mon, 10 Jan 2022 08:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tBa39BwcLWgdsxnNY95+8GY2wWjUoXPLL8IfxWQKQbU=; b=AAFH7+3UHwneE1BZYlv+KzIXYrhp8cS/laVnzRA8esDjWBOQVYQ8LFF1WzSpEaTHI1 3FuIm6gmiCs7IsGSwab6J0ivLtSiVKeVLpN2XAmGtTlGlkTdJYMtXo4+o2RJ5LcRnimu oUerzmbFg6Z9bmam+6gGBuDLjocutymxNE0MpErx3RwLoCxob8Q8RiAmlfRe1igdfWr4 7ol2mFJtLSpA1YS8o/fDmtwdKEZlbZ9BoxLExnopXGRh5XlTB19Uoweqk6+dJ1mvzfKO dDJiOPS0IFhS52iDNckOsRSOy+czFxyW5ofI9TcmCM030yQ69HpVdu3TyzNYJk2GQqR1 nZNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tBa39BwcLWgdsxnNY95+8GY2wWjUoXPLL8IfxWQKQbU=; b=fii6uNyHV44QoqRRYxCM6iHSrAW90gS1Kx+MymowfM3WzZNclVlhRFRWPUo7t1gDnz 5gdl7np+PstzVsKYYmAWmUIcJoGdo5pQDZGgdGO1StsWKY53NIkh/jg7oZ0owqhqMFsb RMM4z7XBo0grvB1XbRd+HuMYrtJ4VniqHd5F1LYkvuwPlPII9STh+v5l5crpfIJbzs+8 4xTVhhraHsW5Gtfzn5PL0hRtBeuFfoWlYrK/P2jHvO4E8Wslhp5vhSo6uMFOBqmQWP+U H7QA8ez+sZheWqBp3Iej41vtwEy1KZ5KGkMZGyXXNyMiZykov+FKEVeDvVnDRtzdqIZY Jxwg== X-Gm-Message-State: AOAM530LBTaEvCuyiaEyXctrxtA3n8seWOTFLpfwBtGu6Wd+cP5WAWYB eBWgcUHSh7vohhV9UhRtWpWR4Nuh0BTnw3tV2loLNVkQzWc= X-Google-Smtp-Source: ABdhPJyQkHJCRUqHBEa0XgPQcYCxTxb1fGGWPQjouPz3clpyO+4nYYAJMk26pPtZSK4stmnEYGeKB10238Sn+z9TMGw= X-Received: by 2002:a92:dad0:: with SMTP id o16mr176705ilq.55.1641831381593; Mon, 10 Jan 2022 08:16:21 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Mark Knecht Date: Mon, 10 Jan 2022 09:16:10 -0700 Message-ID: Subject: Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed To: Gentoo User Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: becd9a27-cb42-403d-bcc6-e5721e16e5e8 X-Archives-Hash: a60cc372bb345b57484c249216295a19 > > Thank you for your reply, Mark. > > Unfortunately, you missed my previous message in this thread > where I wrote that I do have Ubuntu 20.04 on the same computer. > However, tensorflow fails to run on it because it is not compiled > to be inconsistent with my videocard. So, Gentoo is my only option > for this hardware. > My apologies. This thread has gone on for a while and I had to review to get caught up. OK, so assuming I understand correctly (please correct me if I do not) then you are talking about ONE computer that uses an AMD Phenom II X4 processor. This computer dual boots, or is a Gentoo machine with an Ubuntu VM. In an earlier response to this thread you showed the flags supported by this processor which did not include the AVX, AVX2 or the FMA3/FMA4 flags. It is my understanding that this processor cannot run the current versions of tensorflow whether you compile it yourself or not, at least in the non-GPU version. WRT to your video card, tensorflow does not require the use of a GPU. There are two versions, tensorflow-cpu and tensorflow-gpu. If you were to build the -cpu version then it is my understanding it would run an a headless machine, presuming the processor has AVX/AVX2/FMA hardware support. If the processor DOES have AVX/FMA support but you were having problems emerging TF in Gentoo then a virtual machine running Ubuntu might have helped you as you could use a precompiled apt or snap package. However I don't think anything gets you past not having AVX/FMA hardware support. I am in the same situation. My big machine is an Intel i7 980 Extreme. I used to be able to run TF but have not been able to since Google raised the CPU requirements. If I am not understanding your hardware setup, or you think there is a path around the AVX/FMA hardware problem please let me know and I'll explore it more deeply with you. Cheers, Mark