This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
[TVM][BUGFIX] Change graph_runtime to graph_executor & Fix MosesNormalizer #1547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
TVM will deprecate graph_runtime and use graph_executor. https://github.com/apache/tvm/blob/bf862d4c4355eae4f18d89b3b6b98ed0a2c18e9c/python/tvm/contrib/graph_runtime.py#L24-L29
When building gpu docker, the log shows
So, I changed to torch==1.8.1+cu102 @leezu
Also fix sacremoses version to <0.0.44, because the contributors of sacremoses didn't update their release for 0.0.44 on github. Updates will be tracked in #1548
Checklist
Essentials
Changes
Comments
cc @dmlc/gluon-nlp-team