Skip to content

Commit

Permalink
Feat: output logs on freezing models (#4165)
Browse files Browse the repository at this point in the history
`dp --pt freeze` does not output whether the operation finishes
successfully. This PR adds a log message on it.
  • Loading branch information
caic99 authored Sep 27, 2024
1 parent 0b3f860 commit ab48d90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepmd/pt/entrypoints/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def freeze(FLAGS):
FLAGS.output,
extra_files,
)
log.info(f"Saved frozen model to {FLAGS.output}")


def change_bias(FLAGS):
Expand Down

0 comments on commit ab48d90

Please sign in to comment.