runtime error
/controlnet_aux/midas/midas/blocks.py", line 4, in <module> from .vit import ( File "/usr/local/lib/python3.10/site-packages/controlnet_aux/midas/midas/vit.py", line 3, in <module> import timm File "/usr/local/lib/python3.10/site-packages/timm/__init__.py", line 2, in <module> from .layers import is_scriptable, is_exportable, set_scriptable, set_exportable File "/usr/local/lib/python3.10/site-packages/timm/layers/__init__.py", line 7, in <module> from .classifier import ClassifierHead, create_classifier, NormMlpClassifierHead File "/usr/local/lib/python3.10/site-packages/timm/layers/classifier.py", line 14, in <module> from .create_act import get_act_layer File "/usr/local/lib/python3.10/site-packages/timm/layers/create_act.py", line 8, in <module> from .activations_me import * File "/usr/local/lib/python3.10/site-packages/timm/layers/activations_me.py", line 105, in <module> def hard_sigmoid_jit_bwd(x, grad_output): File "/usr/local/lib/python3.10/site-packages/torch/jit/_script.py", line 1341, in script fn = torch._C._jit_script_compile( File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 71, in get_signature signature = try_real_annotations(fn, loc) File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 278, in try_real_annotations arg_types = [ann_to_type(p.annotation, loc) File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 278, in <listcomp> arg_types = [ann_to_type(p.annotation, loc) File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 422, in ann_to_type raise ValueError(f"Unknown type annotation: '{ann}' at {loc.highlight()}") ValueError: Unknown type annotation: 'Any' at File "/usr/local/lib/python3.10/site-packages/timm/layers/activations_me.py", line 106 @torch.jit.script def hard_sigmoid_jit_bwd(x, grad_output): m = torch.ones_like(x) * ((x >= -3.) & (x <= 3.)) / 6. ~~~~~~~~~~~~~~~ <--- HERE return grad_output * m
Container logs:
Fetching error logs...