-
Notifications
You must be signed in to change notification settings - Fork 5
JIT-compile estimators entirely #570
Copy link
Copy link
Labels
⚙️ EnhancementImprovements and optimizations of existing featuresImprovements and optimizations of existing features❗ BehaviorChanges that may affect the framework outputChanges that may affect the framework output
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
⚙️ EnhancementImprovements and optimizations of existing featuresImprovements and optimizations of existing features❗ BehaviorChanges that may affect the framework outputChanges that may affect the framework output
Only the innermost lambdified callable is JIT-compiled today. The estimator wrapper — function calls over data and phase space, normalization, log/sum reductions — runs in Python, and
Estimator.gradientis re-traced on every call.Rebuild
ChiSquaredandUnbinnedNLLaround a pure core(parameters, data) → valuethat is compiled once (value and gradient) on backends that support it, with data arrays passed as runtime arguments so they are not baked into the trace.