sqlite3.OperationalError: database is locked #15719
allinaivideo
started this conversation in
General
Replies: 2 comments 3 replies
-
I ran into the same issue when working on an AML compute instance as well. Did you figure out a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had the same problem with Azure but was able to solve it by changing the cache directory path. Before launching the app, change the path: Without this, the cache will be on /mnt/… which is causing the issue. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I accelerate launch the webui on Azure ml compute instance, I get the following error message:
sqlite3.OperationalError: database is locked
checked the sqlite3 database, and I see the ' main' database
no locks when I check with PRAGMA schema.locks;
reproduce:
create an Azure ML compute instance with gpu
Gitclone the repo and install it
launch the ui with:
accelerate launch --mixed_precision=bf16 --num_cpu_threads_per_process=6 launch.py --share --gradio-auth :
Beta Was this translation helpful? Give feedback.
All reactions