diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-15 17:14:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-15 17:14:43 +0000 |
commit | 2ad33b7ea065271f84ef2d77e97a970494399474 (patch) | |
tree | e5ce1a9f1cfcbcc2640128cc090655e814dbabb6 | |
parent | bc8dabefad1579c96184c103ea1bcf8f75ca01eb (diff) |
automatic import of deepspeed
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | deepspeed.spec | 59 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 61 insertions, 0 deletions
@@ -0,0 +1 @@ +/v0.8.0.tar.gz diff --git a/deepspeed.spec b/deepspeed.spec new file mode 100644 index 0000000..5d62c20 --- /dev/null +++ b/deepspeed.spec @@ -0,0 +1,59 @@ +%global commit 0.8.0 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: deepspeed +Version: 0.8.0 +Release: 1%{?dist} +Summary: DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective. + +License: MIT +URL: https://www.deepspeed.ai/ +Source0: https://github.com/microsoft/DeepSpeed/archive/v%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: python3-devel +BuildRequires: python3-numpy +BuildRequires: python3-scipy +BuildRequires: python3-scikit-learn +BuildRequires: python3-matplotlib +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-torch +BuildRequires: python3-six +BuildRequires: python3-tqdm +BuildRequires: python3-requests +BuildRequires: python3-yaml +BuildRequires: python3-regex +BuildRequires: python3-psutil +BuildRequires: python3-typing-extensions +BuildRequires: python3-future +BuildRequires: python3-filelock +BuildRequires: python3-importlib-metadata +BuildRequires: python3-packaging +BuildRequires: python3-dataclasses +BuildRequires: cuda-devel + +%description +DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective. +It was developed by Microsoft Research and is widely used in the AI community. + +%prep +%autosetup -n DeepSpeed-%{commit} + +%build +export DEEPSPEED_BUILD_VERSION=%{version} +export DEEPSPEED_BUILD_NUMBER=1 +python3 setup.py bdist_wheel + +%install +%py3_install + +%files +%{python3_sitelib}/* + +%changelog +* Sat Apr 15 2024 Your Name <your.name@example.com> - 0.8.0-1 +- Updated to version 0.8.0 @@ -0,0 +1 @@ +053d41fda93b477c08f4c41ef69177b3 v0.8.0.tar.gz |