thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onnxruntime bug - TensorRT does not natively support INT64

mykeehu opened this issue · comments

I can't solve a bug. I upload an image, check the Remove Background option, and get this error:

DepthMap v0.4.6 (7a3a7820)
creating background masks
2024-05-09 11:39:58.0160506 [W:onnxruntime:Default, tensorrt_execution_provider.h:83 onnxruntime::TensorrtLogger::log] [2024-05-09 09:39:58 WARNING] onnx2trt_utils.cpp:369: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
2024-05-09 11:40:30.8541291 [W:onnxruntime:Default, tensorrt_execution_provider.h:83 onnxruntime::TensorrtLogger::log] [2024-05-09 09:40:30 WARNING] The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
2024-05-09 11:40:30.9487712 [W:onnxruntime:Default, tensorrt_execution_provider.h:83 onnxruntime::TensorrtLogger::log] [2024-05-09 09:40:30 WARNING] The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.

I've deleted the tensorrt and onnxruntime installations, but I still get this error after the specified directories are restored. How can I fix this error?