linux64
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux64 [2026/07/18 14:32] – [ollama in podman for ai] bengt | linux64 [2026/07/18 21:37] (current) – [ollama in podman for ai] bengt | ||
|---|---|---|---|
| Line 866: | Line 866: | ||
| cd $HOME | cd $HOME | ||
| loginctl enable-linger ollama | loginctl enable-linger ollama | ||
| - | podman run -d --rm -v / | + | podman run -d --rm -v / |
| $ chmod u+x start.sh | $ chmod u+x start.sh | ||
| Then setup a start.sh-script containing the startup command line and maybe start this using " | Then setup a start.sh-script containing the startup command line and maybe start this using " | ||
| Line 893: | Line 893: | ||
| # dnf install nvidia-container-toolkit | # dnf install nvidia-container-toolkit | ||
| # nvidia-ctk cdi generate --output=/ | # nvidia-ctk cdi generate --output=/ | ||
| - | + | # nvidia-ctk cdi list | |
| + | # podman run --rm --security-opt label=disable --device nvidia.com/ | ||
| + | # vi start.sh | ||
| + | Add " | ||
| + | # nvidia-smi # Check ram usage for gpus. Watch out for too large context windows spilling over as it will spread not prioritizing the 5060 ti. | ||
| + | If you run into context size problems (it got capped at 4096) you can add "-e OLLAMA_CONTEXT_LENGTH=32768" | ||
| ===== Software ===== | ===== Software ===== | ||
linux64.1784385156.txt.gz · Last modified: by bengt