echuraev opened a new pull request, #13099:
URL: https://github.com/apache/tvm/pull/13099

   Tuning doesn't work after #12969.
   It reports the following error:
   
   ```
   ImportError: cannot import name 'get_const_float' from partially initialized 
module 'tvm.topi.utils' (most likely due to a circular import)
   ```
   
   In this commit, I moved import relay to a function which used in a test. And 
it helps to fix this circular import.
   
   To reproduce this issue, you can run the following 
[tutorial](https://github.com/apache/tvm/blob/main/gallery/tutorial/autotvm_relay_x86.py)
 and will see this error.
   
   cc: @guberti, @areusch, @ekalda  


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