From eaad6d472004c0d301135f3f25dce65e0542015b Mon Sep 17 00:00:00 2001 From: randaller Date: Sat, 4 Mar 2023 15:10:57 +0300 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5be95f4..0a80d0f 100755 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ This repository is intended as a minimal, hackable and readable example to load [LLaMA](https://ai.facebook.com/blog/large-language-model-llama-meta-ai/) ([arXiv](https://arxiv.org/abs/2302.13971v1)) models and run inference by using only CPU. Thus requires no videocard, but 64 (better 128 Gb) of RAM and modern processor is required. +### Conda Environment Setup Example for Windows 10+ +Download and install Anaconda Python https://www.anaconda.com +Run Anaconda prompt +``` +conda create -n llama python=3.10 +conda activate llama +conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia +``` + ### Setup In a conda env with pytorch / cuda available, run ```