runtime error

Exit code: 1. Reason: xport/dynamic_shapes.py", line 630, in _tree_map_with_path return tree_map_with_path(f, tree, *dynamic_shapes, is_leaf=is_leaf) File "/usr/local/lib/python3.10/site-packages/torch/utils/_pytree.py", line 2204, in tree_map_with_path return treespec.unflatten(func(*xs) for xs in zip(*all_keypath_leaves, strict=True)) File "/usr/local/lib/python3.10/site-packages/torch/utils/_pytree.py", line 1277, in unflatten leaves = list(leaves) File "/usr/local/lib/python3.10/site-packages/torch/utils/_pytree.py", line 2204, in <genexpr> return treespec.unflatten(func(*xs) for xs in zip(*all_keypath_leaves, strict=True)) File "/usr/local/lib/python3.10/site-packages/torch/export/dynamic_shapes.py", line 627, in f return func(path, t, *dynamic_shapes) File "/usr/local/lib/python3.10/site-packages/torch/export/dynamic_shapes.py", line 1042, in check_shape raise UserError( torch._dynamo.exc.UserError: Cannot associate shape {1: Dim('text_seq_length', min=64, max=1024)} specified at `dynamic_shapes['encoder_hidden_states_mask']` to non-tensor type <class 'NoneType'> at `inputs['encoder_hidden_states_mask']` (expected None) For more information about this error, see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation The error above occurred when calling torch.export.export. If you would like to view some more information about this error, and get a list of all other errors that may occur in your export call, you can replace your `export()` call with `draft_export()`. Traceback (most recent call last): File "/home/user/app/app.py", line 75, in <module> optimize_pipeline_( File "/home/user/app/optimization.py", line 67, in optimize_pipeline_ archive_file = compile_block() File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 227, in gradio_handler raise error("ZeroGPU worker error", res.error_cls) gradio.exceptions.Error: 'UserError' Download complete: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 804M/804M [00:45<00:00, 17.8MB/s]

Container logs:

Fetching error logs...