diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-28 07:04:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-28 07:04:44 +0000 |
commit | c17007acff79395822d7da2e535347a9905e2ec7 (patch) | |
tree | 17bf717e00d47443db0f5f74b1c0e6eed5fda324 | |
parent | 8d5dedf8e88a13ac4802aa733b51c07a85a99535 (diff) |
automatic import of python-deepspeedopeneuler22.03_LTS_SP2
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-deepspeed.spec | 64 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 66 insertions, 0 deletions
@@ -0,0 +1 @@ +/python-deepspeed-0.13.0.tar.gz diff --git a/python-deepspeed.spec b/python-deepspeed.spec new file mode 100644 index 0000000..f30bc2a --- /dev/null +++ b/python-deepspeed.spec @@ -0,0 +1,64 @@ +%global _empty_manifest_terminate_build 0 +Name: python-deepspeed +Version: 0.13.0 +Release: 1 +Summary: deepspeed python3 package +License: Apache-2.0 +URL: https://www.deepspeed.ai/ +Source0: https://github.com/microsoft/DeepSpeed/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +Requires: python3-future +Requires: python3-numpy +Requires: python3-pytorch +Requires: python3-ninja +Requires: python3-tqdm +Requires: python3-hjson + +%description +DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. + +%package -n python3-deepspeed +Summary: deepspeed python3 package +Provides: python-deepspeed +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-hatchling +BuildRequires: python3-wheel +BuildRequires: python3-packaging >= 20.0 +BuildRequires: python3-psutil + + +%description -n python3-deepspeed +deepspeed + +%package help +Summary: Development documents and examples for DeepSpeed +Provides: python3-deepspeed-doc +%description help +Help doc for python3-deepspeed + +%prep +%autosetup -p1 -n deepspeed-%{version} + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} + +%files -n python3-deepspeed +%doc *.md +%license LICENSE +%{_bindir}/deepspeed* +%{_bindir}/ds_* +%{_bindir}/ds +%{_bindir}/dsr +%{python3_sitelib}/deepspeed/* +%{python3_sitelib}/deepspeed-%{version}* + +%changelog +* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1 +- Package init @@ -0,0 +1 @@ +56db73a6cc0a299b7e08153cda6c55b7 python-deepspeed-0.13.0.tar.gz |