summaryrefslogtreecommitdiff
path: root/torchlightning.spec
blob: bc94ca5d37e21857c3892dd19abea997460197f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%global _empty_manifest_terminate_build 0
%global _unpackaged_files_terminate_build 0

Name: pytorch-lightning
Version: 2.2.2
Release: 1%{?dist}
Summary: TorchLightning is a lightweight PyTorch wrapper for high-performance AI research. It organizes your code to decouple the science from the engineering, and enables seamless linear scaling to any hardware setup. 
License: BSD
URL: https://pypi.org/project/pytorch-lightning/
Source0: pytorch-lightning-2.2.2.tar.gz

BuildRequires:  g++
Requires:	python3-pytorch
Requires:	python3-fvcore
Requires:	python3-iopath
Requires:	python3-pyav
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-setuptools_scm
BuildRequires:	python3-rpm-macros
BuildRequires:	python3-pip
BuildRequires:	python3-wheel
BuildRequires:	python3-hatchling


%description
TorchLightning is a lightweight PyTorch wrapper for high-performance AI research. It organizes your code to decouple the science from the engineering, and enables seamless linear scaling to any hardware setup. 

%package -n python3-torchlightning
Summary: A Python 3 version of the deep learning library for video understanding research

%description -n python3-torchlightning
TorchLightning is a lightweight PyTorch wrapper for high-performance AI research. It organizes your code to decouple the science from the engineering, and enables seamless linear scaling to any hardware setup. 

%prep
%autosetup -p1 -n pytorch-lightning-%{version}

%build
%pyproject_build

%install
%pyproject_install

%files -n python3-torchlightning
%doc *.md
%license LICENSE*
%{python3_sitelib}/pytorch_lightning/*
%{python3_sitelib}/lightning_fabric/*


%changelog
* Mon Apr 15 2024 weilaijishu 
- Initial package