Skip to content
Snippets Groups Projects
Commit 1c473b6e authored by Matthias Reso's avatar Matthias Reso
Browse files

remove --find-links which is unsupported by packaging backends; Update...

remove --find-links which is unsupported by packaging backends; Update documentation how to retireve correct pytorch version
parent bf152a7d
No related branches found
No related tags found
No related merge requests found
......@@ -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/).
......
--index-url https://download.pytorch.org/whl/test/cu118 torch
torch>=2.0.1
accelerate
appdirs
loralib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment