AndrewZhaoLuo commented on pull request #9853:
URL: https://github.com/apache/tvm/pull/9853#issuecomment-1013339098


   Hey mousius, have you gotten around to upgrading the CI image for this yet? 
I'm trying an unrelated change (upgrading onnx) but am getting stuck on on 
ethos-u error of some sort: 
   
   
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/ci-docker-staging/206/pipeline
   
   It appears that the CI in Jenkinsfile did not get upgraded yet?
   
   ```
   
   TVM_NUM_THREADS=1 build/test_static build/test_data_c.bin 
build/test_output_c.bin build/test_graph_c.json build/test_params_c.bin
   
   timing: 0.06 ms (create), 0.01 ms (set_input), 0.00 ms (run), 0.00 ms 
(get_output), 0.00 ms (destroy)
   
   WARNING: You are using pip version 19.3.1; however, version 21.3.1 is 
available.
   
   You should consider upgrading via the 'pip install --upgrade pip' command.
   
   ethos-u-vela                   3.2.0    
   
   ./mobilenet_v1_1.0_224_quant.tflite
   
   Traceback (most recent call last):
   
     File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
   
       "__main__", mod_spec)
   
     File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
   
       exec(code, run_globals)
   
     File "/workspace/python/tvm/driver/tvmc/__main__.py", line 24, in <module>
   
       tvmc.main.main()
   
     File "/workspace/python/tvm/driver/tvmc/main.py", line 105, in main
   
       sys.exit(_main(sys.argv[1:]))
   
     File "/workspace/python/tvm/driver/tvmc/main.py", line 93, in _main
   
       return args.func(args)
   
     File "/workspace/python/tvm/driver/tvmc/compiler.py", line 175, in 
drive_compile
   
       additional_target_options=reconstruct_target_args(args),
   
     File "/workspace/python/tvm/driver/tvmc/compiler.py", line 269, in 
compile_model
   
       with tvm.transform.PassContext(config=config):
   
     File "/workspace/python/tvm/ir/transform.py", line 97, in __init__
   
       _ffi_transform_api.PassContext, opt_level, required, disabled, 
instruments, config
   
     File "tvm/_ffi/_cython/./object.pxi", line 126, in 
tvm._ffi._cy3.core.ObjectBase.__init_handle_by_constructor__
   
     File "tvm/_ffi/_cython/./packed_func.pxi", line 279, in 
tvm._ffi._cy3.core.ConstructorCall
   
     File "tvm/_ffi/_cython/./packed_func.pxi", line 267, in 
tvm._ffi._cy3.core.FuncCall
   
     File "tvm/_ffi/_cython/./base.pxi", line 163, in tvm._ffi._cy3.core.CALL
   
   AttributeError: Traceback (most recent call last):
   
     12: TVMFuncCall
   
           at /workspace/src/runtime/c_runtime_api.cc:475
   
     11: tvm::runtime::PackedFunc::CallPacked(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*) const
   
           at /workspace/include/tvm/runtime/packed_func.h:1151
   
     10: std::function<void (tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*) const
   
           at /usr/include/c++/7/bits/std_function.h:706
   
     9: operator()
   
           at /workspace/include/tvm/runtime/packed_func.h:1480
   
     8: unpack_call<tvm::transform::PassContext, 5, 
tvm::transform::<lambda(int, tvm::runtime::Array<tvm::runtime::String>, 
tvm::runtime::Array<tvm::runtime::String>, 
tvm::runtime::Array<tvm::instrument::PassInstrument>, 
tvm::runtime::Optional<tvm::runtime::Map<tvm::runtime::String, 
tvm::runtime::ObjectRef> >)> >
   
           at /workspace/include/tvm/runtime/packed_func.h:1421
   
     7: run<>
   
           at /workspace/include/tvm/runtime/packed_func.h:1382
   
     6: run<tvm::runtime::TVMMovableArgValueWithContext_>
   
           at /workspace/include/tvm/runtime/packed_func.h:1382
   
     5: run<tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_>
   
           at /workspace/include/tvm/runtime/packed_func.h:1382
   
     4: run<tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_>
   
           at /workspace/include/tvm/runtime/packed_func.h:1382
   
     3: run<tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_>
   
           at /workspace/include/tvm/runtime/packed_func.h:1382
   
     2: run<tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_, 
tvm::runtime::TVMMovableArgValueWithContext_>
   
           at /workspace/include/tvm/runtime/packed_func.h:1397
   
     1: operator()
   
           at /workspace/src/ir/transform.cc:582
   
     0: 
tvm::transform::PassConfigManager::Legalize(tvm::runtime::Map<tvm::runtime::String,
 tvm::runtime::ObjectRef, void, void>*)
   
           at /workspace/src/ir/transform.cc:128
   
     File "/workspace/src/ir/transform.cc", line 128
   
   AttributeError: Invalid config option 'relay.ext.ethos-u.options' candidates 
are: relay.fallback_device_type ,tir.LoopPartition ,relay.FuseOps.max_depth 
,tir.UnrollLoop ,tir.HoistIfThenElse ,tir.debug_keep_trivial_loop 
,tir.add_lower_pass ,tir.detect_global_barrier ,tir.InjectDoubleBuffer 
,tir.noalias ,tir.instrument_bound_checkers ,relay.backend.use_auto_scheduler 
,tir.is_entry_func ,tir.disable_assert ,relay.backend.use_meta_schedule 
,tir.disable_vectorize
   
   script returned exit code 1
   ```


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