samfisherirl / FaceFusion-NSFW-One-Click-Installer

NVIDIA only, use one click installer.
Other
18 stars 0 forks source link

Cuda is missing in this project #1

Open ABF-GIT opened 3 days ago

ABF-GIT commented 3 days ago

Dear Sam , Thank you for providing this , I would like to say that i only have CPU option without Cuda

Can you please look into this ? image

samfisherirl commented 3 days ago

Dear Sam , Thank you for providing this , I would like to say that i only have CPU option without Cuda

Can you please look into this ? image

delete your venv folder, and download the bat file again, I ran into the same thing.

or change line 39 to

    %python% %pyfile% run --execution-providers tensorrt cuda cpu 
ABF-GIT commented 3 days ago

Thanks thats solve the issue now i got another issue image image

what after using Cuda still CPU usage 100% but gpu 0%

" while i have this below Failure code " 2024-09-29 00:54:49.3237220 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\FaceFusionvenv\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

Last Question , Do you have Discord ? or any way to communicate faster if you dont mind

ABF-GIT commented 3 days ago

Just to make sure that you don't get confused i have Cuda enabled image image

samfisherirl commented 3 days ago

https://developer.nvidia.com/cuda-12-4-1-download-archive

Just to make sure that you don't get confused i have Cuda enabled image image

https://developer.nvidia.com/cuda-12-4-1-download-archive

samfisherirl commented 3 days ago

Just to make sure that you don't get confused i have Cuda enabled image image

I think I found the issue, try again. redownload one clicker, delete venv and run

samfisherirl commented 3 days ago

Thanks thats solve the issue now i got another issue image image

what after using Cuda still CPU usage 100% but gpu 0%

" while i have this below Failure code " 2024-09-29 00:54:49.3237220 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\FaceFusionvenv\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

Last Question , Do you have Discord ? or any way to communicate faster if you dont mind

ignore solution, good catch. working onit

ABF-GIT commented 2 days ago

Thank you so much hopefully next update will bring full support for RTX CUDA not sure what cause it i tried my best to solve it from my end but seems something missing

Again thank you for your efforts

I've tried the latest version you've shared and added in line 39
image

Im getting : facefusion.py run: error: argument --execution-providers: invalid choice: 'tensorrt' (choose from 'cpu') image

ABF-GIT commented 2 days ago

without using line[39] %python% %pyfile% run --execution-providers tensorrt cuda cpu

image

Result = CPU show only any solution ? Using last update today downloaded