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

AssertionError: Torch not compiled with CUDA enabled #76

Open
xspace-solution opened this issue Jun 6, 2024 · 1 comment
Open

AssertionError: Torch not compiled with CUDA enabled #76

xspace-solution opened this issue Jun 6, 2024 · 1 comment

Comments

@xspace-solution
Copy link

I wrote simple code to generate video.

import torch
from model import Model

model = Model(device = "cuda", dtype = torch.float16)

prompt = "A horse galloping on a street"
params = {"t0": 44, "t1": 47 , "motion_field_strength_x" : 12, "motion_field_strength_y" : 12, "video_length": 8}

out_path, fps = f"./text2video_{prompt.replace(' ','_')}.mp4", 4
model.process_text2video(prompt, fps = fps, path = out_path, **params)

But I am getting this issue after I run the script.
AssertionError: Torch not compiled with CUDA enabled

@Tabz05
Copy link

Tabz05 commented Jun 16, 2024

Hi!

Did you set up the project according to the instructions provided?

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