-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I got "RuntimeError: CUDA error: invalid device ordinal" at \1Prompt1Story\app.py", line 26, in main_gradio
pipe, _ = utils.load_pipe_from_path(model_path, "cuda:1", torch.float16 if precision == "fp16" else torch.float32, precision).
I tried to set cuda:0 in app.py, but got "RuntimeError: expected mat1 and mat2 to have the same dtype, but got: float != struct c10::Half".
Anyway to fix these errors? Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels