Skip to content

SubGen 0.6.0

Choose a tag to compare

@Fahed-Alhammadi Fahed-Alhammadi released this 13 Nov 18:41
· 13 commits to main since this release

Highlights

  • MIT License. SubGen moves from the Elastic License 2.0 to the MIT License: use, modify, redistribute, sell or host it, as long as the copyright and license notice stays with it.
  • Models are unloaded when idle. A new setting, Settings → Transcription → Unload models when idle (default 15 minutes; 0 keeps them loaded), releases the Whisper and local translation models after that much time without a job, freeing GPU memory for other containers. The next job reloads them in a few seconds. Switching translation models now also returns PyTorch's cached GPU memory immediately.
  • Disk space guard. Uploads and model downloads always leave at least SUBGEN_MIN_FREE_MB free (default 1 GB). Studio checks before sending a file and shows a clear message instead of an interrupted upload; the server also re-checks during the upload. A model download that would not fit, including the automatic first-start install, fails before writing anything.

Jobs still run one at a time, in priority order.

Notes

  • On NVIDIA GPUs the models' memory is released when they unload; the CUDA runtime itself (about 300–500 MB) stays reserved until SubGen restarts.
  • New: GET /api/uploads/space?size=<bytes> and HTTP 507 when disk space runs low. See docs/API.md.

Container

docker pull ghcr.io/fahed-alhammadi/subgen:0.6.0

Back up /config before upgrading, then run docker compose pull && docker compose up -d.

Full changes: v0.5.0...v0.6.0