Skip to content

The PyMC initial point function is not thread safe #169

@ricardoV94

Description

@ricardoV94

This is causing a surprising failure that None has no shape in the raveling wrapper:

n = int(np.prod(initial_value.shape))

I suspect that threads are causing the PyTensor function to clear the output storage (which is done with None) before the
thread that called it had time to retrieve the values for itself.

I guess it could also happen to intermediate storage and fail inside a PyTensor call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions