runtime error
Exit code: 1. Reason: ansformer.py", line 20, in <module> device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), /usr/local/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), Traceback (most recent call last): File "/home/user/app/app.py", line 19, in <module> vq_model = RQBottleneckTransformer.load_model( File "/usr/local/lib/python3.10/site-packages/whisperspeech/vq_stoks.py", line 366, in load_model vqmodel.load_state_dict(spec['state_dict']) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2153, in load_state_dict raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for RQBottleneckTransformer: Missing key(s) in state_dict: "_out_blocks.0.attn.query.weight", "_out_blocks.0.attn.query.bias", "_out_blocks.0.attn.key.weight", "_out_blocks.0.attn.value.weight", "_out_blocks.0.attn.value.bias", "_out_blocks.0.attn.out.weight", "_out_blocks.0.attn.out.bias", "_out_blocks.0.attn.rotary.inv_freq", "_out_blocks.0.attn_ln.weight", "_out_blocks.0.attn_ln.bias", "_out_blocks.0.mlp.0.weight", "_out_blocks.0.mlp.0.bias", "_out_blocks.0.mlp.2.weight", "_out_blocks.0.mlp.2.bias", "_out_blocks.0.mlp_ln.weight", "_out_blocks.0.mlp_ln.bias". Unexpected key(s) in state_dict: "out_blocks.0.attn.query.weight", "out_blocks.0.attn.query.bias", "out_blocks.0.attn.key.weight", "out_blocks.0.attn.value.weight", "out_blocks.0.attn.value.bias", "out_blocks.0.attn.out.weight", "out_blocks.0.attn.out.bias", "out_blocks.0.attn.rotary.inv_freq", "out_blocks.0.attn_ln.weight", "out_blocks.0.attn_ln.bias", "out_blocks.0.mlp.0.weight", "out_blocks.0.mlp.0.bias", "out_blocks.0.mlp.2.weight", "out_blocks.0.mlp.2.bias", "out_blocks.0.mlp_ln.weight", "out_blocks.0.mlp_ln.bias".
Container logs:
Fetching error logs...