Notice one very interesting one that might be helpful for this bug
I tried to compile the models exported from mxnet ``` from tvm import relay import tvm import numpy as np import torch import torch as th import torch.nn as nn from torchvision import models import torch.onnx from tvm import relay, auto_scheduler from tvm.relay import testing mod, params = relay.testing.resnet.get_workload( num_layers=18, batch_size=1, image_shape=(3, 224, 224) ) opt_level = 3 # target = tvm.target.cuda() target = "llvm" with tvm.transform.PassContext(opt_level=opt_level): lib = relay.build(mod, target=target, params=params) print("build sucessful") ``` and it also raises the same segment fault error. However, if I comment all pytorch imports ``` import torch import torch as th import torch.nn as nn from torchvision import models import torch.onnx ``` then the `relay.build` works without problem. Any thoughts on the strange behavior? --- [Visit Topic](https://discuss.tvm.apache.org/t/relay-failed-to-build-models-exported-from-pytorch/11394/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/d08386f0c9978c8817448d18fb86cd0fddff9fbcbfef2465a0a157b551158a87).