- rename /usr/bin/convert.py

- update long-term yum.repo in dockerfile
This commit is contained in:
zhoupengcheng 2023-09-21 10:35:52 +08:00
parent 79e1d01cbc
commit ee553ce5c4
2 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,7 @@ FROM openeuler/openeuler:22.03
#update openEuler2309 source and install chatglm
RUN echo '[everything]' > /etc/yum.repos.d/openEuler.repo && \
echo 'name=everything' >> /etc/yum.repos.d/openEuler.repo && \
echo 'baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/EBS-openEuler-23.09/everything/$basearch/' >> /etc/yum.repos.d/openEuler.repo && \
echo 'baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc4_openeuler-2023-09-13-21-46-47/everything/$basearch/' >> /etc/yum.repos.d/openEuler.repo && \
echo 'enabled=1' >> /etc/yum.repos.d/openEuler.repo && \
echo 'gpgcheck=0' >> /etc/yum.repos.d/openEuler.repo && \
yum install -y llama.cpp wget

View File

@ -3,7 +3,7 @@
Name: llama.cpp
Version: 20230815
Release: 2
Release: 3
License: MIT
Summary: Port of English lagre model LLaMA implemented based on C/C++
@ -30,6 +30,7 @@ popd
pushd llama_builddir
%make_install
mv %{buildroot}%{_prefix}/local/bin/main %{buildroot}%{_prefix}/local/bin/llama_cpp_main
mv %{buildroot}%{_prefix}/local/bin/convert.py %{buildroot}%{_prefix}/local/bin/llama_convert.py
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
popd
@ -38,6 +39,10 @@ popd
%{_libdir}/libembdinput.a
%changelog
* Wed Sep 20 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 20230815-3
- rename /usr/bin/convert.py
- update long-term yum.repo in dockerfile
* Tue Sep 19 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 20230815-2
- add dockerfile