Spaces:
Running
on
Zero
running this inside my django app, application crashes on simultaneous requests
RuntimeError at /api/media/
CUDA error: operation not permitted when stream is capturing
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Request Method: POST
Request URL: http://**********.app/api/media/
Django Version: 4.2.14
Exception Type: RuntimeError
Exception Value:
CUDA error: operation not permitted when stream is capturing
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Exception Location: C:\Users**\torch\nn\modules\conv.py, line 454, in _conv_forward
Raised during: api.views.MediaCreateView
Python Executable: C:\Users*\anaconda3\envs\LivePortrait\python.exe
Python Version: 3.9.19
Python Path:
['E:\Git\api',
'C:\Users\\anaconda3\envs\LivePortrait\python39.zip',
'C:\Users\*\anaconda3\envs\LivePortrait\DLLs',
'C:\Users\*\anaconda3\envs\LivePortrait\lib',
'C:\Users\\anaconda3\envs\LivePortrait',
'C:\Users\***\anaconda3\envs\LivePortrait\lib\site-packages']