In the current TVM, relay.Var would accept variable names like input:0 while in the compiler : is a special character and we are sanitizing these name before passing it to the compiler.
The solution could be adding check in the relay.Var itself. This would result in adding sanitization in different places like frontends.
cc @AndrewZhaoLuo @slyubomirsky @areusch