Skip to content

Conversation

TomeHirata
Copy link
Collaborator

@TomeHirata TomeHirata commented Sep 26, 2025

Remove the _compiled field from DSPy modules, which has been used to specify whether a module has been optimized.

@okhat
Copy link
Collaborator

okhat commented Sep 26, 2025

I think we should actually do the opposite and probably remove that flag from everywhere..

@TomeHirata TomeHirata requested a review from okhat September 29, 2025 00:32
@TomeHirata
Copy link
Collaborator Author

TomeHirata commented Sep 29, 2025

@okhat that works too. I'm fine as long as the behavior is consistent, let's remove them entirely then. I filed this PR since we got a memory leak report when running MIPROV2.compile several times over the same program - which we need to fix separately.

@TomeHirata TomeHirata changed the title Attach _compiled=True in all optimizers Remove _compiled field of DSPy modules Sep 29, 2025
@TomeHirata TomeHirata changed the title Remove _compiled field of DSPy modules Remove _compiled field from DSPy modules Sep 29, 2025
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.

2 participants