code: def test_on_device_invalid_device():
      x = relay.Var("x")
      pytest.raises(
          ValueError, lambda: relay.annotation.on_device(x, "bogus")
      )
  
file_path: tvm/tests/python/relay/op/annotation/test_annotation.py
imports: import tvm
  import tvm.testing
  from tvm import relay
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_on_device_invalid_device() without return types