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

realesrgan-ncnn-vulkan (v0.2.0) stucks/hangs on Google Colab (Ubuntu 22.04 LTS / Tesla T4 GPU /Vulkan 1.3.231) #62

Open
scopeallen opened this issue Feb 25, 2024 · 1 comment

Comments

@scopeallen
Copy link

scopeallen commented Feb 25, 2024

Command:

! ~/realesrgan-ncnn-vulkan -i ~/test.png -o /root/output.png -s 4 -m ~/models -n xinntao-realesrgan-x4plus -f png

Output:

[0 llvmpipe (LLVM 15.0.7, 256 bits)] queueC=0[1] queueG=0[1] queueT=0[1]
[0 llvmpipe (LLVM 15.0.7, 256 bits)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 llvmpipe (LLVM 15.0.7, 256 bits)] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 llvmpipe (LLVM 15.0.7, 256 bits)] subgroup=8 basic=1 vote=1 ballot=1 shuffle=1

and stucks/hangs here forever.

@NeedsMoar
Copy link

Well, you're running it on the llvmpipe software renderer which is likely the only thing that provides a high enough vulkan version if the upscaler chose that (and it's not stuck forever, it'll eventually output something someday, I seem to recall those colab instances having pretty terrible CPU allocation since the GPU was the main purpose), or possibly you just need to run vulkaninfo and specify -g # to specify the device number corresponding to the T4 if its drivers have a compatible vulkan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants