Spaces:
Sleeping
Sleeping
File size: 20,507 Bytes
bd724a8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | ===== Application Startup at 2026-04-30 20:39:02 =====
INFO: Started server process [1]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit)
INFO: 10.16.29.229:48249 - "GET / HTTP/1.1" 200 OK
INFO: 10.16.29.229:48249 - "GET /style.css HTTP/1.1" 200 OK
INFO: 10.16.27.106:43311 - "GET /app.js HTTP/1.1" 200 OK
INFO: 10.16.1.210:19952 - "GET / HTTP/1.1" 200 OK
INFO: 10.16.27.106:32925 - "GET / HTTP/1.1" 200 OK
INFO: 10.16.1.210:19952 - "GET /app.js HTTP/1.1" 200 OK
INFO: 10.16.12.5:48186 - "GET /style.css HTTP/1.1" 200 OK
INFO: 10.16.29.229:21750 - "GET / HTTP/1.1" 304 Not Modified
INFO: 10.16.12.5:9327 - "GET /style.css HTTP/1.1" 304 Not Modified
INFO: 10.16.42.153:28833 - "GET /app.js HTTP/1.1" 304 Not Modified
Selected model is a bag of 4 models. You will see that many progress bars per track.
Separated tracks will be stored in /app/separated/mdx_extra
Separating track backend/uploads/95de5fce-3cb8-4cc9-b15b-66625179b0ac.mp3
Could not load file backend/uploads/95de5fce-3cb8-4cc9-b15b-66625179b0ac.mp3. Maybe it is not a supported file format?
When trying to load using ffmpeg, got the following error: FFmpeg is not installed.
When trying to load using torchaudio, got the following error: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support
versions 4, 5, 6, 7, and 8, and we attempt to load libtorchcodec
for each of those versions. Errors for versions not installed on
your system are expected; only the error for your installed FFmpeg
version is relevant. On Windows, ensure you've installed the
"full-shared" version which ships DLLs. 2. The PyTorch version (2.11.0+cu130) is not compatible with
this version of TorchCodec. Refer to the version compatibility
table:
https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below.
The following exceptions were raised as we tried to load libtorchcodec:
[start of libtorchcodec loading traceback]
FFmpeg version 8:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.60: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core8.so
FFmpeg version 7:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.59: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core7.so
FFmpeg version 6:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.58: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core6.so
FFmpeg version 5:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.57: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core5.so
FFmpeg version 4:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.56: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core4.so
[end of libtorchcodec loading traceback].
INFO: 10.16.1.210:41571 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 415, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 56, in **call**
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1159, in **call**
await super().**call**(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 90, in **call**
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in **call**
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in **call**
await self.app(scope, receive, \_send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 96, in **call**
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 154, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in **call**
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 53, in wrapped_app
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in **call**
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 660, in **call**
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 680, in app
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 134, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 53, in wrapped_app
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 120, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 674, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
return await dependant.call(\*\*values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/main.py", line 33, in upload_audio
output_path = run_demucs(save_path)
^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/demucs_runner.py", line 6, in run_demucs
subprocess.run(
File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['demucs', '--two-stems=vocals', '-n', 'mdx_extra', 'backend/uploads/95de5fce-3cb8-4cc9-b15b-66625179b0ac.mp3']' returned non-zero exit status 1.
Selected model is a bag of 4 models. You will see that many progress bars per track.
Separated tracks will be stored in /app/separated/mdx_extra
Separating track backend/uploads/1790a01f-024d-49ec-be3a-8ce76c16601a.mp3
Could not load file backend/uploads/1790a01f-024d-49ec-be3a-8ce76c16601a.mp3. Maybe it is not a supported file format?
When trying to load using ffmpeg, got the following error: FFmpeg is not installed.
When trying to load using torchaudio, got the following error: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support
versions 4, 5, 6, 7, and 8, and we attempt to load libtorchcodec
for each of those versions. Errors for versions not installed on
your system are expected; only the error for your installed FFmpeg
version is relevant. On Windows, ensure you've installed the
"full-shared" version which ships DLLs. 2. The PyTorch version (2.11.0+cu130) is not compatible with
this version of TorchCodec. Refer to the version compatibility
table:
https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below.
The following exceptions were raised as we tried to load libtorchcodec:
[start of libtorchcodec loading traceback]
FFmpeg version 8:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.60: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core8.so
FFmpeg version 7:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.59: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core7.so
FFmpeg version 6:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.58: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core6.so
FFmpeg version 5:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.57: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core5.so
FFmpeg version 4:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1503, in load_library
ctypes.CDLL(path)
File "/usr/local/lib/python3.11/ctypes/**init**.py", line 376, in **init**
self.\_handle = \_dlopen(self.\_name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libavutil.so.56: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/torchcodec/\_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries
torch.ops.load_library(core_library_path)
File "/usr/local/lib/python3.11/site-packages/torch/\_ops.py", line 1505, in load_library
raise OSError(f"Could not load this library: {path}") from e
OSError: Could not load this library: /usr/local/lib/python3.11/site-packages/torchcodec/libtorchcodec_core4.so
[end of libtorchcodec loading traceback].
INFO: 10.16.12.5:6739 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 415, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 56, in **call**
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1159, in **call**
await super().**call**(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 90, in **call**
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in **call**
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in **call**
await self.app(scope, receive, \_send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 96, in **call**
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 154, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 63, in **call**
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 53, in wrapped_app
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in **call**
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 660, in **call**
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 680, in app
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 134, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 53, in wrapped_app
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 120, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 674, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
return await dependant.call(\*\*values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/main.py", line 33, in upload_audio
output_path = run_demucs(save_path)
^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/demucs_runner.py", line 6, in run_demucs
subprocess.run(
File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['demucs', '--two-stems=vocals', '-n', 'mdx_extra', 'backend/uploads/1790a01f-024d-49ec-be3a-8ce76c16601a.mp3']' returned non-zero exit status 1.
INFO: 10.16.29.229:14043 - "GET / HTTP/1.1" 304 Not Modified
INFO: 10.16.27.106:61337 - "GET / HTTP/1.1" 200 OK
INFO: 10.16.12.5:29961 - "GET /app.js HTTP/1.1" 304 Not Modified
INFO: 10.16.42.153:39129 - "GET /style.css HTTP/1.1" 304 Not Modified
|