PhilippvK commented on issue #8953:
URL: https://github.com/apache/tvm/issues/8953#issuecomment-917771946


   I just ran into another issued related to the limited maximum function name 
in the graph runtime. I got to use a TFLite model with tensor names which are 
136 characters long. This exceeds the maximum allowed size of 120 characters 
and therefore leads to a crash at runtime. I am not very sure we are able to 
truncate the tensor names on the TVM-side one because the original names may be 
used for accessing model inputs and outputs in the target software. Increasing 
the buffer size can fix the issue at relatively small cost but if a default 
array size >120 is unwanted, it might be possible to make this configurable 
using `crt_config.h` instead of hardcoding the array size in 
[graph_executor.h](https://github.com/apache/tvm/blob/9b034d729f80f6f19106ae435221e4c48df44618/include/tvm/runtime/crt/graph_executor.h#L39)
   
   I am aware of the fact that the standalone graph executor will be replaced 
by the AoT executor in the future for most use cases but as long it has still 
relevance, people might run into these issues as well.


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