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

UV-pack? #11563

Open
dipta007 opened this issue Feb 16, 2025 · 3 comments
Open

UV-pack? #11563

dipta007 opened this issue Feb 16, 2025 · 3 comments
Labels
enhancement New feature or improvement to existing functionality

Comments

@dipta007
Copy link

Summary

Can we have something like uv-pack similar to conda-pack?
It will really help in reproducibility and sharing environment in the ML community, where the libs are too fast evolving and need kernel dependency.

Example

  • To pack the locak venv - uv-pack. It will pack into venv.tar.gz
  • Copy the tar to another environment
  • uv-unpack venv.tar.gz
  • Voila!! the env is reproduced
@dipta007 dipta007 added the enhancement New feature or improvement to existing functionality label Feb 16, 2025
@dipta007
Copy link
Author

After some more google & perplexity: I found this: venv-pack

@timvink
Copy link

timvink commented Feb 17, 2025

Another approach would be to have uv build --wheel --pinned (#8729), then you could just share the wheel file (much smaller), as uv is super fast at installing python+dependencies anyway.

@dipta007
Copy link
Author

dipta007 commented Feb 17, 2025

Another approach would be to have uv build --wheel --pinned (#8729), then you could just share the wheel file (much smaller), as uv is super fast at installing python+dependencies anyway.

@timvink Wow didn't know about wheel. Can you give a short example on what to do one Machine A (host) and on Machine B (new env) to get the same env? Really thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants