[frontend][pytorch] TVM compatibility with Torch 1.12.0

Hello,

Currently TVM uses Torch 1.11.0 (judging from ubuntu_install_onnx.sh script). Are there any known blockers to use Torch 1.12.0?

I was trying to run some examples with Torch 1.12.0. When I run this one: gallery/how_to/deploy_models/deploy_object_detection_pytorch.py I got the error message below. However, this example runs okay with Torch 1.11.0. I will appreciate your help, thanks!

 Traceback (most recent call last): 
   File "deploy_object_detection_pytorch.py", line 122, in <module> 
     mod, params = relay.frontend.from_pytorch(script_module, shape_list) 
   File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 4542, in from_pytorch 
     outputs = converter.convert_operators(_get_operator_nodes(graph.nodes()), outputs, ret_name) 
   File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 3916, in convert_operators 
     relay_out = relay_op( 
   File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 812, in fill_ 
     return self.full_impl(self.infer_shape(data), fill_value, input_types[0]) 
   File "/home/ubuntu/tvm/python/tvm/relay/frontend/pytorch.py", line 679, in full_impl 
     out = _op.full(_expr.const(fill_value, dtype=dtype), size, dtype=dtype) 
   File "/home/ubuntu/tvm/python/tvm/relay/expr.py", line 517, in const 
     raise ValueError("value has to be scalar or NDArray") 
 ValueError: value has to be scalar or NDArray 

There is no blocker, someone has to do the upgrade work. And indeed, the MaskRCNN model used in deploy_object_detection_pytorch.py always brings challenges when we upgrade.