Skip to content

JIT-compile estimators entirely #570

Description

@redeboer

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.gradient is re-traced on every call.

Rebuild ChiSquared and UnbinnedNLL around a pure core (parameters, data) → value that 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.

Metadata

Metadata

Assignees

Labels

⚙️ EnhancementImprovements and optimizations of existing features❗ BehaviorChanges that may affect the framework output

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions