Glad i could help ;)
Glad i could help ;)
You can get different results, sometimes better sometimes worse, most of the time differently phrased (e.g. the gemma models by google like to do bulletlists and sometimes tell me where they got that information from). There are models specifically trained / finetuned for different tasks (mostly coding, but also writing stories, answering medical questions, telling me what is on a picture, speaking different languages, running on smaller / bigger hardware, etc.). Have a look at ollamas library of models which is outright tiny compared to e.g. huggingface.
Also, i don’t trust OpenAI and others to be confidential with company data or explicit code snippets from work i feed them.
If you’re lucky you just set it to the wrong version, mine uses 10.3.0 (see below).
I tried running the docker container first as well but gave up since there are seperate versions for cuda and rocm which comes packaged with this as well and therefor gets unnecessary big.
I am running it on Fedora natively. I installed it with the setup script from the top of the docs:
curl -fsSL https://ollama.com/install.sh | sh
After that i created a service file (also stated in the linked docs) so that it starts at boot time (so i can just boot my pc and forget it without needing to login).
The crucial part for the GPU in question (RX 6700XT) was this line under the [service] section:
Environment="HSA_OVERRIDE_GFX_VERSION=10.3.0"
As you stated, this sets the environment variable for rocm. Also to be able to reach it from outside of localhost (for my server):
Environment="OLLAMA_HOST=0.0.0.0"
I have my gaming pc running as ollama host when i need it (RX 6700XT with rocm doing the heavy lifting). PC idles at ~50W and draws up to 200W when generating an answer. It is plenty fast though.
My mini pc home server is running openwebui with access to this “ollama instance” but also OpenAIs api when i just need a quick answer and therefor don’t turn on my pc.
It took that time before the update for me as well. 1-2 minutes for every loading screen. There was a mod for that (before the next-gen update) that you could not load via nexus, bc the setup was a little more conplex, but it worked really well (see https://www.nexusmods.com/fallout4/mods/10283 )
The method of this mod was to speed up the fps only while in the loading screen to 300-350 bc the loading times were somehow tied to the fps. Well done Bethesda.
That’s what I was thinking the whole time. I mean, it’s not that far of a guess.
+1 for Trackmania. Very sad that the most recent game is published by ubishit, who kind of made a live service game out of it (different tiers of access, starting at 10 bucks a year)
I hope it went well :) i was completely ready to go back changing the image tag to v2 but didn’t need to.
Im so looking forward to this. When i tried to use tmpfs / ramdisk, the transcoding would simply stop because there was no space left.
Yes, since we have similar gpus you could try the following to run it in a docker container on linux, taken from here and slightly modified:
#!/bin/bash
model=microsoft/phi-2
# share a volume with the Docker container to avoid downloading weights every run
volume=<path-to-your-data-directory>/data
docker run -e HSA_OVERRIDE_GFX_VERSION=10.3.0 -e PYTORCH_ROCM_ARCH="gfx1031" --device /dev/kfd --device /dev/dri --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:1.4-rocm --model-id $model
Note how the rocm version has a different tag and that you need to mount your gpu device into the container. The two environment variables are specific to my (any maybe yours also) gpu architecture. It will need a while to download though.
Huggingface TGI is just a piece of software handling the models, like gpt4all. Here is a list of models officially supported by TGI, although they state that you can try different ones as well. You follow the link and look for the files section. The size of the model files (safetensors or pickele binaries) gives a good estimate of how much vram you will need. Sadly this is more than most consumer graphics cards have except for santacoder and microsoft phi.
I tried Huggingface TGI yesterday, but all of the reasonable models need at least 16 gigs of vram. The only model i got working (on a desktop machine with a amd 6700xt gpu) was microsoft phi-2.
I have a 5800X processor and 6700XT GPU which the site claims is barely ok. In reality my CPU is hardly ever doing anything when gaming while the GPU is at 100% usage all the time.
For a higher GPU, like the 7900XT (which i believe will have the power of a speculative 8800XT which i want to buy) the site claims the CPU to be the bottleneck.
Now i know that there is more to it than just the usage in the control center, but does this seem sketchy to someone else?
Man i loved that game so much when i was younger that i may have gotten myself a copy from the interwebs to play it on pcsx2.
Meanwhile 4tb sata ssd is 300€ in germany
It’s true that you shouldn’t open ports to the internet. If you still want your services to be accessible from outside the local network you can install a wireguard server on your thin client that has access to the services you want. And if you really want to harden it you can restrict wireguard clients from ssh and other admin things.
You will need to open one port on the router to your wireguard server though. Wireguard is UDP though and ignores packages without an established connection, so attackers will not even know there is an open port on your router.
Edit: tailscale and zerotier are good external solutions to this as well without needing to open a port at all.
Yes i know, you can even disable targeted advertising on free tier so you get generic ads iirc. Still not a fan of ubisoft or advertising in general.
They did this for a while now in Trackmania. It is easy to implement there tbh (big boards in the stadium) but they should still rot in hell like anyone else trying to further enshittificate the web.
They have been built onto android until now, but i read that they wanted to ditch that and make their own os from scratch
This is cool, since this game is pretty suitable for local coop. I just hope they also did some optimization, since my endgame village has about 30fps on a midrange gaming pc