diff --git a/pymc/backends/__init__.py b/pymc/backends/__init__.py index a89f64d833..d7ccef66db 100644 --- a/pymc/backends/__init__.py +++ b/pymc/backends/__init__.py @@ -75,7 +75,7 @@ HAS_MCB = False try: - from mcbackend import Backend, NumPyBackend, Run + from mcbackend import Backend, Run from pymc.backends.mcbackend import init_chain_adapters @@ -123,8 +123,6 @@ def init_traces( model: Model, ) -> Tuple[Optional[RunType], Sequence[IBaseTrace]]: """Initializes a trace recorder for each chain.""" - if HAS_MCB and backend is None: - backend = NumPyBackend(preallocate=expected_length) if HAS_MCB and isinstance(backend, Backend): return init_chain_adapters( backend=backend,