diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-31 09:29:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-31 09:29:34 +0000 |
commit | 1ff73a22d33572055dee7d69cea872ad23c5689b (patch) | |
tree | 9219580f5107f25e80be2a6a3981112e9983db2d | |
parent | 79f1ba44426761268218f880d1472d87144e1e3e (diff) |
automatic import of python-torchvisionopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | sources | 1 | ||||
-rw-r--r-- | torchvision.spec | 51 |
3 files changed, 53 insertions, 0 deletions
@@ -0,0 +1 @@ +/python-torchvision-0.16.2.tar.gz @@ -0,0 +1 @@ +a0e7f9cc2aa638576fd8088813377294 python-torchvision-0.16.2.tar.gz diff --git a/torchvision.spec b/torchvision.spec new file mode 100644 index 0000000..da0baa5 --- /dev/null +++ b/torchvision.spec @@ -0,0 +1,51 @@ +%global _empty_manifest_terminate_build 0 +Name: python-torchvision +Version: 0.16.2 +Release: 1 +Summary: torchvision package for python3 +License: BSD 3-Clause +URL: https://pytorch.org/vision/stable/index.html +Source0: https://github.com/pytorch/vision/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +Requires: python3 >= 3.8 + +%description +PyTorchVision is a computer vision library based on PyTorch. This package provides tools and pre-trained models for various computer vision tasks. + +%package -n python3-torchvision +Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration +Provides: python-torchvision +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-pytorch + +%description -n python3-torchvision +The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. + +%package help +Summary: Development documents and examples for torch +Provides: python3-torchvision-doc +%description help +torchvision help docs + +%prep +%autosetup -p1 -n vision-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-torchvision +%doc *.md +%license LICENSE +%{python3_sitearch}/torchvision/* +%{python3_sitearch}/torchvision-%{version}-py%{python3_version}.egg-info/* + +%changelog +* Sat. Mar 30 2024 JackLiu <liuming@mzsat.cn> - 0.16.2-1 +- Package init |