Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

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

Closed
lixiuhong opened this issue Sep 18, 2019 · 2 comments

Comments

@lixiuhong
Copy link

lixiuhong commented Sep 18, 2019

/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
Copy link

yinghai commented Sep 18, 2019

Probably you need to update the PyTorch you installed.

@lixiuhong
Copy link
Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants