[X] I have searched the existing issues and checked the recent builds/commits
What happened?
I'm running torch 2.0.1+cu118 and python 3.10.10. I get the following warnings:
E:\New folder\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py:314: 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!
known = {axis for axis in composite_axis if axis_name2known_length[axis] != _unknown_axis_length}
E:\New folder\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py:315: 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!
unknown = {axis for axis in composite_axis if axis_name2known_length[axis] == _unknown_axis_length}
E:\New folder\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:158: 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!
assert x.shape[1] == self.channels
E:\New folder\stable-diffusion-webui\modules\sd_hijack_unet.py:26: 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!
if a.shape[-2:] != b.shape[-2:]:
E:\New folder\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:109: 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!
assert x.shape[1] == self.channels
E:\New folder\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py:314: 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!
known = {axis for axis in composite_axis if axis_name2known_length[axis] != _unknown_axis_length}
E:\New folder\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py:315: 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!
unknown = {axis for axis in composite_axis if axis_name2known_length[axis] == _unknown_axis_length}
E:\New folder\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:158: 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!
assert x.shape[1] == self.channels
E:\New folder\stable-diffusion-webui\modules\sd_hijack_unet.py:26: 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!
if a.shape[-2:] != b.shape[-2:]:
E:\New folder\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:109: 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!
assert x.shape[1] == self.channels
Additional information
I put mozilla firefox, but I'm using Opera GX browser. I heard it is recommend most for running SD because it gives a bit of a speed boost in running SD. (might consider adding it as an option to the 'What browsers do you use to access the UI ?' dropdown list option above.
Is there an existing issue for this?
What happened?
I'm running torch 2.0.1+cu118 and python 3.10.10. I get the following warnings:
Steps to reproduce the problem
Go to TensorRT tab and press convert Unet to ONNX
What should have happened?
no warning should happen
Commit where the problem happens
version: v1.3.1-175-g30bbb8bc • python: 3.10.10 • torch: 2.0.1+cu118 • xformers: N/A • gradio: 3.32.0 • checkpoint: 3f8f827f79
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
stable-diffusion-webui-tokenizer stable-diffusion-webui-tensorrt
Console logs
Additional information
I put mozilla firefox, but I'm using Opera GX browser. I heard it is recommend most for running SD because it gives a bit of a speed boost in running SD. (might consider adding it as an option to the 'What browsers do you use to access the UI ?' dropdown list option above.