leandron opened a new issue #10757:
URL: https://github.com/apache/tvm/issues/10757


   The series of tests under 
`tests/python/contrib/test_vitis_ai/test_vitis_ai_codegen.py` are set to run 
conditional to the presence of `pyxir` module in the namespace, which is true 
for many of our CI containers including `ci_cpu`.
   
   However, in case we have TVM built with `USE_VITIS_AI OFF` and try to run 
the same tests, it will fail with:
   ```
   E           AttributeError: Invalid config option 
'relay.ext.vitis_ai.options.target' candidates are: relay.ext.verilator.options 
   ,relay.ext.cmsisnn.options ,tir.usmp.enable ,tir.usmp.algorithm 
,relay.ext.ethos-u.options ,tir.detect_global_barrier 
   ,relay.FuseOps.max_depth ,tir.HoistIfThenElse ,relay.fallback_device_type 
,tir.LoopPartition ,tir.InjectDoubleBuffer 
   ,relay.backend.use_meta_schedule ,relay.backend.use_auto_scheduler 
,tir.UnrollLoop ,tir.noalias ,tir.instrument_bound_checkers 
   ,tir.disable_vectorize ,tir.disable_cse_tir ,tir.is_entry_func 
,relay.ext.ethos-n.options ,relay.FuseOps.link_params ,tir.disable_assert 
   ,tir.disable_storage_rewrite ,tir.add_lower_pass ,tir.debug_keep_trivial_loop
   ```
   
   The error is expected once TVM was build with `USE_VITIS_AI OFF`, but I 
guess the test module could be improved and skipped properly to cover this 
situation.
   
   I'm facing this issue when trying to progress while we wait for 
https://github.com/apache/tvm/issues/10696 to be fixed.
   
   cc @jtuyls @anilmartha 


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