Skip to content

Commit c0ebb5d

Browse files
docs: how to install optional dependency groups
Signed-off-by: Vassilis Vassiliadis <vassilis.vassiliadis@ibm.com>
1 parent cb44402 commit c0ebb5d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,24 @@ python3 -m venv venv
107107
poetry install --with dev
108108
```
109109

110+
111+
> Note: After installing, if you wish to use [FlashAttention](https://github.com/Dao-AILab/flash-attention), then you need to install these requirements:
112+
113+
```
114+
poetry install --with dev,flash-attn
115+
```
116+
117+
If you wish to use [aim](https://github.com/aimhubio/aim), then you need to install it:
118+
```
119+
poetry install --with aim
120+
```
121+
122+
If you wish to use [fms-acceleration](https://github.com/foundation-model-stack/fms-acceleration), you need to install it.
123+
```
124+
poetry install --with fms-accel
125+
```
126+
`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).
127+
110128
<details>
111129
<summary>Linting</summary>
112130

0 commit comments

Comments
 (0)