<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on SmartTechLabs - Intelligent Solutions for IoT, Edge Computing &amp; AI</title><link>https://www.smarttechlabs.de/blog/</link><description>Recent content in Blog on SmartTechLabs - Intelligent Solutions for IoT, Edge Computing &amp; AI</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026/2027 SmartTechLabs. All rights reserved.</copyright><lastBuildDate>Wed, 14 Jan 2026 10:00:00 +0100</lastBuildDate><atom:link href="https://www.smarttechlabs.de/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Building RAG Systems for Production: Lessons Learned</title><link>https://www.smarttechlabs.de/blog/2026-01-14-building-rag-systems-production/</link><pubDate>Wed, 14 Jan 2026 10:00:00 +0100</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-14-building-rag-systems-production/</guid><description>&lt;p&gt;Retrieval-Augmented Generation (RAG) has become the standard approach for building AI systems that need to provide accurate, up-to-date information. After deploying RAG systems in enterprise settings, we&amp;rsquo;ve gathered lessons that can help you avoid common pitfalls.&lt;/p&gt;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-primary-50 dark:bg-primary-950/60 border-primary-600 text-primary-900 dark:text-primary-100"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; &lt;p&gt;The pipeline below is still a sound baseline. Three things have shifted since January:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Contextual retrieval&lt;/strong&gt; is now a common step before embedding: an LLM prepends a short description of where the chunk sits in its document. Anthropic reported 49% fewer failed top-20 retrievals when combining contextual embeddings with contextual BM25, and 67% with reranking added (&lt;a href="https://www.anthropic.com/news/contextual-retrieval"&gt;source&lt;/a&gt;). Measure it on your own data.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Agentic retrieval&lt;/strong&gt; is used more often: the model decides when to search, rewrites queries and searches again, instead of one fixed retrieve-then-generate pass. It costs extra latency and tokens, so use it when single-pass retrieval fails on your evaluation set.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Larger context windows&lt;/strong&gt; make it possible to pass whole documents for small corpora. For large or access-controlled corpora, retrieval is still needed for cost, latency and permissions.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The figures in the tables below are rules of thumb, not benchmarks. Verify them against your own golden dataset.&lt;/p&gt;&#10;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Fixing ROCm Boot Issues: amdgpu Module Blacklisted</title><link>https://www.smarttechlabs.de/blog/2026-01-14-fix-amdgpu-blacklisted/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-14-fix-amdgpu-blacklisted/</guid><description>&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-primary-50 dark:bg-primary-950/60 border-primary-600 text-primary-900 dark:text-primary-100"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; &lt;p&gt;The blacklist problem and its fix are unchanged. What has changed around it:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;ROCm versioning:&lt;/strong&gt; AMD has moved from the 7.x numbering to ROCm Core SDK 10.x (10.2.0 is dated 2026-11-18). Since 7.14, ROCm is built and released with TheRock. The release notes list gfx1151 (Ryzen AI Max 300 series, &amp;ldquo;Strix Halo&amp;rdquo;) as supported.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Kernel:&lt;/strong&gt; a working &lt;code&gt;amdgpu&lt;/code&gt; module is not enough on older kernels. AMD&amp;rsquo;s Strix Halo guide lists Ubuntu 24.04 HWE kernel 6.17.0-19.19~24.04.2 or later, Ubuntu 24.04 OEM kernel 6.14.0-1018 or later, and 6.18.4 or later on other distributions. Older kernels are marked unstable or unsupported, and compute workloads may fail to initialize. Ubuntu 26.04, Fedora 43 and Arch (2026.02.01 or later) ship the fixes.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Ubuntu 22.04&lt;/strong&gt; is not in AMD&amp;rsquo;s current Ryzen support list; use 24.04 or 26.04.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;If &lt;code&gt;/dev/kfd&lt;/code&gt; is missing on a current system, check the blacklist first (below), then the kernel version with &lt;code&gt;uname -r&lt;/code&gt;.&lt;/p&gt;&#10;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Installing LM Studio with Vulkan Support on AMD Strix Halo</title><link>https://www.smarttechlabs.de/blog/2026-01-14-lmstudio-strix-halo/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-14-lmstudio-strix-halo/</guid><description>&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-primary-50 dark:bg-primary-950/60 border-primary-600 text-primary-900 dark:text-primary-100"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; LM Studio has changed a lot since January (0.4.x, with 0.4.21 listed in July 2026). The 0.4.17 changelog says &amp;ldquo;AMD Strix Halo machines are now supported via the llama.cpp 2.22.1 runtime&amp;rdquo;, fixes a stuck no-GPU state caused by old ROCm versions, and notes that iGPUs under the Vulkan backend are now &amp;ldquo;visible and disabled by default&amp;rdquo;. On a current version, check Settings and Runtime first: the ROCm runtime may work on gfx1151 now, and an iGPU may need to be enabled. The Vulkan workaround below applies to the older runtimes that crash on gfx1151. The ROCm side has also changed: AMD now lists gfx1151 as supported in ROCm Core SDK 10.x, and Strix Halo needs a recent kernel (6.17.0-19 HWE or 6.18.4 and later; see the &lt;a href="https://www.smarttechlabs.de/blog/2026-01-14-fix-amdgpu-blacklisted/"&gt;amdgpu post&lt;/a&gt;). The runtime version &lt;code&gt;1.62.0&lt;/code&gt; in the JSON example is from January and will be outdated.&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="local-llms-on-strix-halo"&gt;Local LLMs on Strix Halo&lt;/h2&gt;&#10;&lt;p&gt;AMD&amp;rsquo;s Ryzen AI Max 395 with its massive unified memory pool is an excellent platform for running local LLMs. LM Studio provides a user-friendly interface for downloading and running models, but getting optimal performance on Strix Halo requires the right backend configuration.&lt;/p&gt;</description></item><item><title>Real-Time ROCm GPU Monitoring with Web Dashboard</title><link>https://www.smarttechlabs.de/blog/2026-01-14-rocm-gpu-monitoring/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-14-rocm-gpu-monitoring/</guid><description>&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-amber-50 dark:bg-amber-900/20 border-amber-500 text-amber-800 dark:text-amber-200"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; rocm_info collects its data by running &lt;code&gt;rocm-smi&lt;/code&gt;, and the README lists Ubuntu 24.04 and ROCm 6.4.x as the tested setup. AMD has since moved to AMD SMI (&lt;code&gt;amd-smi&lt;/code&gt;) as the default tool in ROCm 7.1, and the ROCm 7.14 package notes list ROCm SMI as removed. AMD now numbers releases as ROCm Core SDK 10.x (10.2.0 on 2026-11-18). On a current ROCm install, &lt;code&gt;rocm-smi&lt;/code&gt; may be missing or its output may differ, so rocm_info may need changes. Check &lt;code&gt;which rocm-smi&lt;/code&gt; before you build, or install ROCm 6.4.x as in the README.&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="the-problem"&gt;The Problem&lt;/h2&gt;&#10;&lt;p&gt;When running AI workloads on AMD GPUs with ROCm, visibility into GPU performance is essential. While &lt;code&gt;rocm-smi&lt;/code&gt; provides command-line access to GPU metrics, we needed something more:&lt;/p&gt;</description></item><item><title>Running ComfyUI on AMD Ryzen AI Max 395 (Strix Halo)</title><link>https://www.smarttechlabs.de/blog/2026-01-14-comfyui-amd-strix-halo/</link><pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-14-comfyui-amd-strix-halo/</guid><description>&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-primary-50 dark:bg-primary-950/60 border-primary-600 text-primary-900 dark:text-primary-100"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; &lt;p&gt;The situation described below has changed.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Official support:&lt;/strong&gt; AMD&amp;rsquo;s ROCm Core SDK 10.2.0 release notes (2026-11-18) list gfx1151 (Ryzen AI Max 300 series) as supported hardware and PyTorch 2.15.0 for Python 3.11 to 3.14. ROCm 7.x numbering has been replaced by 10.x, and since 7.14 ROCm is built with TheRock. AMD also publishes ComfyUI-on-ROCm install guides. Try AMD&amp;rsquo;s own PyTorch wheels first; see AMD&amp;rsquo;s PyTorch install page for the index that matches your platform and ROCm release.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The wheel used here&lt;/strong&gt; is a community build from scottt&amp;rsquo;s rocm-TheRock fork, tagged &lt;code&gt;v6.5.0rc-pytorch&lt;/code&gt;, for Python 3.11 only. It is a fallback, not the recommended path anymore.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Kernel:&lt;/strong&gt; AMD&amp;rsquo;s Strix Halo guide requires Ubuntu 24.04 HWE 6.17.0-19.19~24.04.2 or later (OEM kernel 6.14.0-1018 or later), or kernel 6.18.4 or later on other distributions. Older kernels are unstable or unsupported.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Memory:&lt;/strong&gt; by default the GPU can address about 50% of system RAM (GTT). AMD recommends a small BIOS reservation and raising the shared limit with &lt;code&gt;amd-ttm --set &amp;lt;GB&amp;gt;&lt;/code&gt; (reboot required).&lt;/li&gt;&#10;&lt;li&gt;Community reports for ComfyUI on gfx1151 recommend starting with &lt;code&gt;--disable-mmap&lt;/code&gt; (&lt;a href="https://github.com/kyuz0/amd-strix-halo-comfyui-toolboxes"&gt;kyuz0 toolbox&lt;/a&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="the-challenge"&gt;The Challenge&lt;/h2&gt;&#10;&lt;p&gt;AMD&amp;rsquo;s Ryzen AI Max 395 (Strix Halo) represents a new era in APU computing with its powerful integrated RDNA 3.5 GPU. However, running AI workloads like ComfyUI on this architecture requires specific ROCm configurations that aren&amp;rsquo;t yet mainstream.&lt;/p&gt;</description></item><item><title>Getting Started with the Model Context Protocol (MCP)</title><link>https://www.smarttechlabs.de/blog/2026-01-10-mcp-getting-started/</link><pubDate>Sat, 10 Jan 2026 14:00:00 +0100</pubDate><guid>https://www.smarttechlabs.de/blog/2026-01-10-mcp-getting-started/</guid><description>&lt;p&gt;The Model Context Protocol (MCP) is an open standard, originally developed by Anthropic, for connecting AI assistants to external data sources and tools. In this guide, we&amp;rsquo;ll explore what MCP is and how to get started building MCP servers.&lt;/p&gt;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&#10;&lt;div class="my-6 p-4 rounded-r-md border-l-4 bg-primary-50 dark:bg-primary-950/60 border-primary-600 text-primary-900 dark:text-primary-100"&gt;&#10; &lt;div class="flex items-start gap-3"&gt;&#10; &lt;svg class="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"&gt;&#10; &lt;path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&#10; &lt;/svg&gt;&#10; &lt;div class="flex-1"&gt;&#10; &#10; &lt;p class="font-semibold mb-1"&gt;Update, November 2026&lt;/p&gt;&#10; &#10; &lt;div class="prose prose-sm dark:prose-invert max-w-none [&amp;&gt;p]:mb-0"&gt;&#10; &lt;p&gt;This article describes the 2025 protocol revisions and the v1 TypeScript SDK (&lt;code&gt;@modelcontextprotocol/sdk&lt;/code&gt;, currently 1.32.x), and the code below still works with that package. Since January:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Governance:&lt;/strong&gt; Anthropic donated MCP to the Agentic AI Foundation, a Linux Foundation fund, in December 2025. Other vendors&amp;rsquo; clients implement it.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Specification:&lt;/strong&gt; the current revision is 2026-07-28. It removes the &lt;code&gt;initialize&lt;/code&gt; handshake and protocol-level sessions; capabilities come from &lt;code&gt;server/discover&lt;/code&gt; and each request is self-contained. Long-running work and UI extensions (Tasks, MCP Apps) are optional extensions.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;TypeScript SDK v2:&lt;/strong&gt; released as 2.0.0 on 2026-07-27 (2.4.0 on npm at the time of writing). It is split into &lt;code&gt;@modelcontextprotocol/server&lt;/code&gt; and &lt;code&gt;@modelcontextprotocol/client&lt;/code&gt;, needs Node.js 20 or later and Zod 4, and replaces the low-level &lt;code&gt;setRequestHandler(Schema, ...)&lt;/code&gt; pattern used below with &lt;code&gt;McpServer.registerTool()&lt;/code&gt; / &lt;code&gt;registerResource()&lt;/code&gt; and &lt;code&gt;serveStdio()&lt;/code&gt;. The SDK ships a codemod and an upgrade guide. For a new server, start with v2.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Compiler:&lt;/strong&gt; TypeScript 7 no longer accepts &lt;code&gt;moduleResolution: &amp;quot;node&amp;quot;&lt;/code&gt;, so the &lt;code&gt;tsconfig.json&lt;/code&gt; below uses &lt;code&gt;Node16&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item></channel></rss>