u/ares0027

▲ 2 r/ollama

newb question, keeping models in ram(as storage) instead of fully flushing

so i am a basic ollama user, i just install the app, use open webui and thats it. my question is this; i am thinking of using deepseek r1 as planning model and qwen 3.6 35b unsloth one for coding in Cline in Vscode. since i have just a 5090 and 128gb system ram, instead of constantly offloading the model fully and reading from ssd, i though maybe i can use my ram as the storage, keep the models there, and load/unload models from/to ram instead?

I am not asking to use ram instead of vram. that is not what i am asking (which is also done automatically by ollama) i am just asking would it be possible to make ollama keep the UNUSED model in ram instead and how much speed would it give to me compared to an nvme ssd with 3-4GB/s read speed? are we talking about a few seconds which can be ignored or would it matteR?

reddit.com
u/ares0027 — 20 hours ago
▲ 1 r/razer

so razer synapse 4 is not changing profiles and if i install version 3 it doesnt detect my naga 2 at all so here is what i did, i changed all my side buttons to function keys from F13 to F24 which do not exist, then wrote an ahk script using gemini. gave it screenshots of my actual game profiles and executable names, it then made it so exact same key does the exact same function but without relying on razer synapse. i simply use 1 single profle and autohotkey handles the keys and macros. you can try. just copy paste this into any llm, give your actual profile screenshot (adn explain macros if you have any) and tell it to replace. thats it.

#Requires AutoHotkey v2.0
#SingleInstance Force

; Run as Administrator to bypass game anti-cheat blocks
if not A_IsAdmin {
    Run("*RunAs `"" A_ScriptFullPath "`"")
    ExitApp()
}

; ==========================================
; MOUSE BUTTON MAPPING GUIDE
; ==========================================
; Physical Mouse Button 1  -> F13
; Physical Mouse Button 2  -> F14
; Physical Mouse Button 3  -> F15
; Physical Mouse Button 4  -> F16
; Physical Mouse Button 5  -> F17
; Physical Mouse Button 6  -> F18
; Physical Mouse Button 7  -> F19
; Physical Mouse Button 8  -> F20
; Physical Mouse Button 9  -> F21
; Physical Mouse Button 10 -> F22
; Physical Mouse Button 11 -> F23
; Physical Mouse Button 12 -> F24
; ==========================================


; ==========================================
; CONFIGURATION & MACRO SETTINGS
; ==========================================
; You can easily change your speeds here at any time.

; World of Warcraft: Toggle Delays (in milliseconds)
; The script will pick a random number between the Min and Max for every single press.
Global WowSpamMin := 200
Global WowSpamMax := 300

; Dota 2 and Desktop: Turbo Left-Click Delay (in milliseconds)
; 50ms = roughly 20 clicks per second
Global DotaTurboSpeed := 50
Global DesktopTurboSpeed := 50


; ==========================================
; INTERNAL TOGGLE VARIABLES & FUNCTIONS
; (Do not edit this section)
; ==========================================
Global WowToggle1 := False
Global WowToggle2 := False
Global WowToggle3 := False

SpamWow1() {
    if (WowToggle1) {
        if WinActive("ahk_exe wow.exe") or WinActive("ahk_exe WowClassic.exe") {
            SendEvent("1")
            SetTimer(SpamWow1, -Random(WowSpamMin, WowSpamMax))
        } else {
            Global WowToggle1 := False ; Auto-disable if you alt-tab
        }
    }
}

SpamWow2() {
    if (WowToggle2) {
        if WinActive("ahk_exe wow.exe") or WinActive("ahk_exe WowClassic.exe") {
            SendEvent("2")
            SetTimer(SpamWow2, -Random(WowSpamMin, WowSpamMax))
        } else {
            Global WowToggle2 := False ; Auto-disable if you alt-tab
        }
    }
}

SpamWow3() {
    if (WowToggle3) {
        if WinActive("ahk_exe wow.exe") or WinActive("ahk_exe WowClassic.exe") {
            SendEvent("1")
            SetTimer(SpamWow3, -Random(WowSpamMin, WowSpamMax))
        } else {
            Global WowToggle3 := False ; Auto-disable if you alt-tab
        }
    }
}


; ==========================================
; WORLD OF WARCRAFT
; ==========================================
#HotIf WinActive("ahk_exe wow.exe") or WinActive("ahk_exe WowClassic.exe")

; Button 1 (F13): Toggle Spam '1' (Press once to start, again to stop)
F13:: {
    Global WowToggle1 := !WowToggle1
    if (WowToggle1) {
        SetTimer(SpamWow1, -1) ; Start immediately
    }
}

; Button 2 (F14): Toggle Spam '2' (Press once to start, again to stop)
F14:: {
    Global WowToggle2 := !WowToggle2
    if (WowToggle2) {
        SetTimer(SpamWow2, -1)
    }
}

; Button 3 (F15): Toggle Spam '1' (Press once to start, again to stop)
F15:: {
    Global WowToggle3 := !WowToggle3
    if (WowToggle3) {
        SetTimer(SpamWow3, -1)
    }
}

; Buttons 4-12 (Standard Presses)
F16::SendEvent("4")
F17::SendEvent("{NumLock}")
F18::SendEvent("6")
F19::SendEvent("7")
F20::SendEvent("8")
F21::SendEvent("9")
F22::SendEvent("0")
F23::SendEvent("-")
F24::SendEvent("=")

#HotIf


; ==========================================
; DOTA 2
; ==========================================
#HotIf WinActive("ahk_exe dota2.exe")

; Button 1 (F13): Turbo Left Click (Hold down to spam)
F13:: {
    while GetKeyState("F13", "P") {
        Click()
        Sleep(DotaTurboSpeed)
    }
}
; Buttons 2 to 9: Disabled
F14::return
F15::return
F16::return
F17::return
F18::return
F19::return
F20::return
F21::return

; Buttons 10 to 12
F22::SendEvent("{Volume_Down}")
F23::return ; Disabled
F24::SendEvent("{Volume_Up}")

#HotIf


; ==========================================
; DEFAULT / DESKTOP
; ==========================================
#HotIf !WinActive("ahk_exe wow.exe") and !WinActive("ahk_exe WowClassic.exe") and !WinActive("ahk_exe dota2.exe")

; Button 1 (F13): Turbo Left Click (Hold down to spam)
F13:: {
    while GetKeyState("F13", "P") {
        Click()
        Sleep(DesktopTurboSpeed)
    }
}
; Button 2 (F14): Ctrl + Prnt Scrn
F14::SendEvent("^{PrintScreen}")
; Button 3 (F15): 3
F15::SendEvent("3")
; Button 4 (F16): Alt + Left
F16::SendEvent("!{Left}")
; Button 5 (F17): 5
F17::SendEvent("5")
; Button 6 (F18): Alt + Right
F18::SendEvent("!{Right}")
; Button 7 (F19): Scroll Down
F19::Click("WheelDown")
; Button 8 (F20): 8
F20::SendEvent("8")
; Button 9 (F21): Scroll Up
F21::Click("WheelUp")
; Button 10 (F22): Volume Down
F22::SendEvent("{Volume_Down}")
; Button 11 (F23): -
F23::SendEvent("-")
; Button 12 (F24): Volume Up
F24::SendEvent("{Volume_Up}")

#HotIf
reddit.com
u/ares0027 — 16 days ago