Open revolvedai opened 1 year ago
Gotcha, confirmed. Will take a look.
Please re try
We got infinite hang and error 127. But progress, it generates... just doesn't upscale. Terminal log here: https://gist.github.com/rundiffusion/0d16f025bde2be37823ec7250f979cfb
Removed all extensions, fresh install, here’s the terminal log: https://gist.github.com/rundiffusion/36ef53ad619ca550e9455c3e9a2c4e48
@hithereai
So, this is the actual error. I'm not sure I can fix it, need to think about that.
Not working on ubuntu 22:
Got a request to upscale a video using realesr-animevideov3 at x2 Trying to extract frames from video with input FPS of 12.0. Please wait patiently. Extracted 117 frames from video in 1.74 seconds! Upscaling raw PNGs using realesr-animevideov3 at x2...Traceback (most recent call last): File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api result = await self.call_function( File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/stable-diffusion-webui/extensions/sd-webui-deforum/scripts/deforum_helpers/gradio_funcs.py", line 124, in ncnn_upload_vid_to_upscale process_ncnn_upscale_vid_upload_logic(vid_path, in_vid_fps, in_vid_res, out_vid_res, f_models_path, upscale_model, upscale_factor, keep_imgs, f_location, f_crf, f_preset, current_user) File "/home/user/stable-diffusion-webui/extensions/sd-webui-deforum/scripts/deforum_helpers/upscaling.py", line 31, in process_ncnn_upscale_vid_upload_logic process_ncnn_video_upscaling(vid_path, outdir, in_vid_fps, in_vid_res, out_vid_res, models_path, upscale_model, upscale_factor, keep_imgs, f_location, f_crf, f_preset, current_user_os) File "/home/user/stable-diffusion-webui/extensions/sd-webui-deforum/scripts/deforum_helpers/upscaling.py", line 53, in process_ncnn_video_upscaling process = subprocess.run(cmd, capture_output=True, check=True, text=True) File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/home/user/stable-diffusion-webui/models/Deforum/realesrgan_ncnn/realesrgan-ncnn-vulkan', '-i', '/home/user/stable-diffusion-webui/outputs/frame-upscaling/1_3_1/tmp_input_frames', '-o', '/home/user/stable-diffusion-webui/outputs/frame-upscaling/1_3_1/Upscaled_frames', '-s', '2', '-n', 'realesr-animevideov3']' returned non-zero exit status 127.
This issue seems to be present on cloud computing solutions like Runpod too. https://pastebin.com/QU619SpR
I encountered the same issue on vlad automatic as well.
solution on Ubuntu 😁
apt update
apt install libvulkan1
solution on Ubuntu 😁
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed.
Are you able to upscale video's?
solution on Ubuntu 😁
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed.
Are you able to upscale video's?
yes, all working fine
solution on Ubuntu 😁
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed. Are you able to upscale video's?
yes, all working fine
Do you need to perform apt update + apt install libvulkan1 then do a fresh install of web-ui? I ask because Deforum upscaling is still throwing up the same error.
solution on Ubuntu 😁
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed. Are you able to upscale video's?
yes, all working fine
Do you need to perform apt update + apt install libvulkan1 then do a fresh install of web-ui? I ask because Deforum upscaling is still throwing up the same error.
Nope, this also doesn't work.
solution on Ubuntu grin
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed. Are you able to upscale video's?
yes, all working fine
Do you need to perform apt update + apt install libvulkan1 then do a fresh install of web-ui? I ask because Deforum upscaling is still throwing up the same error.
Easy fix would be to download the Linux ZIP and extract the contents into ./models/Deforum/.
Then chmod +x ./realesrgan-ncnn-vulkan
and everything should work beautifully :)
solution on Ubuntu grin
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed. Are you able to upscale video's?
yes, all working fine
Do you need to perform apt update + apt install libvulkan1 then do a fresh install of web-ui? I ask because Deforum upscaling is still throwing up the same error.
Easy fix would be to download the Linux ZIP and extract the contents into ./models/Deforum/. Then
chmod +x ./realesrgan-ncnn-vulkan
and everything should work beautifully :)
I'm afraid this still leads to the same problem as quoted throughout this thread. If it's a GPU compatibility issue (as stated by @hithereai ) then there's not much I can do. Thanks for looking into it though.
solution on Ubuntu grin
apt update apt install libvulkan1
I am also using Ubuntu, but libvulkan1 is already installed. Are you able to upscale video's?
yes, all working fine
Do you need to perform apt update + apt install libvulkan1 then do a fresh install of web-ui? I ask because Deforum upscaling is still throwing up the same error.
Easy fix would be to download the Linux ZIP and extract the contents into ./models/Deforum/. Then
chmod +x ./realesrgan-ncnn-vulkan
and everything should work beautifully :)I'm afraid this still leads to the same problem as quoted throughout this thread. If it's a GPU compatibility issue (as stated by @hithereai ) then there's not much I can do. Thanks for looking into it though.
Ok, thank you for the notice. Strangely, I got it to work yesterday on my system, Ubuntu 22.10 with an RTX graphics card.
I have the same problem in liunx
I should probably add that I have been using A1111 with Deforum on a LambdaLabs cloud GPU set up (H100)...
I have the same problem The interpolation works perfectly, but upscale doesnt
solution on Ubuntu 😁
apt update apt install libvulkan1
Upscaling has started but using CPU instead of GPU - very slow
Upscaling has started but using CPU instead of GPU - very slow
same same
Have you read the latest version of the FAQ?
Is there an existing issue for this?
Are you using the latest version of the Deforum extension?
What happened?
Upscaling is not working while using Deforum on a Linux server in the cloud
Steps to reproduce the problem
What should have happened?
Deforum video generates and then upscales
WebUI and Deforum extension Commit IDs
Webui Commit - 89f9faa63388756314e8a1d96cf86bf5e0663045 deforum exten commit id - 0ed7c4c847d1a62e8ad46c36edd0adee5440402d
Torch version
torch version 2.0.0+cu118 installed.
On which platform are you launching the webui with the extension?
Cloud server (Linux)
Deforum settings
https://gist.github.com/rundiffusion/cdc09eb426519c7537d3de9b804f6c81
Webui core settings
https://gist.github.com/rundiffusion/65c8d84f9dc8b906bfb0837aa816b261
Console logs
Additional information
There's no "Reopen" button! Submitted a second issue. @hithereai