OneDiff: An out-of-the-box acceleration library for diffusion models.
1.41k
stars
85
forks
source link
Doc Improve: To use onediff in docker pytorch/pytorch:2.2.2-cuda12.1-cudnn8-runtime you need add LD_LIBRARY_PATH to load libcudnn_cnn_infer.so.8 #896
Closed
ganlvtech closed 1 month ago
To use onediff in docker
pytorch/pytorch:2.2.2-cuda12.1-cudnn8-runtime
you need addLD_LIBRARY_PATH
to loadlibcudnn_cnn_infer.so.8
https://github.com/siliconflow/onediff/blob/ba93c5a68607abefd38ffed9e6a17bed48c01a81/onediff_comfy_nodes/utils/import_utils.py#L7-L18
importlib.util.find_spec(module_name)
is OK. Butimportlib.import_module(module_name)
will fail.