diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Discrepancy between code and docs

Open raphaelmatto opened this issue 2 years ago • 1 comments

Describe the bug

Here:

https://github.com/harishanand95/diffusers/blob/dml/examples/inference/readme.md?plain=1#L38-L39

... it says, "Currently only 512x512 image is supported."

But here:

https://github.com/harishanand95/diffusers/blob/dml/examples/inference/dml_onnx.py#L213-L217

... there are instructions on how to increase the resolution. Which is true? Does this code support increasing the resolution?

Thanks!

Reproduction

Doc issue

Logs

Doc issue

System Info

It's on GitHub

raphaelmatto avatar Sep 09 '22 20:09 raphaelmatto

ah sorry, yeah higher resolutions did not work initially. Now I think it works. Though I would suggest using diffusers official way to export onnx models. https://gist.github.com/harishanand95/75f4515e6187a6aa3261af6ac6f61269

harishanand95 avatar Sep 13 '22 16:09 harishanand95