Runtime error

#12
by FesselndEr - opened

Hi there,

I got a runtime error message the whole day. What do I have to do to fix the problem? ๐Ÿ˜ญ

Please help me...

===== Application Startup at 2024-08-26 08:23:03 =====

The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling transformers.utils.move_cache().

0it [00:00, ?it/s]
0it [00:00, ?it/s]
/usr/local/lib/python3.10/site-packages/torch/cuda/init.py:619: UserWarning: Can't initialize NVML
warnings.warn("Can't initialize NVML")
Traceback (most recent call last):
File "/home/user/app/app.py", line 6, in
import spaces
File "/usr/local/lib/python3.10/site-packages/spaces/init.py", line 19, in
from .zero.decorator import GPU
File "/usr/local/lib/python3.10/site-packages/spaces/zero/init.py", line 15, in
raise RuntimeError(
RuntimeError: CUDA has been initialized before importing the spaces package

Oh please help me with my problem. I don't know how to fix it... ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

Still no solution for the problem? ๐Ÿ˜ข I've never seen a picture creator better than this one. I feel so sad that I can't make pictures anymore... ๐Ÿ˜ญ

Sign up or log in to comment