StreamDiffusion icon indicating copy to clipboard operation
StreamDiffusion copied to clipboard

Tensorrt Error

Open small-guang opened this issue 2 years ago • 3 comments

Thanks for the open source code, but I got the following error when using acceleration="tensorrt":

[E] 3: [executionContext.cpp::nvinfer1::rt::ExecutionContext::validateInputBindings::2046] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::nvinfer1::rt::ExecutionContext::validateInputBindings::2046, condition: profileMinDims.d[i] <= dimensions.d[i]. Supplied binding dimension [1,4,64,64] for bindings[0] exceed min ~ max range at index 0, maximum dimension in profile is 4, minimum dimension in profile is 4, but supplied dimension is 1.

small-guang avatar Dec 26 '23 02:12 small-guang

@small-guang Could you tell us which script you tried to run? Is it one of the example codes? We also updated our repo recently, so please try to reconstruct the environment and rerun the latest code to see whether the same problem would happen again or not.

cumulo-autumn avatar Jan 07 '24 09:01 cumulo-autumn

@cumulo-autumn I'm observing the same error when running examples/vid2vid/main.py. Could you please take a look?

zjysteven avatar Apr 01 '24 23:04 zjysteven