Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR bumps the version to 26.3.10 and introduces several improvements: a multi-stage Docker build for smaller images, a "chapters preview" feature (previously disabled), graceful frontend disconnection handling during conversion, reorganized session state management, Jetson device handling improvements, and various GPU optimization tweaks.
Changes:
- Multi-stage Docker build: Splits the Dockerfile into a builder stage (compilation) and a runtime stage (smaller final image), removing build tools from the production image.
- Session management overhaul: Renames
cleanup_session→on_unloadandreset_session→reset_ebook_session, addsDISCONNECTEDstatus for graceful frontend disconnect handling, enables the previously commented-out blocks preview feature, and filters large block data from session serialization. - GPU/device improvements: Updates CUDA memory settings, adds SDP attention optimization, changes Jetson detection from SM count to ARM architecture check, and adds Jetson as a separate device in stanza NLP GPU detection.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| VERSION.txt | Version bump to 26.3.10 |
| docker-compose.yml | Version bump to 26.3.10 |
| podman-compose.yml | Version bump to 26.3.10 |
| Dockerfile | Multi-stage build: builder + runtime stages for smaller images |
| .dockerignore | Removed ext from ignore (needed for build) |
| lib/conf.py | Updated CUDA env vars, added LAZY module loading |
| lib/core.py | Session restructuring, DISCONNECTED status, on_unload, reset_ebook_session, blocks_preview enablement, Jetson device detection |
| lib/gradio.py | UI accordion styling, blocks preview, session filtering, disconnect handling |
| lib/classes/tts_engines/common/utils.py | GPU memory fractions, cuDNN config, SDP attention, Jetson detection via platform |
| lib/classes/device_installer.py | Single-quote consistency, Jetson-specific env vars |
| ebook2audiobook.command | Added curl to Docker programs, DOCKER_DEVICE_STR var |
| ebook2audiobook.cmd | Added curl to Docker programs, DOCKER_DEVICE_STR var |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.