From 1c473b6e7c9c253b16dea919fc2ece5e22f2debf Mon Sep 17 00:00:00 2001
From: Matthias Reso <13337103+mreso@users.noreply.github.com>
Date: Fri, 1 Sep 2023 18:56:37 +0000
Subject: [PATCH] remove --find-links which is unsupported by packaging
 backends; Update documentation how to retireve correct pytorch version

---
 README.md        | 4 ++--
 requirements.txt | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index d6fa9615..13d14122 100644
--- a/README.md
+++ b/README.md
@@ -27,13 +27,13 @@ Llama-recipes provides a pip distribution for easy install and usage in other pr
 
 ## Install with pip
 ```
-pip install llama-recipes
+pip install --extra-index-url https://download.pytorch.org/whl/test/cu118 llama-recipes
 ```
 ## Install from source
 To install from source e.g. for development use this command. We're using hatchling as our build backend which requires an up-to-date pip as well as setuptools package.
 ```
 pip install -U pip setuptools
-pip install -e .
+pip install -e --extra-index-url https://download.pytorch.org/whl/test/cu118 .
 ```
 ⚠️ **Note** ⚠️  Some features (especially fine-tuning with FSDP + PEFT) currently require PyTorch nightlies to be installed. Please make sure to install the nightlies if you're using these features following [this guide](https://pytorch.org/get-started/locally/).
 
diff --git a/requirements.txt b/requirements.txt
index ddda396d..5ce37523 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
---index-url https://download.pytorch.org/whl/test/cu118 torch 
+torch>=2.0.1
 accelerate
 appdirs
 loralib
-- 
GitLab