AI/Ollama: Difference between revisions
Jump to navigation
Jump to search
| Line 246: | Line 246: | ||
apt-get purge -y intel-gpu-tools | apt-get purge -y intel-gpu-tools | ||
apt-get purge -y intel-opencl-icd libze1 libze-intel-gpu1 clinfo intel-media-va-driver-non-free | apt-get purge -y intel-opencl-icd libze1 libze-intel-gpu1 clinfo intel-media-va-driver-non-free | ||
apt-get clean | |||
EXE | |||
cat <<'EXE' | sudo bash | |||
apt-get update;echo | |||
apt-get upgrade -y;echo | |||
apt-get install -y intel-opencl-icd libze-intel-gpu1 libze1 intel-media-va-driver-non-free clinfo | |||
apt-get install -y intel-gpu-tools | |||
apt-get clean | apt-get clean | ||
EXE | EXE | ||
Revision as of 04:09, 8 March 2026
curl -fsSL https://ollama.com/install.sh | sh
ollama pull gpt-oss:20b
ollama --version
ollama ls
curl -fsSL https://claude.ai/install.sh | bash
ollama launch claude --model gpt-oss:20b
|
export ANTHROPIC_BASE_URL=http://localhost:11434
export ANTHROPIC_AUTH_TOKEN=ollama
export ANTHROPIC_API_KEY=''
export OLLAMA_NUM_CTX=32768
export OLLAMA_KEEP_ALIVE=5m
claude --model gpt-oss:20b
| ||||
| |||||
Optimization
|
Optimization | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Installation
|
Installation | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
References
|
References | ||
|---|---|---|