Open-Sora icon indicating copy to clipboard operation
Open-Sora copied to clipboard

Added cpu offload to enable full length 720p on a 4090.

Open XmYx opened this issue 1 year ago • 4 comments

XmYx avatar Jun 25 '24 17:06 XmYx

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument tensors in method wrapper_CUDA_cat)

MikeAiJF avatar Jul 11 '24 01:07 MikeAiJF

image

MikeAiJF avatar Jul 11 '24 01:07 MikeAiJF

大神,这个应该怎么解决

MikeAiJF avatar Jul 11 '24 01:07 MikeAiJF

I would recommend that we use individual inference proposed in https://github.com/hpcaitech/Open-Sora/pull/597 instead of interrupting the scheduler's internal forward.

FrankLeeeee avatar Jul 12 '24 06:07 FrankLeeeee

Closed as we updated to Open Sora 2.0

zhengzangw avatar Mar 12 '25 05:03 zhengzangw