# 导出模型设置
ollama show --modelfile qwen2.5-coder:latest > Modelfile

# 设置强制显卡
echo PARAMETER num_gpu 999 >> Modelfile

# 导入模型配置
ollama create qwen2.5-coder:gpu
Last modification:October 27, 2025
If you think my article is useful to you, please feel free to appreciate