masahi commented on issue #13666:
URL: https://github.com/apache/tvm/issues/13666#issuecomment-1397695640

   @mvermeulen Thanks I got it working, but the result is the same as my 
non-docker execution: LLVM and rocm results are different.
   ```
   LLVM output
   [-0.22859041 -0.25806972 -0.43340546  0.4846975  -0.6018108   0.2269876
     0.8546581  -0.9607104   0.527962   -1.1830723 ]
   rocm output
   [ 0.64347816 -1.4370097  -1.527026    1.1573262  -0.03408854 -1.1726259
     0.8344087  -1.231696    0.9886506  -1.0510902 ]
   ```
   Also, running 
https://github.com/apache/tvm/blob/main/gallery/how_to/compile_models/from_pytorch.py
 inside the container (after changing the target to rocm) I get
   ```
   Relay top-1 id: 277, class name: red fox, Vulpes vulpes                      
                                                                      
   Torch top-1 id: 281, class name: tabby, tabby cat       
   ```
   which is an incorrect result (the same as non-docker execution).
   
   It would be interesting if the result depends on the GPU. Mine is RX 6600xt 
which is not officially supported.


-- 
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