Documentation Index
Fetch the complete documentation index at: https://www.thundercompute.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What is Ephemeral Storage?
Ephemeral storage is fast, local disk space mounted at/ephemeral on your instance. It uses high-performance NVMe drives directly attached to the host machine, making it significantly faster than the persistent disk for I/O-heavy workloads.
When to Use Ephemeral Storage
Ephemeral storage is ideal for data that is large, frequently accessed, and easy to re-download:- Model weights downloaded from Hugging Face or other registries
- Pip/conda caches to speed up environment rebuilds
- Training checkpoints (back up important ones to persistent disk or cloud storage)
- Large datasets that can be re-fetched
- Scratch files from preprocessing or intermediate computation
Configuring Ephemeral Storage
Ephemeral storage defaults to 0 GB (disabled). You can add it when creating or modifying an instance.- CLI
- VS Code
- Console
Size Limits
See thundercompute.com/pricing for current ephemeral storage limits by instance mode.Using Ephemeral Storage
Once configured, the storage is available at/ephemeral inside your instance:
What Happens to Ephemeral Data
| Event | Ephemeral data | Persistent disk |
|---|---|---|
| Instance running | Preserved | Preserved |
| Modify instance | Lost | Preserved |
| Delete instance | Lost | Lost |
| Create snapshot | Not included | Included |
| Restore from snapshot | Empty | Restored |
Best Practices
-
Store only re-downloadable data on
/ephemeral. Anything important should live on your persistent disk or be backed up to cloud storage. -
Use symlinks to redirect cache directories to ephemeral storage:
-
Set environment variables to point tools at ephemeral storage:
-
Back up training checkpoints periodically from
/ephemeralto your home directory or cloud storage if you need to keep them.