--- name: dgx-spark-pytorch-fine-tune description: Use Pytorch to fine-tune models locally — on NVIDIA DGX Spark. Use when setting up pytorch-fine-tune on Spark hardware. --- # Fine-tune with Pytorch > Use Pytorch to fine-tune models locally This playbook guides you through setting up and using Pytorch for fine-tuning large language models on NVIDIA Spark devices. **Outcome**: You'll establish a complete fine-tuning environment for large language models (1-70B parameters) on your NVIDIA Spark device. By the end, you'll have a working installation that supports parameter-efficient fine-tuning (PEFT) and supervised fine-tuning (SFT). **Full playbook**: `/home/runner/work/dgx-spark-playbooks/dgx-spark-playbooks/nvidia/pytorch-fine-tune/README.md`