runtime error
Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> _ = preload_models() File "/usr/local/lib/python3.10/site-packages/bark/generation.py", line 318, in preload_models _ = load_model( File "/usr/local/lib/python3.10/site-packages/bark/generation.py", line 274, in load_model clean_models(model_key=model_key) File "/usr/local/lib/python3.10/site-packages/bark/generation.py", line 191, in clean_models _clear_cuda_cache() File "/usr/local/lib/python3.10/site-packages/bark/generation.py", line 182, in _clear_cuda_cache torch.cuda.synchronize() File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 799, in synchronize _lazy_init() File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 302, in _lazy_init torch._C._cuda_init() File "/usr/local/lib/python3.10/site-packages/spaces/zero/torch.py", line 181, in _cuda_init_raise raise RuntimeError( RuntimeError: CUDA must not be initialized in the main process on Spaces with Stateless GPU environment. You can look at this Stacktrace to find out which part of your code triggered a CUDA init
Container logs:
Fetching error logs...