# Runnig a model with tvm debugger

**URL:** <https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869>\
**Category:** Questions\
**Created:** [April 30, 2021, 11:32am UTC](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869 "2021-04-30T11:32:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tkonolige](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/tkonolige/32/1972_2.png) [@tkonolige](https://discuss.tvm.apache.org/u/tkonolige)\
**Post date:** [May 5, 2021, 4:24pm UTC](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869/6 "2021-05-05T16:24:49Z")

</div>

Use this code to construct the graph\_executor:

```python
from tvm.contrib.debugger.graph_debugger import GraphModuleDebug
m = GraphModuleDebug(exe["debug_create"]("default", dev)), [dev], exe.get_json())

```

I’ve encountered errors with `graph_debugger.create` in the past but I haven’t had a chance to figure out what is wrong.

---

_[View the full topic](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869)._
