This is an automated email from the ASF dual-hosted git repository. areusch pushed a commit to branch areusch/freeze-dependencies in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 2e27a8fefb44d8a5a4eb98b7df2e156445ea8746 Author: Andrew Reusch <[email protected]> AuthorDate: Wed Jun 29 15:28:08 2022 -0700 demote torch from xgboost deps --- docker/python/build/poetry.lock | 4 ++-- docker/python/build/pyproject.toml | 2 +- python/gen_requirements.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/python/build/poetry.lock b/docker/python/build/poetry.lock index f15aeb1f0c..3d58a35c4e 100644 --- a/docker/python/build/poetry.lock +++ b/docker/python/build/poetry.lock @@ -2396,12 +2396,12 @@ importer-pytorch = ["future", "torch", "torchvision"] importer-tensorflow = ["tensorflow", "tensorflow-estimator"] importer-tflite = ["tensorflow", "tensorflow-estimator", "tflite"] tvmc = ["ethos-u-vela", "future", "onnx", "onnxoptimizer", "onnxruntime", "paddlepaddle", "tensorflow", "tflite", "torch", "torchvision", "xgboost"] -xgboost = ["future", "torch", "xgboost"] +xgboost = ["future", "xgboost"] [metadata] lock-version = "1.1" python-versions = ">=3.7, <3.9" -content-hash = "4e0cbfe86d4e7077094433a2c07b8ca00f228d6f5be6a0952d3b535dade8783f" +content-hash = "559f23b1fa6c5181fb8c7b856d1d7ee65405586e089871ed7de5f0fc1e6080e4" [metadata.files] absl-py = [ diff --git a/docker/python/build/pyproject.toml b/docker/python/build/pyproject.toml index 0820ee3a1f..a579046942 100644 --- a/docker/python/build/pyproject.toml +++ b/docker/python/build/pyproject.toml @@ -174,6 +174,6 @@ importer-tflite = ["tensorflow", "tensorflow-estimator", "tflite"] tvmc = ["ethos-u-vela", "future", "onnx", "onnxoptimizer", "onnxruntime", "paddlepaddle", "tensorflow", "tflite", "torch", "torchvision", "xgboost"] # Requirements for XGBoost autotuning -xgboost = ["future", "torch", "xgboost"] +xgboost = ["future", "xgboost"] diff --git a/python/gen_requirements.py b/python/gen_requirements.py index fe19a20e05..62aa17a25e 100755 --- a/python/gen_requirements.py +++ b/python/gen_requirements.py @@ -204,7 +204,6 @@ REQUIREMENTS_BY_PIECE: RequirementsByPieceType = [ "Requirements for XGBoost autotuning", [ "future", # Hidden dependency of torch. - "torch", "xgboost", ], ),
