— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —
To address the issue with the Ollama installation script failing to detect JetPack 7 and subsequently failing to download the image that supports Jetson CUDA, you can modify the installation script. The modification involves setting an environment parameter JETSON_JETPACK=6 to make Ollama use the GPU instead of relying 100% on the CPU.
Here’s how you can approach this:
Modify the Ollama Installation Script: You need to adjust the script to correctly identify JetPack 7 and download the appropriate CUDA-compatible image for the Jetson Orin Nano.
Set Environment Parameter: Before running the modified script, set the JETSON_JETPACK environment variable to 6. This is a workaround to ensure that Ollama utilizes the GPU, given the current detection issue with JetPack 7.
export JETSON_JETPACK=6
Run the Modified Installation Script: With the environment variable set, proceed to run your modified Ollama installation script. This should now correctly download and install the Ollama image that supports CUDA on your Jetson Orin Nano with JetPack 7.
Please note, the exact steps for modifying the script might vary depending on how the original script is structured and what changes are necessary to support JetPack 7 detection and CUDA image download. The provided context suggests a manual intervention is required to bypass the detection issue until a more integrated solution is available.
For a more detailed and step-by-step guide, consider referring to the official NVIDIA documentation or community forums where users and developers share their experiences and solutions for similar issues.
— We support team will also look into your issue to have further suggestions soon. please stay tuned. —
It fallback to CPU due to the failure in the verification below:
Jun 16 12:38:37 localhost.localdomain ollama[52381]: time=2026-06-16T12:38:37.242+08:00 level=INFO source=llama_server.go:292 msg="skipping CUDA device — compute capability not in compiled architectures" device=Orin cc=870 archs="[500 520 600 610 700 750 800 860 890 900 1200]" libDirs="[/usr/local/lib/ollama /usr/local/lib/ollama/cuda_v12]"
Jun 16 12:38:38 localhost.localdomain ollama[52381]: time=2026-06-16T12:38:38.177+08:00 level=INFO source=llama_server.go:292 msg="skipping CUDA device — compute capability not in compiled architectures" device=Orin cc=870 archs="[750 800 860 890 900 1000 1030 1100 1200 1210]" libDirs="[/usr/local/lib/ollama /usr/local/lib/ollama/cuda_v13]"
We are currently working on adding 870 to the archs list so it can work by default.
For a temporary workaround, please set the following environment variable to enable GPU: