You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Poetry should always be installed in a dedicated virtual environment to isolate it from the rest of your system. It should in no case be installed in the environment of the project that is to be managed by Poetry. This ensures that Poetry’s own dependencies will not be accidentally upgraded or uninstalled.
Copy file name to clipboardExpand all lines: README.md
-36Lines changed: 0 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,6 @@ This repo provides basic tuning scripts with support for specific models. The re
7
7
8
8
## Installation
9
9
10
-
11
-
### Most recent versions of python dependencies
12
-
13
-
If you want to use the most recent versions of python dependencies then use `pip`.
14
-
15
10
```
16
11
pip install -e .
17
12
```
@@ -34,37 +29,6 @@ pip install -e ".[fms-accel]"
34
29
```
35
30
`fms-acceleration` is a collection of plugins that packages that accelerate fine-tuning / training of large models, as part of the `fms-hf-tuning` suite. For more details on see [this section below](#fms-acceleration).
36
31
37
-
38
-
### Using versions of python dependencies that are known to be compatible with fms-hf-tuning
39
-
40
-
This repository uses [`poetry`](https://python-poetry.org/) for reproducible builds. You can use poetry to create the same virtual environment that we use for our CI/CD tests like so:
41
-
42
-
```
43
-
python -m venv venv
44
-
. ./venv/bin/activate
45
-
pip install poetry
46
-
47
-
poetry install
48
-
```
49
-
50
-
> Note: After installing, if you wish to use [FlashAttention](https://github.com/Dao-AILab/flash-attention), then you need to install these requirements:
51
-
52
-
```
53
-
poetry install --with dev,flash-attn
54
-
```
55
-
56
-
If you wish to use [aim](https://github.com/aimhubio/aim), then you need to install it:
57
-
```
58
-
poetry install --with aim
59
-
```
60
-
61
-
If you wish to use [fms-acceleration](https://github.com/foundation-model-stack/fms-acceleration), you need to install it.
62
-
```
63
-
poetry install --with fms-accel
64
-
```
65
-
`fms-acceleration` is a collection of plugins that packages that accelerate fine-tuning / training of large models, as part of the `fms-hf-tuning` suite. For more details on see [this section below](#fms-acceleration).
Copy file name to clipboardExpand all lines: build/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Building fms-hf-tuning as an Image
2
2
3
-
The Dockerfile provides a way of running fms-hf-tuning SFT Trainer. It installs the dependencies needed and adds two additional scripts that helps to parse arguments to pass to SFT Trainer. The accelerate_launch.py script is run by default when running the image to trigger SFT trainer for single or multi GPU by parsing arguments and running `accelerate launch launch_training.py`.
3
+
The Dockerfile provides a way of running fms-hf-tuning SFT Trainer. It installs the dependencies needed and adds two additional scripts that helps to parse arguments to pass to SFT Trainer. The `accelerate_launch.py` script is run by default when running the image to trigger SFT trainer for single or multi GPU by parsing arguments and running `accelerate launch launch_training.py`.
0 commit comments