Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 12:39:33 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-hackers@freebsd.org>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>, Yuri Victorovich <yuri@freebsd.org>
Subject:   Re: Installing openAI's GPT-2 Ada AI Language Model
Message-ID:  <CA%2B1FSiiyg8An7HwZrJOd=cKh1%2BNC-FMzgaQNfiHP9fkwpgbAEg@mail.gmail.com>
In-Reply-To: <CAGBxaXnEajP_NKdgDtreavm1Gz5jyLE8-jQBxM9ALX%2BQ9Cpidw@mail.gmail.com>
References:  <CAGBxaXmhRLk9Lx_ZHeRdoN-K2fRLEhY3cBVtBymmAjd4bBh1OQ@mail.gmail.com> <CA%2B1FSihQ-f4uhiOjYH8Wo=AxFEkAKe3NRDJdopgT50J=_jY4fA@mail.gmail.com> <CAGBxaXnYojzQJqO62hkzUJvD2rzaNp%2Bem38FgCqVSBu%2BmkBi9A@mail.gmail.com> <CA%2B1FSijpiko%2B%2B%2BwJuXo2GVV6sz3yGVi7ig0X3037%2B1zE3n91hg@mail.gmail.com> <CAGBxaX=OcaHEZk3S7jQeYW64A_iRNTmJ%2Bab4U7h_hsrG%2BQqQPg@mail.gmail.com> <ZEEnZjzDCtR_ZG4P@graf.pompo.net> <CAGBxaXmU=Ja9EkoMyxQ0cNxYB4BeiktqQ3P64QcWg%2B=xijTiyQ@mail.gmail.com> <CA%2B1FSii6OOwi%2B%2Bau-_9ViU_SMZ%2BGbESG5H0McVTHQUwmMnOJGQ@mail.gmail.com> <CAGBxaXkhC--ZppimDFabEwPhesjAJmrziNZm753eoyjy1sWzqg@mail.gmail.com> <CA%2B1FSijsSSpCFeKeaOt4gR36BAZ4J8j4QSJRJa-VF-a=J9e2uw@mail.gmail.com> <CAGBxaXnEajP_NKdgDtreavm1Gz5jyLE8-jQBxM9ALX%2BQ9Cpidw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <aryeh.friedman@gma=
il.com>
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 <marietto2008@gmai=
l.com>
> 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

<div dir=3D"ltr">You don&#39;t need bhyve to make that,but only the Linuxul=
ator. I don&#39;t think the type of cpu will make any difference. I&#39;ve =
used the Intel I9 cpu. I tried FreeBSD 13.1 and I haven&#39;t found problem=
s. For sure using python env is tricky,but if you have the thinkering attit=
ude,you will have some fun. <br></div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr" class=3D"gmail_attr">On Fri, Apr 21, 2023 at 12:26=E2=80=AFPM Ar=
yeh Friedman &lt;<a href=3D"mailto:aryeh.friedman@gmail.com">aryeh.friedman=
@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">The more I am fighting with it in linux (only thing there is doc=
s for)<br>
the more obvious it just doesn&#39;t work on<br>
<br>
On Fri, Apr 21, 2023 at 6:19=E2=80=AFAM Mario Marietto &lt;<a href=3D"mailt=
o:marietto2008@gmail.com" target=3D"_blank">marietto2008@gmail.com</a>&gt; =
wrote:<br>
&gt;<br>
&gt; Can&#39;t you install pytorch using the linux miniconda installer like=
 below ?<br>
&gt;<br>
&gt; # fetch <a href=3D"https://gist.githubusercontent.com/shkhln/40ef29046=
3e78fb2b0000c60f4ad797e/raw/f640983249607e38af405c95c457ce4afc85c608/uvm_io=
ctl_override.c" rel=3D"noreferrer" target=3D"_blank">https://gist.githubuse=
rcontent.com/shkhln/40ef290463e78fb2b0000c60f4ad797e/raw/f640983249607e38af=
405c95c457ce4afc85c608/uvm_ioctl_override.c</a><br>
&gt;<br>
&gt; # /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std=3Dc99 -W=
all -ldl -fPIC -shared -o dummy-uvm.so uvm_ioctl_override.c<br>
&gt;<br>
&gt; # pkg install linux-miniconda-installer<br>
&gt; # miniconda-installer<br>
&gt; # bash<br>
&gt; # source /home/marietto/miniconda3/etc/profile.d/conda.sh<br>
&gt; # conda activate<br>
&gt;<br>
&gt; (base) # conda activate pytorch<br>
&gt;<br>
Will this work a bhyve on an AMD Ryzen 5 host?=C2=A0 =C2=A0After playing wi=
th it<br>
in several linux instances I always get stuck when it can&#39;t find a<br>
compatible version<br>
<br>
-- <br>
Aryeh M. Friedman, Lead Developer, <a href=3D"http://www.PetiteCloud.org" r=
el=3D"noreferrer" target=3D"_blank">http://www.PetiteCloud.org</a><br>;
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></d=
iv>

--000000000000f8718305f9d647bc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiyg8An7HwZrJOd=cKh1%2BNC-FMzgaQNfiHP9fkwpgbAEg>