ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect.

Open alelordelo opened this issue 2 years ago • 1 comments

Also got this warning:

/Applications/ml-stable-diffusion-main/python_coreml_stable_diffusion/layer_norm.py:61: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!

Is this expected or something I should be worried about?

alelordelo avatar Dec 02 '22 14:12 alelordelo

Same warning message here.

martinlexow avatar Dec 03 '22 13:12 martinlexow