Skip to content

[Feature] Add a monitoring callback to MIPROv2 #7958

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

Open
1 of 2 tasks
dsblank opened this issue Mar 14, 2025 · 2 comments
Open
1 of 2 tasks

[Feature] Add a monitoring callback to MIPROv2 #7958

dsblank opened this issue Mar 14, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@dsblank
Copy link

dsblank commented Mar 14, 2025

What feature would you like to see?

I'd like to have the ability for online monitoring of an optimizer. I guess I could add a logger, but that seems a roundabout way and requires parsing the log messages.

If there is not a better way, I'd be glad to make a PR to add a callback parameter to the class and call it when things like scores are computed and logged.

Also, I don't know if it is possible to get learned internal details like:

Image

But if we can use the callback to log such details, that would also be great in monitoring and understanding the optimizer.

Would you like to contribute?

  • Yes, I'd like to help implement this.
  • No, I just want to request it.

Additional Context

No response

@dsblank dsblank added the enhancement New feature or request label Mar 14, 2025
@dsblank
Copy link
Author

dsblank commented Mar 24, 2025

Am I missing something, or would this be a good way to monitor the MIPRO processing?

@TomeHirata
Copy link
Collaborator

Hi, @dsblank. Thank you for the feature request. We are working on improving the traceability of DSPy optimizers, which will be released soon.

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

No branches or pull requests

2 participants