Open lianshushu opened 1 year ago
[W] CUDA initialization failure with error: 35. Please check your CUDA installation: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
Something wrong with your CUDA installation.
but I can run other torch project. ther error message above is :
loader.py:97 in │ │ call_impl │ │ │ │ 94 │ │ Returns: │ │ 95 │ │ │ (trt.Builder, trt.INetworkDefinition): The builder and empty network. │ │ 96 │ │ """ │ │ ❱ 97 │ │ with util.FreeOnException([trt.Builder(trt_util.get_trt_logger())]) as (builder, │ │ 98 │ │ │ network_flags = 0 │ │ 99 │ │ │ if self.explicit_batch: │ │ 100 │ │ │ │ network_flags |= 1 << int(trt.NetworkDefinitionCreationFlag.EXPLICIT_BAT
TypeError: pybind11::init(): factory function returned nullptr
Hello,I also encountered the same problem. Have you solved it? @lianshushu
+1, Have you solved it? @huibing99 @lianshushu
/usr/bin/zsh trt-fp32/reproduce_conversion.sh
[W] Unable to determine GPU memory usage
[W] CUDA initialization failure with error: 35. Please check your CUDA installation: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
+10086,hey brothers,how to solve it?😅
+10086,hey brothers,how to solve it?😅
me,too
error happen!
[I] Initializing StableDiffusion txt2img demo using TensorRT GPU : 8 Building TensorRT engine for onnx/clip.opt.onnx: engine/clip.plan [W] Unable to determine GPU memory usage [W] CUDA initialization failure with error: 35. Please check your CUDA installation: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
environment: cuda : 11.0 tensorrt : 8.6.0
the other torch proj can run successfully.