Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 16:33:58 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        questions@freebsd.org, FreeBSD Mailing List <freebsd-hackers@freebsd.org>
Subject:   Re: Installing openAI's GPT-2 Ada AI Language Model
Message-ID:  <CAGBxaXm%2BSBaiKyvk28%2BKiO1bqP4gfFjMDZz3xB5wbexb6gJUvQ@mail.gmail.com>
In-Reply-To: <20230421134120.GA12251@darkbeer.org>
References:  <CAGBxaXmhRLk9Lx_ZHeRdoN-K2fRLEhY3cBVtBymmAjd4bBh1OQ@mail.gmail.com> <20230421134120.GA12251@darkbeer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 21, 2023 at 9:41=E2=80=AFAM Amar Takhar <verm@darkbeer.org> wro=
te:
>
> I have a tutorial I wrote on how to setup PyTorch on FreeBSD with Stable
> Diffusion.
>
>   https://github.com/verm/freebsd-stable-diffusion

Thanks for the pointer but it assumes I have a (nvidia) GPU available.
  Since this is a VM on bhyve there is no currently working GPU
passthrough for it.  (I do use a nVidia Geforce GT 1030 with
nvidia-modeselect but it is not passable to the VM and due to hardware
resources don't have a physical machine I can assign to the task).

I have gotten as far as the part in the blog as installing pyTorch and
keep getting "no compatible versions found" out of pip and when I
search for any suitable ones it seems to not be there.   Thus I have
to revert to building pytorch from scratch and it blows up because the
host/guest CPU is not Intel.

>
> There are some issues with getting PyTorch working on FreeBSD and it's ki=
nd of a
> moving target I had it working once but it quickly broke this was years a=
go
> using the Linuxlator it's been rock solid for years.
>
> Another thing to note is the miniconda-installer script is hardcoded to a=
n old
> version of Python you'll have to edit line 56 in the script and change it=
 to 3.9
> or 3.10.  Not sure what to do about this yet I haven't had a chance to em=
ail the
> maintainer.
>
> I'd recommend going this route.
>
>
> Amar.
>


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXm%2BSBaiKyvk28%2BKiO1bqP4gfFjMDZz3xB5wbexb6gJUvQ>