You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Detect if internet connection is unavailable and skip processes requiring internet connection so that the app can run offline if requirements are already downloaded.
I had my internet go out today and discovered that this won’t run offline even though everything is already installed.
I found 2 causes:
Calling pip to download requirements. Easily skipped by bypassing a single line of code. Some extensions do this too but auto1111 doesn't exit if those fail.
2.a) Downgrade to a lower version that didn’t require connectivity, it’s mentioned in thread linked above
2.b) monkey patch it?
2.c) Consider using https://github.com/junchen1992/gradio-offline, forked and tracking against main and hacked to remove online requirement. I think he’s just maintaining it until Gradio gets their crap together
Proposed workflow
Disconnect internet
Attempt to run Auto1111
Be disappointed
Additional information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What would your feature do ?
Detect if internet connection is unavailable and skip processes requiring internet connection so that the app can run offline if requirements are already downloaded.
I had my internet go out today and discovered that this won’t run offline even though everything is already installed.
I found 2 causes:
Calling pip to download requirements. Easily skipped by bypassing a single line of code. Some extensions do this too but auto1111 doesn't exit if those fail.
Gradio. This one is more complicated. Newer versions of gradio call out to get fonts and other things. They are aware of the issue and seem like they are trying to resolve the online dependency but who knows how long it will take.
Gradio Interface does not run locally without internet connection gradio-app/gradio#1450
There are a few options:
2.a) Downgrade to a lower version that didn’t require connectivity, it’s mentioned in thread linked above
2.b) monkey patch it?
2.c) Consider using https://github.com/junchen1992/gradio-offline, forked and tracking against main and hacked to remove online requirement. I think he’s just maintaining it until Gradio gets their crap together
Proposed workflow
Additional information
No response
The text was updated successfully, but these errors were encountered: