Skip to content

Commit

Permalink
add dummy vision and text transformer config (assumed mcore to be fal…
Browse files Browse the repository at this point in the history
…se) (#9699) (#9827)

* add dummy vision and text transformer config (assumed mcore to be false)



* Apply isort and black reformatting



---------

Signed-off-by: Rohit Jena <[email protected]>
Signed-off-by: rohitrango <[email protected]>
Co-authored-by: Rohit Jena <[email protected]>
  • Loading branch information
github-actions[bot] and rohitrango authored Jul 24, 2024
1 parent 1711334 commit 3885287
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@ def load_model(self, cfg, state_dict):
model_cfg=cfg,
model_parallel_config=ModelParallelConfig(),
padded_vocab_size=padded_vocab_size,
vision_transformer_config=None, # assumed mcore to be false
text_transformer_config=None,
pre_process=cfg.text.pre_process,
post_process=cfg.text.post_process,
)
Expand Down

0 comments on commit 3885287

Please sign in to comment.