# Fine-tune neural graphics models using Model Gym

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/)
- [Install Model Gym and explore neural graphics examples](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/1-introduction/)
- [Set up your environment](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/2-devenv/)
- [Launch the training notebook](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/3-model-training/)
- [Fine-tune and export a quantized model](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/4-quantization-fine-tuning/)
- [Inspect the model graph with Model Explorer](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/4-model-explorer/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/model-training-gym/_next-steps/)

## About this Learning Path

| Skill level:      | Advanced          |
|-------------------|-------------------|
| Reading time:     | 45 min            |
| Last updated:     | 12 Nov 2026       |
| Author:           | Annie Tallund, Arm [GitHub](https://github.com/annietllnd) [LinkedIn](https://linkedin.com/in/annietallund) |
| Arm IP:           | [Mali](https://support.arm.com/?tab=compute-ip&Product%20Type=Graphics%20Processors) |
| Tags:             | [AI/ML](https://learn.arm.com/tag/ai-ml/) [Linux](https://learn.arm.com/tag/linux) [PyTorch](https://learn.arm.com/tag/pytorch) [Jupyter Notebook](https://learn.arm.com/tag/jupyter-notebook) [Vulkan](https://learn.arm.com/tag/vulkan) [NX](https://learn.arm.com/tag/nx) |

### Who is this for?
This is an advanced topic for developers exploring neural graphics and interested in training and deploying upscaling models like Neural Super Sampling (NSS) using PyTorch and Arm’s hardware-aware backend.

### What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Understand the principles of neural graphics and how it’s applied to game performance.
- Learn how to fine-tune and evaluate a neural network for Neural Super Sampling (NSS).
- Use the Model Gym Python API and CLI to configure and train neural graphics models.
- Fine-tune an NSS model with quantization-aware training (QAT) and export it to .vgf.
- Inspect the graph of exported .vgf models using Model Explorer.

### Prerequisites
Before starting, you'll need the following prerequisites:
- Basic understanding of PyTorch and machine learning concepts.
- A development machine running Ubuntu 22.04 or later, with a CUDA-capable NVIDIA® GPU.
- CUDA Toolkit v13.1.1 or later.

### Summary
You’ll use Model Gym notebooks on Ubuntu to train and evaluate a Neural Super Sampling model in PyTorch. Inspect checkpoints, choose post-training or quantization-aware training, and prepare an INT8 export. Then export the fine-tuned model as a `.vgf` package and validate it in Model Explorer with the VGF adapter.
