FunGen-AI-Powered-Funscript-Generator icon indicating copy to clipboard operation
FunGen-AI-Powered-Funscript-Generator copied to clipboard

Use uv with pyproject.toml file to lock version used.

Open VoXoXoX opened this issue 5 months ago • 3 comments

It can avoid issue when there are package updates and guarantee everyone will have the same package versions (too many issue happen with requirements files) "uv lock --upgrade" can be used to upgrade the dependencies

Easy usage to install package for all cases:

  • uv sync --extra cpu
  • uv sync --extra cuda
  • uv sync --extra cuda-rtx50
  • uv sync --extra rocm

VoXoXoX avatar Jul 23 '25 14:07 VoXoXoX

I only test it on Linux. A test on Windows could be better to confirm if it works too

VoXoXoX avatar Jul 23 '25 14:07 VoXoXoX

Thanks again, I will test it on Mac when I can :) We'll see if someone can test on Windows.

ack00gar avatar Jul 23 '25 18:07 ack00gar

By the way, I choose UV instead of poetry because poetry doesn't support easily the installation for pytorch for different source (cuda, cuda-rtx, rocm)

VoXoXoX avatar Jul 28 '25 10:07 VoXoXoX