Christian Goll 2024-07-24 13:17:32 +00:00 committed by Git OBS Bridge
parent 2d606f83eb
commit d09e0471f1

View File

@ -226,6 +226,12 @@ PyTorch provides two high-level features:
Summary: Headers for C/C++, cmake build description and libraries needed for development
Group: Development/Languages/Python
Requires: python-torch = %{version}
%if %{with openmpi4}
Conflicts: %{python_module torch-devel}
%endif
%if %{with vulkan}
Conflicts: %{python_module torch-devel}
%endif
%description devel
Although the Python interface is more polished and the primary focus of
@ -240,6 +246,13 @@ Requires: python3-click
Requires: python3-onnx
Requires: python3-pip
Requires: python3-pname
%if %{with openmpi4}
Conflicts: %{python_module torch-converters}
%endif
%if %{with vulkan}
Conflicts: %{python_module torch-converters}
%endif
%description converters
Converter from caffe2 to onnx and from caffe2 to onnx formated files.
@ -250,6 +263,12 @@ Group: Development/Languages/Python
BuildArch: noarch
Recommends: python3-lmdb
Recommends: python3-networkx
%if %{with openmpi4}
Conflicts: %{python_module torch-examples}
%endif
%if %{with vulkan}
Conflicts: %{python_module torch-examples}
%endif
%description examples
This example files can be used to start an own pytorch/caffe2 project.