Compile and Evaluate Bert

Hi Recently, I’m trying to follow the instructions from the tutorial “tune network cuda” , to compile and evaluate the network after I tuned them (obtained the json file).

I succeeded in dcgan and resnet3d, but for bert, I met this error: Traceback (most recent call last): File “”, line 32, in module.set_input(“data”, data_tvm) File “/home/tong/tvm/python/tvm/contrib/”, line 181, in set_input raise RuntimeError(“Could not find ‘%s’ in graph’s inputs” % key) RuntimeError: Could not find ‘data’ in graph’s inputs

It seems that for Bert, there is not a key called “data” in graph’s inputs, have anyone met the similar issue before?

Thank you so much in advance.

You can see this example on loading a BERT model from huggingface/transformers