Skip to content

Commit 0f2f7b2

Browse files
committed
Bump version to v1.5.0
1 parent bd0c0be commit 0f2f7b2

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

INSTALLATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
mim install mmcv-full==1.6.2 # (optional, for mmsegmentation)
4747
```
4848

49-
- Install `transformers==4.36.2`:
49+
- Install `transformers==4.37.2`:
5050

5151
```bash
52-
pip install transformers==4.36.2
52+
pip install transformers==4.37.2
5353
```
5454

5555
- Install `apex` (optional):

internvl_chat/internvl/train/internvl_chat_finetune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
from transformers.utils.logging import (enable_default_handler,
4343
enable_explicit_format, set_verbosity)
4444

45-
# Upgrade transformers to v4.36.2, we don't need it anymore
45+
# Upgrade transformers to v4.37.2, we don't need it anymore
4646
# replace_llama2_attn_with_flash_attn()
4747
replace_llama_rmsnorm_with_fused_rmsnorm()
4848
replace_train_sampler()

internvl_chat/internvl/train/internvl_chat_pretrain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
from transformers.utils.logging import (enable_default_handler,
4444
enable_explicit_format, set_verbosity)
4545

46-
# Upgrade transformers to v4.36.2, we don't need it anymore
46+
# Upgrade transformers to v4.37.2, we don't need it anymore
4747
# replace_llama2_attn_with_flash_attn()
4848
replace_llama_rmsnorm_with_fused_rmsnorm()
4949
replace_train_sampler()

internvl_chat/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "internvl_chat"
7-
version = "1.2.3"
7+
version = "1.5.0"
88
description = "Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Tasks."
99
readme = "README.md"
1010
requires-python = ">=3.8"
@@ -14,7 +14,7 @@ classifiers = [
1414
]
1515
dependencies = [
1616
"torch==2.0.1", "torchvision==0.15.2",
17-
"transformers==4.36.2", "tokenizers==0.15.1", "sentencepiece==0.1.99", "shortuuid",
17+
"transformers==4.37.2", "tokenizers==0.15.1", "sentencepiece==0.1.99", "shortuuid",
1818
"accelerate", "peft>=0.4.0", "bitsandbytes==0.41.0",
1919
"pydantic<2,>=1", "markdown2[all]", "numpy", "scikit-learn>=1.2.2",
2020
"gradio==3.35.2", "gradio_client==0.2.9",

internvl_chat_llava/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We mainly use the LLaVA codebase to evaluate InternVL in creating multimodal dia
66

77
We have retained the original documentation of LLaVA 1.5 as a more detailed manual. In most cases, you will only need to refer to the new documentation that we have added.
88

9-
> Note: To unify the environment across different tasks, we have made some compatibility modifications to the LLaVA code, allowing it to support `transformers==4.36.2` (originally locked at 4.31.0). Please note that `transformers==4.36.2` should be installed.
9+
> Note: To unify the environment across different tasks, we have made some compatibility modifications to the LLaVA code, allowing it to support `transformers==4.37.2` (originally locked at 4.31.0). Please note that `transformers==4.37.2` should be installed.
1010
1111
## 🛠️ Installation
1212

internvl_chat_llava/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ classifiers = [
1414
]
1515
dependencies = [
1616
"torch==2.0.1", "torchvision==0.15.2",
17-
"transformers==4.36.2", "tokenizers==0.15.1", "sentencepiece==0.1.99", "shortuuid",
17+
"transformers==4.37.2", "tokenizers==0.15.1", "sentencepiece==0.1.99", "shortuuid",
1818
"accelerate", "peft>=0.4.0", "bitsandbytes==0.41.0",
1919
"pydantic<2,>=1", "markdown2[all]", "numpy", "scikit-learn>=1.2.2",
2020
"gradio==3.35.2", "gradio_client==0.2.9",

0 commit comments

Comments
 (0)