---
title: Deploy models into production
description: >-
  - Basic — Learn the basics of predicting with Lightning - Intermediate — Learn
  to remove the Lightning dependencies and use pure PyTorch for prediction. -...
canonical: 'https://lightning.ai/docs/pytorch/stable/reference/deploy/production'
---
# Deploy models into production {#deploy-models-into-production}

## Basics {#basics}

- [Basic](/docs/pytorch/2.6.6/reference/deploy/production_basic.md) — Learn the basics of predicting with Lightning

- [Intermediate](/docs/pytorch/2.6.6/reference/deploy/production_intermediate.md) — Learn to remove the Lightning dependencies and use pure PyTorch for prediction.

## Advanced {#advanced}

- [Deploy with ONNX](/docs/pytorch/2.6.6/reference/deploy/production_advanced.md) — Optimize models for enterprise-scale production environments with ONNX.

- [Deploy with torchscript](/docs/pytorch/2.6.6/reference/deploy/production_advanced_2.md) — Optimize models for enterprise-scale production environments with torchscript.

- [Compress models for fast inference](/docs/pytorch/2.6.6/reference/advanced/pruning_quantization.md) — Compress models for fast inference for deployment with Quantization and Pruning.

---

**Navigation**

- Parent: [Deploy](/docs/pytorch/2.6.6/reference/deploy.md)
