StableCascade icon indicating copy to clipboard operation
StableCascade copied to clipboard

torch._dynamo.exc.Unsupported: call_method NNModuleVariable() _conv_forward [TensorVariable(), TensorVariable(), TensorVariable()] {}

Open TimelessXZY opened this issue 1 year ago • 1 comments

File "/opt/conda/envs/diffusers/lib/python3.8/site-packages/torch/_dynamo/exc.py", line 71, in unimplemented
    raise Unsupported(msg)
torch._dynamo.exc.Unsupported: call_method NNModuleVariable() _conv_forward [TensorVariable(), TensorVariable(), TensorVariable()] {}

from user code:
   File "/home/work/data3/xiaozhiyou/StableCascade/modules/common.py", line 65, in forward
    x = self.norm(self.depthwise(x))
  File "/opt/conda/envs/diffusers/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 463, in forward
    return self._conv_forward(input, self.weight, self.bias)

Set torch._dynamo.config.verbose=True for more information


You can suppress this exception and fall back to eager by setting:
    torch._dynamo.config.suppress_errors = True

Have anyone run into the issue above when running inference? Can someone help me?

TimelessXZY avatar Feb 27 '24 07:02 TimelessXZY

it is hard to run

for who cant run here check this out : https://github.com/Stability-AI/StableCascade/issues/125

FurkanGozukara avatar Mar 22 '24 03:03 FurkanGozukara