You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that the AutoSampler cannot be serialized because at instantiation, it sets self._thread_local_sampler = ThreadLocalSampler(), and this instantiates threading.local. I think __get_state__ and __setstate__ should be updated to account for serialization of ThreadLocalSampler() attributes.
Hi!
Please note that the AutoSampler cannot be serialized because at instantiation, it sets
self._thread_local_sampler = ThreadLocalSampler()
, and this instantiatesthreading.local
. I think__get_state__
and__setstate__
should be updated to account for serialization of ThreadLocalSampler() attributes.To reproduce the error, run
and it will fail with
TypeError: cannot pickle 'ThreadLocalSampler' object
.The text was updated successfully, but these errors were encountered: