DSPy: The framework for programming—not prompting—language models
Python
Bump gepa version - Fix unexpected dependencies being pulled from gepa, Add progress bar, Ensure failing metrics do not continue running (#8701)
Lakshya A Agrawal1967f4aaa8d1
diff --git a/dspy/teleprompt/gepa/gepa.py b/dspy/teleprompt/gepa/gepa.pyindex d5d060555..97090720e 100644--- a/dspy/teleprompt/gepa/gepa.py+++ b/dspy/teleprompt/gepa/gepa.py@@ -464,6 +464,8 @@ class GEPA(Teleprompter):wandb_api_key=self.wandb_api_key,wandb_init_kwargs=self.wandb_init_kwargs,track_best_outputs=self.track_best_outputs,+ display_progress_bar=True,+ raise_on_exception=True,# Reproducibilityseed=self.seed,diff --git a/pyproject.toml b/pyproject.tomlindex d5feea933..88009f0a6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -42,7 +42,7 @@ dependencies = ["rich>=13.7.1","numpy>=1.26.0","xxhash>=3.5.0",- "gepa[dspy]==0.0.4"+ "gepa[dspy]==0.0.7"][project.optional-dependencies]