Cloud Instances
Recaster uses Vast.ai to provision cloud GPU instances for remote training, Quick Recast processing, and video upscaling. Each instance type is optimized for its specific workload.
Instance Types
Recaster supports three instance types, each configured and provisioned for a specific workload. When you launch an instance, you select the type and Recaster handles the rest — from GPU selection to software installation.
| Type | Disk | Provisioning | Use Case |
|---|---|---|---|
| Training | 40+ GB | 3 – 5 min | SAEHD, AMP, Quick96, and XSeg model training with live preview |
| Quick Recast | 20 GB | 2 – 3 min | Face swapping and enhancement with advanced models (Ghost, CodeFormer) |
| Upscale | 20 GB | 2 – 3 min | AI video upscaling with Real-ESRGAN, SwinIR, and full pipeline support |
Launching an Instance
Open the Remote panel
Select instance type
Choose a GPU
Launch and wait
Instance ready
GPU Selection Guide
The GPU you choose affects both processing speed and cost. Here are guidelines for common scenarios:
Budget Option
- RTX 3070 / 3080 (8 – 10 GB VRAM)
- $0.10 – $0.30 per hour
- Good for Quick Recast and upscaling
- Adequate for training shorter sessions
Best Value
- RTX 3090 / 4080 (16 – 24 GB VRAM)
- $0.30 – $0.70 per hour
- Excellent for all workloads
- Recommended for training and upscaling
Maximum Performance
- RTX 4090 / A100 (24 – 80 GB VRAM)
- $0.70 – $1.50 per hour
- Fastest processing across all tasks
- Best for long training sessions and 8x upscaling
Avoid
- GPUs with less than 8 GB VRAM
- Very old architectures (pre-Turing)
- Instances with high disk-to-GPU ratios
- Offers significantly above market rates
Check pricing regularly
Provisioning Process
When an instance launches, Recaster runs an automated provisioning script that installs all required dependencies. The provisioning process is specific to each instance type:
Training Instance
Installs DeepFaceLab, Python dependencies, and the streaming preview server. Sets up the workspace with source and destination face directories. Configures the X11 environment for headless training with preview capture.
Quick Recast Instance
Installs ONNX Runtime GPU 1.19.2, OpenCV, cuDNN 9, and the Quick Recast server script. Creates workspace directories for source, target, and output files. Models are downloaded on demand during first use.
Upscale Instance
Installs ONNX Runtime GPU 1.19.2, NumPy (<2.0), OpenCV, and cuDNN 9. Creates workspace at /workspace/upscale/ with input, output, models, and previews subdirectories. Verifies CUDA provider availability.
SSH Keys
Recaster automatically generates and manages SSH keys for connecting to cloud instances. Keys are stored in the application data folder:
- macOS:
~/Library/Application Support/Recaster/ssh/ - Windows:
%APPDATA%\Recaster\ssh\ - Linux:
~/.config/Recaster/ssh/
Keys are generated the first time you create an instance and are reused for subsequent instances. The public key is registered with Vast.ai, and the private key stays on your machine.
Key permissions
Instance Lifecycle
Cloud instances go through the following states during their lifecycle:
- Launching — Vast.ai is allocating the GPU and booting the instance.
- Provisioning — Recaster is installing dependencies and setting up the workspace.
- Running — The instance is ready for use. This is when billing is active.
- Stopping — The instance is shutting down. No new tasks can be started.
- Stopped — The instance is no longer running. No charges are incurred. Data on disk may or may not persist depending on the Vast.ai host.
- Deleted — The instance and all associated data are permanently removed.
Stop instances when not in use
Project Association
Each Recaster project can be associated with a cloud instance. When you toggle Remote mode in the Project Panel, the project remembers the associated instance ID. On subsequent launches, if the same instance is still running, Recaster automatically reconnects.
If multiple instances are running when you enable Remote mode, a selection dialog lets you choose which instance to associate with the current project. If only one instance is available, it is selected automatically.
File Synchronization
The Sync tab in the Project Panel provides file synchronization between your local project and the remote instance. You can upload project files (source faces, training data) to the instance and download results (trained models, processed videos) back to your local machine.
- File transfer uses rsync over SSH for efficient incremental sync
- Progress bars show real-time transfer status
- Color-coded status indicators show which files are synced, local-only, or remote-only
- Bulk upload and download operations for entire directories
Troubleshooting
Instance fails to provision
Some Vast.ai hosts may have configuration issues. Try deleting the instance and launching on a different host. Check that the selected GPU has sufficient disk space for the instance type.
SSH connection refused
Wait 1 to 2 minutes after the instance shows as "Running" before trying to connect. The SSH server may still be starting up. If the issue persists, check that your SSH key permissions are correct (chmod 600).
Remote mode toggle not visible
The Remote mode toggle only appears for Studio tier users. Check your license status in the status bar at the bottom-right of the main window. If it shows "Free", activate your Studio license via Help > Activate License.
Was this page helpful?