You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/06/30 23:10:47 UTC
[tvm] 41/42: demote torch from xgboost deps
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 ceb636224fabb39d9c2b6a170ad80863f18acf7b
Author: Andrew Reusch <ar...@gmail.com>
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 5e4c2450c7..8fe144a50d 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",
],
),