MSDD model share memory.
Hi.
I tried to run my MSDD model (using TITANET-large as speaker embedding model) in serving mode, meaning loading the model once and inference it in several processes, and in order to do so I need to use torch share_memory method.
when I use share_memory method I get the following error when I start the process:
AttributeError: Can't pickle local object 'FilterbankFeatures.__init__.<locals>.<lambda>'

Is there any guidelines how to share memory for all MSDD modules or any utils script to do so?

