Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torch: print model at log verbosity 3 #1575

Open
NeoLegends opened this issue Jul 5, 2024 · 1 comment · May be fixed by #1576
Open

Torch: print model at log verbosity 3 #1575

NeoLegends opened this issue Jul 5, 2024 · 1 comment · May be fixed by #1576
Assignees

Comments

@NeoLegends
Copy link
Collaborator

I find log verbosity 3 a reasonable verbosity for "daily" work/trainings, but I'm missing the model structure in the log. This is because it's only printed at v4 level. Is there any good reason the log is not printed at v3?

See https://github.com/rwth-i6/returnn/blob/2c0b75c1c0c61732a12a175ac3cef433f0bea271/returnn/torch/engine.py#L865C53-L865C53

@NeoLegends NeoLegends self-assigned this Jul 5, 2024
NeoLegends added a commit that referenced this issue Jul 5, 2024
@NeoLegends NeoLegends linked a pull request Jul 5, 2024 that will close this issue
@albertz
Copy link
Member

albertz commented Jul 5, 2024

I find the model structure sth which you only really want to see on debugging. I rarely look at it. Or maybe only once when I wrote a new model, i.e. for most trainings, not at all. I actually considered removing it completely, or only printing it for verbosity level 5, or only under a given special flag, which would be disabled by default. Because it totally spams my log, and it's annoying to skip over it when I want to see the other things at startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants