From nobody Fri Apr 21 12:30:30 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 4Q2v5T0PBKz46MNF; Fri, 21 Apr 2023 12:31:09 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 4Q2v5R3xShz421Q; Fri, 21 Apr 2023 12:31:07 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b="JKF+6v/P"; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-54f8d59a8a9so18902807b3.0; Fri, 21 Apr 2023 05:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682080267; x=1684672267; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p0ULUHHGYhNxFYEUXDyU8Hzzpd++zJK4tB5OuP7DD9U=; b=JKF+6v/PJ+unPoHBL23xLNp/tsuQMpIgCvJSTTrgtKSh0O/nyfnHAXN8vkekRmi2I2 ExMs1mlRU3k1vSS2sWp1adlQ0WB1iwIGsFvHGxqW3SLabAqf4kHw5TXqKR3sKQUaf6By 8Fr+gkKaThk0rMmCyccOFrJ+pcBclzgLxjAymwkY7wPZT5KK2VO/vPai3JMmhQ2C4CtK xo8yOyyyw64ZF1GJbxBLkHvk3skrHLI80HFM0SH94dLxER6KmhbONHwrD3l4mZwRNkPU nxYPyoOGweM4iRLjjf9piDBfcaFCXSQG5brCpXa29vSfS5JB7LSKc8Jxo3iLzraik+QO B/3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682080267; x=1684672267; 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=p0ULUHHGYhNxFYEUXDyU8Hzzpd++zJK4tB5OuP7DD9U=; b=W6JOh97sS3vQCSwASsnOk8tufDCCA1Dz1BrW3m5n3sPXHYrTh8vKUI5u+SiCpKBsdf LebKZfSwk51Rg+zR0qf0KPq9TiANlvdCGi5jHK2apKI8WxpYs1LlKJ2lN/Z7URJ1bNO7 p+Kpe0UNLauR8nJHZp1cbxLDj3XblfwJlBEyz+Xoee1sVjjWWlqPwOYYhlQbqbKKYrB8 rJqw+nCfxt2VPxoNm79uLLmFBPR3KLkQUZi0gQpCE3XHkQjBW20VMTWKQS8fmSk46H4J Rp7cHTKf3gywsGGlm4PiEgOeZziH0nxT3QpXRTYrNxNj4DF0tjhEdVsA3BtsbI0mMWji /KGQ== X-Gm-Message-State: AAQBX9c8exKqd954wX15xVCE2zyqwz9p2C+DFsJj+lyCgDW8uRla0GHH M+Glc03j3T1XKI/Igt4GQNI9Z/HOiNhqT51yYg/DCRm4vAlDBQ== X-Google-Smtp-Source: AKy350aapNkXU9OnCwAe57qm2A4gYpE53Xd8fr+w4JrbMl/8nz+AR3sP0OyC8O36gq5v4e+tJXCWTtqGgBEwHbWh+Q4= X-Received: by 2002:a0d:fe03:0:b0:54b:fc6c:d220 with SMTP id o3-20020a0dfe03000000b0054bfc6cd220mr1444241ywf.15.1682080266414; Fri, 21 Apr 2023 05:31:06 -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 14:30:30 +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="000000000000c36d1205f9d7d421" X-Spamd-Result: default: False [-3.74 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.74)[-0.736]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1130:from]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::1130:server fail]; 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: 4Q2v5R3xShz421Q X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000c36d1205f9d7d421 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you don't want to use the GPU,the commands should be more or less the following : sudo touch /usr/local/etc/rc.d/ubuntu && chmod +x /usr/local/etc/rc.d/ubunt= u # Make it have this content: #!/bin/sh # # PROVIDE: ubuntu # REQUIRE: archdep mountlate # KEYWORD: nojail # # This is a modified version of /etc/rc.d/linux # Based on the script by mrclksr: # https://github.com/mrclksr/linux-browser-installer/blob/main/rc.d/ubuntu.= in # . /etc/rc.subr name=3D"ubuntu" desc=3D"Enable Ubuntu chroot, and Linux ABI" rcvar=3D"ubuntu_enable" start_cmd=3D"${name}_start" stop_cmd=3D":" unmounted() { [ `stat -f "%d" "$1"` =3D=3D `stat -f "%d" "$1/.."` -a \ `stat -f "%i" "$1"` !=3D `stat -f "%i" "$1/.."` ] } ubuntu_start() { local _emul_path _tmpdir load_kld -e 'linux(aout|elf)' linux case `sysctl -n hw.machine_arch` in amd64) load_kld -e 'linux64elf' linux64 ;; esac if [ -x /compat/ubuntu/sbin/ldconfigDisabled ]; then _tmpdir=3D`mktemp -d -t linux-ldconfig` /compat/ubuntu/sbin/ldconfig -C ${_tmpdir}/ld.so.cache if ! cmp -s ${_tmpdir}/ld.so.cache /compat/ubuntu/etc/ld.so.cache; = then cat ${_tmpdir}/ld.so.cache > /compat/ubuntu/etc/ld.so.cache fi rm -rf ${_tmpdir} fi # Linux uses the pre-pts(4) tty naming scheme. load_kld pty # Handle unbranded ELF executables by defaulting to ELFOSABI_LINUX. if [ `sysctl -ni kern.elf64.fallback_brand` -eq "-1" ]; then sysctl kern.elf64.fallback_brand=3D3 > /dev/null fi if [ `sysctl -ni kern.elf32.fallback_brand` -eq "-1" ]; then sysctl kern.elf32.fallback_brand=3D3 > /dev/null fi sysctl compat.linux.emul_path=3D/compat/ubuntu _emul_path=3D"/compat/ubuntu" unmounted "${_emul_path}/dev" && (mount -o nocover -t devfs devfs "${_emul_path}/dev" || exit 1) unmounted "${_emul_path}/dev/fd" && (mount -o nocover,linrdlnk -t fdescfs fdescfs "${_emul_path}/dev/fd" || exit 1) unmounted "${_emul_path}/dev/shm" && (mount -o nocover,mode=3D1777 -t tmpfs tmpfs "${_emul_path}/dev/shm" || exit 1) unmounted "${_emul_path}/home" && (mount -t nullfs /home "${_emul_path}/home" || exit 1) unmounted "${_emul_path}/proc" && (mount -o nocover -t linprocfs linprocfs "${_emul_path}/proc" || exit 1) unmounted "${_emul_path}/sys" && (mount -o nocover -t linsysfs linsysfs "${_emul_path}/sys" || exit 1) unmounted "${_emul_path}/tmp" && (mount -t nullfs /tmp "${_emul_path}/tmp" || exit 1) unmounted /dev/fd && (mount -o nocover -t fdescfs fdescfs /dev/fd || ex= it 1) unmounted /proc && (mount -o nocover -t procfs procfs /proc || exit 1) true } load_rc_config $name run_rc_command "$1" sysrc ubuntu_enable=3DYES # Create necessary mount points for a working Linuxulator: mkdir -p {/compat/ubuntu/dev/fd,/compat/ubuntu/dev/shm,/compat/ubuntu/home,= /compat/ubuntu/tmp,/compat/ubuntu/proc,/compat/ubuntu/sys} # Start Ubuntu service: service ubuntu start # Install needed packages: pkg install debootstrap pulseaudio # Install Ubuntu 20.04 into /compat/ubuntu: debootstrap --arch=3Damd64 --no-check-gpg focal /compat/ubuntu # Restart Ubuntu service to make sure everything is properly mounted: service ubuntu restart # Fix broken symlink: cd /compat/ubuntu/lib64/ && rm ./ld-linux-x86-64.so.2 ; ln -s ../lib/x86_64-linux-gnu/ld-2.31.so ld-linux-x86-64.so.2 # Chroot into your Linux environment: chroot /compat/ubuntu /bin/bash # Set correct timezone inside your chroot: printf "%b\n" "0.0 0 0.0\n0\nUTC" > /etc/adjtime sudo dpkg-reconfigure tzdata # For some reason sudo is necessary here, otherwise it fails. # Fix APT package manager: printf "APT::Cache-Start 251658240;" > /etc/apt/apt.conf.d/00aptitude # Enable more repositories: printf "deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse" > /etc/apt/sources.list # Install required programs: apt update ; apt install -y apt-transport-https curl fonts-symbola gnupg pulseaudio build-essential gcc gfortran # Exit out of chroot exit # Fix x86_64-linux-gnu libraries path between ubuntu and freebsd cp -r /compat/ubuntu/usr/lib/x86_64-linux-gnu /lib --> Installing PyTorch and your chatgpt github fork on FreeBSD # fetch https://gist.githubusercontent.com/shkhln/40ef290463e78fb2b0000c60f= 4ad797e/raw/f640983249607e38af405c95c457ce4afc85c608/uvm_ioctl_override.c # /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std=3Dc99 -Wall -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 (pytorch) # conda activate (base) # conda activate (base) # git clone your chatgpt github fork On Fri, Apr 21, 2023 at 1:34=E2=80=AFPM Aryeh Friedman wrote: > On Fri, Apr 21, 2023 at 6:40=E2=80=AFAM Mario Marietto > wrote: > > > > 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 cp= u. > 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. > > I already have a VM allocated on it (the same host has 3 other VM's on > it). I guess that is one thing I missed was the linuxulator (the > linsuckslator is more like it) and as far tinkering goes it is fine to > a point but not when it has taken *DAYS* away from paying projects (I > am a freelancer). > > BTW I will be trying your specific command lines tomorrow (I must get > back to paid work). > > P.S. The point of this project is to start a new project called > babySpock that is a personal assistant for me and my programming > partner/wife in all but legal detail. babySpock will hopefully be > able to help with pair programming/design brainstorming, general > clerical office tasks, be a halfway decent conversation partner > (roughly on or near the level of chatGPT which inspired this project > in the first place in order to increase the amount of "context" that > it could store and to slice and dice context as needed to feed the > more expensive models just relevant context as well use multiple > models.... basically a DIY hobbyist AM (artificial mind with the final > goal being artificial mature minds [AMM] instead of AGI due to the > rule making paradox) lab that has to "earn its own way in life" (i.e. > if it is not useful it will likely die from misuse). > > > > > On Fri, Apr 21, 2023 at 12:26=E2=80=AFPM Aryeh Friedman < > aryeh.friedman@gmail.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 > wrote: > >> > > >> > Can't you install pytorch using the linux miniconda installer like > below ? > >> > > >> > # 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 = -Wall > -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 > > > > > > > > -- > > Mario. > > > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > --=20 Mario. --000000000000c36d1205f9d7d421 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you don't want to use the GPU,the=
 commands should be more or less the following :


sudo touch /usr= /local/etc/rc.d/ubuntu && chmod +x /usr/local/etc/rc.d/ubuntu # Make it have this content: #!/bin/sh # # PROVIDE: ubuntu # REQUIRE: archdep mountlate # KEYWORD: nojail # # This is a modified version of /etc/rc.d/linux # Based on the script by mrclksr: # https://github.com/mrclksr/linux-browser-installer/blob/main= /rc.d/ubuntu.in # . /etc/rc.subr name=3D"ubuntu" desc=3D"Enable Ubuntu chroot, and Linux ABI" rcvar=3D"ubuntu_enable" start_cmd=3D"${name}_start" stop_cmd=3D":" unmounted() { [ `stat -f "%d" "$1"` =3D=3D `stat -f "%d"= ; "$1/.."` -a \ `stat -f "%i" "$1"` !=3D `stat -f "%i" = "$1/.."` ] } ubuntu_start() { local _emul_path _tmpdir load_kld -e 'linux(aout|elf)' linux case `sysctl -n hw.machine_arch` in amd64) load_kld -e 'linux64elf' linux64 ;; esac if [ -x /compat/ubuntu/sbin/ldconfigDisabled ]; then _tmpdir=3D`mktemp -d -t linux-ldconfig` /compat/ubuntu/sbin/ldconfig -C ${_tmpdir}/ld.so.cache if ! cmp -s ${_tmpdir}/ld.so.cache /compat/ubuntu/etc/ld.so.cache; = then cat ${_tmpdir}/ld.so.cache > /compat/ubuntu/etc/ld.so.cache fi rm -rf ${_tmpdir} fi # Linux uses the pre-pts(4) tty naming scheme. load_kld pty # Handle unbranded ELF executables by defaulting to ELFOSABI_LINUX. if [ `sysctl -ni kern.elf64.fallback_brand` -eq "-1" ]; then sysctl kern.elf64.fallback_brand=3D3 > /dev/null fi if [ `sysctl -ni kern.elf32.fallback_brand` -eq "-1" ]; then sysctl kern.elf32.fallback_brand=3D3 > /dev/null fi sysctl compat.linux.emul_path=3D/compat/ubuntu _emul_path=3D"/compat/ubuntu" unmounted "${_emul_path}/dev" && (mount -o nocover -t= devfs devfs "${_emul_path}/dev" || exit 1) unmounted "${_emul_path}/dev/fd" && (mount -o nocover= ,linrdlnk -t fdescfs fdescfs "${_emul_path}/dev/fd" || exit 1) unmounted "${_emul_path}/dev/shm" && (mount -o nocove= r,mode=3D1777 -t tmpfs tmpfs "${_emul_path}/dev/shm" || exit 1) unmounted "${_emul_path}/home" && (mount -t nullfs /h= ome "${_emul_path}/home" || exit 1) unmounted "${_emul_path}/proc" && (mount -o nocover -= t linprocfs linprocfs "${_emul_path}/proc" || exit 1) unmounted "${_emul_path}/sys" && (mount -o nocover -t= linsysfs linsysfs "${_emul_path}/sys" || exit 1) unmounted "${_emul_path}/tmp" && (mount -t nullfs /tm= p "${_emul_path}/tmp" || exit 1) unmounted /dev/fd && (mount -o nocover -t fdescfs fdescfs /dev/= fd || exit 1) unmounted /proc && (mount -o nocover -t procfs procfs /proc || = exit 1) true } load_rc_config $name run_rc_command "$1" sysrc ubuntu_enable=3DYES # Create necessary mount points for a working Linuxulator: mkdir -p {/compat/ubuntu/dev/fd,/compat/ubuntu/dev/shm,/compat/ubuntu/home,= /compat/ubuntu/tmp,/compat/ubuntu/proc,/compat/ubuntu/sys} # Start Ubuntu service: service ubuntu start # Install needed packages: pkg install debootstrap pulseaudio # Install Ubuntu 20.04 into /compat/ubuntu: debootstrap --arch=3Damd64 --no-check-gpg focal /compat/ubuntu # Restart Ubuntu service to make sure everything is properly mounted: service ubuntu restart # Fix broken symlink: cd /compat/ubuntu/lib64/ && rm ./ld-linux-x86-64.so.2 ; ln -s ../li= b/x86_64-linux-gnu/ld-2.31.so ld-linux-x8= 6-64.so.2 # Chroot into your Linux environment: chroot /compat/ubuntu /bin/bash # Set correct timezone inside your chroot: printf "%b\n" "0.0 0 0.0\n0\nUTC" > /etc/adjtime sudo dpkg-reconfigure tzdata # For some reason sudo is necessary here, othe= rwise it fails. # Fix APT package manager: printf "APT::Cache-Start 251658240;" > /etc/apt/apt.conf.d/00a= ptitude # Enable more repositories: printf "deb http://archi= ve.ubuntu.com/ubuntu/ focal main restricted universe multiverse" &= gt; /etc/apt/sources.list # Install required programs:
apt update ; apt install -y apt-transport-https curl fonts-symbola gnup= g pulseaudio build-essential gcc gfortran # Exit out of chroot exit # Fix x86_64-linux-gnu libraries path between ubuntu and freebsd cp -r /compat/ubuntu/usr/lib/x86_64-linux-gnu /lib


--> Installing PyTorch and your chatgpt github fork on FreeBSD


# fetch https://gist.githubusercontent.com/shkhln/40ef290463e78fb2b0000c60f4ad797e=
/raw/f640983249607e38af405c95c457ce4afc85c608/uvm_ioctl_override.c

# /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std=3Dc99 -Wall -=
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

(pytorch) # conda activate

(base) # conda activate

(base) # git clone your chatgpt github fork

On Fri, Apr 21, 2023 at 1:34=E2=80=AFPM Aryeh Friedman <aryeh.friedman@gmail.com> w= rote:
On Fri, Ap= r 21, 2023 at 6:40=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
>
> You don't need bhyve to make that,but only the Linuxulator. I don&= #39;t think the type of cpu will make any difference. I've used the Int= el 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.

I already have a VM allocated on it (the same host has 3 other VM's on<= br> it).=C2=A0 =C2=A0I guess that is one thing I missed was the linuxulator (th= e
linsuckslator is more like it) and as far tinkering goes it is fine to
a point but not when it has taken *DAYS* away from paying projects (I
am a freelancer).

BTW I will be trying your specific command lines tomorrow (I must get
back to paid work).

P.S. The point of this project is to start a new project called
babySpock that is a personal assistant for me and my programming
partner/wife in all but legal detail.=C2=A0 babySpock will hopefully be
able to help with pair programming/design brainstorming, general
clerical office tasks, be a halfway decent conversation partner
(roughly on or near the level of chatGPT which inspired this project
in the first place in order to increase the amount of "context" t= hat
it could store and to slice and dice context as needed to feed the
more expensive models just relevant context as well use multiple
models.... basically a DIY hobbyist AM (artificial mind with the final
goal being artificial mature minds [AMM] instead of AGI due to the
rule making paradox) lab that has to "earn its own way in life" (= i.e.
if it is not useful it will likely die from misuse).

>
> On Fri, Apr 21, 2023 at 12:26=E2=80=AFPM Aryeh Friedman <aryeh.friedman@gmail.co= m> 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@gmail.com= > wrote:
>> >
>> > Can't you install pytorch using the linux miniconda insta= ller like below ?
>> >
>> > # fetch https://gist.= githubusercontent.com/shkhln/40ef290463e78fb2b0000c60f4ad797e/raw/f64098324= 9607e38af405c95c457ce4afc85c608/uvm_ioctl_override.c
>> >
>> > # /compat/ubuntu/bin/gcc --sysroot=3D/compat/ubuntu -m64 -std= =3Dc99 -Wall -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 p= laying with it
>> in several linux instances I always get stuck when it can't fi= nd a
>> compatible version
>>
>> --
>> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org=
>
>
>
> --
> Mario.



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


--
Mario.
--000000000000c36d1205f9d7d421--