Skip to content

Add configurable engine log level#8067

Open
sfc-gh-truwase wants to merge 3 commits into
masterfrom
engine-log-level
Open

Add configurable engine log level#8067
sfc-gh-truwase wants to merge 3 commits into
masterfrom
engine-log-level

Conversation

@sfc-gh-truwase

Copy link
Copy Markdown
Collaborator

Summary

  • Add a top-level log_level config option (string, default "WARNING").
  • Apply it during engine init via the already-upstream set_log_level_from_string helper, so DeepSpeed logger verbosity is config-driven instead of hard-coded.

Test plan

  • Init with log_level="ERROR" -> DeepSpeed logger level is ERROR.
  • Omit log_level -> defaults to WARNING (no change vs. today's effective verbosity).

Made with Cursor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 566214f3d2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread deepspeed/runtime/engine.py Outdated
@sfc-gh-truwase sfc-gh-truwase requested a review from loadams as a code owner June 23, 2026 17:29
sfc-gh-truwase and others added 3 commits June 23, 2026 19:29
Introduce a top-level "log_level" config option (default "WARNING") and apply
it during engine init via the existing set_log_level_from_string helper, so the
DeepSpeed logger verbosity is config-driven instead of hard-coded.

Signed-off-by: Olatunji Ruwase <tunji.ruwase@snowflake.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Olatunji Ruwase <tunji.ruwase@snowflake.com>
Signed-off-by: Olatunji Ruwase <tunji.ruwase@snowflake.com>
Verify init with log_level=ERROR sets the DeepSpeed logger to ERROR, and omitting
log_level leaves effective verbosity at WARNING (unchanged vs pre-config behavior).

Signed-off-by: Olatunji Ruwase <tunji.ruwase@snowflake.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Olatunji Ruwase <tunji.ruwase@snowflake.com>
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 this pull request may close these issues.

1 participant