ShiJiaying / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
MIT License
43 stars 6 forks source link

Have some Environmental conflicts #4

Open troycjj opened 2 months ago

troycjj commented 2 months ago

torch 2.3.1+cu121 have some problem

Old torch version can not install Xpose,so I update torch,but the new torch seems like some problem in onnx running. Can you show me your Environment version? thank you!

RuntimeError: C:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:866 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page

ShiJiaying commented 2 months ago

torch 2.3.1+cu121 have some problem

Old torch version can not install Xpose,so I update torch,but the new torch seems like some problem in onnx running. Can you show me your Environment version? thank you!

RuntimeError: C:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:866 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page

In my test, Xpose can only be installed and complied with torch==1.12.1+cu116 under my cuda driver

Driver Version: 510.47.03 CUDA Version: 11.6

torch                         1.12.1+cu116
torchaudio                    0.12.1+cu116
torchvision                   0.13.1+cu116
onnx                          1.16.1
onnxruntime-gpu               1.18.1

Especially, I export PATH=/usr/local/cuda-10.2/bin:$PATH for https://github.com/ShiJiaying/LivePortrait/blob/main/readme.md#1-clone-the-code-and-prepare-the-environment

cd XPose/models/UniPose/ops
python setup.py build install