Upload llava_llama.py
Browse files- llava_llama.py +1 -1
llava_llama.py
CHANGED
|
@@ -1209,7 +1209,7 @@ class LlavaMetaModel(ABC):
|
|
| 1209 |
# print(llm_cfg, vision_tower_cfg, mm_projector_cfg); input("DEBUG load_pretrained")
|
| 1210 |
with ContextManagers(
|
| 1211 |
[
|
| 1212 |
-
no_init_weights(
|
| 1213 |
]
|
| 1214 |
):
|
| 1215 |
vlm = cls(config, *args, **kwargs)
|
|
|
|
| 1209 |
# print(llm_cfg, vision_tower_cfg, mm_projector_cfg); input("DEBUG load_pretrained")
|
| 1210 |
with ContextManagers(
|
| 1211 |
[
|
| 1212 |
+
no_init_weights(),
|
| 1213 |
]
|
| 1214 |
):
|
| 1215 |
vlm = cls(config, *args, **kwargs)
|