From nobody Sat Nov 19 15:18:06 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 4NDy3T5LqZz4j3Zh for ; Sat, 19 Nov 2022 15:18:45 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 4NDy3S6zKbz3nFc for ; Sat, 19 Nov 2022 15:18:44 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=PNQnVD19; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x62b.google.com with SMTP id f27so19680227eje.1 for ; Sat, 19 Nov 2022 07:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=f3/cdbDrR81v0MHZqjcoKrXz0z2fb4Z0P0uWkadpSIE=; b=PNQnVD198GZlu6S1xKE/oIgj/9BjbmU+3km4nq9RChTaYOlxhLjGUJo9yDBdxB3n/9 3abKhYTKz0Iqro22QwJ3bXl6WL9fXQyE2eht0LSmg4C7bMiwNt6UgjqgLCqD/bQ9ih+v 3iXk3hfH/x5b4as87hWXlAVRNhueZAmjXUMPDxHh/SOrh2nRNylK9sitJ1s6T79EQMs7 4G3F8JuCYQa2Ndjq/4ToT3C/hMFvJLpCeID4J6McHmrOqSImJ5rl8e18wb85EkjQgF51 zcK10KO2wXYZTSPjuRTGzRLhrVktHpE74c6BzN03hfMXw6c6ZONddszScIu6M3Cd57kl 3tUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=f3/cdbDrR81v0MHZqjcoKrXz0z2fb4Z0P0uWkadpSIE=; b=Q2ukbDODEzvsc1yH5z/2d+qDCyuqH3uDw0/IbGcw137L+Zb19iUh468yDdCi7AaKYS ygzJCwJ9+5kqynhZ7dc/q8ZL1RiZTio6z4AjO+oLsiXNNYvzuVByRGbX5XULo/etkLWq XDd8Tt79dyIriCdDaqXQ3jIH5tqHe2IF9eYBvBxMyLrkd9QlqwHvKLBtXbvRVnZfOzPL 9EzNcYNhFI6KIzm7gkbR/UFkSr03yI2FelKJCojVuC5FG6+gJwkTRQld/zUCe+IBTRIB NFzyZBUZ2bTVDZDRMQaywzll3hpFT1v8giX45IESHBJAVkIFvM1qjpt45umWOGTX9EBi 4rxQ== X-Gm-Message-State: ANoB5pnWEcD9HQN0E8vIFFL8lmUEvKaRjLm9bjVtVxjsy9MXZoM+f52d kwnEkOXYImfeeRkjGg36VtZekyry5Gv3xdNrVIzxVHuafL4= X-Google-Smtp-Source: AA0mqf60vwje8o9Fe2CgJ5G+KP/8gJzVmZt/Xul5kZg25MyOXT5zrNXCvqaG5T+0AmXxF8O3GKSAL/s9B+RhJGcwViw= X-Received: by 2002:a17:907:c007:b0:78d:b371:16d4 with SMTP id ss7-20020a170907c00700b0078db37116d4mr9671571ejc.434.1668871122956; Sat, 19 Nov 2022 07:18:42 -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: In-Reply-To: From: Mario Marietto Date: Sat, 19 Nov 2022 16:18:06 +0100 Message-ID: Subject: =?UTF-8?Q?Fwd=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: ports@freebsd.org Content-Type: multipart/alternative; boundary="00000000000075b71905edd4561f" X-Spamd-Result: default: False [-2.70 / 15.00]; URI_COUNT_ODD(1.00)[19]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.87)[-0.867]; NEURAL_HAM_SHORT(-0.83)[-0.835]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[ports@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4NDy3S6zKbz3nFc X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --00000000000075b71905edd4561f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello to everyone. I=E2=80=99m trying to clone and install the =E2=80=9C*Stable Diffusion web = UI*=E2=80=9D on FreeBSD,following this mini tutorial : GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI This is what I came up with : [marietto@marietto ~/Desktop/Files]$ git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui [marietto@marietto ~/Desktop/Files]$ cd stable-diffusion-webui [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ sudo pkg install py39-pytorchvideo [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ mkdir venv [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ python3 -m venv= venv [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ . venv/bin/acti= vate (venv) [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ python3 -m pip install torch torchvision=3D=3D0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 Looking in indexes: https://pypi.org/simple,https:/download.pytorch.org/whl/cu113 ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch The script works up to a point and then devolves into stuff that I don=E2= =80=99t think has much to do with FreeBSD. The venv gets created and the failure doesn=E2=80=99t happen until the very end of the script (where the app woul= d take over). Also just activating the virtual environment and manually running [launch.py] seems to result in the same error, which really looks to be an issue with the world of python=E2=80=A6 https://pastebin.com/raw/jTNQ62dM Apparently it=E2=80=99s trying to install pytorch but can=E2=80=99t. I don= =E2=80=99t know what to do next. --=20 Mario. --00000000000075b71905edd4561f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello = to everyone.

I=E2=80=99m trying to clone and install the =E2=80=9CStable Diffusion= web UI=E2=80=9D on FreeBSD,following this mini tutorial :


=


GitHub - AUTOMATI= C1111/stable-diffusion-webui: Stable Diffusion web UI

=20
=20 =20


This is what I came up with :


[marietto@marietto ~/Desktop/Fil=
es]$ git clone https://github.com/AUTOM=
ATIC1111/stable-diffusion-webui

[marietto@marietto ~/Desktop/Files]$=
 cd stable-diffusion-webui

[marietto@marietto ~/Desktop/Files/s=
table-diffusion-webui]$ sudo pkg install py39-pytorchvideo

[marietto@marietto ~/Desktop/Files/s=
table-diffusion-webui]$ mkdir venv

[marietto@marietto ~/Desktop/Files/s=
table-diffusion-webui]$ python3 -m venv venv

[marietto@marietto ~/Desktop/Files/s=
table-diffusion-webui]$ . venv/bin/activate

(venv) [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ python3 -m pip install torch torchvision=3D=
=3D0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113

Looking in indexes: https://pypi.org/simple,https:/download.pytorch.org/whl/=
cu113

ERROR: Could not find a version that satisfies th=
e requirement torch (from versions: none)

ERROR: No matching distribution found for torch


The script works up to a point and then devolves into stuff t= hat I=20 don=E2=80=99t think has much to do with FreeBSD. The venv gets created and = the=20 failure doesn=E2=80=99t happen until the very end of the script (where the = app=20 would take over).

Also just activating the virtual environment and manually running=20 [launch.py] seems to result in the same error, which really looks to be=20 an issue with the world of python=E2=80=A6

https://pastebin.com/raw/jTNQ62dM

Apparently it=E2=80=99s trying to install pytorch but can=E2=80=99t. I d= on=E2=80=99t know what to do next.

--
Mario.
--00000000000075b71905edd4561f--