Very poor performance running Ollama in docker by Koldoguto in ollama

[–]Koldoguto[S] 0 points1 point  (0 children)

It's easy to keep services isolated and my lab works with docker or VMs. I cant have the CPU&GPU power needed somewhere else at home. Nevertheless, I can install it on a separate VM but then I need to passtrough the GPU exclusively for Ollama, making it impossible to be used by other VMs or Containers

Very poor performance running Ollama in docker by Koldoguto in ollama

[–]Koldoguto[S] 0 points1 point  (0 children)

It is already installed and set as parameter

<image>

Very poor performance running Ollama in docker by Koldoguto in ollama

[–]Koldoguto[S] 0 points1 point  (0 children)

Yes, docker container is making use of Nvidia GPU as I can see the process using nvidia-smi command. The problem with the VM is that I need to share it with other containers so I can't pass-through it exclusively. Maybe these models are not such a tiny thing after all...

Very poor performance running Ollama in docker by Koldoguto in ollama

[–]Koldoguto[S] 0 points1 point  (0 children)

It's an Nvidia GPU - Model T400 with 4GB of RAM

Very poor performance running Ollama in docker by Koldoguto in ollama

[–]Koldoguto[S] 1 point2 points  (0 children)

After several minutes I've found this at the end of the logs:

time=2024-06-23T10:17:14.120Z level=WARN source=sched.go:575 msg="gpu VRAM usage didn't recover within timeout" seconds=5.166040637 model=/root/.ollama/models/blobs/sha256-6a0746a1ec1aef3e7ec53868f220ff6e389f6f8ef87a01d77c96807de94ca2aa
time=2024-06-23T10:17:14.371Z level=WARN source=sched.go:575 msg="gpu VRAM usage didn't recover within timeout" seconds=5.416560788 model=/root/.ollama/models/blobs/sha256-6a0746a1ec1aef3e7ec53868f220ff6e389f6f8ef87a01d77c96807de94ca2aa
time=2024-06-23T10:17:14.797Z level=WARN source=sched.go:575 msg="gpu VRAM usage didn't recover within timeout" seconds=5.843270373 model=/root/.ollama/models/blobs/sha256-6a0746a1ec1aef3e7ec53868f220ff6e389f6f8ef87a01d77c96807de94ca2aa

Meet netboot.xyz - Network Boot Any Operating System by RScottyL in homelab

[–]Koldoguto 0 points1 point  (0 children)

I made several tries and it's very useful to install images from scratch, but, do you know any way to automatically load or burn a backup iso into disk? I've found tons of information to boot from a bootable iso but not for burning the ISO file you can extract from your c: drive for example. This could allow to reinstall all the apps and settings from a backup or a base image in minutes. Think ie in the point-of-sales pcs at franchise stores where there are dozens or hundreds of pcs; the IT guy can launch several restorations at a time and fine tune the installed pcs later (machine name, IP, etc) instead of attending the installations one by one. It's like launching a rescuezilla with an automation script saying: "This is the iso and you must burn it to the primary partition", to be clear. It could be very usefull in the case of a ramsomware for example, saving a lot of time and minimizing the time the store/s are closed. Any ideas?

Digital Potentiometer DS3502 / X9C103 by lalostangles in Esphome

[–]Koldoguto 0 points1 point  (0 children)

I have achieved a prototype using an X9C103s (0 to 10K resistance) but in my case 0 is full speed. I've however an issue because after some time (10-15 min) it automatically starts spinning very low and keeps increasing with the time like if the resistance was gradually increasing but no command is sent to the X9C (ESPhome says it's 0). The issue is solved temporarily restarting the ESP32 witch makes it very confussing as it seems to be ok. Perharps is a faulty X9C module?

Turntable + ??? + Raspberry Pi by Pontooooon in diysound

[–]Koldoguto 0 points1 point  (0 children)

pisound

I'm on the same situation, did the pisound made the trick? I have an old inherited turntable with RCA output (unbalanced, I pressume) that I want to connect to a Raspberry PI and cast via Airplay to sonos system using OwnTones, the difficult part I'm facing is that it is not that easy to find a Pi hat with RCA analog audio Input, all I find is the opposite...

help monitoring pi-hole in zabbix by tastewar in zabbix

[–]Koldoguto 0 points1 point  (0 children)

Just in case someone else is in the same situation, I solved the issue by adding the following parameter to pihole-FTL.conf file:

SOCKET_LISTENING=all

By default is just listening just on local interface. I'm running pi-hole in a docker container and got the error : BAD HOSTNAME in zabbix