From a0eae9a7cc336575a45262e44630c443543f565b Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 11 Oct 2026 05:06:54 -0700 Subject: [PATCH] llm, make the context consistent across devices. --- files/settings/i3.config | 6 +++--- tasks/workstation/linux/software/llm.yml | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/files/settings/i3.config b/files/settings/i3.config index 65ee7d8..5ee12fe 100644 --- a/files/settings/i3.config +++ b/files/settings/i3.config @@ -346,9 +346,9 @@ bindsym $shift+$ctrl+r exec sudo shutdown -r now # restart LLM programs set $RESTART_LLMS "sudo sv restart ollama; sudo sv restart zeroclaw; sudo sv restart open-webui" -bindsym $ctrl+$alt+r exec $RESTART_LLMS -bindsym $shift+$alt+r exec $RESTART_LLMS -bindsym $shift+$ctrl+r exec $RESTART_LLMS +bindsym $ctrl+$alt+delete exec $RESTART_LLMS +bindsym $shift+$alt+delete exec $RESTART_LLMS +bindsym $shift+$ctrl+delete exec $RESTART_LLMS ## Resizing (Disabled) ## diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index ffe8d91..ba0dc56 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -63,7 +63,9 @@ # - qwen3.5:4b would be 3.3GB * 1.3 = 4290, rather than 4000. llm_size_coef: 1.3 # Use the MB of RAM as the context, with a maximum to prevent swapping. - llm_context: "{{ [(ansible_memtotal_mb | round(-3, method='ceil')), 34543] | min | int }}" + #llm_context: "{{ [(ansible_memtotal_mb | round(-3, method='ceil')), 34543] | min | int }}" + # Let's just be consistent for now, only having 8000 on the Macbook was not usable. + llm_context: 34543 - name: Workstation | Linux | Software | LLMs | Facts 02 ansible.builtin.set_fact: