Skip to content
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

Standalone executables without network at runtime #54

Open
aimarxjg opened this issue Oct 16, 2024 · 3 comments
Open

Standalone executables without network at runtime #54

aimarxjg opened this issue Oct 16, 2024 · 3 comments

Comments

@aimarxjg
Copy link

🔘 Request type

User experience

🔘 Description

Because of the network Blocked, Hopefully there will be a portable version such as EXE .bat Thank you

@Tremeschin

This comment has been minimized.

@Tremeschin Tremeschin moved this to Working in Tasks Oct 16, 2024
@Tremeschin Tremeschin added this to Tasks Oct 16, 2024
@Tremeschin Tremeschin changed the title (Request ) one-click portable program (Specific) Avoid network calls at runtime for executable releases, embed a full distribution Oct 16, 2024
@Tremeschin

This comment has been minimized.

@Tremeschin Tremeschin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
@github-project-automation github-project-automation bot moved this from Working to Done in Tasks Oct 16, 2024
@Tremeschin
Copy link
Member

While my previous comments holds some truths, I managed to get fully offline installers working since then after forking pyapp and uv getting better over time, even with pytorch cpu being bundled in!

Image

It's missing upscalers, ffmpeg (doable with imageio-ffmpeg package) and huggingface models (maybe set HF_HOME to a resources directory to be included in my final wheels), would bump from 430 MB to near 600 MB in file size

Haven't tested on windows, not sure where to host these or make it official. Also not sure how licensing goes.. Might have them available in the next release somewhere.

I like it because it doesn't touch uv cache and installs very fast because it comes in complete 🙂

Reopening for awareness

@Tremeschin Tremeschin reopened this Feb 14, 2025
@Tremeschin Tremeschin changed the title (Specific) Avoid network calls at runtime for executable releases, embed a full distribution Standalone executables without network at runtime Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants