From nobody Fri Apr 21 13:41:20 2023 X-Original-To: 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 4Q2wfb3ZNXz46RNv; Fri, 21 Apr 2023 13:41:27 +0000 (UTC) (envelope-from verm@darkbeer.org) Received: from mx.coeval.ca (mx.coeval.ca [184.75.211.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q2wfZ56n1z4CQr; Fri, 21 Apr 2023 13:41:26 +0000 (UTC) (envelope-from verm@darkbeer.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=darkbeer.org header.s=mail header.b=eUtXgzM0; spf=pass (mx1.freebsd.org: domain of verm@darkbeer.org designates 184.75.211.21 as permitted sender) smtp.mailfrom=verm@darkbeer.org; dmarc=none Received: from mx.darkbeer.org (unknown [192.168.211.20]) by mx.coeval.ca (Postfix) with ESMTP id B59AF43605C; Fri, 21 Apr 2023 13:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbeer.org; s=mail; t=1682084480; bh=w7FD2QITbIitxb2xiUM7IPOoVwjcvugNfhCj30MIDZ4=; h=Date:From:To:Subject:References:In-Reply-To; b=eUtXgzM0D7nmMkDjr16+HQVxLhRaoAVTXeKmlbbsOAQ6ci9l/7T3GdkZxOgenXg9v pp3ZDSn6mOrzOIAx18hXqB0hSdpb6Xhw+UHimF8HtGZ9JYlX7V/tTQm6yO5ZiN1bae +c0SVgDcYdqZ9E0mgcAHh64tiwdRUuSBxQ9hrsGA= Received: by mx.darkbeer.org (Postfix, from userid 1001) id B363E470C23; Fri, 21 Apr 2023 13:41:20 +0000 (UTC) Date: Fri, 21 Apr 2023 13:41:20 +0000 From: Amar Takhar To: questions@freebsd.org, FreeBSD Mailing List Subject: Re: Installing openAI's GPT-2 Ada AI Language Model Message-ID: <20230421134120.GA12251@darkbeer.org> Mail-Followup-To: questions@freebsd.org, FreeBSD Mailing List References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.978]; R_SPF_ALLOW(-0.20)[+ip4:184.75.211.21]; R_DKIM_ALLOW(-0.20)[darkbeer.org:s=mail]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[darkbeer.org:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:32489, ipnet:184.75.211.0/24, country:CA]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[darkbeer.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Q2wfZ56n1z4CQr X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I have a tutorial I wrote on how to setup PyTorch on FreeBSD with Stable Diffusion. https://github.com/verm/freebsd-stable-diffusion There are some issues with getting PyTorch working on FreeBSD and it's kind of a moving target I had it working once but it quickly broke this was years ago using the Linuxlator it's been rock solid for years. Another thing to note is the miniconda-installer script is hardcoded to an 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 email the maintainer. I'd recommend going this route. Amar.