Multiprocessing fork, spawn issue when attempting to run Nemo ASR on a Sanic server
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. This issue was closed because it has been inactive for 7 days since being marked as stale.
I'm trying to create a Sanic server for Nemo ASR. It seems Nemo uses some fork method, while Sanic requires spawn.

**Code:**
```
import nemo.collections.asr as nemo_asr
from sanic import Sanic
app = Sanic(__name__)  
if __name__ == '__main__':
    app.run(debug=True)
```

**Error Message:**
`RuntimeError: Start method 'spawn' was requested, but 'fork' was already set.`

**Things I already tried, but nothing works:**

```
import multiprocessing as mp
mp.set_start_method('spawn', force=True)
```
```
torch.multiprocessing.set_start_method('spawn', force=True)  
```
```
try:
         mp.set_start_method('spawn', force=True)
         print("spawned")
except RuntimeError:
         pass 
```

I request experts to help me or share some code snippets if they are publicly available.

Thanks 