runtime error
l=model, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 94, in __init__ self.model = self.initiate_single_model(model) File "/home/user/.local/lib/python3.10/site-packages/modelscope/pipelines/base.py", line 53, in initiate_single_model return Model.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/modelscope/models/base/base_model.py", line 144, in from_pretrained model = build_model(model_cfg, task_name=task_name) File "/home/user/.local/lib/python3.10/site-packages/modelscope/models/builder.py", line 35, in build_model model = build_from_cfg( File "/home/user/.local/lib/python3.10/site-packages/modelscope/utils/registry.py", line 215, in build_from_cfg raise type(e)(f'{obj_cls.__name__}: {e}') RuntimeError: TextToVideoSynthesis: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 40, in <module> pipe = pipeline('text-to-video-synthesis', model_dir.as_posix()) File "/home/user/.local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 140, in pipeline return build_pipeline(cfg, task_name=task) File "/home/user/.local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 56, in build_pipeline return build_from_cfg( File "/home/user/.local/lib/python3.10/site-packages/modelscope/utils/registry.py", line 215, in build_from_cfg raise type(e)(f'{obj_cls.__name__}: {e}') RuntimeError: TextToVideoSynthesisPipeline: TextToVideoSynthesis: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Container logs:
Fetching error logs...