Update Prerequisites
Browse files
README.md
CHANGED
|
@@ -145,8 +145,12 @@ All below evaluations are using Hit@1 metric.
|
|
| 145 |
The processor exposes `process_texts`, `process_images`, and `score_multi_vector`.
|
| 146 |
|
| 147 |
### Prerequisites
|
|
|
|
|
|
|
|
|
|
| 148 |
```bash
|
| 149 |
-
pip install torch transformers pillow requests
|
|
|
|
| 150 |
````
|
| 151 |
|
| 152 |
### Inference Code
|
|
|
|
| 145 |
The processor exposes `process_texts`, `process_images`, and `score_multi_vector`.
|
| 146 |
|
| 147 |
### Prerequisites
|
| 148 |
+
|
| 149 |
+
Note our model currently requires `flash-attn` to be installed. If you run into slow image encoding issue, please check whether `flash-attn` is installed properly.
|
| 150 |
+
|
| 151 |
```bash
|
| 152 |
+
pip install torch torchvision transformers pillow requests
|
| 153 |
+
pip install flash-attn --no-build-isolation
|
| 154 |
````
|
| 155 |
|
| 156 |
### Inference Code
|