#▶|stable-video-diffusion

1 messages · Page 2 of 1

sterile mesa
#

Scratch that. I just f*cked something up lol

quick finch
#

I'm reading all the posts here, I'll try running the preliminary comfy workflow posted here.

sterile mesa
#

Have to debug

tiny cradle
onyx verge
#

help! I dont have a pt13.txt file

tiny cradle
sterile mesa
#

Anyone have guidelines on how to set the settings? I tell it to make a sample and it just makes a 0 second mp4 of the image.

tidal ferry
#

How long are my 4090 bretherens iterations here

#

looking at ~25 for my first blast here

terse finch
tidal ferry
#

Would I be better off with lowvram mode?

#

I'm on 6 minutes for a 25 frame

#

I'll give it a test after this is done cooking

terse finch
#

Check your VRAM as you generate; if it's too high, it'll dip into RAM and slow down immensely. I fill all 16GB of VRAM just doing 22ish frames and decoding 1 at a time

tidal ferry
#

I see, that's indeed what she's done

terse finch
#

It doesn't help that changing the frame count for some reason auto-changes the decode amount too 😅 gotta remember to change them both, I've forgotten a few times and majorly regretted it

quick finch
tidal ferry
#

it went down to the last iteration, maxed out my cpu for a few seconds then dumped 24 gigs to my ram

#

seems like it's slowly going down?

#

gpu utilization back down to baseline

sterile mesa
#

idk what I'm going wrong, but every time I hit "sample" it just produces a single frame

sterile mesa
#

yup

#

I built out my own colab and am running it on a V100 with T=1 and low vram on. Doesn't seem to crash, but at same time, it isn't producing much. The videos are a single frame, less than 0 seconds long.

terse finch
#

Just to clarify, we're talking about T and not "Decode T Frames", right?

#

T should be a higher number, such as 14, but "Decode T Frames" should be 1

sterile mesa
#

Ah maybe that's it.

#

What is T stand for? Time?

terse finch
#

Your T is 1, you're only generating 1 frame

sterile mesa
#

well doh lol

terse finch
#

T needs to be higher than 1, enter in a slightly bigger value and hit enter. Then go to "Decode T Frames" and change it back to 1 and hit enter

sterile mesa
#

thank you

#

man, i spent all day making the colab work and THIS is what got me... lol

terse finch
#

Hover text or something would really help in this scenario 😛

sterile mesa
#

it would help immensely.

#

in other news, I have a seemingly working google colab if anyone with a pro account wants to work it.

#

Only thing I haven't done for it is included automatic "low vram" modification to the appropriate .py file

tidal ferry
#

surprisingly stable in non default resolutions

sterile mesa
tiny cradle
#

Okay someone needs to test this for me, I'm claiming to have generation working on graphics cards with as little as 6 GB

#

anyone with a lower VRAM graphics card willing to give it a go?

sterile mesa
#

You have it set up to work for your google colab notebook too?

copper lynx
tiny cradle
#

I haven't tried it with google colab. good idea

sterile mesa
#

I'm regularly landing at no more than 10GB for generation up to 14 frames

tiny cradle
#

yeah that matches what I'm seeing

copper lynx
#

with a GTX 980ti. ill try to see whats poss

#

does T 14 mean 14 frames?

sterile mesa
#

yeah, but make sure to go into the "Decode t frames at a time (set small if you are low on VRAM)" option just above the "SAMPLE" button and change that to 1 after you've set T

#

I'm stretching it with this V100... 31 steps and 28 frames, hitting 15GB lol

sterile mesa
#

you have to load the model first

copper lynx
#

🫡

sterile mesa
tiny cradle
#

dang my google colab crashes becuase it runs out of non-gpu memory

sterile mesa
tiny cradle
#

its because the lowvram is storing everything in CPU ram.

sterile mesa
#

My gpu ram stacked up for some reason. Hit a CUDA error because it was just sitting at 12gb without doing anything...

solemn turtle
#

Are u guys running stable video dif on automatic or comfy or both? Which one runs better

terse finch
tiny cradle
#

this proportional to be exact

onyx verge
# tiny cradle they removed it. just use the pt2 one

HI all, half my user interface is missing???? what am I doing wrong? and also this " File "C:\Users\admin\anaconda3\envs\genModelVideo\lib\site-packages\torch\cuda_init_.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled"...

sterile mesa
#

My GPU took a breather midway through a sample

amber relic
#

is the web version not working for anyone else or is it just me?

sterile mesa
#

there is no web version

amber relic
#

as in the ai image generator, ai art webpage

#

nevermind, had adblocker on 😒

onyx verge
tiny cradle
onyx verge
tiny cradle
#

oh well the error you got tells you whats wrong

#

either you dont have a graphics card or didn't install a torch version that can talk to it

onyx verge
tiny cradle
#

then wrong version of torch

onyx verge
#

so probably torch...but how come other menus are availablecatwhaaa

tiny cradle
#

cause they didn't need torch to render a menu

warm acorn
#

i got a couple 4090 24g's myself ready to test any workflows, those renders are insane

carmine dirge
#

I am finding lots of very high quality Gifs made with Prompt Travel in Animatediff -- but no one mentions how to get that crisp quality.

terse finch
onyx verge
idle finch
#

that's while loading a model inside the app

sterile mesa
terse finch
#

At least, for my 4080

idle finch
sterile mesa
idle finch
idle finch
#

maybe something wrong with this ngrok

sterile mesa
#

yeah, maybe. that's really odd.

#

I'm not able to troubleshoot anything on the colab right now though.

#

really sorry.

idle finch
#

no prob, I will try to figure it out

#

maybe you have paid ver of Colab?

#

it seems like mine can't load a model and disconnects

sterile mesa
#

yes. Sorry. You will not be able to use that colab without Pro.

#

You need a V100 to do anything in it

idle finch
#

maybe this is the key

sterile mesa
#

sorry that wasn't clear.

#

If you get that thing working on a T4, please let me know lol

onyx verge
stable crystal
#

/VISIO

terse finch
warm acorn
#

41 seconds for 14 frames

terse finch
#

You should be all good, just activate genModelVideo and run that torch install again 🙂

onyx verge
#

🥰 😘

warm acorn
#

got a bit of work to figure out, but sure beats the 1.5 animdiff setups

carmine dirge
#

is that the sdxl beta motion module?

warm acorn
#

yeah

idle finch
warm acorn
#

24 frames max on 4090 24g before oom if using a ksampler before svd

idle finch
idle finch
idle finch
mental magnet
#

but walking motion and the details of the cloth better than others

solar willow
elder valve
#

/25_frames

grim tangle
#

somewhat successful test of 14 frames in ComfyUI at 1024x576 with SVD on a 3080 with 10GB VRAM... probably did some system ram offloading but it ran in like 3-4 mins

grim tangle
trim juniper
#

Im having this error
Error occurred when executing SVDimg2vid:

[Errno 2] No such file or directory: 'D:\ComfyUI_windows_portable\custom_nodes\ComfyUI-SVD\svd\configs\svd.yaml'

the file is there so idk whats wrong

#

file literally here

grim tangle
#

I don't get it at all, everything looks to point to right path and the error makes no sense to me

#

something about python working directory, someone smarter can maybe answer but I don't know 😦

trim juniper
#

Oh thats fine still thank you for releasing that

grim tangle
#

I've learned to hate the portable install overall, it's always problems with custom nodes and it's harder to troubleshoot 😛

trim juniper
#

How can I do the venv thing

#

Im new to comfyui

grim tangle
trim juniper
#

yeah all that

grim tangle
#

so basically, if I remember everything: clone the repository (git clone https://github.com/comfyanonymous/ComfyUI.git) change to that folder run: python -m venv venv run: venv/scripts/activate (depending on commandline you use, .bat if cmd) install torch: https://pytorch.org/get-started/locally/ pip install -r requirements.txt run comfy with: python main.py

#

and you need python 3.10 or 3.11

trim juniper
#

So technically I can just copy my comfy folder as backup and do that inside there?

#

I just dont want to ruin my setup

grim tangle
#

maybe, I don't use the portable so dunno what all it does different

#

you can copy the custom nodes but you'd need to install their requirements again

trim juniper
#

I see ty

grim tangle
#

with the speed everything updates, it's not a bad idea to just install all with latest 😛

sand plinth
tepid stream
#

How many frames do you get with a 4090 PU_PepeGoldenThinking

lean gate
#

I guess if this runs fine over comfy, we can use the workflow on a multiGPU swarm session and run in parallel 2 or more videos

tepid stream
lean gate
golden oyster
#

Guys is there like an ultra noob tutorial on how to get the best results with stable video diffusion? Including installation

severe bear
lethal slate
grim tangle
grim tangle
#

it's relative to the comfy folder so it shouldn't be any different

severe bear
#

yeah but I feel like that's because the directory is hardcoded, and maybe the portable comfy believes the root folder is somewhere else

grim tangle
#

but the error points to the exact right file, still says "not found"

severe bear
#

🤷‍♂️ just saying

grim tangle
#

I really don't want to install it just to debug this 😅

#

but I'd imagine setting the path manually could work

severe bear
#

yeah I don't particularly feel like downloading yet another comfy to see

#

works for me too so

grim tangle
#

nice

#

offloading the model between sampling and decoding seems to allow this to run the 14 frames on 10GB

#

need to figure out how to add rest of the settings though... like samplers

severe bear
#

yup, noticed just about 9.8gb at 1024x576, good job

grim tangle
valid furnace
#

Where do I get the svd.yaml?

trim juniper
#

I assume you meant main.py? @grim tangle

grim tangle
grim tangle
#

isn't that what I wrote? 😄

trim juniper
#

sorry im sleepy

grim tangle
#

wouldn't be first time I make such mistake, but that's correct

trim juniper
#

How do I open it lol

#

I have 0 code knowledge

grim tangle
#

what are we talking about now

fallen wren
trim juniper
#

opening the comfy venv instead of the portable

grim tangle
lean gate
# fallen wren yes

confirmation that we can use stableSwarmUI on multiGPU setups to infer parallel videos

grim tangle
#

then go to localhost:8188 on browser

sand plinth
tepid stream
severe bear
grim tangle
sand plinth
severe bear
#

yeah, that works too, same number just different representation

#

not really sure what I managed but works bobagirl

grim tangle
#

with illustrations, anime etc. it just tends to do that :/

sand plinth
severe moon
#

finally got things working, troubleshooting CUDA torch install was a real PITA

lethal slate
sand plinth
severe moon
sand plinth
grim tangle
severe bear
#

cheers

severe moon
grim tangle
#

ok so now portable install works, sorry for the confusion, installing this with comfy from scratch with this would be:```

sand plinth
severe moon
#

really impressed by how well SDV is sticking to input image clarity

bold prawn
delicate escarp
copper lynx
#

I see that some people on Windows had to install PyTorch 2.0.1 with CUDA 11.8 but Im wondering, do I need to install that just through cmd or also install it to Windows itself with the CUDA toolkit .exe?

copper lynx
tiny cradle
sterile mesa
# sand plinth

Amazing. Care to share your settings for these? Wondering how it is kept so crisp on the faces.

copper lynx
#

I got this error. but I just installed Torch 2.0.1 with cu118


2023-11-23 084432.986 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 142, in <module>
value_dict["cond_frames"] = img + cond_aug * torch.randn_like(img)
TypeError: randn_like(): argument 'input' (position 1) must be Tensor, not NoneType
2023-11-23 08:45:51.495 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 137, in <module>
img = load_img_for_prediction(W, H)
File "C:\Users\ocean\generative-models\scripts\demo\streamlit_helpers.py", line 889, in load_img_for_prediction
return image.to(device) * 2.0 - 1.0
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\cuda_init
.py", line 289, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled


I think I had other Torch installed from before though. should I uninstall torch and reinstall just Torch 2.0.1 with cu118?

half hound
half hound
# tiny cradle they removed it. just use the pt2 one

I haven't tested it myself, but from some of the comments on my tutorial, people said it wasn't working with pt2 and once they tried the pt13 it worked. Some cuda error. There are dependencies in the pt13 that include cuda with the install. So I am guessing that p13 should be the one window users use.

severe moon
#

Luckily I kept notes

#

# check CUDA version nvcc --version #check Nvidia Driver info: nvidia-smi

#

nvcc --version will show you which version Python will use and nvidia-smi shows which one comes from the driver for your card, it's normal if they don't match.

#

I have the latest Nvidia driver so my driver CUDA was 2.something and the nvcc was still 11.8

#

everything is easier if you have Anaconda installed cd to user/generative-models conda create -n genModelVideo python=3.10.11 conda activate genModelVideo

#

then run through the instructions I'm sure you're already looking at from yesterday about getting this running

#

before you hit
pip install -r requirements/pt2.txt
you should make sure the requirements/pt2.txt file has +cu118 set on these guys:
torch>=2.0.1+cu118
torchaudio>=2.0.2+cu118
torchvision>=0.15.2+cu118

#

this is where things kept screwing up for me

#

the torch cached by conda was the CPU one not the CUDA 11.8 one

#

so after running pip install -r requirements/pt2.txt you need to check if python sees the CUDA torch or not

#

to do that you just run python from CLI and then
`>>>import torch

torch.cuda.is_available()`
once it returns true you're good to go with starting streamlit

#

streamlit run video_sampling.py

#

if conda keeps giving you CPU torch then running torch.cuda.is_available() will return false and you need to uninstall the torch packages

half hound
#

well explained @severe moon

severe moon
#

you can uninstall with
pip3 uninstall torch torchvision torchaudio
you might also need to run
conda uninstall torch torchvision torchaudio
after the pip unstall just to be sure. If you run these commands a few times until it says it can;t find what you want uninstalled then you're good to reinstall.

#

maybe even try both 😉

#

after that to meet the requirements we need those specific torch versions

#

I finally got them successfully installed with
conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia

#

after that you don't want to run pip install -r requirements/pt2.txt again or it might try uninstalling things

#

finally i ran the pip install . command and then started streamit

#

and it all worked

half hound
fierce schooner
#

I tried searching but didn't see a solution. Has anyone run into this problem:
`Error occurred when executing SVDimg2vid:

No module named 'wcwidth'`
Portable comfyui install, installed kijai/ComfyUI-SVD following his instructions just a few minutes ago so it should be the latest on github.

still kettle
grim tangle
#

I tested with completely fresh install and it worked with those steps

half hound
#

alright i'll try again thanks

grim tangle
#

don't know what you mean by checkpoints dropdown?

half hound
#

I did an update instead of downloading the portable comfyui again

#

the load checkpoint dropdown

grim tangle
#

just need to reinstall the custom node, not the whole thing

half hound
grim tangle
#

meant to say that it for sure works with fresh install now

#

that's just any SD model

#

not relevant

#

if you have no models you do of course need one 😛

#

but the svd stuff is separate from all that, it's really just single node that runs it

#

takes image in, gives images out... nothing else to it currently

#

I added example workflow for doing simple text to vid with it now

half hound
#

durrr silly mistake haha ok thanks. I thought I had to select svd in the checkpoint.

#

so how do I choose between svd or svd_xt?

#

just swap them out?

grim tangle
#

nah sadly it can't interact with any of that currently

#

in the node you can choose

#

you can have both checkpoints in the folder

half hound
#

right I see it now

#

ok thanks i'll try it out 😁 Thanks!

copper lynx
#

thank you @severe moon for the suggestions. im gonna try all that uninstall and reinstall with those specific packages. hoping it works. but I got an xformers warning before

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu)
Python 3.10.11 (you have 3.10.6)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)

valid furnace
#

Any advice on why I see this error though? Should I be using 576x1024?
Restored from D:\Comfy UI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-SVD\svd/checkpoints/svd.safetensors with 0 missing and 0 unexpected keys
WARNING: The conditioning frame you provided is not 576x1024. This leads to suboptimal performance as model was only trained on 576x1024. Consider increasing cond_aug.

copper lynx
#

if need be, crop in PS or another tool

valid furnace
#

the input was the 1024x1024 output from the generated sdxl image in the workflow

grim tangle
#

Sometimes square works as well, and even portrait....but often it starts to squash it to wide

half hound
#

how did you get the 2 extra green inputs on the CLIPTextEncodeSDXL?

grim tangle
half hound
#

thanks :)!

copper lynx
# severe moon I finally got them successfully installed with `conda install pytorch==2.0.1 tor...

I installed all of these and tried to run something and got this

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu)
Python 3.10.11 (you have 3.10.6)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\watcher\local_sources_watcher.py:177: UserWarning: Torchaudio's I/O functions now support par-call bakcend dispatch. Importing backend implementation directly is no longer guaranteed to work. Please use backend keyword with load/save/info function, instead of calling the udnerlying implementation directly.
lambda m: [p for p in m.path._path],
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing

#

Initialized embedder #0: FrozenOpenCLIPImagePredictionEmbedder with 683800065 params. Trainable: False
Initialized embedder #1: ConcatTimestepEmbedderND with 0 params. Trainable: False
Initialized embedder #2: ConcatTimestepEmbedderND with 0 params. Trainable: False
Initialized embedder #3: VideoPredictionEmbedderWithEncoder with 83653863 params. Trainable: False
Initialized embedder #4: ConcatTimestepEmbedderND with 0 params. Trainable: False
Loading model from checkpoints/svd.safetensors
2023-11-23 10:41:06.952 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 142, in <module>
value_dict["cond_frames"] = img + cond_aug * torch.randn_like(img)
TypeError: randn_like(): argument 'input' (position 1) must be Tensor, not NoneType
2023-11-23 10:41:34.255 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 137, in <module>
img = load_img_for_prediction(W, H)
File "C:\Users\ocean\generative-models\scripts\demo\streamlit_helpers.py", line 889, in load_img_for_prediction
return image.to(device) * 2.0 - 1.0
File "C:\Users\ocean\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\cuda_init
.py", line 289, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

tidal ferry
copper lynx
copper lynx
half hound
severe moon
severe moon
#

You need these torch versions: PyTorch 2.1.0+cu121

half hound
# copper lynx I was trying what <@422396560182214656> had succeeded with here https://discord...

Did you try going through my video tutorial? https://www.youtube.com/watch?v=HMW9hVoQa0M&t=46s

Setup Instructions (Python 3.10.11, 4090, working on Windows): https://pastebin.com/YpqNSHFy

If you are still running into cuda issues after trying p13.txt take a read at this: https://pastebin.com/eSiVGGzA

Requirements:

Probably can run it if you have at least 6Gb of VRAM

Anaconda

Git

Generative-Models github

SVD or SVD_XT

Download Lin...

▶ Play video
copper lynx
half hound
#

ok best thing to do is just to create a new virtual environment

copper lynx
half hound
#

faster than trying to fix the one you have

copper lynx
#

okay cool how would I do that
? thank you in advance

severe moon
#

are you activating afterwards? Open Anaconda
cd to user/generative-models
conda create -n genModelVideo python=3.10.11
conda activate genModelVideo

#

user/generative-models is wherever you installed generative-models

half hound
#

yeah it's important you make the environment with 3.10.11 like dragon said

severe moon
copper lynx
half hound
#

yeah create a new name

#

call it genModelVideo2

#

or something

severe moon
copper lynx
severe moon
#

your error message about xformers explains it:
xFormers was built for:
PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu)
Python 3.10.11 (you have 3.10.6)

copper lynx
#

that's where I was confused. between seeing what worked for others (you) and what the errors were telling me in plain English haha thank you

copper lynx
severe moon
#

basically for anyone with this issue I think you need to run nvcc --version inside your conda environment to see what the python in there needs

#

for many of us we borked the install already

#

and xformers will throw the error talking about how it was already built

half hound
severe moon
#

it should be built with the same version as nvcc --version spits out. then you go to the old Torch version page to find tocrches that will work with your xformers

tired egret
half hound
#

@grim tangle Hey I got it! Thanks great tool!

grim tangle
#

Things will probably change a lot once we get more tools Emad hinted at...

half hound
#

@grim tangle is the decode t frames at time = decoding_t? I see you set it to 1. Does that 1 = 1 in the streamlit web app?

half hound
#

when I tried a low number in the web app it took forever, but in comfyUI it took like 5 mins

#

ok so if i increase it, it will be faster?

grim tangle
#

I mean... if you have the VRAM maybe

#

but it takes a lot

half hound
#

but I was trying 1024x1024 so it could have been that

#

ok i'll try it

grim tangle
#

yeah that takes long

#

this is not really meant for that high res

#

it can work but even the motion is usually not right if you use anything but wide aspects

half hound
#

ok well 48 decoding didn't work in comfyUI lol

#

OOM

grim tangle
#

no you can't put that very high at all 😄

tired egret
#

ComfyUI-SVD is far better on low vram

grim tangle
#

the decoding stage is not what takes long anyway

half hound
#

I did 48 in the web app and it worked

grim tangle
#

48 decode_t?

half hound
#

yeah

grim tangle
#

but

#

it can't be higher than frames you generate

dire torrent
#

is there any web service where we can use stable video?

grim tangle
#

it's just how many frames are decoded at the same time of the batch

half hound
#

I was generating more frames in the web app

#

ok let me try it again and increase the number of frames

grim tangle
#

I don't see how...

#

with how much VRAM?

half hound
#

I have 24Gb

grim tangle
#

it's pretty useless to generate frames above 14 for SVD and 25 for SVD-XT anyway, nothing useful gets generated

half hound
#

but yeah I don't get why it worked in the web app, I feel like 48 is equal to the one in comfyui. If I set the web app to 1 it will take like 5 hours

grim tangle
#

14 frames should take about 30 secs

half hound
#

ok

grim tangle
#

and 25 should take a minute on a 4090

ocean flare
copper lynx
half hound
#

is there a way to force stop a generation in comfyui?

grim tangle
severe moon
copper lynx
#

respectively *

solar willow
#

So I've always wanted to visit Pripyat. Now it's even more unrealistic. So i made myself a short nostalgic movie 🙂

severe moon
#

although that's the step that could go bad, if conda decides to overwrite the torch versions, then just uninstall all like I mentioned above

#

then reinstall conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=12.1 -c pytorch -c nvidia again

#

after you install them and then do the requirements

#

you need ot check that python is actually using the right ones

valid furnace
copper lynx
#

ah I see now. thank you. going to try this. ill do the python import etc. check too to make sure it all took

severe moon
#

like i said it was a PITA to get conda to not install the wrong torch versions

copper lynx
copper lynx
#

wrestling that snake. props

polar imp
#

Runway-esque clip time extension in ComfyUI, currently does it 4x, but you can just copy and paste those blocks to add more runs ❤️

It will generate an SDXL image (but you can just load one in too if you want) then do a SVD run, grab the final frame, do another run, repeat, then interpolates all the runs together at the end.

https://github.com/kijai/ComfyUI-SVD/ <-- SVD Node for ComfyUI

copper lynx
severe moon
severe moon
#

then the second line it ... builds the cache stuff it needs in the pt2 folder

#

or something like that

copper lynx
#

ah tat makes sense. thank you

glossy plover
severe moon
#

i dunno how python works, only enough to be dangerous

severe moon
copper lynx
#

im about to run the pt2.txt

severe moon
ocean flare
#

It certainly gets my thumbs up compared to other video generators at the moment. I'll have to do some tests tomorrow to extend the videos with the same subject

severe moon
ocean flare
glossy plover
#

I'm running this on a card with 12gb VRAM. idk what y'all are on with 40gb requirement

glossy plover
copper lynx
#

uninstalling and trying again lol

#

this is where it got cute btw

Using cached torch-2.1.1-cp310-cp310-win_amd64.whl (192.3 MB)
Installing collected packages: torch

hazy gorge
copper lynx
grim tangle
hazy gorge
grim tangle
#

(this is true for my comfy node too)

glossy plover
grim tangle
#

14 frames barely fits 10GB card yeah

hazy gorge
glossy plover
#

also, will this eventually be natively supported for stuff like A1111? I'm not sure how efficient is the inference we're using for this

severe moon
# copper lynx it got real cute

yup, that sucks. so what I had to do was somethign like: do the pip installs, then uninstall torches, then install the correct toch with conda, then check that python was getting cuda torch and not cpu torch, then I can;t recall exactly if I then ran streamlit and it worked or if I also did pip install .`` first but definitaly do not rerun pip install -r requirements/pt2.txt
` once you think the torch is sorted out

#

I also recall at some point deleting the .pt2 folder to clear all the cached stuff out

copper lynx
#

okay cool this helps. I have stuff to try. thank you and Happy Turkey Day Dragon

severe moon
#

yeah first batch of food is out of the instant pot, i'll be incognito for some time once the food coma hits me. good luck!

copper lynx
# severe moon yeah first batch of food is out of the instant pot, i'll be incognito for some t...

ok first it acted like I installed it successfully.

I dbl checked everything was uninstalled as it gave me the three orange confirmation those arent installed to uninstall.

(genModelVideo) C:\Users\ocean\generative-models>conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=12.1 -c pytorch -c nvidia
Channels:

  • pytorch
  • nvidia
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

All requested packages already installed.

#

so then...I think it's all good, start streamlit UI and

2023-11-23 130750.794 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\anaconda3\envs\genModelVideo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 3, in <module>
from pytorch_lightning import seed_everything
File "C:\Users\ocean\anaconda3\envs\genModelVideo\lib\site-packages\pytorch_lightning_init
.py", line 25, in <module>
from lightning_fabric.utilities.seed import seed_everything # noqa: E402
File "C:\Users\ocean\anaconda3\envs\genModelVideo\lib\site-packages\lightning_fabric_init_.py", line 29, in <module>
from lightning_fabric.fabric import Fabric # noqa: E402
File "C:\Users\ocean\anaconda3\envs\genModelVideo\lib\site-packages\lightning_fabric\fabric.py", line 21, in <module>
import torch
ModuleNotFoundError: No module named 'torch'

#

makes no sense. I just executed

conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=12.1 -c pytorch -c nvidia

glossy plover
copper lynx
#

yes, afaik

copper lynx
glossy plover
#

I just did python -m venv venv, then venv/scripts/activate, installed requirements(and FFmpeg) and it works normally

median sand
# hazy gorge

Thank you for this... I will have to try again with only 8 frames

copper lynx
glossy plover
pastel storm
# hazy gorge

What is imaginAIry AI? Is there one of these graphs for SVD?

pastel storm
copper lynx
# severe moon yup, that sucks. so what I had to do was somethign like: do the pip installs, th...

I dont understand why it keeps giving this error. I have uninstalled 5 times now

2023-11-23 13:56:29.227 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\ocean\anaconda3\envs\genModelVideo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\Users\ocean\generative-models\video_sampling.py", line 5, in <module>
from scripts.demo.streamlit_helpers import *
File "C:\Users\ocean\generative-models\scripts\demo\streamlit_helpers.py", line 12, in <module>
import torchvision.transforms as TT
ModuleNotFoundError: No module named 'torchvision'

#

each time I uninstall and check it was uninstalled I run

conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 cudatoolkit=11.8 -c pytorch -c nvidia

Then I run

pip install .

then

streamlit run video_sampling.py

and it gives that error. I have no idea what to do to fix it

hazy gorge
#

I want you to do fine-tuning to stable video and have Realistic vision Video diffusion 🔥

glossy plover
#

using images I've made with SDXL technically makes this txt2img2vid, I wonder if that's going to be the workflow once this gets more adapted to

neat pier
glossy plover
turbid rampart
severe moon
severe moon
#

I'm not sure how to help at this point. It was confusing enough trying to troubleshoot this locally on my own system. But it definitely looks like you need to sort out how to get the correct torch versions showing from inside conda. After the reinstall you should be able to type python and then follow this simple code check:
`# Check GPU Availability

The easiest way to check if you have access to GPUs is to call torch.cuda.is_available(). If it returns True, it means the system has the Nvidia driver correctly installed.

import torch
torch.cuda.is_available()`

#

On my base system without torch installed (and a differnet python version) it spits out this:
Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'torch'

torch.cuda.is_available()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'torch' is not defined

#

Inisde my genModelVideo conda instance it instead says this once it was installed correctly:

(genModelVideo) F:\SDVideo\generative-models>python
Python 3.10.11 | packaged by Anaconda, Inc. | (main, May 16 2023, 00:55:32) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import torch

torch.cuda.is_available()
True

#

If you somehow manage to have the cpu torch installed then when you run the torch.cuda.is_available() bit it will instead return False. This is the simplest check I could find to see if Torch was even going to work at all when starting up streamlit.

#

You can exit the python CLI with CTRL+Z

#

Another useful tool for troubleshooting all this is conda list as it will show you all the versions installed inside that environment.

#

Hopefully this new infodump is useful to you or someone else trying to get past torch install issues.

tiny cradle
tiny cradle
tiny cradle
pastel storm
#

So it’s like a webui for svd?

sterile mesa
#

If I want a 4 second clip at 8fps, that's different T than 4 second clip at 12fps, which correlates to higher memory usage

tiny cradle
#

far fewer features but I prefer the command line. its a lot easier to install than webui and easier to use for some.

tiny cradle
onyx verge
#

can anyone please share a comfy workflow so I can drag and drop in my comfy to try?

pastel storm
#

Interesting

glossy plover
tiny cradle
sterile mesa
glossy plover
#

I use the normal version with T=18 and I'm getting decent videos IMO

tiny cradle
#

number of frames doesnt determine video length. the combination of number of frames and FPS determines length

#

so rocket at 40 frames, but 6 fps is almost 7 seconds

glossy plover
tiny cradle
glossy plover
#

I think about 12fps is usually fine to make the most out of the range of frames the current models output

mental magnet
#

Could someone guide me on how to adjust these parameters to achieve better results?

sterile mesa
tiny cradle
tiny cradle
sterile mesa
#

The main thing I've noticed is for motion bucket id, the lower it is the less the movement. Anything over about 200 is a waste of time.

Here is same clip with same parameters, but done with motion bucket id set at: 1, 10, 50, 100, and 500

onyx verge
mental magnet
gleaming tide
#

Temporal inpainting

tiny cradle
sterile mesa
onyx verge
#

is there a comfy workflow that intergrates the LCM lora and LCM sampler

mental magnet
#

I would like to quickly test the SDV on ComfyUI,lol

#

I am not a programmer or algorithm engineer, but thanks to GPT, I am able to execute some commands and write code."

teal harbor
#

Bunch of random tests 🤯
The fact that it's possible to make this stuff locally is just fricking crazy..

severe moon
trim juniper
severe moon
#

LCM just speeds up making the initial input image but the SVD part requires its own model so no real speed gains.....

#

And here's an image version, should have the workflow embedded:

trim juniper
#

Error occurred when executing SVDDecoder:

Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 15.94 GiB
Requested : 1.75 GiB
Device limit : 23.99 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB

how could I fix this I have a 4090 0xJladSadgeBasement

severe moon
trim juniper
#

comfyui

#

been trying the ones Kijai and thecooltechguy did but none works

severe moon
# trim juniper comfyui

yeah when I run the models with streamlit it knows how to jump to shared memory and everything just gets way slower but in Comfy the initial node settings gave me the same error. you can grab my spaghetti example to see my settings that are working on my 4090 but I basically got them from attashe's image on this discussion of memory issues: https://github.com/kijai/ComfyUI-SVD/issues/2

GitHub

When I run workflow more than one times, memory consumption increases and overflow 24gb, have to restart Comfy after generation. (Windows 10, pytorch 2.0)

trim juniper
severe moon
severe moon
trim juniper
#

Oh i see

trim juniper
#

How do we update it

fallen wren
fallen wren
# trim juniper How do we update it

if you're using Swarm, comfy auto-updates itself by default. If you're using a separate comfy install, there's an update folder with update_comfyui.bat inside. Alternately you can git pull in terminal

trim juniper
#

nice It worked

#

Looks bad though

fallen wren
#

ps comfy said it works (slowly) on a GTX 1080 8 GIB

fallen wren
#

did you feed an actual image in? (the example.png in comfy is not a great init lol)

narrow canyon
mental magnet
trim juniper
severe moon
fallen wren
severe moon
fallen plinth
severe moon
trim juniper
#

Now i need to see how people are making such high quality videos

fallen plinth
trim juniper
severe moon
sand plinth
fallen wren
#

I believe if you add some motion blur to your input image, that will encourage the model to give you motion that matches the blur

fallen plinth
fallen wren
# trim juniper problem was cfg was set at 2.5 by default

the examples page explains this: VideoLinearCFGGuidance: This node improves sampling for these video models a bit, what it does is linearly scale the cfg across the different frames. In the above example the first frame will be cfg 2.5 (the cfg set in the sampler) the middle frame 1.75 and the last frame 1.0 (the min_cfg in the node).

#

(the video model prefers low CFGs, unlike regular image SD wanting super high ones)

pastel storm
fallen plinth
gleaming tide
trim juniper
#

Hopefully my 4090 doesnt blow up

mental magnet
severe moon
trim juniper
gleaming tide
sterile mesa
trim juniper
#

What are your settings?

gleaming tide
#

I like how it serves as both a demonstration of the strengths and weaknesses

tiny cradle
pastel storm
#

will required computing power be about the same?

gleaming tide
severe moon
trim juniper
sterile mesa
trim juniper
#

does motion bucket number matters?

#

Ive been using the same number

severe moon
trim juniper
#

so the lower the number the better it seems

severe moon
#

lower seems to be less motion, more stable, higher increases chaos

pastel storm
#

also havent installed my models yet so where do i put them when I do

severe moon
#

last spaghetti guy was motion bucket around 40 and this one is 100, way more spaghetti:

narrow canyon
#

So eventually will we be able to apply LoRAs to this process to control the camera direction? I'm keen to generate some zoom ins and I 'm guess that the best way to control that at the moment is with different seeds

gleaming tide
#

Try adding motion blur like mcmonkey said
Of course the disadvantage is then you have motion blur

hazy gorge
#

Someone create a video with these images please

delicate solstice
#

Is there an updated version of this WF

teal harbor
hazy gorge
#

Can not be downloaded 🙁

teal harbor
#

oh, I accidentally encoded as h265 so discord won't embed it, gimme one second

sand plinth
fallen wren
teal harbor
delicate solstice
fallen wren
trim juniper
fallen wren
teal harbor
fallen wren
trim juniper
delicate solstice
fallen wren
#

it's the top pin

#

right above the one you screenshotted

teal harbor
delicate solstice
# fallen wren it's the top pin

I tried this WF and there were a lot of red nodes to install, but when I installed the missing nodes using manager, I didn't see any available nodes

trim juniper
#

Im also using the comfyui release

sullen harbor
#

make sure you update comfyui to the latest

#

that should fix the red nodes

trim juniper
#

im using it rn

fallen wren
fallen wren
#

(literally just a typo fix, SDV should've been SVD)

delicate solstice
teal harbor
#

here's my workflow, it automatically adjusts resolution and also uses rife interpolation node and saves .mp4

trim juniper
#

will test now

trim juniper
tiny cradle
trim juniper
#

way better ty

#

life saver

teal harbor
#

here I fix the final framerate because in the original workflow I leave it at 12 even after interpolation so the result is in slow motion

severe moon
trim juniper
fallen wren
#

i noticed realvisxl seems to create images that make good motion

#

(also I have it gen images at 1344x768 before feeding to the video model at its 1024x576, as the image model prefers 1mp)

#

(also I'm using VHS nodes to save the files instead of the webp thingy) (which i specify cause i just noticed it default named as 'animatediff' lol)

sand plinth
trim juniper
teal harbor
sand plinth
#

There is 4 videos with slow-mo

fallen wren
#

need SVD-LCM to experiment faster lol

sand plinth
valid furnace
trim juniper
#

so cool

sand plinth
grim tangle
#

comfy's official implementation is on another level 😄

mental magnet
severe moon
mental magnet
mental magnet
trim juniper
mental magnet
#

thx

severe moon
sand plinth
severe moon
trim juniper
#

woah

sand plinth
severe moon
trim juniper
#

what motion bucket?
Looks super cool

lapis turret
#

First time creating a music cover mv with AI. The dream of lovely movies is getting closer and closer

steep socket
left gulch
#

Can rtx 3060 12 gb vram run this

#

?

narrow canyon
surreal mortar
#

Hi can I ask questions about SVD install here or is there a better channel for this ?

narrow canyon
trim juniper
shut narwhal
tired egret
#

you need to update ComfyUI

shut narwhal
#

Shit that's always the step i'm forgetting............. Thanks to remind -_-' ahaha

mental magnet
#

somebody find some motion_bucket_id fit people motion?

nova glen
grim tangle
tired egret
#

it is possible to extend your video using every last frame from previous one as an input image for repeating iteration of sampling 🙂

sand plinth
tired egret
fallen plinth
# trim juniper

Was this human ran on a high vram mode using A100? Could you share how you are able to get this human face not distorted over 4secs?

fallen plinth
# sand plinth

Again how are u getting the human faces not being distored?

sand plinth
fallen plinth
# sand plinth

What mode and gpu card are u running this on? vram mode = low and 4090 or a100?

sand plinth
sand plinth
#

4080

sharp kestrel
solar willow
gilded sinew
#

Omg my 4090 arrives in less than a month, I'm so ready to test this new insanity !!!

#

Does telling it what the camera movement is supposed to be work ?

golden oyster
#

Hey guys whats the best replicate link? Am such a noob lol

#

I want the videos to be maybe 4 seconds long or 3 its fine

sharp kestrel
grim tangle
#

some initial sampler comparisons (I know it should be compared across steps and schedulers too)

solar willow
#

superb work. I was dreaming about good drift generation... now they are moving pictures....

grim tangle
quick finch
#

Is not much but testing the SVD models with 2D artifacts output some interesting results.

tepid stream
#

Its fun to animate old generations

tepid stream
#

Hey, please use the bot channels to generate images

gleaming tide
quick finch
#

bbtw, I was only able to run the SVD models using the official implementation from comfy;

tepid stream
#

Yep running that too, with a few changes

quick finch
tepid stream
#

I implemented an auto size from the input image with potential downscale

#

and changed it to combine stuff into the VHS combine node

sharp kestrel
tepid stream
#

Cause my source images tend to be pretty large

sharp kestrel
#

everyone in the audiance...

#

how large is it

grim tangle
tepid stream
#

SO half the size makes sense

sharp kestrel
#

i've been feeding it 3-4 mb files so far

#

there was no issue with it

tepid stream
#

Yeah no issues too, but faster gen times

sharp kestrel
#

mmm... actualy, i was wrong. i feed it 3mb but generate 1024x576

tepid stream
#

Ah there you got it

#

I take the image size as a base and downscale it as needed

sharp kestrel
tepid stream
#

⚠️ Kinda creepy

sharp kestrel
#

its amazing

quick finch
#

lol my attempt's are nothing vs yours, but I'm trying.

cerulean gorge
#

j

tepid stream
sand plinth
#

my PC after the release of SVD 😆

tepid stream
#

WIsh we could at least control the motion with smth like the motion loras

onyx ore
#

Video one

#

?

zenith depot
#

is there a way to prompt it? eg that a woman smiles or a plane starts…?

tepid stream
onyx ore
#

What that button

tepid stream
onyx ore
#

Okay

tepid stream
zenith depot
#

oh sad… i hope it comes soon

#

thx @tepid stream

sand plinth
severe moon
valid furnace
#

so everything was working perfectly, I restarted my computer and relaunched comfyui>
Everything uninstalled and reinstalled itself for some reason upon launch and now I get this error:
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

How do I make it try to reinstall? And why did it do all that in the first place?
Comfy won't launch at all. Any tips?

tepid stream
severe moon
tepid stream
open heron
sharp kestrel
# open heron

the amount of nsfw videos being generate in one blink of this eye...

tepid stream
#

⚠️ 🕷️ Spider

open heron
severe moon
sharp kestrel
#

so besides "the regular" stuff, is there any secret sauce to add more stuff yet?

steady badger
#

Hello all o/ noob questions: I am interested in learning and exploring animation with SD,

  1. Should I start by learning Deforum + controlnet plugin or choose Stable Video Diffusion
  2. Is it enough for learn and explore the basics by using the available google colabs, or will I need to run it and play with it locally with a powerful graphics card
severe moon
# steady badger Hello all o/ noob questions: I am interested in learning and exploring animation...

1 - SVD is pretty basic, you feed it an existing image and then can change a few settings but it's brand new and not very feature heavy. Deforum has been around for way longer and has more to explore so maybe start with SVD and then branch off to Deforum later.
2 - If you are comfortable with colabs it's a great way to access way more powerful hardware (even better with Pro accounts). Free accounts might hit limits with what GPUs are available because so many people try accessing the big GPUs for free. Pro account should give you mroe freedom for choosing but of course cost money. There's really no need to go out and buy a powerful GPU until you have a better sense of why you would want to do so but if you already happen to have a decent rig then by all means start locally.

gentle oar
severe moon
# gentle oar

oh man, I've managed to avoid playing Division for a few weeks now, don't get me started lol :p

gentle oar
#

keep on the grind

severe moon
#

I mean I think they did intro a new event this week called Black Friday so....... I will prolly cave today or tomorrow

severe moon
half hound
#

Did another tutorial, which is an easier install than the Stable Video Diffusion streamlit. Here is the ComfyUI install: https://youtu.be/hoIobzZmNiM?si=4Cg-ntO0qEnrybKU

An easier way to generate videos using stable video diffusion models.

Stable Video Diffusion ComfyUI install:

Requirements:

ComfyUI: https://github.com/comfyanonymous/ComfyUI#installing

ComfyUI-Manager: https://github.com/ltdrdata/ComfyUI-Manager

SDXL: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/tree/main
you can use any...

▶ Play video
quick finch
gentle oar
#

but my pc is not built like a super computer 💀

half hound
#

might work with 6Gb of VRAM

gentle oar
half hound
#

maybe I know bryce was asking people who had 6Gb of vram to try it

#

so it might work

#

might take a while, but it might work

tiny cradle
#

yeah it works with 6gb GPU VRAM, but you can only do 4 frames

gentle oar
#

l heard it needed a gpu sm like that

gentle oar
#

which is better

#

colab+ takes 3 secs to generate 💀

onyx ore
#

Anyone has demo sites?

tiny cradle
#

yes you need a gpu. are you saying you have a free colab with it working? nice if so

half hound
gleaming tide
#

How much vram does the gpus you usually get in free colab have, again?

gentle oar
gleaming tide
#

Apparently 24gb K80s? But that's still a lot better than local for everyone without a 3090

gentle oar
#

it ran a 1 video per over 2 munites

#

not bad , A100

open heron
gentle oar
quick finch
sterile mesa
#

so, in essence, cheating a bit. SVD is really limited right now in output

quick finch
sterile mesa
quick finch
quick finch
ionic palm
bold wave
# ionic palm

dang. these are way good. I can only get it to pan the image. What's your setup?

#

Stuff like this - after a lot of work and experimentation. (ComfuUI)

bold wave
onyx ore
severe moon
#

but it still all afeels much more random and less science than art at this point

bold wave
severe moon
open heron
severe moon
severe moon
open heron
open heron
severe moon
#

I'm just hooking the output up to VHS Video Combine node

#

it lets you choose output format

open heron
sterile mesa
severe moon
severe moon
open heron
quick finch
#
GitHub

ECCV2022 - Real-Time Intermediate Flow Estimation for Video Frame Interpolation - GitHub - megvii-research/ECCV2022-RIFE: ECCV2022 - Real-Time Intermediate Flow Estimation for Video Frame Interpola...

bold wave
#

gonna just... steal that one.

quick finch
#

@sterile mesa sorry for not tagging you. check above.

grim tangle
#

looking for good sampler settings for least steps used, here's a cfg comparison with just 12 steps

teal harbor
#

thank you indeed

sterile mesa
# grim tangle

sorry for my confusion, but not understanding the sampler use. Is that the image generation sampler? Or the SVD sampler? Because I don't recognize a plain EULER sampler.

grim tangle
grim tangle
#

it is, but not very useful with SVD from my findings, can't use the LCM loras

sterile mesa
#

sounds like I need to get comfy up and running with all this now

#

seems easier than figuring out how to make this work as an extension for A1111 lol

arctic reef
grim tangle
arctic reef
half hound
bold wave
calm fractal
#

Hi all. How to use stable video with interface on windows 11 locally?

grim tangle
half hound
#

thanks!

calm fractal
silk scaffold
#

I saw someone else make this one, and realized that with editing it looped perfectly, so I couldn't resist doing said editing.

tiny cradle
silk scaffold
#

How hard would it be to make a modification on the model with a defined end frame as well, for it to move towards?

tiny cradle
silk scaffold
#

Well, I guess to define the style of movement.

tiny cradle
#

Which is why I suspect my approach didn't work well if start and end point are the same then interpolation is boring

silk scaffold
#

I suppose, but the two are probably similar, and going to be a part of the same workflow

#

between generation and interpolation

tiny cradle
#

maybe we just want a model trained in reverse

half hound
silk scaffold
#

You need to give it 3 images to essentially interpolate, I think.

#

A start image, a midpoint image, then using the start again as an end

half hound
#

looping in one section is pretty cool too

silk scaffold
#

To ensure some amount of movement happens, but it's undone

#

I'm sure people will figure out how to maximize this technology, just like they do with images.

#

So essentially, generate outwards like it does now, then interpolate back to the starting point.

half hound
#

You can use the pingpong effect with the video combine node in comfyUI to make it loop

silk scaffold
#

Still trying to get my comfy UI set up for myself, but I'll have to try that.

pastel storm
# tiny cradle - with imaginairy the models are automatically downloaded. - yes pip installing ...

aimg videogen --start-image dog.jpg Traceback (most recent call last): File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\u\AppData\Local\Programs\Python\Python310\Scripts\aimg.exe\__main__.py", line 7, in <module> File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click_shell\core.py", line 164, in invoke ret = super(Shell, self).invoke(ctx) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke return __callback(*args, **kwargs) File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\imaginairy\cli\videogen.py", line 78, in videogen_cmd generate_video( File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\imaginairy\video_sample.py", line 56, in generate_video torch.cuda.reset_peak_memory_stats() File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\cuda\memory.py", line 307, in reset_peak_memory_stats return torch._C._cuda_resetPeakMemoryStats(device) AttributeError: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats'

#

I dont understand, it doesnt appear the svd model cards are installed, also i get this ^

tiny cradle
tiny cradle
# pastel storm `aimg videogen --start-image dog.jpg Traceback (most recent call last): File "...

This is the new error message:

            "CUDA is not available. This will be verrrry slow or not work at all.\n"
            "If you have a GPU, make sure you have CUDA installed and PyTorch is compiled with CUDA support.\n"
            "Unfortunately, we cannot automatically install the proper version.\n\n"
            "You can install the proper version by following these directions:\n"
            "https://pytorch.org/get-started/locally/"
```
pastel storm
#

how do i install proper torch version? i have a 3060

tiny cradle
severe moon
# tender nova same, find any fix?

I just installed the latest comfy portable from the main github and copied my favorite checkpoints over to test things out, it seems to have a newer torch/cuda combo than what I had and everything from comfy's SVD examples page worked first try

pastel storm
hazy gorge
#

Has anyone had it work with a gtx 1080ti 11gb in confy ui?

half hound
#

@pastel storm if you just want to play around with the SVD, it's easier to use the comfyUI version

pastel storm
pastel storm
#

thanks

grim tangle
tiny cradle
sterile mesa
bold wave
#

Actually, this turned out pretty nice! It took me a little while to find decent settings, but I think overall, not bad!

sterile mesa
bold wave
silk scaffold
#

I honestly prefer the style of Automatic's UI, but Comfy I've been able to get SDXL to work, and I haven't with Automatic, so I keep both for different purposes

#

Visually, and in regards to navegating the UI

half hound
sterile mesa
silk scaffold
#

Both have a place, I think.

#

Maybe Automatic will make some adaptations that make it better at some of the other stuff

bold wave
#

A1111 is really good for img2img, and inpainting.

ember jungle
#

Hi, How do I generate Audio from the text. The voice pitch/synthesis will be based on audio sample. Which model I can use?

half hound
#

but auto1111 has great extensions so I still prefer it

pastel storm
#

nvm figured it out

quick finch
pastel storm
#

are the 14 and 25 frame model cards locked to that frame count or can I raise them and its just that the 25 frame would be best for going higher and 14 for going lower?

half hound
#

you can change them, but it will affect your results

pastel storm
#

how will it affect them other than the intended change?

#

or are you just saying that if i raise it the total length of the video is extended

#

and im out of memory

half hound
#

you just get weird outputs

open heron
pastel storm
half hound
#

20

arctic reef
open heron
#

How do you interrupt a generation with Comfyui? I'm rusty

pastel storm
#

what does lossless do in comfyui?

half hound
#

ctrl c in cli

grim tangle
#

There's a cancel button where the queue button is

#

But it won't work during a step

open heron
sterile mesa
pastel storm
open heron
sterile mesa
trim juniper
#

Have you guys found any good motion bucket id's?

sterile mesa
#

Toward end of the clip, the cloud path shifts

pastel storm
#

is there a way to interpolate so i can extend my generation lengths?

#

what way do u do it

sterile mesa
trim juniper
#

Has anyone implemented prompts yet?

half hound
lunar quartz
#

Does anyone else notice that motion id seems to effect the depth of motion. And that the system is really good at depth and splitting the input image into layers for adding motion. I've noticed higher id leans more towards background motion, where a low id can bring the motion to the foreground.

half hound
#

I am reading the research paper and found this interesting: under camera motion it has 3 deferent types Horizontal moving, zooming and static.

grim tangle
trim juniper
half hound
#

would be interesting to know how to be able to force it to do one of those 3 movements

lunar quartz
# grim tangle

Ther is some fun stuff to be had letting degenerate like that and using it as a transition?

grim tangle
#

thinking of just making an "endless" workflow that uses some frame from previous gen

#

it would be random, but that can be fun 😄

#

like my cat...

lunar quartz
grim tangle
#

I don't think I showed it here

lunar quartz
#

unless upscaled

trim juniper
#

Stuff of nightmares

grim tangle
#

could even be from new img

pastel storm
#

thats terrifying

grim tangle
#

you never saw a fast cat? 😄

half hound
pastel storm
#

lol

half hound
#

😦

grim tangle
#

they are training, or have trained their own, it was in the paper too afaik

#

when there's no camera movement, the bucket doesn't ruin it at all (or do anything really)

open heron
half hound
grim tangle
half hound
#

o boy lol

grim tangle
half hound
#

wohoo!

#

thanks

grim tangle
#

not the most user friendly yet

tender nova
grim tangle
#

speaking of though, FreeU_V2 seems beneficial for SVD especially with low steps

trim juniper
#

interesting

teal harbor
#

couple of emmas
all of these were made with
video_frames == 25
motion_bucket_id == 127
augmentation_level == 0.01
fps == 12

steps == 30
cfg == 2.5
sampler_name == euler
scheduler == normal

and face swapped at the end with inswapper_128

tender nova
#

is there a way to save the the generated file from svd to a gif or mp4? it is saving to webp in the workflow i have and when i 'save' it externally as the .webp the movement is gone?

half hound
#

download the vhs ext

#

and use video combine node

bold wave
#

this one works just fine for me. It's called vhs_videocombine

tender nova
# half hound and use video combine node

ah ok thanks.. its funny i have seen a few work flows and downloaded a few things but this 'official' method in the comfyui official post is the only one i've got to work and it seems like many of them are using different nodes?

pastel storm
#

why is the gif not working

bold wave
tender nova
pastel storm
trim juniper
#

works now

open heron
grim tangle
dire cargo