-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS - Safari session issue, high memory consumption (on local run), low docker performance #414
Comments
Related: Currently attempting a universal dockerfile that builds for ARM and x86 PR: #413 |
Update: Universal arm dockerfile created successfully, Will be merged into main soon, Details: #422 |
this is browser limitation, if you refresh you disconnect from the gradio socket and the only way to connect is to reload the ebook if not already and click on the convert button to resume.
does it show the modal "cancellation requested"? or did you click on "X" after the refresh? |
If press the convert button on a different page, the progress bar still doesn't reappear. Only the queue.
I clicked before reloading. The file immediately disappears from the box, bottom progress bar keeps loading. |
did you wait until the progress bar appears as to resume is like to restart a full process?
ok but is the modal (an alert telling you to wait) appears or not? |
as I said, it's not a eb2ab issue/ the browsers stop the tab activities when not focused to save cpu/power etc... |
oh yeah forgot to mention the latest docker image has a ARM version now so anyone running this on ARM should delete the x86 docker image so then docker will pull the ARM version instead |
This is just a rudimentary guide, don't be too intimidated, You don't have to follow this to the tee
BEFORE TO OPEN AN ISSUE, MAKE SURE THAT IT HASN'T ALREADY BEEN SOLVED OR REPORTED. :)
Check it with the issue search field
Script Mode
Process Mode
Command Line (headless mode only)
Operating System:
Describe the bug
I have tried running it both in docker and locally.
Platform: M4 pro 24 GB RAM
Book: George Orwell - Animal Farm epub Language: ENG -> Hungarian
Processor Unit: MPS
Every other setting left on default.
In docker, it used about 8% CPU (total) | 1 core, and below 4 GB of memory.
Left it running for 30 minutes, but it only did a few percents, so I stopped the container.
Pressing x did not stop container CPU and memory utilization.
I'm currently testing it locally. Finished 5% in 750 seconds. The process: python3.12 is using ~150% CPU, above 32 GB of memory.
In Safari, the session seems bugged. Bottom progress bar disappeared and Error appeared. The loading animation appeared in the file box and it's counting the seconds there.
After refreshing the page, the "Select a file" box is back to normal, however bottom progress bar didn't resume
My other containers are using ~11 GB, so it's swapping heavily. Memory pressure almost always in the yellow. Swap used is ~20 GB.
Terminal log
Update:
Docker attempt nr2 with a shorter epub:
After getting stuck, the hardware utilization persists
Update2:
Using local run, I copied the session id to Firefox while converting is in progress.
In both instances the bottom progress bar doesn't show the status
The text was updated successfully, but these errors were encountered: