Skip to content

Add /api/unload endpoint to release GPU memory#103

Merged
devnen merged 1 commit intodevnen:mainfrom
CameronSima:claude/add-unload-endpoint-S3c46
Mar 27, 2026
Merged

Add /api/unload endpoint to release GPU memory#103
devnen merged 1 commit intodevnen:mainfrom
CameronSima:claude/add-unload-endpoint-S3c46

Conversation

@CameronSima
Copy link
Copy Markdown

Add endpoint to unload TTS model and release CUDA/GPU memory without restarting the server. Useful for freeing VRAM when TTS is not needed.

Add endpoint to unload TTS model and release CUDA/GPU memory without
restarting the server. Useful for freeing VRAM when TTS is not needed.
@crgmz
Copy link
Copy Markdown

crgmz commented Jan 9, 2026

@CameronSima shouldn't reload_model() be refactored to call the new unload_model()? It's just duplicated code at the moment

@devnen devnen merged commit da4b80c into devnen:main Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants