Skip to content
Discussion options

You must be logged in to vote

The step that's stuck is [realesrgan-wheels 4/4] RUN bash /usr/local/bin/build-realesrgan-wheels.sh (5521s in your screenshot). Everything else finished.

That script builds wheels for basicsr, gfpgan and facexlib. basicsr 1.4.2's setup.py has setup_requires=['cython', 'numpy', 'torch'], so pip installs the full PyTorch into a temporary build environment just to build it. On Linux that means torch plus the CUDA packages, several GB, and on a slow connection it crawls or ends in a ReadTimeoutError. torch isn't actually used for the build (the CUDA extensions are only compiled with BASICSR_EXT=True), and the resulting wheel is pure Python. This is the first half of #6156.

Fix: stop the build…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZeaN-maxxx
Comment options

Answer selected by ZeaN-maxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants