From 6cad4ab5e0691925075d51d5584646276c0543b2 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 22 Sep 2022 17:29:54 -0500 Subject: [PATCH] Add skipping of validation --- docs/release-notes/v0.7.0.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/v0.7.0.rst b/docs/release-notes/v0.7.0.rst index c8f31b8daf..9df2d93b28 100644 --- a/docs/release-notes/v0.7.0.rst +++ b/docs/release-notes/v0.7.0.rst @@ -70,8 +70,8 @@ Python API ``default`` kwarg in :func:`pyhf.set_backend`. (PR :pr:`1646`) This allows setting setting the ``pyhf.default_backend`` to be different from the value of - ``pyhf.tensorlib`` returned by :func:`pyhf.get_backend`, which can be useful in situations where - a model construction is needed. + ``pyhf.tensorlib`` returned by :func:`pyhf.get_backend`, which can be useful in situations + where differentiable model construction is needed. .. code:: pycon @@ -91,6 +91,11 @@ Python API >>> jax.jacrev(jax.jit(example_op))([2.0]) [DeviceArray([24.], dtype=float64, weak_type=True)] +* A ``validate`` kwarg has been added to :func:`pyhf.workspace.Workspace` to allow + skipping validation. + (PR :pr:`1646`) + This should only be used by expert users who understand the risks. + Deprecations ------------