모델 업그레이드
이전 버전의 Ollama로 다운로드한 모델은 처음 실행할 때 백그라운드에서 업그레이드되어, llama.cpp에서 실행할 때 더 나은 성능과 호환성을 제공합니다.
다운그레이드를 안전하게 하기 위해 Ollama는 원본 사본을 백업으로 유지하므로, 업그레이드된 모델이 일시적으로 디스크에 보관됩니다. 향후 릴리스에서 이러한 백업이 자동으로 제거될 예정입니다.
지금 백업된 모델을 제거하려면 ( jq):
curl -s localhost:11434/api/tags | jq -r '.models[].name' | while read -r m; do
curl -s localhost:11434/api/show -d "{\"model\":\"$m\"}" | jq -r \
'select(any(.manifests[]?; .runner == "llamacpp")) | .manifests[] | select(.runner == "ggml") | .digest'
done | sort -u | xargs -n1 ollama rm
이 명령은 백업만 삭제합니다. 나중에 0.40보다 오래된 버전으로 다운그레이드하면 해당 모델을 다시 pull해야 합니다.
기타 변경 사항
* ollama list 가 더 이상 업그레이드된 모델에 대해 중복 항목을 표시하지 않음, @dhiltgen 작성, https://github.com/ollama/ollama/pull/18874
* ollama launch claude 가 모델의 전체 컨텍스트 길이를 사용함, @jberg5 작성, https://github.com/ollama/ollama/pull/18855
* README: community integrations에 oxi 추가, @maziluiosif 작성, https://github.com/ollama/ollama/pull/18739
새 기여자
- @maziluiosif가 처음 기여했습니다: https://github.com/ollama/ollama/pull/18739
전체 변경 로그: https://github.com/ollama/ollama/compare/v0.40.1...v0.40.2-rc0