summaryrefslogtreecommitdiff
path: root/deepspeed.spec
blob: ed95f9a33899372fc05f4c87a0d841474812ca0a (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
%global _empty_manifest_terminate_build 0
%global _unpackaged_files_terminate_build 0

Name:           deepspeed
Version:        0.14.0
Release:        1
Summary:        DeepSpeed is a deep learning optimization library
License:        BSD

# the url and source0 url here
URL:            https://www.deepspeed.ai/
Source0:        https://github.com/microsoft/DeepSpeed/archive/refs/tags/v%{version}.tar.gz#/DeepSpeed-%{version}.tar.gz

BuildRequires:  g++
BuildRequires:  cmake
BuildRequires:  ninja-build
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
BuildRequires:	python3-wheel
BuildRequires:  python3-hatchling
BuildRequires:	python3-setuptools_scm
BuildRequires:  python3-pytorch

%description
DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.

%package -n python3-deepspeed
Summary: %{pkg_summary}

%description -n python3-deepspeed
DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.

%prep
%autosetup -p1 -n DeepSpeed-%{version}

%build
%pyproject_build

%install
%pyproject_install

%files -n python3-deepspeed
%doc *.md
%license LICENSE*
%{python3_sitelib}/deepspeed*

%changelog
* Mon Apr 15 2024 chelsey<20011128@gmail.com>
- Initial packaged