36 lines
1.0 KiB
RPMSpec
36 lines
1.0 KiB
RPMSpec
Name: ACPO
|
|
Version: 1.1
|
|
License: Apache License 2.0
|
|
Release: 1
|
|
Summary: ACPO model source
|
|
URL: https://github.com/Huawei-CPLLab/ACPO/
|
|
Source0: https://github.com/Huawei-CPLLab/ACPO/archive/refs/tags/v1.1.zip
|
|
BuildArch: noarch
|
|
|
|
#build requires
|
|
Requires: python3-devel
|
|
Requires: python3-setuptools
|
|
Requires: python3-pip
|
|
Requires: python3-wheel
|
|
|
|
%description
|
|
The ACPO framework is designed to easily integrate ML models within a compiler framework
|
|
and provide useful tools for training and analysis of ML models for use in a compiler.
|
|
It comes together with examples of different models that were deployed in an LLVM-based compiler.
|
|
|
|
%prep
|
|
%autosetup -n %{name}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{python3_sitelib}
|
|
cp -r %{_builddir}/%{name} %{buildroot}/%{python3_sitelib}
|
|
|
|
%files
|
|
/%{python3_sitelib}/%{name}/*
|
|
|
|
%changelog
|
|
* Tue Nov 19 2024 wangziming <wangziming16@huawei.com> - 1.1-1
|
|
- Update torch model train and inference
|
|
* Mon Oct 28 2024 wangziming <wangziming16@huawei.com> - 1.0-1
|
|
- Package init
|