From 6509a931e4e1f3c973c02b00abc54eacbb25dd62 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 14 Apr 2024 02:59:02 +0000 Subject: automatic import of python-deepspeed --- .gitignore | 1 + python-deepspeed.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 python-deepspeed.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bcd6dda 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/DeepSpeed-0.13.5.tar.gz diff --git a/python-deepspeed.spec b/python-deepspeed.spec new file mode 100644 index 0000000..8e6f9f0 --- /dev/null +++ b/python-deepspeed.spec @@ -0,0 +1,56 @@ +%global pypi_name deepspeed +%global pypi_version 0.13.5 +%global pkg_summary DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. +%global pkg_description %{expand: +%{pkg_summary}} +%global debug_package %{nil} + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: %{pkg_summary} + +License: Apache-2.0 +URL: https://github.com/microsoft/DeepSpeed +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/DeepSpeed-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: ninja-build +BuildRequires: g++ + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +BuildRequires: python3-pytorch >= 2.1.2 + +%description +%{pkg_description} + +%package -n python3-%{pypi_name} +Summary: %{pkg_summary} + +%description -n python3-%{pypi_name} +%{pkg_description} + +%prep +%autosetup -p1 -n DeepSpeed-%{pypi_version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{pypi_name}* + +%changelog +* Sun Mar 31 2024 YunShu +- add DeepSpeed 0.13.5 diff --git a/sources b/sources new file mode 100644 index 0000000..a88f57e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8b3b7084c4d6354bb79a43602f9c7862 DeepSpeed-0.13.5.tar.gz -- cgit v1.2.3