jiangjiajun commented on PR #14160:
URL: https://github.com/apache/tvm/pull/14160#issuecomment-1459160265

   Since the ci image is not updated yet, you can modify the test case to fix 
`mish` error
   ```
   @tvm.testing.uses_gpu
   def test_forward_mish():
       class Mish(nn.Layer):
           @paddle.jit.to_static
           def forward(self, inputs):
               return nn.functional.mish(inputs)
   
       input_shapes = [[10], [2, 3], [5, 10, 11], [3, 4, 5, 6]]
       if paddle.version.full_version >= '2.4.2':
         for input_shape in input_shapes:
             input_data = paddle.randn(shape=input_shape, dtype="float32")
             verify_model(Mish(), input_data=input_data)
             input_data += 20.0
             verify_model(Mish(), input_data=input_data)
   
         input_data = paddle.to_tensor([-5.0, 0.0, 5.0, 23.1, 20.0])
         verify_model(Mish(), input_data=input_data)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to