Skip to content

Commit 9b2bfb6

Browse files
authored
Update phi3 lora example documentation
Differential Revision: D61141396 Pull Request resolved: #4670
1 parent d53f8fa commit 9b2bfb6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

examples/models/phi3-mini-lora/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ In this exmaple, we export a model ([phi-3-mini](https://github.com/pytorch/exec
55
### Step 1: [Optional] Install ExecuTorch dependencies
66
`./install_requirements.sh` in ExecuTorch root directory.
77

8-
### Step 2: Install TorchTune nightly
9-
The LoRA model used is recent and is not yet officially released on `TorchTune`. To be able to run this example, you will need to run the following to install TorchTune nighly:
10-
- `./examples/models/llava_encoder/install_requirements.sh`'
8+
### Step 2: Install Requirements
9+
- `./examples/models/phi3-mini-lora/install_requirements.sh`
1110

1211
### Step 3: Export and run the model
1312
1. Export the model to ExecuTorch.

examples/models/phi3-mini-lora/install_requirements.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# Install nightly build of TorchTune.
9-
pip install --pre torchtune --extra-index-url https://download.pytorch.org/whl/nightly/cpu --no-cache-dir
8+
pip install torchvision
9+
pip install torchtune
1010
pip install tiktoken

0 commit comments

Comments
 (0)