Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ The following steps need to be done before running the code:
|
|
34 |
2. Fix a bug in `transformers/models/qwen2_vl/modeling_qwen2_vl.py` around line 1774
|
35 |
```
|
36 |
position_ids = position_ids.unsqueeze(0).expand(3, -1, -1)
|
37 |
-
#
|
38 |
if cache_position[0] != 0:
|
39 |
pixel_values = None
|
40 |
pixel_values_videos = None
|
|
|
34 |
2. Fix a bug in `transformers/models/qwen2_vl/modeling_qwen2_vl.py` around line 1774
|
35 |
```
|
36 |
position_ids = position_ids.unsqueeze(0).expand(3, -1, -1)
|
37 |
+
# change the if statement below to if cache_position is not None and cache_position[0] != 0:
|
38 |
if cache_position[0] != 0:
|
39 |
pixel_values = None
|
40 |
pixel_values_videos = None
|