Closed pimboreel closed 11 months ago
Looks like MPS is not compatible with something RIFE is doing. Do you still get stuff out if you don't use RIFE?
Yes, there is still an H.264 video file being produced. I highlighted the RIFE in the screenshot below for you to see the signal flow. I am running Ventura 13.2.1.
The VAE (in the upper part of the screenshot) decodes the KSampler, spits out the video and then crashes when trying to pass the VAE output to the first RIFE. Disabling the first RIFE and only using the second one gives the same error.
Gotcha, looks like it's an issue with MDS not working with the code in RIFE. I'd recommend opening up an issue with the repo for that node, as I'm not gonna be able to help ya with a RIFE-related issue.
Will do that, thanks!
modify the last line of loss/warplayer.py
torch.nn.functional.grid_sample(input=tenInput, grid=g, mode='bilinear', padding_mode='border',
align_corners=True)
to
torch.nn.functional.grid_sample(input=tenInput, grid=g, mode='bilinear', padding_mode='reflection',
align_corners=True)
@meisa233 solution worked for me on MacOS. Thank you!
I have comfyui installed on my m1 mac in pinokio with vfi nodes. I also installed taichi somehow a couple weeks ago. Until I read @maisa233's suggestion, I had given up, and although I couldn't find a warplayer.py in my comfyui installation (only in automatic1111), it turned out that editing the file rife.arc in /Users/
After trying different dimensions on a Mac M2 Max 64GB, only 256 x 256 on a batch size of 16 would provide a stable output. besides that, RIFE VFI gives me an error, preventing me from upscaling the resolution and frame rate:
I have set the unlimited_area_hack to true according to this thread.