- packing chatglm_convert.py file
- update long-term yum.repo in dockerfile (cherry picked from commit 3ff92e971599bfd218f6669b911277472f5a1b02)
This commit is contained in:
parent
8e037f8a3a
commit
b51e548b92
@ -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 sentencepiece chatglm-cpp wget
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: chatglm-cpp
|
||||
Version: 0.2.4
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: MIT
|
||||
Summary: Port of Chinese lagre model ChatGLM-6B & ChatGLM2-6B implemented based on C/C++
|
||||
|
||||
@ -31,6 +31,7 @@ pushd chatglm_builddir
|
||||
%make_install
|
||||
install bin/main %{buildroot}%{_prefix}/local/bin/chatglm_cpp_main
|
||||
install lib/libchatglm.a %{buildroot}%{_prefix}/local/bin/libchatglm.a
|
||||
install ../chatglm_cpp/convert.py %{buildroot}%{_prefix}/local/bin/chatglm_convert.py
|
||||
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
|
||||
|
||||
#Remove files from package sentencepiece.
|
||||
@ -46,6 +47,11 @@ popd
|
||||
/usr/lib/static/libggml.a
|
||||
|
||||
%changelog
|
||||
* Wed Sep 20 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 0.2.4-4
|
||||
- packing chatglm_convert.py file
|
||||
- install python models for chatglm_convert.py int dockerfile
|
||||
- update long-term yum.repo in dockerfile
|
||||
|
||||
* Tue Sep 19 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 0.2.4-3
|
||||
- add dokerfile
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user