Skip to content

Remove hardcoded DEBUG logging level in gpt_oss.py #15116

@Anushavasa15

Description

@Anushavasa15

Module-level logging.setLevel(logging.DEBUG) in gpt_oss.py causes excessive logging in production environments.

Location

nemo/collections/llm/gpt/model/gpt_oss.py (line 233)

Impact

  • Verbose logs in production
  • Potential performance impact
  • Hard to control logging behavior

Expected Behavior

  • Logging level should be configurable
  • Should respect global logging configuration
  • Use environment variables or config

Priority

Low (Performance/UX)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions