Skip to main content
Ollama ExplorerBeta
local

granite-code

A family of open foundation models by IBM for Code Intelligence

1.6M pulls162 tagsSource updated Sep 3, 2024125K max context

Quick start

ollama run granite-code:latest

Runnable variants

Memory is a rough file-size estimate; context length, runtime and GPU offload change it.

12 of 162 matching variants shown.

20bTypelocalInputstextDigest59db7b531bb4Download12 GBParameters20bQuantizationUnknownContext8KEst. memory≈ 14.5 GB
ollama run granite-code:20b
20b-baseTypelocalInputstextDigest8ab7e91e85ffDownload12 GBParameters20bQuantizationUnknownContext8KEst. memory≈ 14.5 GB
ollama run granite-code:20b-base
20b-base-fp16TypelocalInputstextDigest30d0d41d27a1Download40 GBParameters20bQuantizationFP16Context8KEst. memory≈ 46 GB
ollama run granite-code:20b-base-fp16
20b-base-q2_KTypelocalInputstextDigest80e7dd534ffdDownload7.9 GBParameters20bQuantizationQ2_KContext8KEst. memory≈ 10 GB
ollama run granite-code:20b-base-q2_K
20b-base-q3_K_LTypelocalInputstextDigestd25be157479eDownload12 GBParameters20bQuantizationQ3_K_LContext8KEst. memory≈ 14.5 GB
ollama run granite-code:20b-base-q3_K_L
20b-base-q3_K_MTypelocalInputstextDigestc7252c0c6703Download11 GBParameters20bQuantizationQ3_K_MContext8KEst. memory≈ 13.5 GB
ollama run granite-code:20b-base-q3_K_M
20b-base-q3_K_STypelocalInputstextDigest67f3e156f5baDownload8.9 GBParameters20bQuantizationQ3_K_SContext8KEst. memory≈ 11 GB
ollama run granite-code:20b-base-q3_K_S
20b-base-q4_0TypelocalInputstextDigest8ab7e91e85ffDownload12 GBParameters20bQuantizationQ4_0Context8KEst. memory≈ 14.5 GB
ollama run granite-code:20b-base-q4_0
20b-base-q4_1TypelocalInputstextDigeste3a238721ec9Download13 GBParameters20bQuantizationQ4_1Context8KEst. memory≈ 16 GB
ollama run granite-code:20b-base-q4_1
20b-base-q4_K_MTypelocalInputstextDigest81b9da645827Download13 GBParameters20bQuantizationQ4_K_MContext8KEst. memory≈ 16 GB
ollama run granite-code:20b-base-q4_K_M
20b-base-q4_K_STypelocalInputstextDigest850228967095Download12 GBParameters20bQuantizationQ4_K_SContext8KEst. memory≈ 14.5 GB
ollama run granite-code:20b-base-q4_K_S
20b-base-q5_0TypelocalInputstextDigest0b840e35cc32Download14 GBParameters20bQuantizationQ5_0Context8KEst. memory≈ 17 GB
ollama run granite-code:20b-base-q5_0

Related models