Michael DiLeo<p>Last night I was up until 2AM trying to get <a href="https://gotosocial.michaeldileo.org/tags/trunas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>trunas</span></a> <a href="https://gotosocial.michaeldileo.org/tags/amd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>amd</span></a> drivers installed inside of a <a href="https://gotosocial.michaeldileo.org/tags/docker" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>docker</span></a> <a href="https://gotosocial.michaeldileo.org/tags/container" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>container</span></a> so that <a href="https://gotosocial.michaeldileo.org/tags/ollama" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ollama</span></a> would actually use the <a href="https://gotosocial.michaeldileo.org/tags/gpu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gpu</span></a>. I was so close. It sees the gpu, it sees it has 16GB of ram, then it uses the <a href="https://gotosocial.michaeldileo.org/tags/cpu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpu</span></a>.</p><p>Trunas locks down the file system at the root level, so if you want to do much of anything, you have to do it inside of a container. So I made a container for the <a href="https://gotosocial.michaeldileo.org/tags/rocm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rocm</span></a> drivers, which btw comes to like 40GB in size.</p><p>It's detecting, but I don't know if the ollama container has some missing commands, ie <code>rocm</code> or <code>rocm-info</code>, that it may need.</p><p>Another alternative is one I don't really want, and that's to install either <a href="https://gotosocial.michaeldileo.org/tags/debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>debian</span></a> or windows as a VM - windows because I did a test on the application that runs locally in windows on this machine before and it was super fast. It isn't ideal from RAM usage, but I may be able to run the models more easily with the <a href="https://gotosocial.michaeldileo.org/tags/windows" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windows</span></a> drivers than the <a href="https://gotosocial.michaeldileo.org/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> ones.</p><p>But anyway, last night was too much of <a href="https://gotosocial.michaeldileo.org/tags/onemoreturn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>onemoreturn</span></a> for a weeknight.</p>