From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CHuVKA9LAGZDgwAAe85BDQ:P1 (envelope-from ) for ; Sun, 24 Mar 2024 16:47:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CHuVKA9LAGZDgwAAe85BDQ (envelope-from ) for ; Sun, 24 Mar 2024 16:47:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=bkTa+MGh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1711295247; a=rsa-sha256; cv=pass; b=j5lHNNYSwXB3dfCp303LWJl+RdiRP2KVRIuqBEGYzHyA8RpYLr8VR3YUwlj+JEODIImwKC ZIaHaHd+ixTdYeQTtHdxao7vTAZbXmGE8eTZOPdp/EOu1R3NIqlCOsTWl8GtzGFA5oY44E xie0mu+rtGGU0CCDpZF56xz1M4bpX9Fi6cMltHSi9WTSJtCWYcN/uTgeVV/q+LtssdhMLR 6m08zExhHrii6OjFQ561ugOvrk6sjhvmznC01OsW0UkWHMJRuh6KrJTts3VE8lSctG22Tu FJWueezO0TCYmYXYwDc6NR9V2eBqz/Qe3q3sIcq6Y1S5koEPaL9AkR+1rlWx+A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=bkTa+MGh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711295247; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tdPj4LqOkcDgv2vdw1fUDT+mh6IkHObmpc3mQW+Y9Fo=; b=Yos/94PHojAoNL3rFdT+dKg9488md+A61k+nGN1LBbt7tWFXtCM6JN3H6xNYeukyCmA3+J 23uJZFbBqaTV8+FOlJ9GMUktt4utRwKd7Bclc8XHRrAgSKASpPK9iBmXJOBgq7uEYs3inL 21bnG/qdlLfLPSl2pvljdF9QVn3ZLToRafF/rTgjY3iGvrV7wTjhwsGj6oAuJE5ZjpjQ6P A+T/GWcIdX1/hhMOGtGo/eXPKIwNqiCI3NZojE3Jg0F3FBPrV0PnynHNtD9H1/aXrsEwY/ KQ5eW2awVldi+qenlXC/YghKerlYFm0BK7FDUB0bpyPug+oL8NM/ax+J6GNj8w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 846ED153AA for ; Sun, 24 Mar 2024 16:47:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roQ3n-0003sH-Hk; Sun, 24 Mar 2024 11:46:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roQ3k-0003ro-Ff for guix-devel@gnu.org; Sun, 24 Mar 2024 11:46:57 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roQ3i-0002Ty-Iy; Sun, 24 Mar 2024 11:46:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1711295210; cv=none; d=zohomail.com; s=zohoarc; b=B/4WgyNhWU1LLjVQk4BQ3PCKW9nYeQewmxq+Q9nX6tyC3bbbNNLLEFqPloMJV/0qaN/9f/G53M+tEfPxEPXrd1NTJGAiQRFKkPMU/kFFXP22RmmGQ6ZvuMJARx3YTsUR7psVvwVyhEvb4IgiqziyKRfwrSVdSRhvq93mvJfvLKU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1711295210; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=tdPj4LqOkcDgv2vdw1fUDT+mh6IkHObmpc3mQW+Y9Fo=; b=moqwT6Re9Jc/tTQdfwPVsvbPMMjTGZsw+tiWB6cvm8AZw+ei5mnjJW/5I9YWznbfezSNPz2Q1cgQmi7pcCF7iR27HaNh7gLoWPW1foSMDL2t3sB4EIxvG5ygb3dXAb43VjylpNrlkwvEWVYNa56SMkdIBV5ZU7Bg7Yc08rp55iU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1711295210; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=tdPj4LqOkcDgv2vdw1fUDT+mh6IkHObmpc3mQW+Y9Fo=; b=bkTa+MGhcoNBLNlo9E3fpilnwoAG11NkiXFxLMWCiFSdxTXG0BBHoavJ4wqZ4KKA vDT1k/shoUfO7rlk5Ht622aI1R11Rvi78Jad/vCj8AJcK85gTiIfvBzuLnfmCSbdNcJ SX72z74iz0/03gr2tfr9wab2P/eU0efUlCe9y2Ro= Received: from localhost (196-110-142-46.pool.kielnet.net [46.142.110.196]) by mx.zohomail.com with SMTPS id 1711295209142602.6929813977166; Sun, 24 Mar 2024 08:46:49 -0700 (PDT) References: <86msqoeele.fsf@posteo.net> User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: David Elsing Cc: guix-devel@gnu.org, ludo@gnu.org Subject: Re: PyTorch with ROCm Date: Sun, 24 Mar 2024 16:41:45 +0100 In-reply-to: <86msqoeele.fsf@posteo.net> Message-ID: <87le67d449.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.01 X-Migadu-Queue-Id: 846ED153AA X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.01 X-TUID: YPwwtAv3ZxL3 Hi David, > after seeing that ROCm packages [1] are available in the Guix-HPC > channel, I decided to try and package PyTorch 2.2.1 with ROCm 6.0.2. Excellent initiative! > For this, I first unbundled the (many) remaining dependencies of the > python-pytorch package and updated it to 2.2.1, the patch series for > which can be found here [2,3]. Oh, commit 8429f25ecd83594e80676a67ad9c54f0d6cf3f16 added python-pytorch2 at version 2.2.1. Do you think you could adjust your patches to modify that one instead? > It would be really great to have these packages in Guix proper, but > first of course the base ROCm packages need to be added after deciding > how to deal with the different architectures. Also, are several ROCm > versions necessary or would only one (the current latest) version > suffice? As for the ROCm-specific work, I'm not qualified to comment. I do support a move of the ROCm packages from Guix HPC to Guix proper. I think it is sufficient to only have the current version of ROCm; other versions could be added if there is reasonable demand. -- Ricardo