runtime error

importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.10/site-packages/fairseq/tasks/multilingual_translation.py", line 20, in <module> from fairseq.models import FairseqMultiModel File "/usr/local/lib/python3.10/site-packages/fairseq/models/__init__.py", line 235, in <module> import_models(models_dir, "fairseq.models") File "/usr/local/lib/python3.10/site-packages/fairseq/models/__init__.py", line 217, in import_models importlib.import_module(namespace + "." + model_name) File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.10/site-packages/fairseq/models/model_utils.py", line 37, in <module> def expand_2d_or_3d_tensor(x, trg_dim: int, padding_idx: int): File "/usr/local/lib/python3.10/site-packages/torch/jit/_script.py", line 1395, in script fn = torch._C._jit_script_compile( File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 115, in get_signature signature = try_real_annotations(fn, loc) File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 345, in try_real_annotations arg_types = [ann_to_type(p.annotation, loc) for p in sig.parameters.values()] File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 345, in <listcomp> arg_types = [ann_to_type(p.annotation, loc) for p in sig.parameters.values()] File "/usr/local/lib/python3.10/site-packages/torch/jit/annotations.py", line 513, 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/fairseq/models/model_utils.py", line 52 if x.dim() == 3: dims.append(x.size(2)) x = torch.cat([x, torch.zeros(dims).to(x).fill_(padding_idx)], 1) ~~~~~~~~~~~ <--- HERE return x

Container logs:

Fetching error logs...