Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into aot/bert-recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyoubi committed Jan 7, 2025
2 parents 85a8b13 + 0f08462 commit a33b89b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 95 deletions.
4 changes: 3 additions & 1 deletion nemo/lightning/io/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def analyze(config: fdl.Config, prefix: str):
for param in to_drop:
del config.__arguments__[param]
else:
logging.info(f"Skip analyzing {prefix} as it accepts arbitrary keyword arguments.")
logging.debug(f"Skip analyzing {prefix} as it accepts arbitrary keyword arguments.")

# Proceed recursively for all arguments
for key, value in config.__arguments__.items():
Expand Down Expand Up @@ -791,6 +791,8 @@ def load(path: Path, output_type: Type[CkptType] = Any, subpath: Optional[str] =
config = serialization.Deserialization(json_config).result
_artifact_transform_load(config, path)

drop_unexpected_params(config)

if not build:
return config

Expand Down
94 changes: 0 additions & 94 deletions scripts/llm/update_io_context.py

This file was deleted.

0 comments on commit a33b89b

Please sign in to comment.