Skip to content

v25.12.33#1523

Merged
ROBERT-MCDOWELL merged 5 commits intoDrewThomasson:v25from
ROBERT-MCDOWELL:v25
Jan 13, 2026
Merged

v25.12.33#1523
ROBERT-MCDOWELL merged 5 commits intoDrewThomasson:v25from
ROBERT-MCDOWELL:v25

Conversation

@ROBERT-MCDOWELL
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 15:04
@ROBERT-MCDOWELL ROBERT-MCDOWELL merged commit 3208755 into DrewThomasson:v25 Jan 13, 2026
2 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces Docker container memory detection support and fixes a potential bug in session restoration. The changes add a new script_mode parameter to the VRAM detection system to enable specialized memory handling for Docker environments.

Changes:

  • Added Docker-specific memory detection logic in VRAMDetector class
  • Fixed defensive check for custom_model_dir validation in session restoration
  • Updated all detect_vram method calls to include the new script_mode parameter

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
lib/gradio.py Fixed potential KeyError by adding defensive check for custom_model_dir existence before using os.path.exists()
lib/core.py Added script_mode parameter to detect_vram call
lib/classes/vram_detector.py Added Docker detection methods, updated detect_vram signature with script_mode parameter, improved memory calculation logic
lib/classes/tts_engines/common/utils.py Updated three detect_vram calls to include script_mode parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants