dreamtalk icon indicating copy to clipboard operation
dreamtalk copied to clipboard

RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

Open spstrademark opened this issue 1 year ago • 5 comments

Hello,

when i run the following command -

python inference_for_demo_video.py \
--wav_path data/audio/acknowledgement_english.m4a \
--style_clip_path data/style_clip/3DMM/M030_front_neutral_level1_001.mat \
--pose_path data/pose/RichardShelby_front_neutral_level1_001.mat \
--image_path data/src_img/uncropped/male_face.png \
--cfg_scale 1.0 \
--max_gen_len 30 \
--output_name acknowledgement_english@M030_front_neutral_level1_001@male_face

I get the error

RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

my question is if it is possible to use the cpu instead and if so how to achieve it?

Best regards, Stanko

spstrademark avatar Jan 05 '24 11:01 spstrademark

Thanks for your attention. You can pull the latest version of the code and add --device=cpu in the command line arguments.

YifengMa9 avatar Jan 05 '24 12:01 YifengMa9

Thanks it worked !

spstrademark avatar Jan 05 '24 12:01 spstrademark

@YifengMa9 Do you have any good solutions for the following issues? I was confused for a long time because of this RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch)

b0b6a avatar Mar 11 '24 10:03 b0b6a

Thanks for your attention. The error indicates that you seemingly are using GPU. Have you tried to add --device=cpu in the command line arguments?

YifengMa9 avatar Mar 11 '24 10:03 YifengMa9

Thanks for your attention. The error indicates that you seemingly are using GPU. Have you tried to add --device=cpu in the command line arguments?

I have the same problem RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch) while CPU works fine, but incredibly slow. Can you advise what can be don't to make it work with Nvidia GPU (RTX 4090)?

SuperMaximus1984 avatar May 30 '24 12:05 SuperMaximus1984