junrushao commented on issue #15716:
URL: https://github.com/apache/tvm/issues/15716#issuecomment-1712426842

   Printing out `GetOrAllocRuntimeTypeIndex`, and the outputs are:
   
   ```
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.ADT, static_tindex = 10, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
Map, static_tindex = 5, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.Closure, static_tindex = 9, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.ShapeTuple, static_tindex = 6, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.disco.ShardLoader, static_tindex = 11, parent_tindex = 0, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.disco.DRef, static_tindex = 8, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.disco.Session, static_tindex = 11, parent_tindex = 0, num_child_slots = 
0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.disco.ThreadedSession, static_tindex = 11, parent_tindex = 774, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
metadata.MetadataArrayNode, static_tindex = 11, parent_tindex = 512, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.Module, static_tindex = 1, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.NDArray, static_tindex = 2, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.PackedFunc, static_tindex = 7, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
TimerNode, static_tindex = 11, parent_tindex = 0, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
DefaultTimerNode, static_tindex = 11, parent_tindex = 777, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
CPUTimerNode, static_tindex = 11, parent_tindex = 777, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.profiling.DeviceWrapper, static_tindex = 11, parent_tindex = 0, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
runtime.profiling.MetricCollector, static_tindex = 11, parent_tindex = 0, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
relax.vm.AttentionKVCache, static_tindex = 11, parent_tindex = 0, 
num_child_slots = 0, child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
relax.vm.Closure, static_tindex = 11, parent_tindex = 9, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
vm.Closure, static_tindex = 11, parent_tindex = 9, num_child_slots = 0, 
child_slots_can_overflow = 1
   [05:51:33] /opt/scratch/junrushao/tvm-dev/src/runtime/object.cc:213: key = 
CUDATimerNode, static_tindex = 11, parent_tindex = 777, num_child_slots = 0, 
child_slots_can_overflow = 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