Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 29 additions & 14 deletions flash/configuration/gpu-types.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the Gunning-Fog index (13.29) below 10.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the LIX score (43.08) below 35.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the Flesch–Kincaid grade level (11.17) below 8.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the Flesch reading ease score (50.05) above 70.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the Automated Readability Index (11.53) below 8.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the Coleman–Liau Index grade (11.55) below 9.

Check warning on line 1 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L1

Try to keep the SMOG grade (13.02) below 10.
title: "GPU types"
sidebarTitle: "GPU types"
description: "Available GPU pools and specific GPU types for Flash endpoints. Review setup, configuration, deployment, and usage guidance for Runpod Flash."
Expand All @@ -6,37 +6,37 @@

Flash provides access to a wide range of NVIDIA GPUs through both pool-based and specific GPU selection. This page lists all available GPU types and explains how to use them.

## GPU selection methods

Check warning on line 9 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L9

'GPU selection methods' should use sentence-style capitalization.

Flash offers two ways to specify GPU hardware:

1. [GPU pools](/flash/configuration/gpu-types#gpu-pools) (`GpuGroup`): Select from predefined pools of similar GPUs grouped by architecture and VRAM.

Check warning on line 13 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L13

Use parentheses judiciously.

Check warning on line 13 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L13

Spell out 'VRAM', if it's unfamiliar to the audience.
2. [Specific GPU types](/flash/configuration/gpu-types#specific-gpu-types) (`GpuType`): Target exact GPU models when you need precise hardware characteristics.

Check warning on line 14 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L14

Use parentheses judiciously.

You can use either method or mix both for [advanced fallback strategies](/flash/configuration/gpu-types#advanced-fallback-strategies).

## GPU pools

Check warning on line 18 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L18

'GPU pools' should use sentence-style capitalization.

The `GpuGroup` enum provides access to GPU pools. Each pool contains specific GPU models grouped by architecture and VRAM capacity.

Check warning on line 20 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L20

Spell out 'VRAM', if it's unfamiliar to the audience.

### Available GPU pools

Check warning on line 22 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L22

'Available GPU pools' should use sentence-style capitalization.

| GpuGroup | GPUs Included | VRAM | Best For |

Check warning on line 24 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L24

Spell out 'VRAM', if it's unfamiliar to the audience.

Check warning on line 24 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L24

Avoid the unverifiable claim 'Best'.
|----------|---------------|------|----------|
| `GpuGroup.ANY` | Any available GPU | Varies | Fast provisioning, prototyping |
| `GpuGroup.AMPERE_16` | RTX A4000, RTX 4000 Ada, RTX 2000 Ada | 16GB | Small models, basic inference |

Check warning on line 27 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L27

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 27 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L27

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 27 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L27

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 27 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L27

Put a nonbreaking space between the number and the unit in '16GB'.
| `GpuGroup.AMPERE_24` | RTX A4500, RTX A5000, RTX 3090 | 20-24GB | General ML, mid-size models |

Check warning on line 28 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L28

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 28 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L28

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 28 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L28

Spell out 'RTX', if it's unfamiliar to the audience.
| `GpuGroup.ADA_24` | L4, RTX 4090 | 24GB | Cost-effective inference |

Check warning on line 29 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L29

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 29 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L29

Put a nonbreaking space between the number and the unit in '24GB'.
| `GpuGroup.ADA_32_PRO` | RTX 5090 | 32GB | Latest consumer flagship |

Check warning on line 30 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L30

Spell out 'PRO', if it's unfamiliar to the audience.

Check warning on line 30 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L30

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 30 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L30

Put a nonbreaking space between the number and the unit in '32GB'.

Check warning on line 30 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L30

Avoid time-based words like 'Latest' in product documentation.
| `GpuGroup.AMPERE_48` | A40, RTX A6000 | 48GB | Large models, fine-tuning |

Check warning on line 31 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L31

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 31 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L31

Put a nonbreaking space between the number and the unit in '48GB'.
| `GpuGroup.ADA_48_PRO` | L40S, L40, RTX 6000 Ada | 48GB | Professional inference |

Check warning on line 32 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L32

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 32 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L32

Put a nonbreaking space between the number and the unit in '48GB'.
| `GpuGroup.AMPERE_80` | A100 80GB PCIe, A100-SXM4-80GB | 80GB | XL models, intensive training |

Check warning on line 33 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L33

Put a nonbreaking space between the number and the unit in '80GB'.

Check warning on line 33 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L33

Put a nonbreaking space between the number and the unit in '80GB'.
| `GpuGroup.ADA_80_PRO` | H100 80GB HBM3 | 80GB | Cutting-edge inference |

Check warning on line 34 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L34

Put a nonbreaking space between the number and the unit in '80GB'.

Check warning on line 34 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L34

Put a nonbreaking space between the number and the unit in '80GB'.
| `GpuGroup.BLACKWELL_96` | RTX PRO 6000 Blackwell (Server, Workstation, Max-Q) | 96GB | Professional Blackwell workloads |

Check warning on line 35 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L35

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 35 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L35

Use parentheses judiciously.

Check warning on line 35 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L35

Put a nonbreaking space between the number and the unit in '96GB'.
| `GpuGroup.HOPPER_141` | H200 | 141GB | Largest models, maximum VRAM |

Check warning on line 36 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L36

Put a nonbreaking space between the number and the unit in '141GB'.

Check warning on line 36 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L36

Spell out 'VRAM', if it's unfamiliar to the audience.
| `GpuGroup.BLACKWELL_180` | B200 | 180GB | Maximum VRAM, next-gen training |

Check warning on line 37 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L37

Put a nonbreaking space between the number and the unit in '180GB'.

Check warning on line 37 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L37

Spell out 'VRAM', if it's unfamiliar to the audience.

### Using GPU pools

Check warning on line 39 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L39

'Using GPU pools' should use sentence-style capitalization.

```python
from runpod_flash import Endpoint, GpuGroup
Expand All @@ -60,59 +60,63 @@
...
```

## Specific GPU types

Check warning on line 63 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L63

'Specific GPU types' should use sentence-style capitalization.

The `GpuType` enum provides access to specific GPU models. Use these when you need exact hardware characteristics.

A single `GpuType` requests that exact card — this is the only form guaranteed to pin workers to a specific GPU model. If you pass a list of `GpuType` values, placement is advisory at the pool/VRAM-tier level instead. See [GPU selection behavior](/flash/configuration/gpu-types#gpu-selection-behavior) for details.

Check warning on line 67 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L67

Don't put a space before or after a dash.

Check warning on line 67 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L67

Spell out 'VRAM', if it's unfamiliar to the audience.

### Available GPU types

Check warning on line 69 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L69

'Available GPU types' should use sentence-style capitalization.

| GpuType | GPU Model | VRAM | Architecture |

Check warning on line 71 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L71

Spell out 'VRAM', if it's unfamiliar to the audience.
|---------|-----------|------|--------------|
| `GpuType.ANY` | Any available GPU | Varies | Any |
| `GpuType.NVIDIA_RTX_A4000` | NVIDIA RTX A4000 | 16GB | Ampere |

Check warning on line 74 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L74

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 74 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L74

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 74 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L74

Put a nonbreaking space between the number and the unit in '16GB'.
| `GpuType.NVIDIA_RTX_A4500` | NVIDIA RTX A4500 | 20GB | Ampere |

Check warning on line 75 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L75

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 75 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L75

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 75 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L75

Put a nonbreaking space between the number and the unit in '20GB'.
| `GpuType.NVIDIA_RTX_4000_ADA_GENERATION` | NVIDIA RTX 4000 Ada | 16GB | Ada Lovelace |

Check warning on line 76 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L76

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 76 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L76

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 76 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L76

Put a nonbreaking space between the number and the unit in '16GB'.
| `GpuType.NVIDIA_RTX_2000_ADA_GENERATION` | NVIDIA RTX 2000 Ada | 16GB | Ada Lovelace |

Check warning on line 77 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L77

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 77 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L77

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 77 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L77

Put a nonbreaking space between the number and the unit in '16GB'.
| `GpuType.NVIDIA_RTX_A5000` | NVIDIA RTX A5000 | 24GB | Ampere |

Check warning on line 78 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L78

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 78 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L78

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 78 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L78

Put a nonbreaking space between the number and the unit in '24GB'.
| `GpuType.NVIDIA_L4` | NVIDIA L4 | 24GB | Ada Lovelace |

Check warning on line 79 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L79

Put a nonbreaking space between the number and the unit in '24GB'.
| `GpuType.NVIDIA_GEFORCE_RTX_3090` | NVIDIA GeForce RTX 3090 | 24GB | Ampere |

Check warning on line 80 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L80

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 80 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L80

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 80 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L80

Put a nonbreaking space between the number and the unit in '24GB'.
| `GpuType.NVIDIA_GEFORCE_RTX_4090` | NVIDIA GeForce RTX 4090 | 24GB | Ada Lovelace |

Check warning on line 81 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L81

Spell out 'RTX', if it's unfamiliar to the audience.

Check warning on line 81 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L81

Put a nonbreaking space between the number and the unit in '24GB'.
| `GpuType.NVIDIA_GEFORCE_RTX_5090` | NVIDIA GeForce RTX 5090 | 32GB | Blackwell |

Check warning on line 82 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L82

Put a nonbreaking space between the number and the unit in '32GB'.
| `GpuType.NVIDIA_A40` | NVIDIA A40 | 48GB | Ampere |

Check warning on line 83 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L83

Put a nonbreaking space between the number and the unit in '48GB'.
| `GpuType.NVIDIA_RTX_A6000` | NVIDIA RTX A6000 | 48GB | Ampere |

Check warning on line 84 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L84

Put a nonbreaking space between the number and the unit in '48GB'.
| `GpuType.NVIDIA_RTX_6000_ADA_GENERATION` | NVIDIA RTX 6000 Ada | 48GB | Ada Lovelace |

Check warning on line 85 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L85

Put a nonbreaking space between the number and the unit in '48GB'.
| `GpuType.NVIDIA_A100_80GB_PCIe` | NVIDIA A100 80GB PCIe | 80GB | Ampere |

Check warning on line 86 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L86

Put a nonbreaking space between the number and the unit in '80GB'.

Check warning on line 86 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L86

Put a nonbreaking space between the number and the unit in '80GB'.

Check warning on line 86 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L86

Put a nonbreaking space between the number and the unit in '80GB'.
| `GpuType.NVIDIA_A100_SXM4_80GB` | NVIDIA A100-SXM4-80GB | 80GB | Ampere |

Check warning on line 87 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L87

Put a nonbreaking space between the number and the unit in '80GB'.

Check warning on line 87 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L87

Put a nonbreaking space between the number and the unit in '80GB'.
| `GpuType.NVIDIA_H100_80GB_HBM3` | NVIDIA H100 80GB HBM3 | 80GB | Hopper |
| `GpuType.NVIDIA_RTX_PRO_6000_BLACKWELL_SERVER_EDITION` | NVIDIA RTX PRO 6000 Blackwell Server Edition | 96GB | Blackwell |

Check warning on line 89 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L89

Spell out 'PRO', if it's unfamiliar to the audience.

Check warning on line 89 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L89

Spell out 'PRO', if it's unfamiliar to the audience.

Check warning on line 89 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L89

Put a nonbreaking space between the number and the unit in '96GB'.
| `GpuType.NVIDIA_RTX_PRO_6000_BLACKWELL_WORKSTATION_EDITION` | NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 96GB | Blackwell |

Check warning on line 90 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L90

Spell out 'PRO', if it's unfamiliar to the audience.

Check warning on line 90 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L90

Put a nonbreaking space between the number and the unit in '96GB'.
| `GpuType.NVIDIA_RTX_PRO_6000_BLACKWELL_MAX_Q_WORKSTATION_EDITION` | NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition | 96GB | Blackwell |

Check warning on line 91 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L91

Put a nonbreaking space between the number and the unit in '96GB'.
| `GpuType.NVIDIA_H200` | NVIDIA H200 | 141GB | Hopper |

Check warning on line 92 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L92

Put a nonbreaking space between the number and the unit in '141GB'.
| `GpuType.NVIDIA_B200` | NVIDIA B200 | 180GB | Blackwell |

Check warning on line 93 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L93

Put a nonbreaking space between the number and the unit in '180GB'.

### Using specific GPU types

Check warning on line 95 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L95

'Using specific GPU types' should use sentence-style capitalization.

```python
from runpod_flash import Endpoint, GpuType

# Single specific GPU
# Single specific GPU (pins the exact card)
@Endpoint(name="inference", gpu=GpuType.NVIDIA_A100_80GB_PCIe)
async def infer(data: dict) -> dict:
...

# Multiple specific GPUs (fallback strategy)
# Multiple specific GPUs (requests any card in this set)
@Endpoint(
name="flexible",
gpu=[
GpuType.NVIDIA_A100_80GB_PCIe, # Try A100 PCIe first
GpuType.NVIDIA_A100_SXM4_80GB, # Fall back to A100 SXM4
GpuType.NVIDIA_A40 # Final fallback to A40
GpuType.NVIDIA_A100_80GB_PCIe,
GpuType.NVIDIA_A100_SXM4_80GB,
GpuType.NVIDIA_A40
]
)
async def flexible_infer(data: dict) -> dict:
...
```

When you pass a list, the Flash SDK converts each `GpuType` to its GPU pool (`GpuGroup`) when it creates the endpoint, excluding any pool members you didn't list. Placement within the selected pools is advisory: workers may be scheduled on a different card with equivalent VRAM rather than one of the exact models you listed, and list order is not preserved. Pass a single `GpuType` when your workload requires an exact GPU model.

Check warning on line 118 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L118

Use parentheses judiciously.

Check warning on line 118 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L118

In general, use active voice instead of passive voice ('be scheduled').

Check warning on line 118 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L118

Spell out 'VRAM', if it's unfamiliar to the audience.

Check warning on line 118 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L118

Use 'isn't' instead of 'is not'.

## Advanced fallback strategies

Combine `GpuGroup` and `GpuType` for robust availability:
Expand All @@ -123,45 +127,56 @@
@Endpoint(
name="hybrid-selection",
gpu=[
GpuType.NVIDIA_A100_80GB_PCIe, # Specific GPU first
GpuGroup.AMPERE_48, # Pool fallback
GpuGroup.ANY # Ultimate fallback
GpuType.NVIDIA_A100_80GB_PCIe, # Specific GPU model
GpuGroup.AMPERE_48, # Any card in the 48GB Ampere pool
GpuGroup.ANY # Any GPU: expands to all pools for maximum availability
]
)
async def infer(data: dict) -> dict:
...
```

## GPU selection behavior

Check warning on line 139 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L139

'GPU selection behavior' should use sentence-style capitalization.

**Single GPU type:**
Flash waits for this specific GPU to become available. Jobs stay in queue until capacity is available.
Passing a single `GpuType` requests that exact GPU model. This is the only form guaranteed to pin workers to a specific card. Flash waits for that model to become available, and jobs stay in queue until capacity is free.

Check warning on line 142 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L142

'Passing' should be in lowercase.

```python
gpu=GpuGroup.AMPERE_80 # Only A100 80GB
gpu=GpuType.NVIDIA_GEFORCE_RTX_4090 # Only the RTX 4090
```

**Multiple GPU types (fallback):**
Flash attempts to provision in the order specified.
**Single GPU pool:**
Passing a single `GpuGroup` requests any card in that pool.

Check warning on line 149 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L149

'Passing' should be in lowercase.

```python
gpu=GpuGroup.AMPERE_80 # Any A100 80GB card
```

**A list of GPU types or pools:**
A list requests any one of the listed options. It is not an ordered preference: the SDK does not preserve list order, and placement within the selected pools is advisory — workers may be scheduled on a different card with equivalent VRAM rather than one of the exact models you listed. Be aware of this when benchmarking or when your workload depends on a specific GPU model.

Check warning on line 156 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L156

Use 'it's' instead of 'It is'.

Check warning on line 156 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L156

Use 'doesn't' instead of 'does not'.

Check warning on line 156 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L156

Don't put a space before or after a dash.

Check warning on line 156 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L156

In general, use active voice instead of passive voice ('be scheduled').

Check warning on line 156 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L156

Spell out 'VRAM', if it's unfamiliar to the audience.

```python
gpu=[GpuGroup.AMPERE_80, GpuGroup.AMPERE_48, GpuGroup.ADA_24]
# Tries: A100 → A40/A6000 → RTX 4090
# Any card from the 80GB, 48GB, or 24GB pools
```

**GpuGroup.ANY:**

Check warning on line 163 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L163

'p.A' should have one space.

Check warning on line 163 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L163

Spell out 'ANY', if it's unfamiliar to the audience.
Flash selects the first available GPU based on current capacity.

Check warning on line 164 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L164

'Flash' should be in lowercase.

```python
gpu=GpuGroup.ANY # Fastest provisioning, unpredictable GPU type
```

<Note>
There is currently no API field that reports which GPU model a worker was actually placed on. The endpoint configuration reflects what you requested, not where workers ran, so GPU substitution is invisible in the API. To verify placement, query the GPU from inside the worker (for example, with `nvidia-smi`).
</Note>

<Tip>
**For production**: Use specific GPU types for predictable cost and performance.
**For production**: Pass a single `GpuType` when you need a specific card for predictable cost and performance.
**For development**: Use `GpuGroup.ANY` for fastest iteration.
</Tip>

## Multi-GPU workers

Check warning on line 179 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L179

'Multi-GPU workers' should use sentence-style capitalization.

Request multiple GPUs per worker using `gpu_count`:

Expand Down Expand Up @@ -197,4 +212,4 @@
gpu=GpuGroup.ANY
```

3. **Contact support**: For capacity guarantees, contact [Runpod support](https://www.runpod.io/contact).

Check warning on line 215 in flash/configuration/gpu-types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/gpu-types.mdx#L215

Avoid the unverifiable claim 'guarantees'.
14 changes: 11 additions & 3 deletions flash/configuration/parameters.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L1

Try to keep the Coleman–Liau Index grade (11.94) below 9.

Check warning on line 1 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L1

Try to keep the SMOG grade (10.25) below 10.

Check warning on line 1 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L1

Try to keep the Flesch reading ease score (45.42) above 70.

Check warning on line 1 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L1

Try to keep the LIX score (43.55) below 35.

Check warning on line 1 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L1

Try to keep the Flesch–Kincaid grade level (8.94) below 8.
title: "Endpoint parameters"
sidebarTitle: "Parameters"
description: "Complete reference for all Endpoint class parameters. Review setup, configuration, deployment, and usage guidance for Runpod Flash."
Expand All @@ -10,34 +10,34 @@

| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `name` | `str` | Endpoint name (required unless `id=` is used) | - |

Check warning on line 13 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L13

In general, use active voice instead of passive voice ('is used').
| `id` | `str` | Connect to existing endpoint by ID | `None` |
| `gpu` | `GpuGroup`, `GpuType`, or list | GPU type(s) for the endpoint | `GpuGroup.ANY` |

Check warning on line 15 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L15

Don't use plurals in parentheses such as in 'type(s)'.

Check warning on line 15 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L15

Use parentheses judiciously.
| `cpu` | `str` or `CpuInstanceType` | CPU instance type (mutually exclusive with `gpu`) | `None` |
| `workers` | `int` or `(min, max)` | Worker scaling configuration | `(0, 1)` |
| `idle_timeout` | `int` | Seconds before scaling down idle workers | `60` |
| `dependencies` | `list[str]` | Python packages to install | `None` |
| `system_dependencies` | `list[str]` | System packages to install (apt) | `None` |

Check warning on line 20 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L20

Use parentheses judiciously.
| `accelerate_downloads` | `bool` | Enable download acceleration | `True` |
| `volume` | `NetworkVolume` or list | Network volume(s) for persistent storage | `None` |

Check warning on line 22 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L22

Don't use plurals in parentheses such as in 'volume(s)'.

Check warning on line 22 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L22

Use parentheses judiciously.
| `datacenter` | `DataCenter`, list, or `None` | Datacenter(s) for deployment | `None` (all DCs) |

Check warning on line 23 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L23

Don't use plurals in parentheses such as in 'Datacenter(s)'.

Check warning on line 23 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L23

Use parentheses judiciously.

Check warning on line 23 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L23

Use parentheses judiciously.
| `env` | `dict[str, str]` | Environment variables | `None` |
| `gpu_count` | `int` | GPUs per worker | `1` |
| `execution_timeout_ms` | `int` | Max execution time in milliseconds | `0` (no limit) |

Check warning on line 26 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L26

Use parentheses judiciously.
| `flashboot` | `bool` | Enable Flashboot fast startup | `True` |
| `image` | `str` | Custom Docker image to deploy | `None` |
| `scaler_type` | `ServerlessScalerType` | Scaling strategy | auto |
| `scaler_value` | `int` | Scaling threshold | `4` |
| `template` | `PodTemplate` | Pod template overrides | `None` |
| `min_cuda_version` | `str` or `CudaVersion` | Minimum CUDA version for GPU host selection | `"12.8"` (GPU) / `None` (CPU) |

Check warning on line 32 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L32

Spell out 'CUDA', if it's unfamiliar to the audience.
| `python_version` | `str` | Python version for the worker image | Local Python |

## Parameter details

### name

Check warning on line 37 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L37

'name' should use sentence-style capitalization.

**Type**: `str`
**Required**: Yes (unless `id=` is specified)

Check warning on line 40 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L40

'Yes' should be in lowercase.

Check warning on line 40 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L40

In general, use active voice instead of passive voice ('is specified').

The endpoint name visible in the [Runpod console](https://console.runpod.io/serverless). Use descriptive names to easily identify endpoints.

Expand All @@ -50,12 +50,12 @@
Use naming conventions like `image-generation-prod` or `batch-processor-dev` to organize your endpoints.
</Tip>

### id

Check warning on line 53 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L53

'id' should use sentence-style capitalization.

**Type**: `str`
**Default**: `None`

Connect to an existing deployed endpoint by its ID. When `id` is specified, `name` is not required.

Check warning on line 58 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L58

In general, use active voice instead of passive voice ('is specified').

Check warning on line 58 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L58

Use 'isn't' instead of 'is not'.

```python
# Connect to existing endpoint
Expand All @@ -66,12 +66,16 @@
result = await ep.post("/inference", {"data": "..."})
```

### gpu

Check warning on line 69 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L69

'gpu' should use sentence-style capitalization.

**Type**: `GpuGroup`, `GpuType`, or `list[GpuGroup | GpuType]`
**Default**: `GpuGroup.ANY` (if neither `gpu` nor `cpu` is specified)

Check warning on line 72 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L72

In general, use active voice instead of passive voice ('is specified').

Specifies GPU hardware for the endpoint. Accepts a single GPU type/group or a list for fallback strategies.
Specifies GPU hardware for the endpoint. Accepts a single GPU pool/type or a list of pools and types:

- A single `GpuType` requests that exact GPU model. This is the only form guaranteed to pin workers to a specific card.
- A single `GpuGroup` requests any card in that pool.
- A list requests any of the listed options. The SDK converts each `GpuType` in a list to its GPU pool, so list placement is advisory at the pool/VRAM-tier level: workers may run on a different card with equivalent VRAM rather than one of the exact models you listed, and list order is not preserved.

Check warning on line 78 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L78

Spell out 'VRAM', if it's unfamiliar to the audience.

Check warning on line 78 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L78

Spell out 'VRAM', if it's unfamiliar to the audience.

Check warning on line 78 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L78

Use 'isn't' instead of 'is not'.

```python
from runpod_flash import Endpoint, GpuType, GpuGroup
Expand All @@ -84,14 +88,18 @@
@Endpoint(name="rtx-worker", gpu=GpuType.NVIDIA_GEFORCE_RTX_4090)
async def process(data): ...

# Multiple types for fallback
# Multiple types: requests any card in the set
@Endpoint(name="flexible", gpu=[GpuType.NVIDIA_A100_80GB_PCIe, GpuType.NVIDIA_RTX_A6000, GpuType.NVIDIA_GEFORCE_RTX_4090])
async def flexible_infer(data): ...
```

See [GPU types](/flash/configuration/gpu-types) for all available options.
<Note>
There is currently no API field that reports which GPU model a worker was actually placed on — the endpoint configuration reflects what you requested, not where workers ran. To verify placement, query the GPU from inside the worker (for example, with `nvidia-smi`).
</Note>

See [GPU types](/flash/configuration/gpu-types) for all available options, including [GPU selection behavior](/flash/configuration/gpu-types#gpu-selection-behavior).

### cpu

Check warning on line 102 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L102

'cpu' should use sentence-style capitalization.

**Type**: `str` or `CpuInstanceType`
**Default**: `None`
Expand All @@ -112,12 +120,12 @@

See [CPU types](/flash/configuration/cpu-types) for all available options.

### workers

Check warning on line 123 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L123

'workers' should use sentence-style capitalization.

**Type**: `int` or `tuple[int, int]`
**Default**: `(0, 1)`

Controls worker scaling. Accepts either a single integer (max workers with min=0) or a tuple of (min, max).

Check warning on line 128 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L128

Use parentheses judiciously.

Check warning on line 128 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L128

Use parentheses judiciously.

```python
# Just max: scales from 0 to 5
Expand All @@ -135,13 +143,13 @@
- `workers=(1, N)`: Avoid cold starts by keeping at least one worker warm
- `workers=(N, N)`: Fixed worker count for consistent performance

### idle_timeout

Check warning on line 146 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L146

'idle_timeout' should use sentence-style capitalization.

**Type**: `int`
**Default**: `60`
**Valid range**: 1-3600 seconds

Number of seconds workers will stay active (running) after completing a request, waiting for additional requests before scaling down (to minimum workers).

Check warning on line 152 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L152

Avoid using 'will'.

Check warning on line 152 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L152

Use parentheses judiciously.

Check warning on line 152 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L152

Use parentheses judiciously.

```python
# Quick scale-down for cost savings
Expand All @@ -156,7 +164,7 @@
- `60-120 seconds`: Balanced, variable traffic patterns
- `120-300 seconds`: Latency-optimized, consistent traffic

### dependencies

Check warning on line 167 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L167

'dependencies' should use sentence-style capitalization.

**Type**: `list[str]`
**Default**: `None`
Expand All @@ -176,7 +184,7 @@
Packages must be imported **inside** the function body, not at the top of your file.
</Warning>

### system_dependencies

Check warning on line 187 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L187

'system_dependencies' should use sentence-style capitalization.

**Type**: `list[str]`
**Default**: `None`
Expand All @@ -193,12 +201,12 @@
async def process_video(data): ...
```

### accelerate_downloads

Check warning on line 204 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L204

'accelerate_downloads' should use sentence-style capitalization.

**Type**: `bool`
**Default**: `True`

Enables faster downloads for dependencies, models, and large files. Disable if you encounter compatibility issues.

Check warning on line 209 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L209

Use 'turn off' or 'off' instead of 'Disable'.

```python
@Endpoint(
Expand All @@ -209,12 +217,12 @@
async def process(data): ...
```

### volume

Check warning on line 220 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L220

'volume' should use sentence-style capitalization.

**Type**: `NetworkVolume` or `list[NetworkVolume]`
**Default**: `None`

Attaches network volume(s) for persistent storage. Volumes are mounted at `/runpod-volume/`. Flash uses the volume `name` to find an existing volume or create a new one. Each volume is tied to a specific datacenter.

Check warning on line 225 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L225

Don't use plurals in parentheses such as in 'volume(s)'.

Check warning on line 225 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L225

Use parentheses judiciously.

Check warning on line 225 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L225

In general, use active voice instead of passive voice ('are mounted').

Check warning on line 225 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L225

In general, use active voice instead of passive voice ('is tied').

```python
from runpod_flash import Endpoint, GpuGroup, DataCenter, NetworkVolume
Expand All @@ -234,7 +242,7 @@
...
```

For multi-datacenter deployments, pass a list of volumes (one per datacenter):

Check warning on line 245 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L245

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, GpuGroup, DataCenter, NetworkVolume
Expand Down Expand Up @@ -265,12 +273,12 @@

See [Storage](/flash/configuration/storage) for setup instructions.

### datacenter

Check warning on line 276 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L276

'datacenter' should use sentence-style capitalization.

**Type**: `DataCenter`, `list[DataCenter]`, `str`, `list[str]`, or `None`
**Default**: `None` (all available datacenters)

Check warning on line 279 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L279

Use parentheses judiciously.

Specifies the datacenter(s) for worker deployment. When set to `None`, the endpoint is available in all datacenters.

Check warning on line 281 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L281

Don't use plurals in parentheses such as in 'datacenter(s)'.

Check warning on line 281 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L281

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, GpuGroup, DataCenter
Expand Down Expand Up @@ -308,12 +316,12 @@

| Value | Location |
|-------|----------|
| `DataCenter.US_CA_2` | US - California |

Check warning on line 319 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L319

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_GA_2` | US - Georgia |

Check warning on line 320 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L320

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_IL_1` | US - Illinois |

Check warning on line 321 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L321

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_KS_2` | US - Kansas |

Check warning on line 322 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L322

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_MD_1` | US - Maryland |

Check warning on line 323 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L323

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_MO_1` | US - Missouri |

Check warning on line 324 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L324

Try to avoid using first-person plural like 'US'.
| `DataCenter.US_MO_2` | US - Missouri |
| `DataCenter.US_NC_1` | US - North Carolina |
| `DataCenter.US_NC_2` | US - North Carolina |
Expand All @@ -328,7 +336,7 @@
CPU endpoints are restricted to `CPU_DATACENTERS`, which currently only includes `EU_RO_1`.
</Note>

### env

Check warning on line 339 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L339

'env' should use sentence-style capitalization.

**Type**: `dict[str, str]`
**Default**: `None`
Expand Down Expand Up @@ -374,7 +382,7 @@
Environment variables are excluded from configuration hashing. Changing environment values won't trigger endpoint recreation, making it easy to rotate API keys.
</Note>

### gpu_count

Check warning on line 385 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L385

'gpu_count' should use sentence-style capitalization.

**Type**: `int`
**Default**: `1`
Expand All @@ -391,12 +399,12 @@
async def train(data): ...
```

### execution_timeout_ms

Check warning on line 402 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L402

'execution_timeout_ms' should use sentence-style capitalization.

**Type**: `int`
**Default**: `0` (no limit)

Check warning on line 405 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L405

Use parentheses judiciously.

Maximum execution time for a single job in milliseconds. Jobs exceeding this timeout are terminated.

Check warning on line 407 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L407

In general, use active voice instead of passive voice ('are terminated').

```python
# 5 minute timeout
Expand All @@ -420,7 +428,7 @@
The Flash SDK's `runsync()` method uses your `execution_timeout_ms` value as the client-side HTTP timeout. If set to a positive value, the SDK waits that duration for the job to complete. If unset or set to `0`, the SDK defaults to a 60-second timeout. For long-running inference jobs, set `execution_timeout_ms` to prevent premature timeouts.
</Note>

### flashboot

Check warning on line 431 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L431

'flashboot' should use sentence-style capitalization.

**Type**: `bool`
**Default**: `True`
Expand All @@ -438,7 +446,7 @@

Set to `False` for debugging or compatibility reasons.

### image

Check warning on line 449 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L449

'image' should use sentence-style capitalization.

**Type**: `str`
**Default**: `None`
Expand All @@ -461,14 +469,14 @@

See [Custom Docker images](/flash/custom-docker-images) for complete documentation.

### scaler_type

Check warning on line 472 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L472

'scaler_type' should use sentence-style capitalization.

**Type**: `ServerlessScalerType`
**Default**: Auto-selected based on endpoint type

Check warning on line 475 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L475

'Auto' should be in lowercase.

Scaling algorithm strategy. Defaults are automatically set:
- Queue-based: `QUEUE_DELAY` (scales based on queue depth)

Check warning on line 478 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L478

Use parentheses judiciously.
- Load-balanced: `REQUEST_COUNT` (scales based on active requests)

Check warning on line 479 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L479

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, ServerlessScalerType
Expand All @@ -481,7 +489,7 @@
async def process(data): ...
```

### scaler_value

Check warning on line 492 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L492

'scaler_value' should use sentence-style capitalization.

**Type**: `int`
**Default**: `4`
Expand All @@ -498,7 +506,7 @@
async def process(data): ...
```

### template

Check warning on line 509 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L509

'template' should use sentence-style capitalization.

**Type**: `PodTemplate`
**Default**: `None`
Expand All @@ -519,7 +527,7 @@
async def process(data): ...
```

## PodTemplate

Check warning on line 530 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L530

'PodTemplate' should use sentence-style capitalization.

`PodTemplate` provides advanced pod configuration options:

Expand All @@ -544,12 +552,12 @@
For simple environment variables, use the `env` parameter on `Endpoint` instead of `PodTemplate.env`.
</Tip>

### min_cuda_version

Check warning on line 555 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L555

'min_cuda_version' should use sentence-style capitalization.

**Type**: `str` or `CudaVersion`
**Default**: `"12.8"` for GPU endpoints, `None` for CPU endpoints

Specifies the minimum CUDA driver version required on the host machine. GPU endpoints default to `"12.8"` to ensure workers run on hosts with recent CUDA drivers.

Check warning on line 560 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L560

Spell out 'CUDA', if it's unfamiliar to the audience.

Check warning on line 560 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L560

Spell out 'CUDA', if it's unfamiliar to the audience.

```python
from runpod_flash import Endpoint, GpuType, CudaVersion
Expand Down Expand Up @@ -581,18 +589,18 @@
Valid CUDA versions: `CudaVersion.V11_1`, `V11_4`, `V11_7`, `V11_8`, `V12_0`, `V12_1`, `V12_2`, `V12_3`, `V12_4`, `V12_6`, `V12_8` (or equivalent strings like `"12.4"`). Invalid values raise a `ValueError`.
</Note>

### python_version

Check warning on line 592 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L592

'python_version' should use sentence-style capitalization.

**Type**: `str`
**Default**: Local Python version

Check warning on line 595 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L595

'Local' should be in lowercase.

Sets the Python version for the worker image. Supported values: `"3.10"`, `"3.11"`, `"3.12"`, and `"3.13"`.

When you don't specify a Python version, Flash matches your local interpreter (the Python version you run Flash from). The resolution order is:

Check warning on line 599 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L599

Use parentheses judiciously.

1. `--python-version` CLI flag (highest priority)

Check warning on line 601 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L601

Use 'command-line tool' instead of 'CLI'.

Check warning on line 601 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L601

Use parentheses judiciously.
2. `python_version` declared on resource configs
3. Your local Python version (`sys.version_info`)

Check warning on line 603 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L603

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, GpuGroup
Expand Down Expand Up @@ -624,11 +632,11 @@
Python 3.10 reaches end-of-life on 2026-10-31. Consider migrating to Python 3.11 or later.
</Note>

If your local Python version is not supported (for example, 3.9 or 3.14), the build fails with an actionable error message listing the supported versions.

Check warning on line 635 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L635

Use 'isn't' instead of 'is not'.

Check warning on line 635 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L635

Use parentheses judiciously.

The `--python-version` CLI flag on `flash build` and `flash deploy` overrides both per-resource declarations and local interpreter detection.

Check warning on line 637 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L637

Use 'command-line tool' instead of 'CLI'.

## EndpointJob

Check warning on line 639 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L639

'EndpointJob' should use sentence-style capitalization.

When using `Endpoint(id=...)` or `Endpoint(image=...)`, the `.run()` method returns an `EndpointJob` object for async operations:

Expand Down Expand Up @@ -661,25 +669,25 @@
### Changes that recreate workers

These changes restart all workers:
- GPU configuration (`gpu`, `gpu_count`)

Check warning on line 672 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L672

Use parentheses judiciously.
- CPU instance type (`cpu`)

Check warning on line 673 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L673

Use parentheses judiciously.
- Docker image (`image`)

Check warning on line 674 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L674

Use parentheses judiciously.
- Storage (`volume`)

Check warning on line 675 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L675

Use parentheses judiciously.
- Datacenter (`datacenter`)

Check warning on line 676 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L676

Use parentheses judiciously.
- Flashboot setting (`flashboot`)

Check warning on line 677 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L677

Use parentheses judiciously.
- CUDA version requirement (`min_cuda_version`)

Check warning on line 678 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L678

Use parentheses judiciously.

Check warning on line 678 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L678

Spell out 'CUDA', if it's unfamiliar to the audience.
- Python version (`python_version`)

Check warning on line 679 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L679

Use parentheses judiciously.

Workers are temporarily unavailable during recreation (typically 30-90 seconds).

Check warning on line 681 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L681

Use parentheses judiciously.

### Changes that update settings only

These changes apply immediately with no downtime:
- Worker scaling (`workers`)

Check warning on line 686 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L686

Use parentheses judiciously.
- Timeouts (`idle_timeout`, `execution_timeout_ms`)

Check warning on line 687 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L687

Use parentheses judiciously.
- Scaler settings (`scaler_type`, `scaler_value`)

Check warning on line 688 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L688

Use parentheses judiciously.
- Environment variables (`env`)

Check warning on line 689 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L689

Use parentheses judiciously.
- Endpoint name (`name`)

Check warning on line 690 in flash/configuration/parameters.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/configuration/parameters.mdx#L690

Use parentheses judiciously.

```python
# First deployment
Expand Down
4 changes: 3 additions & 1 deletion flash/create-endpoints.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the SMOG grade (10.51) below 10.

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the Flesch reading ease score (55.16) above 70.

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the LIX score (41.47) below 35.

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the Flesch–Kincaid grade level (8.68) below 8.

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the Automated Readability Index (8.46) below 8.

Check warning on line 1 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L1

Try to keep the Coleman–Liau Index grade (11.32) below 9.
title: "Create endpoints"
sidebarTitle: "Create endpoints"
description: "Learn how to create and configure hardware and scaling behavior with the Flash Endpoint class. Review configuration and usage details for Runpod Flash."
Expand All @@ -22,7 +22,7 @@
return {"result": "processed"}
```

When you call `run_model(data)`, Flash provisions a GPU <WorkerTooltip /> on Runpod (or reuses an existing one), sends your function code and input to the worker, executes it, and returns the result to your local environment.

Check warning on line 25 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L25

Use parentheses judiciously.

Each unique endpoint `name` creates one Serverless endpoint on Runpod with its own URL, scaling configuration, and hardware allocation. The endpoint manages workers that scale up and down based on demand.

Expand Down Expand Up @@ -81,13 +81,13 @@
```

Load-balanced endpoints are ideal for:
- REST APIs with multiple routes

Check warning on line 84 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L84

Spell out 'REST', if it's unfamiliar to the audience.
- Low-latency request/response patterns
- Services requiring custom HTTP methods

### Custom Docker images

Deploy pre-built Docker images (like vLLM or your own workers) and interact with them as a client:

Check warning on line 90 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L90

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, GpuType
Expand All @@ -103,7 +103,7 @@
models = await vllm.get("/v1/models")
```

See [Custom Docker images](/flash/custom-docker-images) for complete documentation, including available images and configuration options.

Check warning on line 106 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L106

Use the Oxford comma in ', including available images and configuration options.'.

### Existing endpoints

Expand All @@ -123,11 +123,11 @@
result = await ep.post("/v1/completions", {"prompt": "hello"})
```

## GPU vs CPU

Check warning on line 126 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L126

'GPU vs CPU' should use sentence-style capitalization.

Specify `gpu=` for GPU endpoints or `cpu=` for CPU endpoints. They are mutually exclusive.

Check warning on line 128 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L128

Use 'they're' instead of 'They are'.

### GPU endpoints

Check warning on line 130 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L130

'GPU endpoints' should use sentence-style capitalization.

```python
from runpod_flash import Endpoint, GpuType, GpuGroup
Expand All @@ -140,14 +140,16 @@
@Endpoint(name="rtx-worker", gpu=GpuType.NVIDIA_GEFORCE_RTX_4090)
async def render(data: dict) -> dict: ...

# Use multiple GPU types for better availability
# Use multiple GPU types for better availability (requests any card in the set)
@Endpoint(name="flexible", gpu=[GpuType.NVIDIA_GEFORCE_RTX_4090, GpuType.NVIDIA_RTX_A5000])
async def process(data: dict) -> dict: ...
```

A single `GpuType` requests that exact card; exact-card placement is only guaranteed with a single `GpuType`. A list requests any card in the set and is treated at the pool/VRAM-tier level, so a worker may run on a different card with equivalent VRAM rather than one of the models you listed. See [GPU selection behavior](/flash/configuration/gpu-types#gpu-selection-behavior) for details.

Check warning on line 148 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L148

Use semicolons judiciously.

Check warning on line 148 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L148

In general, use active voice instead of passive voice ('is treated').

Check warning on line 148 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L148

Spell out 'VRAM', if it's unfamiliar to the audience.

Check warning on line 148 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L148

Spell out 'VRAM', if it's unfamiliar to the audience.

If neither `gpu=` nor `cpu=` is specified, GPU defaults to `GpuGroup.ANY`.

Check warning on line 150 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L150

In general, use active voice instead of passive voice ('is specified').

### CPU endpoints

Check warning on line 152 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L152

'CPU endpoints' should use sentence-style capitalization.

```python
from runpod_flash import Endpoint, CpuInstanceType
Expand Down Expand Up @@ -206,7 +208,7 @@

### Import packages inside the function body

You must import pip/installed packages **inside the decorated function body**, not at the top of your file. This ensures imports happen on the remote worker. This rule applies to installed packages only; local project modules can be imported at the top of the file because Flash ships their source (see [Import local modules](#import-local-modules)).

Check warning on line 211 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L211

Use parentheses judiciously.

Check warning on line 211 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L211

Use semicolons judiciously.

Check warning on line 211 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L211

In general, use active voice instead of passive voice ('be imported').

**Correct:** imports inside the function.
```python
Expand All @@ -227,7 +229,7 @@

### System dependencies

Use `system_dependencies` to install system-level packages (via apt):

Check warning on line 232 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L232

Use parentheses judiciously.

```python
@Endpoint(
Expand All @@ -244,21 +246,21 @@

## Import local modules

Your endpoint can import local (non-pip) Python modules that live alongside it in your project, such as a sibling `utils.py` file or a `helpers/` package. Flash detects these imports, follows them transitively, and ships the module source to the worker for you, so an import like `import utils` or `from helpers import load` works remotely with no extra configuration.

Check warning on line 249 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L249

Use parentheses judiciously.

Flash resolves local imports whether they appear at the top of the file or inside the function body, and it supports absolute imports (`import utils`), relative imports (`from . import helpers`), and dynamic imports with a literal name (`importlib.import_module("plugin")`). It also pulls in the `__init__.py` files for any packages you import. Flash can't resolve dynamic imports whose module name is computed at runtime, so it emits a warning, and you're responsible for making those modules available on the worker.

Check warning on line 251 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L251

Use parentheses judiciously.

Check warning on line 251 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L251

In general, use active voice instead of passive voice ('is computed').

Flash bundles only local project files. Standard library modules are already present in the worker image, and pip packages must still be declared through the `dependencies` parameter. This applies transitively: if a bundled local module imports a pip package at its top level, that package must still be declared in the `dependencies` of any endpoint that uses the module.

Check warning on line 253 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L253

In general, use active voice instead of passive voice ('be declared').

Check warning on line 253 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L253

In general, use active voice instead of passive voice ('be declared').

On `flash build` and `flash deploy`, local modules are bundled when they pass the ignore filter, and importing a local module that an ignore rule excludes (or one Flash can't resolve) fails the build. See [Local modules and the ignore filter](/flash/cli/build#local-modules-and-the-ignore-filter) for details.

Check warning on line 255 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L255

In general, use active voice instead of passive voice ('are bundled').

Check warning on line 255 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L255

Use parentheses judiciously.

### Live execution size limit

When you run an endpoint live (calling an `@Endpoint` function directly, or during `flash dev`), Flash ships the resolved module source inline with the request. The combined source is capped at 8 MiB. If your local dependencies exceed this limit, deploy the app with `flash deploy` instead, which bundles local modules into the build artifact rather than the request payload. See [Local module payload too large](/flash/troubleshooting#local-module-payload-too-large) for the corresponding error.

Check warning on line 259 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L259

Use parentheses judiciously.

Check warning on line 259 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L259

In general, use active voice instead of passive voice ('is capped').

### Local modules in a parent directory

On the live execution path, Flash treats a module imported by absolute name from a parent directory as external and doesn't ship it, which causes a `ModuleNotFoundError` on the worker. For example, this happens with `import shared` when `shared.py` sits above your endpoint file. To avoid it, place your endpoint at or above its local dependencies, or use `flash deploy`, which resolves imports against the whole project directory.

Check warning on line 263 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L263

Use 'preceding' instead of 'above'.

Check warning on line 263 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L263

Use 'preceding' instead of 'above'.

## Parallel execution

Expand Down Expand Up @@ -312,7 +314,7 @@

## Persistent storage

Attach a network volume for persistent storage across workers. Each volume is tied to a specific datacenter. Flash uses the volume `name` to find an existing volume or create a new one:

Check warning on line 317 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L317

In general, use active voice instead of passive voice ('is tied').

```python
from runpod_flash import Endpoint, GpuGroup, DataCenter, NetworkVolume
Expand All @@ -330,7 +332,7 @@
...
```

For multi-datacenter deployments, pass a list of volumes (one per datacenter):

Check warning on line 335 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L335

Use parentheses judiciously.

```python
from runpod_flash import Endpoint, GpuGroup, DataCenter, NetworkVolume
Expand All @@ -356,7 +358,7 @@

For a complete list of parameters available for the `Endpoint` class, see [Endpoint parameters](/flash/configuration/parameters).

## Working with jobs (client mode)

Check warning on line 361 in flash/create-endpoints.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/create-endpoints.mdx#L361

Use parentheses judiciously.

When using `Endpoint(id=...)` or `Endpoint(image=...)`, you get an `EndpointJob` object for async operations:

Expand Down
8 changes: 5 additions & 3 deletions flash/troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L1

Try to keep the LIX score (40.83) below 35.

Check warning on line 1 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L1

Try to keep the Flesch–Kincaid grade level (8.40) below 8.

Check warning on line 1 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L1

Try to keep the Coleman–Liau Index grade (12.16) below 9.

Check warning on line 1 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L1

Try to keep the Flesch reading ease score (49.05) above 70.
title: "Troubleshooting"
sidebarTitle: "Troubleshooting"
description: "Monitor, debug, and troubleshoot Flash deployments. Review setup, configuration, deployment, and usage guidance for Runpod Flash."
Expand All @@ -10,7 +10,7 @@

### Viewing logs

When running Flash functions, logs are displayed in your terminal:

Check warning on line 13 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L13

In general, use active voice instead of passive voice ('are displayed').

```text
2025-11-19 12:35:15,109 | INFO | Created endpoint: rb50waqznmn2kg - flash-quickstart
Expand All @@ -35,7 +35,7 @@
View detailed metrics and logs in the [Runpod console](https://console.runpod.io/serverless):

1. Navigate to the **Serverless** section.
2. Click on your endpoint to view:

Check warning on line 38 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L38

Use 'click' or 'click in' instead of 'Click on'.
- Active workers and queue depth.
- Request history and job status.
- Worker logs and execution details.
Expand All @@ -48,9 +48,9 @@

1. Go to the [Serverless console](https://console.runpod.io/serverless).
2. Select your endpoint.
3. Click on a worker to view its logs.

Check warning on line 51 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L51

Use 'click' or 'click in' instead of 'Click on'.

Logs include dependency installation output, function execution output (print statements, errors), and system-level messages.

Check warning on line 53 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L53

Use parentheses judiciously.

### Add logging to functions

Expand Down Expand Up @@ -84,7 +84,7 @@
Get a key: https://docs.runpod.io/get-started/api-keys
```

**Cause:** Flash requires a valid Runpod API key to provision and manage endpoints.

Check warning on line 87 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L87

'Flash' should be in lowercase.

**Solution:**

Expand All @@ -92,18 +92,18 @@

2. Authenticate using one of these methods:

**Option 1: Use `flash login` (recommended)**

Check warning on line 95 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L95

'Use' should be in lowercase.

Check warning on line 95 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L95

Use parentheses judiciously.
```bash
flash login
```
Opens your browser for authentication and saves your credentials.

**Option 2: Environment variable**

Check warning on line 101 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L101

'Environment' should be in lowercase.
```bash
export RUNPOD_API_KEY="your_api_key"
```

**Option 3: .env file for local CLI use**

Check warning on line 106 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L106

Use 'command-line tool' instead of 'CLI'.
```bash
echo "RUNPOD_API_KEY=your_api_key" >> .env
```
Expand All @@ -112,7 +112,7 @@
Values in your `.env` file are only available locally for CLI commands. They are not passed to deployed endpoints.
</Note>

**Option 4: Shell profile for persistent local access**

Check warning on line 115 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L115

'Shell' should be in lowercase.
```bash
echo 'export RUNPOD_API_KEY="your_api_key"' >> ~/.bashrc
source ~/.bashrc
Expand All @@ -126,9 +126,9 @@
Run 'flash login' to re-authenticate, or delete the file and retry.
```

**Cause:** The credentials file at `~/.runpod/config.toml` contains invalid TOML and cannot be read. This can also appear as "No API key found" even after a successful `flash login`.

Check warning on line 129 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L129

'The' should be in lowercase.

Check warning on line 129 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L129

Spell out 'TOML', if it's unfamiliar to the audience.

Check warning on line 129 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L129

Use 'can't' instead of 'cannot'.

Check warning on line 129 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L129

In general, use active voice instead of passive voice ('be read').

**Solution:** Delete the credentials file and re-authenticate:

Check warning on line 131 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L131

'Delete' should be in lowercase.

```bash
rm ~/.runpod/config.toml
Expand All @@ -142,9 +142,9 @@
Load-balanced endpoints require route decorators
```

**Cause:** Load-balanced endpoints require HTTP method decorators for each route.

Check warning on line 145 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L145

'Load' should be in lowercase.

**Solution:** Ensure all routes use the correct decorator pattern:

Check warning on line 147 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L147

'Ensure' should be in lowercase.

```python
from runpod_flash import Endpoint
Expand All @@ -161,16 +161,16 @@
return {"status": "healthy"}
```

### Invalid HTTP method

Check warning on line 164 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L164

'Invalid HTTP method' should use sentence-style capitalization.

**Error:**
```
method must be one of {'GET', 'POST', 'PUT', 'DELETE', 'PATCH'}
```

**Cause:** The HTTP method specified is not supported.

Check warning on line 171 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L171

'The' should be in lowercase.

Check warning on line 171 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L171

Use 'isn't' instead of 'is not'.

**Solution:** Use one of the supported HTTP methods: `GET`, `POST`, `PUT`, `DELETE`, or `PATCH`.

Check warning on line 173 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L173

'Use' should be in lowercase.

### Invalid path format

Expand All @@ -179,9 +179,9 @@
path must start with '/'
```

**Cause:** HTTP paths must begin with a forward slash.

Check warning on line 182 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L182

'HTTP' should be in lowercase.

**Solution:** Ensure paths start with `/`:

Check warning on line 184 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L184

'Ensure' should be in lowercase.

```python
# Correct
Expand All @@ -198,13 +198,13 @@
Duplicate route 'POST /process' in endpoint 'my-api'
```

**Cause:** Two functions define the same HTTP method and path combination.

Check warning on line 201 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L201

'Two' should be in lowercase.

**Solution:** Ensure each route is unique within an endpoint. Either change the path or method of one function.

Check warning on line 203 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L203

'Ensure' should be in lowercase.

## Build errors

### Unsupported Python version

Check warning on line 207 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L207

'Unsupported Python version' should use sentence-style capitalization.

**Error:**
```
Expand All @@ -212,13 +212,13 @@
Pass --python-version, declare python_version on a resource config, or run flash from a supported interpreter.
```

**Cause:** Flash supports Python 3.10, 3.11, 3.12, and 3.13. Your local Python version is outside this range.

Check warning on line 215 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L215

'Flash' should be in lowercase.

**Solution:**

You have three options:

1. **Use the `--python-version` CLI flag** to override local detection:

Check warning on line 221 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L221

Use 'command-line tool' instead of 'CLI'.
```bash
flash build --python-version 3.12
flash deploy --python-version 3.12
Expand All @@ -244,7 +244,7 @@
Python 3.12 is recommended for best performance with no cold-start overhead. Python 3.10, 3.11, and 3.13 incur additional cold-start overhead on GPU workers because an alternative Python interpreter must be installed.
</Tip>

### Local module could not be resolved

Check warning on line 247 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L247

Use 'couldn't' instead of 'could not'.

Check warning on line 247 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L247

In general, use active voice instead of passive voice ('be resolved').

**Error:**
```
Expand All @@ -260,7 +260,7 @@
Shipping them would silently override a deliberate exclusion, and omitting them would break the worker with ModuleNotFoundError. Remove the matching ignore pattern or stop importing these modules from shipped code.
```

**Cause:** This `LocalModuleResolutionError` has two variants: an `@Endpoint` file imports a local module that Flash can't resolve, or shipped code imports a local module that an ignore pattern excludes.

Check warning on line 263 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L263

'This' should be in lowercase.

**Solution:**

Expand All @@ -283,11 +283,11 @@
Tarball exceeds maximum size. File size: 1.6GB, Max: 1.5GB
```

**Cause:** The deployment package exceeds the 1.5GB limit.

Check warning on line 286 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L286

'The' should be in lowercase.

Check warning on line 286 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L286

Put a nonbreaking space between the number and the unit in '5GB'.

**Solution:**

1. Check for large files that shouldn't be included (datasets, model weights, logs).

Check warning on line 290 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L290

In general, use active voice instead of passive voice ('be included').

Check warning on line 290 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L290

Use parentheses judiciously.
2. Add large files to `.gitignore` to exclude them from the build.
3. Use [network volumes](/flash/configuration/storage) to store large models instead of bundling them.

Expand All @@ -298,25 +298,25 @@
File is not a valid gzip file. Expected magic bytes (31, 139)
```

**Cause:** The build artifact is corrupted or not a valid gzip file.

Check warning on line 301 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L301

'The' should be in lowercase.

Check warning on line 301 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L301

In general, use active voice instead of passive voice ('is corrupted').

**Solution:** Delete the `.flash` directory and rebuild:

Check warning on line 303 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L303

'Delete' should be in lowercase.

```bash
rm -rf .flash
flash build
```

### SSL certificate verification failed

Check warning on line 310 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L310

'SSL certificate verification failed' should use sentence-style capitalization.

**Error:**
```
SSL certificate verification failed. This usually means Python cannot find your system's CA certificates.
```

**Cause:** Python cannot locate the system's trusted CA certificates, preventing secure connections during deployment. This commonly occurs on fresh Python installations, especially on macOS.

Check warning on line 317 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L317

'Python' should be in lowercase.

Check warning on line 317 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L317

Use 'can't' instead of 'cannot'.

**Solution:** Try one of these fixes:

Check warning on line 319 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L319

'Try' should be in lowercase.

1. **Install certifi and set the certificate bundle path:**
```bash
Expand All @@ -324,7 +324,7 @@
export REQUESTS_CA_BUNDLE=$(python -c "import certifi; print(certifi.where())")
```

2. **macOS only:** Run the certificate installer that comes with Python. Find it in your Python installation folder (typically `/Applications/Python 3.x/`) and run `Install Certificates.command`.

Check warning on line 327 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L327

Use parentheses judiciously.

3. **Add to shell profile for persistence:**
```bash
Expand All @@ -343,7 +343,7 @@
Failed to provision resources: [error details]
```

**Cause:** Flash couldn't create the Serverless endpoint on Runpod.

Check warning on line 346 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L346

'Flash' should be in lowercase.

**Solutions:**

Expand All @@ -365,7 +365,7 @@
Endpoint URL not available - endpoint may not be deployed
```

**Cause:** The endpoint function was called before the endpoint finished provisioning.

Check warning on line 368 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L368

'The' should be in lowercase.

Check warning on line 368 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L368

In general, use active voice instead of passive voice ('was called').

**Solutions:**

Expand All @@ -382,7 +382,7 @@
Execution timeout on [endpoint] after [N]s
```

**Cause:** The endpoint function took longer than the configured timeout.

Check warning on line 385 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L385

'The' should be in lowercase.

**Solutions:**

Expand All @@ -397,7 +397,7 @@

2. **Optimize function**: Profile your function to identify bottlenecks.

3. **Use queue-based endpoints**: For long-running tasks, use the `@Endpoint` decorator pattern. Queue-based endpoints are designed for longer operations.

Check warning on line 400 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L400

In general, use active voice instead of passive voice ('are designed').

### Connection failed

Expand All @@ -406,7 +406,7 @@
Failed to connect to endpoint [name] ([url])
```

**Cause:** Network connectivity issue between your local environment and the Runpod endpoint.

Check warning on line 409 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L409

'Network' should be in lowercase.

**Solutions:**

Expand All @@ -414,14 +414,14 @@
2. **Retry**: Transient network issues often resolve on retry. Flash includes automatic retry logic.
3. **Check endpoint status**: Verify the endpoint is running in the [Serverless console](https://console.runpod.io/serverless).

### HTTP errors from endpoint

Check warning on line 417 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L417

'HTTP errors from endpoint' should use sentence-style capitalization.

**Error:**
```
HTTP error from endpoint [name]: 500 - Internal Server Error
```

**Cause:** The endpoint function raised an exception during execution.

Check warning on line 424 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L424

'The' should be in lowercase.

**Solutions:**

Expand All @@ -447,7 +447,7 @@
Failed to deserialize result: [error]
```

**Cause:** The function's return value cannot be serialized/deserialized.

Check warning on line 450 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L450

'The' should be in lowercase.

Check warning on line 450 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L450

Use 'can't' instead of 'cannot'.

Check warning on line 450 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L450

In general, use active voice instead of passive voice ('be serialized').

**Solutions:**

Expand All @@ -471,11 +471,11 @@
Payload size X MB exceeds limit of 10.0 MB
```

**Cause:** The serialized argument exceeds the 10 MB limit. Flash uses base64 encoding, which expands data by approximately 33%, so roughly 7.5 MB of raw data becomes 10 MB when encoded.

Check warning on line 474 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L474

'The' should be in lowercase.

**Solutions:**

1. **Use network volumes for large data**: Save large data to a network volume and pass the file path:

Check warning on line 478 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L478

Use 'path' instead of 'file path'.
```python
@Endpoint(name="processor", gpu=GpuGroup.ANY, volume="vol_abc123")
async def process(file_path: str) -> dict:
Expand All @@ -484,7 +484,7 @@
return {"result": process_data(data)}
```

2. **Compress data before sending**: For data that must be passed directly, use compression:

Check warning on line 487 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L487

In general, use active voice instead of passive voice ('be passed').
```python
import gzip

Expand All @@ -502,9 +502,9 @@
Use `flash deploy` for endpoints with large local dependencies.
```

**Cause:** On the live execution path (calling an `@Endpoint` function directly or during `flash dev`), Flash ships your local module source inline with the request, and the combined source exceeds the 8 MiB cap.

Check warning on line 505 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L505

Use parentheses judiciously.

Check warning on line 505 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L505

'On' should be in lowercase.

**Solution:** Deploy the app with `flash deploy`, which bundles local modules into the build artifact instead of the request payload:

Check warning on line 507 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L507

'Deploy' should be in lowercase.

```bash
flash deploy
Expand All @@ -513,7 +513,7 @@
uv run flash deploy
```

See [Live execution size limit](/flash/create-endpoints#live-execution-size-limit) for details on how local module source is shipped.

Check warning on line 516 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L516

In general, use active voice instead of passive voice ('is shipped').

### Deserialization timeout

Expand All @@ -522,9 +522,9 @@
Deserialization timed out after 30s
```

**Cause:** The deserialization process took longer than 30 seconds. This usually indicates malformed or corrupted serialized data that causes the unpickle operation to hang.

Check warning on line 525 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L525

'The' should be in lowercase.

**Solution:** Verify your input data is properly serialized. If you're manually constructing payloads, ensure the data was serialized using `cloudpickle` and encoded with base64. The Flash SDK handles this automatically for programmatic calls.

Check warning on line 527 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L527

'Verify' should be in lowercase.

Check warning on line 527 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L527

In general, use active voice instead of passive voice ('was serialized').

### Circuit breaker open

Expand All @@ -533,23 +533,23 @@
Circuit breaker is open. Retry in [N] seconds
```

**Cause:** Too many consecutive failures to the endpoint triggered the circuit breaker protection.

Check warning on line 536 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L536

'Too' should be in lowercase.

**Solutions:**

1. **Wait and retry**: The circuit breaker will automatically attempt recovery after the timeout (typically 60 seconds).

Check warning on line 540 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L540

Avoid using 'will'.

Check warning on line 540 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L540

Use parentheses judiciously.

2. **Check endpoint health**: Multiple failures usually indicate an underlying issue. Check logs and endpoint status.

3. **Fix the root cause**: Address whatever is causing the repeated failures before retrying.

## GPU availability issues

Check warning on line 546 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L546

'GPU availability issues' should use sentence-style capitalization.

### Job stuck in queue

**Symptom:** Job status shows `IN_QUEUE` for extended periods.

Check warning on line 550 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L550

'Job' should be in lowercase.

**Cause:** The requested GPU types are not available.

Check warning on line 552 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L552

'The' should be in lowercase.

Check warning on line 552 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L552

Use 'aren't' instead of 'are not'.

**Solutions:**

Expand All @@ -558,14 +558,16 @@
@Endpoint(
name="flexible",
gpu=[
GpuType.NVIDIA_A100_80GB_PCIe, # First choice
GpuType.NVIDIA_RTX_A6000, # Fallback
GpuType.NVIDIA_GEFORCE_RTX_4090 # Second fallback
GpuType.NVIDIA_A100_80GB_PCIe,
GpuType.NVIDIA_RTX_A6000,
GpuType.NVIDIA_GEFORCE_RTX_4090
]
)
```

A list requests any card in the set — the SDK does not preserve list order. See [GPU selection behavior](/flash/configuration/gpu-types#gpu-selection-behavior) for details.

Check warning on line 568 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L568

Don't put a space before or after a dash.

Check warning on line 568 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L568

Use 'doesn't' instead of 'does not'.

2. **Use GpuGroup.ANY**: For development, accept any available GPU:

Check warning on line 570 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L570

'p.A' should have one space.

Check warning on line 570 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L570

Spell out 'ANY', if it's unfamiliar to the audience.
```python
gpu=GpuGroup.ANY
```
Expand All @@ -578,14 +580,14 @@

### Module not found

**Error (in worker logs):**

Check warning on line 583 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L583

Use parentheses judiciously.
```
ModuleNotFoundError: No module named 'transformers'
```

**Cause:** A required dependency was not specified in the `@Endpoint` decorator.

Check warning on line 588 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L588

Use 'wasn't' instead of 'was not'.

**Solution:** Add all required packages to the `dependencies` parameter:

Check warning on line 590 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L590

'Add' should be in lowercase.

```python
@Endpoint(
Expand All @@ -600,11 +602,11 @@

### Version conflicts

**Symptom:** Function fails with import errors or unexpected behavior.

Check warning on line 605 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L605

'Function' should be in lowercase.

**Cause:** Dependency version conflicts between packages.

Check warning on line 607 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L607

'Dependency' should be in lowercase.

**Solution:** Pin specific versions:

Check warning on line 609 in flash/troubleshooting.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

flash/troubleshooting.mdx#L609

'Pin' should be in lowercase.

```python
@Endpoint(
Expand Down
Loading