dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Updating the DSPy program doesn't always trigger re-compilation on the next run

Open bjsi opened this issue 1 year ago • 3 comments

I noticed that if I update things like dspy.Suggests it doesn't seem to trigger re-compilation. It just uses the cached output from the last execution.

bjsi avatar Feb 04 '24 17:02 bjsi

Are you using the latest main branch? Or pypi?

okhat avatar Feb 04 '24 17:02 okhat

Ah yeah I'm using pypi. I'll switch to using the git repo 👍

bjsi avatar Feb 04 '24 17:02 bjsi

In general assertions are (for ~1 week from now) still fairly experimental. We're planning a big-ish release next week so with that it'll probably be possible to have things be a bit more smooth/ergonomic.

okhat avatar Feb 04 '24 18:02 okhat

I assume this is resolved but let us know if not

okhat avatar Feb 11 '24 22:02 okhat