From nobody Tue Nov 22 00:26:03 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NGQ6R5XkFz4hybB for ; Tue, 22 Nov 2022 00:26:23 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NGQ6R3bfYz4Ktg for ; Tue, 22 Nov 2022 00:26:23 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2d.google.com with SMTP id j6so9120002qvn.12 for ; Mon, 21 Nov 2022 16:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WadSTe4RaopTo+ZEUk/3qjZsFadeMcW7d6tjvZCyokk=; b=jNSLxod1HMpd8lBgFz7/70Eb2dNL+mWpH4jMHepF6reV5dulY3wKVSprln2Q2/BVWb uO/2UT4tsOpUntOJtUvV9cIMIPElvnaWWmMxpbW/4x8DV4dfpJLOr+AssxD7NlSCTiiU DhHea0Nxqm+d0WznMCCwp1EZu2cJtuQ0GxuFj+rthNx+KSsAmCvqFgE1tx+ZDJ+zUGsM pKGfp0hZc51kYSRft+uP8vmEO2qhLatrhoEoTuah/PkCwt7DtFGvmjoi6hA7XQqKGVJA +ZzYrIbCB1pJNemibHHtqluqepHJzNhyW4Ke2EtayE+/K1odrW4tobMolSbP7a0rMOUE Q9Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WadSTe4RaopTo+ZEUk/3qjZsFadeMcW7d6tjvZCyokk=; b=szQgLK636PleDW6GykcwWjjhVklYNsMfY/js9FdJSOjCtP0rMsOAIuRnA/Y0bXtyZe CVMaKinsEizuR3/CO/1rB2DI78afUGXZMlLk0JUtqEhuL01XznQnNDllgFZNLOXFJUxS vtvTUWb/3/Nct225ubg8HcHfgBxvp4U6AEZowQhTwrN/YuF1kIALxGL2lKnbWzlUaOmi uKguObQVDLy6V7VDn5kb+DMJBwlfr9pQoqE2NmpC1H24CCDH94ybcYwPkbjW65+mhgkb tS2aJkEG1Qbe5wkmlcHczU1kRdKDpVdgPmObpx1kLjI1Me9afghbbWexWqLERBVU2jWR k2Qg== X-Gm-Message-State: ANoB5pmQ66+iZ2kUL8rRlsunwUe4zil979R+9e5cL2rFYb1Sd9a7QC3e p2+iMSlE64PwhNnpMdJTTyETkDoAcmUu3g== X-Google-Smtp-Source: AA0mqf61k8VW0JltqF+rJSLx5qS0ND0tlnrOYglHcHkVY1yQokv5ajOaUVxJ9Gl1j7U8mkJXNuwAqw== X-Received: by 2002:a05:6214:448b:b0:4bb:6419:ecfb with SMTP id on11-20020a056214448b00b004bb6419ecfbmr1899141qvb.109.1669076781885; Mon, 21 Nov 2022 16:26:21 -0800 (PST) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com. [209.85.128.170]) by smtp.gmail.com with ESMTPSA id gd10-20020a05622a5c0a00b003a5c6ad428asm7346064qtb.92.2022.11.21.16.26.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 16:26:21 -0800 (PST) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-39ce6773248so59429487b3.12; Mon, 21 Nov 2022 16:26:21 -0800 (PST) X-Received: by 2002:a81:f06:0:b0:36c:a70c:cd73 with SMTP id 6-20020a810f06000000b0036ca70ccd73mr20845015ywp.135.1669076780673; Mon, 21 Nov 2022 16:26:20 -0800 (PST) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <9f14955d-1072-332e-adc7-26f6fbb80b03@FreeBSD.org> In-Reply-To: From: Tomek CEDRO Date: Tue, 22 Nov 2022 01:26:03 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: =?UTF-8?Q?Re=3A_The_installation_of_=E2=80=9CStable_Diffusion_web_UI?= =?UTF-8?Q?=E2=80=9D_natively_on_FreeBSD_fails_because_can=E2=80=99t_install_torch_?= =?UTF-8?Q?and_torchvision?= To: Mario Marietto Cc: arrowd@freebsd.org, Ronald Klop , ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NGQ6R3bfYz4Ktg X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Long story short: PyTorch does not work on FreeBSD at this point, use Linux version, or any other OS where binary packages are provided. Short story long: below :-) On Mon, Nov 21, 2022 at 6:48 PM Mario Marietto wrote: > Tomek,can you repeat the steps you did when you tried to install pytorch,= but this time using torch as Gleb Popov suggested ? very thanks. Already did, please take a look at previous answers :-) When you try to install pytorch you will get an error you should use torch name instead.. but there are no packages provided from FreeBSD.. and it does not build from the sources.. more work is necessary to update the pytorch in order to build and run on FreeBSD.. looks like weeks of work.. and this should be done by someone already familiar with that tool to verify its operations even if it builds.. also note that it has some hard dependencies on hardware acceleration that may not yet be available here. I would strongly use platform that is officially supported by the project. Get the correct tool for the task :-) > Il giorno lun 21 nov 2022 alle ore 17:46 Mario Marietto ha scritto: >> >> Oh no,man,I don't think I'm. My job is totally different than yours. I'm= a psychologist. My training has been totally different. In your opinion, c= an I make a job totally different from yours ? If it was true,so,ok,you can= analyze the people's mindset without a problem. You can get two jobs,you c= an earn two incomes. Why don't you make it ? I like to play with linux-free= bsd as a hobby. I can learn what I don't know ? Sure,for those tasks that a= re of low-medium difficulties only. So,I should even hire someone,spending = money. You didn't understand my position. I don't earn enough money even to= live day by day. In your opinion,can I spend money on that ? In addition,I= t works under Windows and Linux. So,this is another reason to not spend mon= ey on it. Most of us are in this position :-) Most of us have one or two or three projects / jobs to make a living and then some spare time to develop Open-Source that we need on our own and then we share the results "for free". Imagine how many new things we have to learn and how many problems we encounter / overcome in that process. There is no "magic company" that takes infinite amount of money from thin air to create working solutions based on people demands for free.. even governments that fund "public research" are taxing their own citizens.. commercial companies only develop Open-Source when they have valid business model and funding for it. If you do not want to put your time and effort to do the job on your own, also you state there is no reason to do the job for you, then who do you expect to do the job? Really few lucky people are "paid good full-time salary for a development on demand" where results are shared back to the public. Even if, the work must be useful for a company that invest their money and time to hire folks to develop new features, port software, etc. Development of the Open-Source is not free. You can use it for free. But there may be years of expensive work and thousands of brainz behind. Please understand and respect that that you are given a solution for free, but creating that solution is always quite expensive in the first place. Someone had to create the PyTorch, hire people to make it happen, then the results are shared "for free". This tool was developed on Linux, macOS and Windows, because there are packages provided. Making it work on FreeBSD requires work that needs to be done. You cannot expect anyone to do the job for you unless you care it enough to make it happen yourself.. or find the funding to do the work for you. Maybe the company that created PyTorch will be interested in porting to a new unsupported platform but that is highly unlikely. Most of us would like to "just focus" on what we need, but hey we all need to pay the bills, thus we are all in the same position of making choices where to invest our time for skills development and what might be the results :-) > And again : I don't work in any company,I'm not motivated enough even for= "intellectual" reasons. Get the right tool for the task. Just use the supported OS and the problem is be solved :-) Most of us are simply driven by a curiosity, on how / why things work, how to make things work, how to create new things, and we share what we do with the rest of the world.. the reason we do not know something is quite enough challenging motivation to get the required skills.. but hey there are only 24 hours in a single day :-) > Try to forget me for a while and try to reply to my question : who has mo= re responsibility in this kind of situation where there is something to do = to fill the gap between the pytorch and the freebsd developers ? thanks. With the non-technical explanations above I am sure you will now understand that "you are responsible to make things that you care about work" :-) Switch to supported OS to get things working out of the box :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info