From nobody Fri Apr 21 10:39:33 2023 X-Original-To: freebsd-questions@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 4Q2rdQ6cWvz46F2j; Fri, 21 Apr 2023 10:40:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) (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 4Q2rdQ1LxDz3nR4; Fri, 21 Apr 2023 10:40:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=KuvfTvxp; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1131 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-54f8b46d031so16275637b3.3; Fri, 21 Apr 2023 03:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682073609; x=1684665609; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UOmwPFVI/uv2OqY4r7wB/WRY7PFWKe9qqzxcWh9m0zE=; b=KuvfTvxpiD6/Qnu4uxCSiGpnZdbGIy57LUxlnetGf0RfcPZG20RoF37I/9o20oGzE6 lu3miZrn5vC2AoPwEKkSVn1h/14IvlVjUM6Mwu4A/VWOp+cW2luZKl287KPKOdd5R3JN F5dC8vSNw3b6ZiMvlyTXFs3Nq7xFLtAuT1Z0hn0o5LVcQrqtdQ2O3dG23IZLOmFadT3w mFALtaY/ojstDLbSNMQo3eiTZ6tuNo6BSVkxWDzc7e4/r4CCMMwf8Ne4rMNjEIqrvhSp zRXYwjolVgG7P26f0AkGTaacnA6aH1UbgkKeWtTxXq1lFx9JrARxC6ak84XKCOlKGATj YQkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682073609; x=1684665609; h=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=UOmwPFVI/uv2OqY4r7wB/WRY7PFWKe9qqzxcWh9m0zE=; b=BTpmIm5LKeSKUar4Vd6OnZKRoQgrQr2w2s9g8xg17pBI1oyV7uY2rc/XOADyxcJBf7 tmQxr3Twg4MESfr1MwtTS7ncrNqBagqD+2jGwXrqbh4z+UGSxcqzRV51+p+hZe7utDJm 2g6d+uX021b7MwOEyXfycmpk9OGx8FkoUYUcfUVyaIlIztGGk3WX3A32EDrzQ7LRvSVm DIqJutjAxtYGb23hxQ8J89LpBHoljL8CqmzvcCyQ/5wWEHXZvLgmJx2giHdK1yb0O/Mt r0sOqFa2vae3FifX2UhiqUh7vrAOcRWDfo3cfWEZHgBCRu668qXbYV31N5BnQkxD0SYS zjYw== X-Gm-Message-State: AAQBX9c/O3C2ZaX9+bXLZ6nXGWpnjU4rqXaXOmAE2QBgFN8NaXpzfSDS vwFY0Zs5g6+KxHe1fqVTqYv7kOQhvduq8CuoXenkClBEzRY= X-Google-Smtp-Source: AKy350ZeN1ek1T8jMctPUm44lIyqcZLv6guI4g/L+aeTzR0gOWodK5zxAwonw3QMsc5vSnh8jwoZ+/dnQQOhraSFse0= X-Received: by 2002:a0d:fc86:0:b0:54f:b244:fef9 with SMTP id m128-20020a0dfc86000000b0054fb244fef9mr1932442ywf.0.1682073609333; Fri, 21 Apr 2023 03:40:09 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Fri, 21 Apr 2023 12:39:33 +0200 Message-ID: Subject: Re: Installing openAI's GPT-2 Ada AI Language Model To: Aryeh Friedman Cc: FreeBSD Mailing List , FreeBSD Mailing List , Yuri Victorovich Content-Type: multipart/alternative; boundary="000000000000f8718305f9d647bc" X-Spamd-Result: default: False [-2.81 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; NEURAL_SPAM_SHORT(0.19)[0.187]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1131:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-questions@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Q2rdQ1LxDz3nR4 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --000000000000f8718305f9d647bc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You don't need bhyve to make that,but only the Linuxulator. I don't think the type of cpu will make any difference. I've used the Intel I9 cpu. I tried FreeBSD 13.1 and I haven't found problems. For sure using python env is tricky,but if you have the thinkering attitude,you will have some fun. On Fri, Apr 21, 2023 at 12:26=E2=80=AFPM Aryeh Friedman wrote: > The more I am fighting with it in linux (only thing there is docs for) > the more obvious it just doesn't work on > > On Fri, Apr 21, 2023 at 6:19=E2=80=AFAM Mario Marietto > wrote: > > > > Can't you install pytorch using the linux miniconda installer like belo= w > ? > > > > # fetch > https://gist.githubusercontent.com/shkhln/40ef290463e78fb2b0000c60f4ad797= e/raw/f640983249607e38af405c95c457ce4afc85c608/uvm_ioctl_override.c > > > > # /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std=3Dc99 -Wa= ll > -ldl -fPIC -shared -o dummy-uvm.so uvm_ioctl_override.c > > > > # pkg install linux-miniconda-installer > > # miniconda-installer > > # bash > > # source /home/marietto/miniconda3/etc/profile.d/conda.sh > > # conda activate > > > > (base) # conda activate pytorch > > > Will this work a bhyve on an AMD Ryzen 5 host? After playing with it > in several linux instances I always get stuck when it can't find a > compatible version > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > --=20 Mario. --000000000000f8718305f9d647bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You don't need bhyve to make that,but only the Linuxul= ator. I don't think the type of cpu will make any difference. I've = used the Intel I9 cpu. I tried FreeBSD 13.1 and I haven't found problem= s. For sure using python env is tricky,but if you have the thinkering attit= ude,you will have some fun.

On Fri, Apr 21, 2023 at 12:26=E2=80=AFPM Ar= yeh Friedman <aryeh.friedman= @gmail.com> wrote:
The more I am fighting with it in linux (only thing there is doc= s for)
the more obvious it just doesn't work on

On Fri, Apr 21, 2023 at 6:19=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> = wrote:
>
> Can't you install pytorch using the linux miniconda installer like= below ?
>
> # fetch https://gist.githubuse= rcontent.com/shkhln/40ef290463e78fb2b0000c60f4ad797e/raw/f640983249607e38af= 405c95c457ce4afc85c608/uvm_ioctl_override.c
>
> # /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std=3Dc99 -W= all -ldl -fPIC -shared -o dummy-uvm.so uvm_ioctl_override.c
>
> # pkg install linux-miniconda-installer
> # miniconda-installer
> # bash
> # source /home/marietto/miniconda3/etc/profile.d/conda.sh
> # conda activate
>
> (base) # conda activate pytorch
>
Will this work a bhyve on an AMD Ryzen 5 host?=C2=A0 =C2=A0After playing wi= th it
in several linux instances I always get stuck when it can't find a
compatible version

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


--
Mario.
--000000000000f8718305f9d647bc--