<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3A_llama-server_en_tant_que_service</id>
	<title>Info:: llama-server en tant que service - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3A_llama-server_en_tant_que_service"/>
	<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;action=history"/>
	<updated>2026-11-27T17:25:11Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=20152&amp;oldid=prev</id>
		<title>Pchevalier le 26 octobre 2025 à 14:28</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=20152&amp;oldid=prev"/>
		<updated>2025-10-26T14:28:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 26 octobre 2025 à 14:28&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot;&gt;Ligne 88 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 88 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;les logs seront dans &amp;#039;/var/log/LLAMA-SERVER/llama-server.log&amp;#039;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;les logs seront dans &amp;#039;/var/log/LLAMA-SERVER/llama-server.log&amp;#039;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/del&gt;/usr/local/bin/llama-server 	    \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/usr/local/bin/llama-server 	    \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--model &amp;quot;${strLLM}&amp;quot;             \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--model &amp;quot;${strLLM}&amp;quot;             \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--host 0.0.0.0 		            \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--host 0.0.0.0 		            \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l105&quot;&gt;Ligne 105 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 105 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--cont-batching                 \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	--cont-batching                 \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     --repeat-penalty 1.1            \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     --repeat-penalty 1.1            \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;gt; /var/log/LLAMA-SERVER/llama-server.log 2&amp;gt;&amp;amp;1&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;) &amp;amp;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;gt; /var/log/LLAMA-SERVER/llama-server.log 2&amp;gt;&amp;amp;1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# --system-prompt &amp;#039;Tu es un expert C++ sous Debian 12, spécialisé dans les standards modernes C++11. Utilise la librairie boost 1.83, les smart pointers, auto, range-based loops, et les algorithmes STL. Privilégie la sécurité mémoire et les performances.&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# --system-prompt &amp;#039;Tu es un expert C++ sous Debian 12, spécialisé dans les standards modernes C++11. Utilise la librairie boost 1.83, les smart pointers, auto, range-based loops, et les algorithmes STL. Privilégie la sécurité mémoire et les performances.&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19693&amp;oldid=prev</id>
		<title>Pchevalier le 12 septembre 2025 à 05:46</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19693&amp;oldid=prev"/>
		<updated>2025-09-12T05:46:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 12 septembre 2025 à 05:46&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Ligne 4 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 4 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Pour lancer &#039;&#039;&#039;llama-server&#039;&#039;&#039; en tant que &#039;&#039;&#039;service&#039;&#039;&#039;: vi /etc/systemd/system/llama-server.service:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Pour lancer &#039;&#039;&#039;llama-server&#039;&#039;&#039; en tant que &#039;&#039;&#039;service&#039;&#039;&#039;: vi /etc/systemd/system/llama-server.service:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Unit]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Unit]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description=Llama Server&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description=Llama Server&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19616&amp;oldid=prev</id>
		<title>Pchevalier le 20 août 2025 à 14:27</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19616&amp;oldid=prev"/>
		<updated>2025-08-20T14:27:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 20 août 2025 à 14:27&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Ligne 4 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 4 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Pour lancer llama-server en tant que service: vi /etc/systemd/system/llama-server.service:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Pour lancer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;llama-server&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;en tant que &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;service&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;: vi /etc/systemd/system/llama-server.service:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Unit]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Unit]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description=Llama Server&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description=Llama Server&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19615&amp;oldid=prev</id>
		<title>Pchevalier : Page créée avec « KEYWORDS: IA, LLAMA-SERVER, LLAMA.CPP, SRV18   &#039;&#039;&#039;Le 20/08/2025:&#039;&#039;&#039; llama-server en tant que service  &#039;&#039;NB: Attention, il faut compiler llamma-cpp.fresh&#039;&#039;    Pour lancer l... »</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::_llama-server_en_tant_que_service&amp;diff=19615&amp;oldid=prev"/>
		<updated>2025-08-20T14:26:57Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « KEYWORDS: IA, LLAMA-SERVER, LLAMA.CPP, SRV18   &amp;#039;&amp;#039;&amp;#039;Le 20/08/2025:&amp;#039;&amp;#039;&amp;#039; llama-server en tant que service  &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;    Pour lancer l... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;KEYWORDS: IA, LLAMA-SERVER, LLAMA.CPP, SRV18&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Le 20/08/2025:&amp;#039;&amp;#039;&amp;#039; llama-server en tant que service&lt;br /&gt;
 &amp;#039;&amp;#039;NB: Attention, il faut compiler llamma-cpp.fresh&amp;#039;&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 Pour lancer llama-server en tant que service: vi /etc/systemd/system/llama-server.service:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Llama Server&lt;br /&gt;
After=network.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=simple&lt;br /&gt;
User=root&lt;br /&gt;
WorkingDirectory=/usr/local/IA&lt;br /&gt;
ExecStart=/bin/bash /usr/local/IA/llama-server.sh&lt;br /&gt;
&lt;br /&gt;
Restart=on-failure&lt;br /&gt;
RestartSec=5&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;llama-server.sh:&amp;#039;&amp;#039;&amp;#039; &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# lun. 18 août 2025 06:51:28 CEST&lt;br /&gt;
# LLM Disponibles:&lt;br /&gt;
&lt;br /&gt;
  # 4G llama-2-7b-chat.Q4_K_M.gguf&lt;br /&gt;
&lt;br /&gt;
  # 4G codellama-7b-instruct.Q4_K_M.gguf&lt;br /&gt;
  # 4G codellama-7b-instruct.Q4_K_S.gguf&lt;br /&gt;
  # 4G codellama-7b-instruct.Q5_0.gguf&lt;br /&gt;
  # 4G codellama-7b-instruct.Q5_K_M.gguf&lt;br /&gt;
  # 4G codellama-7b-instruct.Q5_K_S.gguf&lt;br /&gt;
  # 7G codellama-7b-instruct.Q8_0.gguf&lt;br /&gt;
&lt;br /&gt;
  # 4G deepseek-coder-6.7b-instruct.Q4_0.gguf&lt;br /&gt;
  # 4G deepseek-coder-6.7b-instruct.Q5_0.gguf&lt;br /&gt;
  # 4G deepseek-coder-6.7b-instruct.Q5_K_M.gguf&lt;br /&gt;
  # 7G deepseek-coder-6.7b-instruct.Q8_0.gguf&lt;br /&gt;
&lt;br /&gt;
  # 7G codegemma-7b-NES.Q6_K.gguf&lt;br /&gt;
&lt;br /&gt;
 # 11G starcoder2-15b-instruct-v0.1-Q5_K_M.gguf&lt;br /&gt;
&lt;br /&gt;
 # 11G gpt-oss-20b-32x2.4B-Q4_K_S.gguf&lt;br /&gt;
 # 11G gpt-oss-20b-Q4_K_M.gguf&lt;br /&gt;
 # 11G gpt-oss-20b-Q5_K_M.gguf&lt;br /&gt;
&lt;br /&gt;
 # 11G Intel_gpt-oss-20b-gguf-q4ks-AutoRound_gpt-oss-20b-32x2.4B-Q4_K_S.gguf&lt;br /&gt;
&lt;br /&gt;
 # 13G pygmalion-2-13b.Q8_0.gguf&lt;br /&gt;
&lt;br /&gt;
 # 13G codestral-22b-v0.1-q4_k_m.gguf&lt;br /&gt;
&lt;br /&gt;
 # 13G ggml-model-f16.gguf&lt;br /&gt;
 # 15G q_model_q5_0.gguf&lt;br /&gt;
 # 19G phind-codellama-34b-v2.Q4_K_M.gguf&lt;br /&gt;
 # 19G codellama-34b-instruct.Q4_K_M.gguf&lt;br /&gt;
 # 19G deepseek-coder-33b-instruct.Q4_K_M.gguf&lt;br /&gt;
 # 22G codellama-34b-instruct.Q5_K_S.gguf&lt;br /&gt;
 # 23G codellama-34b-instruct.Q5_K_M.gguf&lt;br /&gt;
 # 25G mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf&lt;br /&gt;
 # 26G codellama-34b-instruct.Q6_K.gguf&lt;br /&gt;
&lt;br /&gt;
cd /var/log/LLAMA-SERVER&lt;br /&gt;
if test $? -ne 0&lt;br /&gt;
then&lt;br /&gt;
    exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
killall llama-server&lt;br /&gt;
strDir=&amp;quot;/usr/local/IA/GGUF&amp;quot;&lt;br /&gt;
&lt;br /&gt;
strModelLLM=&amp;quot;pygmalion-2-13b.Q8_0.gguf&amp;quot;&lt;br /&gt;
strModelLLM=&amp;quot;usr/local/codellama-7b-instruct.Q8_0.gguf&amp;quot;&lt;br /&gt;
strModelLLM=&amp;quot;deepseek-coder-6.7b-instruct.Q8_0.gguf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
strLLM=&amp;quot;${strDir}/${strModelLLM}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;le modèle qui va se charger est: strLLM=${strLLM}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Utiliser la compilation de llama-server-fresh du 16/08/2025 (avec CUDA):&lt;br /&gt;
pcversionning -ff -n 10 /var/log/LLAMA-SERVER/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;les logs seront dans &amp;#039;/var/log/LLAMA-SERVER/llama-server.log&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
(/usr/local/bin/llama-server 	    \&lt;br /&gt;
	--model &amp;quot;${strLLM}&amp;quot;             \&lt;br /&gt;
	--host 0.0.0.0 		            \&lt;br /&gt;
	--port 8080 		            \&lt;br /&gt;
	--ctx-size 4096 	            \&lt;br /&gt;
	--n-gpu-layers 16 	            \&lt;br /&gt;
	--threads 12 		            \&lt;br /&gt;
	--threads-batch 12 	            \&lt;br /&gt;
	--batch-size 32 	            \&lt;br /&gt;
	--ubatch-size 32 	            \&lt;br /&gt;
	--n-predict 4096 	            \&lt;br /&gt;
	--temp 0.1 		                \&lt;br /&gt;
	--top-k 40 		                \&lt;br /&gt;
	--top-p 0.9 		            \&lt;br /&gt;
	--parallel 4 		            \&lt;br /&gt;
	--cont-batching                 \&lt;br /&gt;
    --repeat-penalty 1.1            \&lt;br /&gt;
    &amp;gt; /var/log/LLAMA-SERVER/llama-server.log 2&amp;gt;&amp;amp;1) &amp;amp;&lt;br /&gt;
&lt;br /&gt;
# --system-prompt &amp;#039;Tu es un expert C++ sous Debian 12, spécialisé dans les standards modernes C++11. Utilise la librairie boost 1.83, les smart pointers, auto, range-based loops, et les algorithmes STL. Privilégie la sécurité mémoire et les performances.&amp;#039;&lt;br /&gt;
&lt;br /&gt;
let intRet = $?&lt;br /&gt;
echo $intRet&lt;br /&gt;
if test $intRet -ne 0&lt;br /&gt;
then&lt;br /&gt;
    echo &amp;quot;Echec (erreur $intRet)&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ls -alrt&lt;br /&gt;
echo &amp;quot;-------------------------------------------------------------&amp;quot;&lt;br /&gt;
# tail --lines 1000 -f /var/log/LLAMA-SERVER/llama-server.log&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
</feed>