set dev version

Former-commit-id: b2fc7aeb03
This commit is contained in:
hiyouga
2024-05-16 02:17:31 +08:00
parent b5034f2b12
commit 93a289107b
4 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ USAGE = (
+ "-" * 70
)
VERSION = "0.7.1"
VERSION = "0.7.2.dev0"
WELCOME = (
"-" * 58

View File

@@ -76,7 +76,7 @@ def autocast_projector_dtype(
def configure_visual_model(config: "PretrainedConfig") -> None:
if getattr(config, "model_type", None) == "llava":
if getattr(config, "model_type", None) == "llava": # required for ds zero3 and valuehead models
setattr(config, "hidden_size", getattr(config.text_config, "hidden_size", None))
if getattr(config, "is_yi_vl_derived_model", None):