pytorch / tvm

TVM integration into PyTorch
449 stars 64 forks source link

Error building error: ‘PURE’ is not a member of ‘torch::jit::AliasAnalysisKind {aka c10::AliasAnalysisKind}’ options.setAliasAnalysis(AliasAnalysisKind::PURE); #116

Closed lixiuhong closed 4 years ago

lixiuhong commented 4 years ago

/pytorch_tvm/tvm/torch_tvm/register.cpp:34:47: error: ‘PURE’ is not a member of ‘torch::jit::AliasAnalysisKind {aka c10::AliasAnalysisKind}’ options.setAliasAnalysis(AliasAnalysisKind::PURE);

yinghai commented 4 years ago

Probably you need to update the PyTorch you installed.

lixiuhong commented 4 years ago

Probably you need to update the PyTorch you installed. the version is 1.3.0.dev20190911. I have installed the pytorch nightly version. Are there any other reasons?