Jetson support should be included as of Ollama 0.1.30. Please see the official repo for more information https://github.com/ollama/ollama
export LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/compat:/usr/local/cuda/include"
export OLLAMA_SKIP_CPU_GENERATE="1"
export CMAKE_CUDA_ARCHITECTURES="87"
export CMAKE_CUDA_ARCHITECTURES="72;87"
export CMAKE_CUDA_ARCHITECTURES="53;62;72"