Skip to content

Commit

Permalink
neva eval script minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: HuiyingLi <[email protected]>
  • Loading branch information
HuiyingLi committed Apr 23, 2024
1 parent 10b607d commit b7ea29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def fwd_output_and_loss_func(dataloader_iter, model, checkpoint_activations_all_

def get_forward_output_only_func(self):
def fwd_output_only_func(dataloader_iter, model):
batch, _, _ = next(dataloader_iter)
batch = next(dataloader_iter)
extra_arg = {}
(
tokens,
Expand Down
2 changes: 1 addition & 1 deletion nemo/collections/multimodal/parts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def dummy():


def create_neva_model_and_processor(cfg):
from nemo.collections.multimodal.models.neva.neva_model import MegatronNevaModel
from nemo.collections.multimodal.models.multimodal_llm.neva.neva_model import MegatronNevaModel

plugins = []
if cfg.get('cluster_type', None) == 'BCP':
Expand Down

0 comments on commit b7ea29e

Please sign in to comment.