runtime error
Exit code: 1. Reason: mbined_args, dynamic_shapes, tree_name="inputs") File "/usr/local/lib/python3.10/site-packages/torch/export/dynamic_shapes.py", line 614, 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 2056, in tree_map_with_path return treespec.unflatten(func(*xs) for xs in zip(*all_keypath_leaves)) File "/usr/local/lib/python3.10/site-packages/torch/utils/_pytree.py", line 1193, in unflatten leaves = list(leaves) File "/usr/local/lib/python3.10/site-packages/torch/utils/_pytree.py", line 2056, in <genexpr> return treespec.unflatten(func(*xs) for xs in zip(*all_keypath_leaves)) File "/usr/local/lib/python3.10/site-packages/torch/export/dynamic_shapes.py", line 611, in f return func(path, t, *dynamic_shapes) File "/usr/local/lib/python3.10/site-packages/torch/export/dynamic_shapes.py", line 1024, in check_shape raise UserError( torch._dynamo.exc.UserError: Cannot associate shape {1: Dim('text_seq_length', min=0)} 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 47, in <module> optimize_pipeline_(pipe, prompt="prompt") File "/home/user/app/optimization.py", line 67, in optimize_pipeline_ compiled = compile_transformer() File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 224, in gradio_handler raise error("ZeroGPU worker error", res.error_cls) gradio.exceptions.Error: 'UserError'
Container logs:
Fetching error logs...