- rename /usr/bin/convert.py
- update long-term yum.repo in dockerfile
This commit is contained in:
parent
79e1d01cbc
commit
ee553ce5c4
@ -10,7 +10,7 @@ FROM openeuler/openeuler:22.03
|
|||||||
#update openEuler2309 source and install chatglm
|
#update openEuler2309 source and install chatglm
|
||||||
RUN echo '[everything]' > /etc/yum.repos.d/openEuler.repo && \
|
RUN echo '[everything]' > /etc/yum.repos.d/openEuler.repo && \
|
||||||
echo 'name=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 'enabled=1' >> /etc/yum.repos.d/openEuler.repo && \
|
||||||
echo 'gpgcheck=0' >> /etc/yum.repos.d/openEuler.repo && \
|
echo 'gpgcheck=0' >> /etc/yum.repos.d/openEuler.repo && \
|
||||||
yum install -y llama.cpp wget
|
yum install -y llama.cpp wget
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: llama.cpp
|
Name: llama.cpp
|
||||||
Version: 20230815
|
Version: 20230815
|
||||||
Release: 2
|
Release: 3
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Port of English lagre model LLaMA implemented based on C/C++
|
Summary: Port of English lagre model LLaMA implemented based on C/C++
|
||||||
|
|
||||||
@ -30,6 +30,7 @@ popd
|
|||||||
pushd llama_builddir
|
pushd llama_builddir
|
||||||
%make_install
|
%make_install
|
||||||
mv %{buildroot}%{_prefix}/local/bin/main %{buildroot}%{_prefix}/local/bin/llama_cpp_main
|
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}
|
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -38,6 +39,10 @@ popd
|
|||||||
%{_libdir}/libembdinput.a
|
%{_libdir}/libembdinput.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Sep 19 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 20230815-2
|
||||||
- add dockerfile
|
- add dockerfile
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user