Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Install support for jetpacks (#7632)
Daniel Hiltgen4759d879f237
diff --git a/scripts/install.sh b/scripts/install.shindex 79a7b564c..ec58ddbde 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -93,6 +93,22 @@ elsefifi+# Check for NVIDIA JetPack systems with additional downloads+if [ -f /etc/nv_tegra_release ] ; then+ if grep R36 /etc/nv_tegra_release > /dev/null ; then+ status "Downloading JetPack 6 components"+ curl --fail --show-error --location --progress-bar \+ "https://ollama.com/download/ollama-linux-${ARCH}-jetpack6.tgz${VER_PARAM}" | \+ $SUDO tar -xzf - -C "$OLLAMA_INSTALL_DIR"+ elif grep R35 /etc/nv_tegra_release > /dev/null ; then+ status "Downloading JetPack 5 components"+ curl --fail --show-error --location --progress-bar \+ "https://ollama.com/download/ollama-linux-${ARCH}-jetpack5.tgz${VER_PARAM}" | \+ $SUDO tar -xzf - -C "$OLLAMA_INSTALL_DIR"+ else+ warning "Unsupported JetPack version detected. GPU may not be supported"+ fi+fiinstall_success() {status 'The Ollama API is now available at 127.0.0.1:11434.'@@ -163,6 +179,13 @@ if [ "$IS_WSL2" = true ]; thenexit 0fi+# Don't attempt to install drivers on Jetson systems+if [ -f /etc/nv_tegra_release ] ; then+ status "NVIDIA JetPack ready."+ install_success+ exit 0+fi+# Install GPU dependencies on Linuxif ! available lspci && ! available lshw; thenwarning "Unable to detect NVIDIA/AMD GPU. Install lspci or lshw to automatically detect and install GPU dependencies."