padreug

joined 11 months ago
[โ€“] padreug@programming.dev 1 points 6 hours ago

I am brand new to Pi as of this week, so far my evolution in the past years went from... Visual Studio (oh wow it'd been so long i've forgotten the name ๐Ÿคฃ).... then Cursor... then Claude Code. I tried a few neovim integrated AI workflows over a year ago, but they were all too buggy.

I caught wind of Pi I think from the youtuber omerxx and decided to give it a spin cause of its claims to be highly customizable. I haven't had the same time I did in the past to really tinker with my setups, but I figure i'll do it in baby steps over time.

[โ€“] padreug@programming.dev 2 points 6 hours ago

Thanks for the info, it's totally welcomed - I am trying my best to learn by sponge mode ๐Ÿงฝ ๐Ÿ˜„

Yeah, I had not considered using one of those middle grounds and will check them out ๐Ÿ™

[โ€“] padreug@programming.dev 2 points 9 hours ago (2 children)

Great, thanks for the info! How do you like hermes, have you tried out pi?

[โ€“] padreug@programming.dev 1 points 9 hours ago

Did you give Qwen3.8-27B-FP8 a try?

I haven't, it seems like I can't do this with my current Vulkan setup, but I'll do some exploration.

I'm also waiting for the nixos support for glm 5.3 flash

[โ€“] padreug@programming.dev 1 points 9 hours ago

Hey! thanks for the reply :) yeah the slowing down part is a big factor.. i'm certainly being a little impatient, so well received ๐Ÿ™๐Ÿ˜
I had also noticed I had a big mismatch in my pi models.json's contextWindow and maxTokens, which I just fixed (shown in another comment) so going to test it out some more.

[โ€“] padreug@programming.dev 1 points 9 hours ago* (last edited 9 hours ago)

Hey, thanks for the reply, the speed is actually pretty good!

So it's running on llama.cpp (llama-server) b10408, Vulkan/RADV, behind llama-swap.

Your questions made me realize i also had a mismatch in my pi model config, the contextWindow and maxTokens had drifted apart pretty significantly so I just fixed that now.

/etc/nixos/configuration.nix

  services.llama-swap = {
    enable = true;
    package = pkgs.llama-swap;
    listenAddress = "0.0.0.0";
    port = 8080;
    openFirewall = true;

    settings = {
      # 63 GB off NVMe cold is slow. The default 120s will time out.
      healthCheckTimeout = 600;
      logLevel = "info";

      models = {
        "glm-flash" = {
          # Keep "local" as an alias so existing clients keep working
          # without touching their base URL or model name.
          aliases = [ "local" "fast" ];
          ttl = 1800;
          cmd = ''
            ${lib.getExe' pkgs.llama-cpp-vulkan "llama-server"}
            --port ''${PORT}
            -m /srv/llm/models/GLM-4.7-Flash-Q8_0.gguf
            -ngl 999 --flash-attn on -c 131072 -np 1
            --jinja --no-webui
            --reasoning-format auto --reasoning-preserve
            --temp 1.0 --top-p 0.95 --repeat-penalty 1.0
            --cors-origins "http://optimus.local:8080,http://localhost:8080/"
          '';
        };

        "gpt-oss-120b" = {
          aliases = [ "smart" ];
          ttl = 1800;
          cmd = ''
            ${lib.getExe' pkgs.llama-cpp-vulkan "llama-server"}
            --port ''${PORT}
            -m /srv/llm/models/gpt-oss-120b/gpt-oss-120b-MXFP4.gguf
            -ngl 999 --flash-attn on -c 65536 -np 1
            --jinja --no-webui --reasoning-format auto
            --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0
            --cors-origins "http://optimus.local:8080,http://localhost:8080/"
          '';
        };
      };
    };
  };

~/.pi/agent/models.json (fixed)

{
  "providers": {
    "optimus": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "ollama",
      "models": [
        {
          "id": "local",
          "name": "GLM-4.7-Flash Q8_0 (optimus)",
          "aliases": ["fast", "glm-flash"],
          "reasoning": true,
          "contextWindow": 131072,
          "maxTokens": 32768,
          "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
        },
        {
          "id": "smart",
          "name": "GPT-OSS-120B (optimus)",
          "aliases": ["gpt-oss-120b", "oss"],
          "reasoning": true,
          "contextWindow": 65536,
          "maxTokens": 16384,
          "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
        }
      ]
    }
  }
}
 

I have a Framework Desktop that I want to put AI models on. I keep hearing that local models are getting more and more impressive. I would love to one day get off of my Claude dependence for the sake of privacy and running things in house. I am currently trying out using pi agent with GLM-4.7-Flash Q8_0. I don't have much of a reference to say how it compares to other local models, but it's definitely not something I could switch over to as a main driver instead of Claude.

What are you guys thoughts?

This is also the first time I've tried Pi. I've also been recommended hermes, which I know very little about.

          โ–—โ–„โ–„โ–„       โ–—โ–„โ–„โ–„โ–„    โ–„โ–„โ–„โ––             root@nixos
          โ–œโ–ˆโ–ˆโ–ˆโ–™       โ–œโ–ˆโ–ˆโ–ˆโ–™  โ–Ÿโ–ˆโ–ˆโ–ˆโ–›             ------------
           โ–œโ–ˆโ–ˆโ–ˆโ–™       โ–œโ–ˆโ–ˆโ–ˆโ–™โ–Ÿโ–ˆโ–ˆโ–ˆโ–›              OS: NixOS 26.05 (Yarara) x86_64
            โ–œโ–ˆโ–ˆโ–ˆโ–™       โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›               Host: Desktop (AMD Ryzen AI Max)
     โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–›     โ–Ÿโ–™         Kernel: Linux 6.18.44
    โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ โ–œโ–ˆโ–ˆโ–ˆโ–™    โ–Ÿโ–ˆโ–ˆโ–™        Uptime: 11 days, 21 hours, 26 ms
           โ–„โ–„โ–„โ–„โ––           โ–œโ–ˆโ–ˆโ–ˆโ–™  โ–Ÿโ–ˆโ–ˆโ–ˆโ–›        Packages: 500 (nix-system)
          โ–Ÿโ–ˆโ–ˆโ–ˆโ–›             โ–œโ–ˆโ–ˆโ–› โ–Ÿโ–ˆโ–ˆโ–ˆโ–›         Shell: bash 5.3.9
         โ–Ÿโ–ˆโ–ˆโ–ˆโ–›               โ–œโ–› โ–Ÿโ–ˆโ–ˆโ–ˆโ–›          Terminal: /dev/pts/7
โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›                  โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™    CPU: AMD RYZEN AI MAX+ 395 (32)z
โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›                  โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›    GPU: AMD Radeon 8060S Graphics ]
      โ–Ÿโ–ˆโ–ˆโ–ˆโ–› โ–Ÿโ–™               โ–Ÿโ–ˆโ–ˆโ–ˆโ–›             Memory: 39.81 GiB / 125.09 GiB )
     โ–Ÿโ–ˆโ–ˆโ–ˆโ–› โ–Ÿโ–ˆโ–ˆโ–™             โ–Ÿโ–ˆโ–ˆโ–ˆโ–›              Swap: 6.73 MiB / 7.45 GiB (0%)
    โ–Ÿโ–ˆโ–ˆโ–ˆโ–›  โ–œโ–ˆโ–ˆโ–ˆโ–™           โ–โ–€โ–€โ–€โ–€               Disk (/): 119.94 GiB / 3.57 TiB4
    โ–œโ–ˆโ–ˆโ–›    โ–œโ–ˆโ–ˆโ–ˆโ–™ โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›         Local IP (enp191s0): 192.168.0.4
     โ–œโ–›     โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–™ โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›          Locale: en_US.UTF-8
           โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™         โ–œโ–ˆโ–ˆโ–ˆโ–™
          โ–Ÿโ–ˆโ–ˆโ–ˆโ–›โ–œโ–ˆโ–ˆโ–ˆโ–™         โ–œโ–ˆโ–ˆโ–ˆโ–™
         โ–Ÿโ–ˆโ–ˆโ–ˆโ–›  โ–œโ–ˆโ–ˆโ–ˆโ–™         โ–œโ–ˆโ–ˆโ–ˆโ–™
         โ–โ–€โ–€โ–€    โ–€โ–€โ–€โ–€โ–˜         โ–€โ–€โ–€โ–˜
[โ€“] padreug@programming.dev 3 points 3 days ago* (last edited 3 days ago)

additionally, i'm not saying that opposing racism or bigotry is immature. I'm saying throwing out a successful open-source project because the owner is allegedly a racist/bigot (i admittedly know nothing or care to know anything about this DHH character) is counterproductive. Is the code racist/bigoted? If I make something using Omarchy as my OS, am I racist/bigoted? It sounds like that's what you're implying...

[โ€“] padreug@programming.dev 3 points 3 days ago* (last edited 3 days ago)

i find it interesting you think that i do not have kindness or empathy based on my stance. I'd be curious if you were to meet me in real life if you could pick me out of a hypothetical lineup.

This project has received money because it has drawn people to linux. I can still appreciate open-source code even if it's written by an asshat.

On the other hand, I won't touch an Apple product and I judge tech enthusiasts who do. I will still say they make impressive products, but I have a strong stance against proprietary code for the sake of profit.

[โ€“] padreug@programming.dev 1 points 2 weeks ago

herdr is another one that's out there. I've tried it out and have been driving it for a while. I like it cause I have a lot of agents open and it tells me who's blocked

[โ€“] padreug@programming.dev 1 points 3 weeks ago

don't forget, even a broken clock is right twice a day ๐Ÿ˜„

view more: next โ€บ