yuananf

Results 12 comments of yuananf

Same problem with TensorRT 8.4.0.6 and CUDA 11.4.

Model is published today. And also check https://github.com/huggingface/diffusers

I tested this branch, the script failed with following error ``` Traceback (most recent call last): File "stable-diffusion-txt2img.py", line 552, in main() File "stable-diffusion-txt2img.py", line 548, in main recognize_from_text(models) File...

> Hi @yuananf! At the moment the onnx pipeline is less optimized than its pytorch counterpart, so all computation happens in `float32` and there's overhead due to cpu-gpu tensor copies...

I got the same problem here, can anyone clearly show an example how to export onnx successfully?

@losipiuk Can you please check this when you have time?

> Can you verify that the shapes provided to the trtexec call are valid? The error could be caused due to invalid shape profile passed in. Thanks for response, after...

> [@yuananf](https://github.com/yuananf) Which are the specific dims that have wrong value? IIUC, some of them have changed. > > Can you confirm that if the "specific dims" are the ones...