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

Add support for Comet experiment data flush after saving checkpoint into CometLogger #20681

Open
yaricom opened this issue Mar 27, 2025 · 1 comment · May be fixed by #20680
Open

Add support for Comet experiment data flush after saving checkpoint into CometLogger #20681

yaricom opened this issue Mar 27, 2025 · 1 comment · May be fixed by #20680
Labels
feature Is an improvement or enhancement needs triage Waiting to be triaged by maintainers

Comments

@yaricom
Copy link

yaricom commented Mar 27, 2025

Description & Motivation

Periodic flushing of Comet experiment data by CometLogger is sometimes necessary to ensure all metrics and data remain up to date in the Comet UI and aligned with saved model checkpoints. Some users accomplish this by creating custom Callbacks, though this approach can be rather cumbersome.

Pitch

It is proposed to enhance the CometLogger implementation to support flushing collected data to Comet after each checkpoint is saved. This would be configurable via the flush_every parameter of the CometLogger.

This improvement allows users to manage Comet experiment flushing using the standard PyTorch Lightning approach by registering appropriate ModelCheckpoint callbacks with the Trainer.

Alternatives

No response

Additional context

No response

cc @lantiga @Borda

@yaricom yaricom added feature Is an improvement or enhancement needs triage Waiting to be triaged by maintainers labels Mar 27, 2025
@yaricom
Copy link
Author

yaricom commented Mar 27, 2025

The PR with implementation: #20680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is an improvement or enhancement needs triage Waiting to be triaged by maintainers
Projects
None yet
1 participant