KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
13.06k stars 1.39k forks source link

No CUDA GPUs are #311

Open MissAlang opened 3 months ago

MissAlang commented 3 months ago

liunx untuned system

) File "/www/wwwroot/default.com/swoole/py_LivePortrait/LivePortrait-main/src/live_portrait_wrapper.py", line 45, in init self.appearance_feature_extractor = load_model(inference_cfg.checkpoint_F, model_config, self.device, 'appearance_feature_extractor') File "/www/wwwroot/default.com/swoole/py_LivePortrait/LivePortrait-main/src/utils/helper.py", line 132, in load_model model = AppearanceFeatureExtractor(**model_params).to(device) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 899, in to return self._apply(convert) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 570, in _apply module._apply(fn) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 570, in _apply module._apply(fn) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 593, in _apply param_applied = fn(param) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 897, in convert return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) File "/home/abc/miniconda3/envs/LivePortrait/lib/python3.9/site-packages/torch/cuda/init.py", line 214, in _lazy_init torch._C._cuda_init() RuntimeError: No CUDA GPUs are available

cleardusk commented 3 months ago

It's better for LivePortrait to run on Nvidia GPU.

zzzweakman commented 2 months ago

@MissAlang Thank you for your attention. We currently only support Nvidia GPUs and Apple Silicon GPUs.

Manish-cel commented 1 month ago

It's better for LivePortrait to run on Nvidia GPU.

Right now my CPU is using more power, how to make LivePortrait use GPU power?