<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.lololand.org/index.php?action=history&amp;feed=atom&amp;title=Trace_install_tas_-_SGLang</id>
	<title>Trace install tas - SGLang - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lololand.org/index.php?action=history&amp;feed=atom&amp;title=Trace_install_tas_-_SGLang"/>
	<link rel="alternate" type="text/html" href="https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;action=history"/>
	<updated>2026-09-22T14:22:02Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=224&amp;oldid=prev</id>
		<title>Admin : Ajout du commit local de déploiement SGLang</title>
		<link rel="alternate" type="text/html" href="https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=224&amp;oldid=prev"/>
		<updated>2026-08-20T12:27:12Z</updated>

		<summary type="html">&lt;p&gt;Ajout du commit local de déploiement SGLang&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&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 2026 à 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-l34&quot;&gt;Ligne 34 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 34 :&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;=== Construction RDNA3 et correctif ===&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;=== Construction RDNA3 et correctif ===&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;Le dépôt de travail est &amp;lt;code&amp;gt;/media/loic/nem/sglang/build-rdna3/sglang-qwen38-current&amp;lt;/code&amp;gt;, branche &amp;lt;code&amp;gt;deploy/qwen38-rdna3&amp;lt;/code&amp;gt;, base SGLang &amp;lt;code&amp;gt;21c88f862&amp;lt;/code&amp;gt;. L&#039;image de base immuable est &amp;lt;code&amp;gt;localhost/sglang:qwen38-rdna3-21c88f8-base&amp;lt;/code&amp;gt;. La couche finale se trouve dans &amp;lt;code&amp;gt;docker/rdna3-w8a8-runtime.Dockerfile&amp;lt;/code&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;Le dépôt de travail est &amp;lt;code&amp;gt;/media/loic/nem/sglang/build-rdna3/sglang-qwen38-current&amp;lt;/code&amp;gt;, branche &amp;lt;code&amp;gt;deploy/qwen38-rdna3&amp;lt;/code&amp;gt;, base SGLang &amp;lt;code&amp;gt;21c88f862&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt;, déploiement figé au commit local &amp;lt;code&amp;gt;19d7dd612&lt;/ins&gt;&amp;lt;/code&amp;gt;. L&#039;image de base immuable est &amp;lt;code&amp;gt;localhost/sglang:qwen38-rdna3-21c88f8-base&amp;lt;/code&amp;gt;. La couche finale se trouve dans &amp;lt;code&amp;gt;docker/rdna3-w8a8-runtime.Dockerfile&amp;lt;/code&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;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;Le correctif déterminant concerne le déport CPU. SGLang exécute les couches déportées avec &amp;lt;code&amp;gt;torch.func.functional_call&amp;lt;/code&amp;gt;. La vue &amp;lt;code&amp;gt;attn.conv_weights&amp;lt;/code&amp;gt;, créée pendant l&amp;#039;initialisation, restait attachée à l&amp;#039;ancien stockage au lieu du poids &amp;lt;code&amp;gt;conv1d.weight&amp;lt;/code&amp;gt; substitué. Cette vue est maintenant rafraîchie dans le passage avant. Le test W8A8 est alors passé de sorties invalides à une génération exacte.&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;Le correctif déterminant concerne le déport CPU. SGLang exécute les couches déportées avec &amp;lt;code&amp;gt;torch.func.functional_call&amp;lt;/code&amp;gt;. La vue &amp;lt;code&amp;gt;attn.conv_weights&amp;lt;/code&amp;gt;, créée pendant l&amp;#039;initialisation, restait attachée à l&amp;#039;ancien stockage au lieu du poids &amp;lt;code&amp;gt;conv1d.weight&amp;lt;/code&amp;gt; substitué. Cette vue est maintenant rafraîchie dans le passage avant. Le test W8A8 est alors passé de sorties invalides à une génération exacte.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-223:rev-224:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=223&amp;oldid=prev</id>
		<title>Admin : Déploiement Qwen3.8 27B W8A8 validé sur RX 7900 XTX</title>
		<link rel="alternate" type="text/html" href="https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=223&amp;oldid=prev"/>
		<updated>2026-08-20T12:26:00Z</updated>

		<summary type="html">&lt;p&gt;Déploiement Qwen3.8 27B W8A8 validé sur RX 7900 XTX&lt;/p&gt;
&lt;a href=&quot;https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;amp;diff=223&amp;amp;oldid=220&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=220&amp;oldid=prev</id>
		<title>Daneel : Documenter le déploiement SGLang ROCm et le blocage gfx1100</title>
		<link rel="alternate" type="text/html" href="https://wiki.lololand.org/index.php?title=Trace_install_tas_-_SGLang&amp;diff=220&amp;oldid=prev"/>
		<updated>2026-08-18T19:38:53Z</updated>

		<summary type="html">&lt;p&gt;Documenter le déploiement SGLang ROCm et le blocage gfx1100&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Projet|SGLang}}&lt;br /&gt;
== SGLang ROCm — déploiement préparé ==&lt;br /&gt;
&lt;br /&gt;
{{Encadré|couleur=orange|titre=État au 18 août 2026|contenu=Le Quadlet, l&amp;#039;image et le modèle sont installés, mais le service est arrêté : l&amp;#039;image SGLang ROCm testée ne fournit pas les kernels PyTorch nécessaires à la Radeon RX 7900 XTX (gfx1100).}}&lt;br /&gt;
&lt;br /&gt;
=== Composants ===&lt;br /&gt;
* Quadlet : &amp;lt;code&amp;gt;/home/loic/.config/containers/systemd/sglang.container&amp;lt;/code&amp;gt;&lt;br /&gt;
* Unité : &amp;lt;code&amp;gt;sglang.service&amp;lt;/code&amp;gt;&lt;br /&gt;
* Image : &amp;lt;code&amp;gt;docker.io/lmsysorg/sglang:v0.5.17-rocm700-mi30x&amp;lt;/code&amp;gt;&lt;br /&gt;
* Modèle : &amp;lt;code&amp;gt;Qwen/Qwen2.5-Coder-32B-Instruct-AWQ&amp;lt;/code&amp;gt;&lt;br /&gt;
* Poids : &amp;lt;code&amp;gt;/media/loic/nem/sglang/models/Qwen2.5-Coder-32B-Instruct-AWQ&amp;lt;/code&amp;gt;&lt;br /&gt;
* Taille des cinq safetensors : environ 19 Gio binaires, soit un peu plus de 20 Go décimaux&lt;br /&gt;
* Port prévu : &amp;lt;code&amp;gt;127.0.0.1:30000&amp;lt;/code&amp;gt;&lt;br /&gt;
* Volume conteneur : &amp;lt;code&amp;gt;/models&amp;lt;/code&amp;gt;&lt;br /&gt;
* GPU ciblé : Radeon RX 7900 XTX, 24 Gio, &amp;lt;code&amp;gt;gfx1100&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Procédure appliquée ===&lt;br /&gt;
# Vérification de Podman rootless, de la VRAM et de l&amp;#039;espace disponible.&lt;br /&gt;
# Création du répertoire persistant &amp;lt;code&amp;gt;/media/loic/nem/sglang&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Import de l&amp;#039;image ROCm SGLang et création du Quadlet.&lt;br /&gt;
# Téléchargement vérifiable du dépôt public Qwen avec reprise automatique.&lt;br /&gt;
# Test d&amp;#039;accès aux périphériques AMD : SGLang voit bien la Radeon RX 7900 XTX.&lt;br /&gt;
# Test de chargement réel du modèle.&lt;br /&gt;
&lt;br /&gt;
=== Blocage identifié ===&lt;br /&gt;
Le test minimal suivant échoue dans l&amp;#039;image actuelle :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
torch.ones(1, device=&amp;quot;cuda&amp;quot;)&lt;br /&gt;
HIP error: invalid device function&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;image &amp;lt;code&amp;gt;mi30x&amp;lt;/code&amp;gt; détecte le GPU mais sa pile PyTorch/ROCm est compilée pour la famille Instinct. Les tentatives &amp;lt;code&amp;gt;HSA_OVERRIDE_GFX_VERSION=10.3.0&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;11.0.0&amp;lt;/code&amp;gt; n&amp;#039;ont pas rendu le service fonctionnel : AITER refuse &amp;lt;code&amp;gt;gfx1030&amp;lt;/code&amp;gt;, tandis que &amp;lt;code&amp;gt;gfx1100&amp;lt;/code&amp;gt; reproduit l&amp;#039;erreur HIP. Le problème est donc une incompatibilité de kernels, pas un manque de VRAM ni un fichier de modèle incomplet.&lt;br /&gt;
&lt;br /&gt;
Le service est laissé arrêté pour éviter un redémarrage en boucle. Il pourra reprendre avec une image SGLang/PyTorch compilée pour &amp;lt;code&amp;gt;gfx1100&amp;lt;/code&amp;gt;, ou avec une image dédiée construite depuis une base ROCm Radeon. Le modèle et le Quadlet ne doivent pas être supprimés.&lt;br /&gt;
&lt;br /&gt;
=== Contrôles et reprise ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
systemctl --user status sglang.service --no-pager&lt;br /&gt;
systemctl --user start sglang.service&lt;br /&gt;
curl -fsS http://127.0.0.1:30000/health&lt;br /&gt;
podman logs sglang&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sauvegardes ===&lt;br /&gt;
* Déploiement : &amp;lt;code&amp;gt;/home/loic/backups/sglang-20260818T204121+0200/&amp;lt;/code&amp;gt;&lt;br /&gt;
* Quadlet avant le dernier test GPU : &amp;lt;code&amp;gt;sglang.container.before-gfx-override&amp;lt;/code&amp;gt;&lt;br /&gt;
* Sauvegardes des pages MediaWiki avant publication : sous-répertoire &amp;lt;code&amp;gt;wiki/&amp;lt;/code&amp;gt; du dossier ci-dessus&lt;br /&gt;
&lt;br /&gt;
=== Références ===&lt;br /&gt;
* [https://github.com/sgl-project/sglang/blob/main/docs/platforms/amd_gpu.md SGLang — AMD GPU]&lt;br /&gt;
* [https://github.com/sgl-project/sglang/issues/30599 Suivi officiel de l&amp;#039;activation Radeon RDNA3/RDNA4]&lt;br /&gt;
* [https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct-AWQ Qwen2.5-Coder-32B-Instruct-AWQ]&lt;/div&gt;</summary>
		<author><name>Daneel</name></author>
	</entry>
</feed>