chengzeyi / stable-fast

Best inference performance optimization framework for HuggingFace Diffusers on NVIDIA GPUs.
MIT License
1.06k stars 60 forks source link

Add Windows specific compile instructions #97

Open Trojaner opened 6 months ago

Trojaner commented 6 months ago

CUDNN_PATH and CUDAToolkit_ROOT need to be set on Windows or it results in errors such as "cudnn.h not found"

chengzeyi commented 5 months ago

@Trojaner Hello, friend. If you have the nvidia-cudnn-cu12 pypi python package installed in your environment, the CUDNN_PATH should not be needed. Instead, the build system can find and use the header file from it.