Open
Description
Before
No response
After
No response
Context for the issue:
As explained in #7224, sample_smc
can fail on Windows if the model is defined using CustomDist
. Everything works on Linux because the worker processes are forked by default whereas they're spawned on Windows. Spawning leads to missing dispatches.
#7241 addressed the issue by manually registering the dispatches in the worker processes. A better way to solve the problem would be to compile the necessary functions before starting the worker processes (as is done in sample
).