summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 02:26:31 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 02:26:31 +0000
commit9679e82c348fe46b28d099a79ea8438dd28215a0 (patch)
tree97f330d89951e3d47ae2d33b02b2a0c1c1226ab8
parent8e33b7d8aaabe1d85b39a8d2951436c2d2c149d5 (diff)
automatic import of python-tensordict
-rw-r--r--python-tensordict.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/python-tensordict.spec b/python-tensordict.spec
index 515fa2e..c3470ae 100644
--- a/python-tensordict.spec
+++ b/python-tensordict.spec
@@ -3,7 +3,6 @@
%global pkg_summary TensorDict is a pytorch dedicated tensor container.
%global pkg_description %{expand:
%{pkg_summary}}
-%global debug_package %{nil}
Name: python-%{pkg_name}
Version: %{pkg_version}
@@ -22,6 +21,8 @@ BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
+BuildRequires: python3-pytorch >= 2.1.2
+
%description
%{pkg_description}