Skip to content

Duplicate UserWarning Logs for lightning-sdk Version Check #527

@deependujha

Description

@deependujha

🐛 Bug

While using either optimize or StreamingDataset, multiple logs for the same warning is shown. It should be at max one.

Image

To Reproduce

Use Optimize function when your machine's lightning-sdk is not the latest version.

Code sample
# Ideally attach a minimal code sample to reproduce the decried issue.
# Minimal means having the shortest code but still preserving the bug.

Expected behavior

Additional context

Environment detail
  • PyTorch Version (e.g., 1.0):
  • OS (e.g., Linux):
  • How you installed PyTorch (conda, pip, source):
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions