<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mtp on silentsudo</title>
    <link>https://silentsudo.gitlab.io/en/tags/mtp/</link>
    <description>Recent content in Mtp on silentsudo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>- By silentsudo</copyright>
    <lastBuildDate>Sat, 18 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://silentsudo.gitlab.io/en/tags/mtp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Build llama.cpp on ubuntu with amd gpu or 8840HS</title>
      <link>https://silentsudo.gitlab.io/en/post/aiml/build-llama-cpp-ubuntu-amd-gpu/</link>
      <pubDate>Sat, 18 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://silentsudo.gitlab.io/en/post/aiml/build-llama-cpp-ubuntu-amd-gpu/</guid>
      <description>
        
          
            &lt;p&gt;In this article we will see how to install &lt;code&gt;llama.cpp&lt;/code&gt; on ubuntu amd cpu+gpu this my laptop &lt;code&gt;lscpu&lt;/code&gt; output&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-txt&#34; data-lang=&#34;txt&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;building-high-performance-llamacpp-for-amd-gpus-with-vulkan-a-bash-automation-guide&#34;&gt;Building High-Performance Llama.cpp for AMD GPUs with Vulkan: A Bash Automation Guide&lt;/h1&gt;
&lt;p&gt;The landscape of local AI is shifting rapidly, with large language models moving from cloud APIs to local, private instances. One of the most popular open-source tools for this transition is &lt;strong&gt;llama.cpp&lt;/strong&gt;. While it natively supports NVIDIA GPUs via CUDA, building it for AMD processors requires using the &lt;strong&gt;Vulkan&lt;/strong&gt; backend to access hardware acceleration.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Build llama.cpp on ubuntu with nvidia gpu</title>
      <link>https://silentsudo.gitlab.io/en/post/aiml/build-llama-cpp-ubuntu-gpu/</link>
      <pubDate>Sun, 22 Mar 2026 00:00:00 +0000</pubDate>
      
      <guid>https://silentsudo.gitlab.io/en/post/aiml/build-llama-cpp-ubuntu-gpu/</guid>
      <description>
        
          
            &lt;p&gt;In this article we will see how to install &lt;code&gt;llama.cpp&lt;/code&gt; on ubuntu&lt;/p&gt;
&lt;h3 id=&#34;installing-build-essentials-and-initial-setup&#34;&gt;Installing build essentials and Initial Setup&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt update
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install -y build-essential libcurl4-openssl-dev cmake git
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Setup &lt;code&gt;nvcc&lt;/code&gt; path&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;export&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;CUDACXX&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/usr/local/cuda-13.0/bin/nvcc
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;find gpu arch, make sure &lt;code&gt;nvidia-smi&lt;/code&gt; command works&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# Queries the GPU for compute capability (e.g., 8.6) and converts to format (86)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;GPU_ARCH&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;$(&lt;/span&gt;nvidia-smi --query-gpu&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;compute_cap --format&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;csv,noheader &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; head -n &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; tr -d &lt;span class=&#34;s1&#34;&gt;&amp;#39;.&amp;#39;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;clone-repository&#34;&gt;Clone Repository&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;git clone git@github.com:ggml-org/llama.cpp.git
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;build-binary&#34;&gt;Build Binary&lt;/h3&gt;
&lt;p&gt;Exec &lt;code&gt;cmake&lt;/code&gt; command&lt;/p&gt;
          
          
        
      </description>
    </item>
    
  </channel>
</rss>
