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

RuntimeError: use_libuv was requested but PyTorch was build without libuv support #192

Open
hjj-lmx opened this issue Mar 6, 2025 · 5 comments

Comments

@hjj-lmx
Copy link

hjj-lmx commented Mar 6, 2025

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Summer beach
vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, dis
tant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshin
g atmosphere of the seaside."

运行这段命令报错
RuntimeError: use_libuv was requested but PyTorch was build without libuv support
安装的是最新的torch

I2V-14B-720P需要多大的GPU内存才能运行,运行一次大概多长时间

@leioukupo
Copy link

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, dis tant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshin g atmosphere of the seaside."

运行这段命令报错 RuntimeError: use_libuv was requested but PyTorch was build without libuv support 安装的是最新的torch

I2V-14B-720P需要多大的GPU内存才能运行,运行一次大概多长时间

6750xt 12g显存,运行 fp8的720p 14b大概需要45分钟一次,默认参数

@hjj-lmx
Copy link
Author

hjj-lmx commented Mar 7, 2025

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt “夏日海滩度假风格,一只戴着墨镜的白猫坐在冲浪板上。这只毛茸茸的猫咪以轻松的表情直视镜头。背景是模糊的海滩风光,清澈的海水、远处的绿色山丘和点缀着白云的蓝天。这只猫咪摆出自然放松的姿势,仿佛在享受海风和温暖的阳光。特写镜头突出了猫咪的精致细节和海边清新的氛围。”
运行be命令报错 RuntimeError: use_libuv was requests but PyTorch was build without libuv support 安装的是最新的torch
I2V-14B-720P需要大量的GPU内存才能运行,运行一次大概多长时间

6750xt 12g显存,运行fp8的720p 14b大概需要45分钟一次,默认参数

这个报错是什么原因啊,3090 24G的使用的是源码提供的命令,会报内存溢出,还要使用多GPU命令会报上面的错误,这是什么原因哦

@leioukupo
Copy link

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt “夏日海滩度假风格,一只戴着墨镜的白猫坐在冲浪板上。这只毛茸茸的猫咪以轻松的表情直视镜头。背景是模糊的海滩风光,清澈的海水、远处的绿色山丘和点缀着白云的蓝天。这只猫咪摆出自然放松的姿势,仿佛在享受海风和温暖的阳光。特写镜头突出了猫咪的精致细节和海边清新的氛围。”
运行be命令报错 RuntimeError: use_libuv was requests but PyTorch was build without libuv support 安装的是最新的torch
I2V-14B-720P需要大量的GPU内存才能运行,运行一次大概多长时间

6750xt 12g显存,运行fp8的720p 14b大概需要45分钟一次,默认参数

这个报错是什么原因啊,3090 24G的使用的是源码提供的命令,会报内存溢出,还要使用多GPU命令会报上面的错误,这是什么原因哦

不清楚,你的pytorch版本不行吧

@hjj-lmx
Copy link
Author

hjj-lmx commented Mar 7, 2025

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt “夏日海滩度假风格,一只戴着墨镜的白猫坐在冲浪板上。这只毛茸茸的猫咪以轻松的表情直视镜头。背景是模糊的海滩风光,清澈的海水、远处的绿色山丘和点缀着白云的蓝天。这只猫咪摆出自然放松的姿势,仿佛在享受海风和温暖的阳光。特写镜头突出了猫咪的精致细节和海边清新的氛围。”
运行be命令报错 RuntimeError: use_libuv was requests but PyTorch was build without libuv support 安装的是最新的torch
I2V-14B-720P需要大量的GPU内存才能运行,运行一次大概多长时间

6750xt 12g显存,运行fp8的720p 14b大概需要45分钟一次,默认参数

这个报错是什么原因啊,3090 24G的使用的是源码提供的命令,会报内存溢出,还要使用多GPU命令会报上面的错误,这是什么原因哦

不清楚,你的pytorch版本不行吧

我安装的是2.5.1的,但是我是windows系统
我使用3090 24G单卡的跑,会报内存超出
fp8怎么设置的,没看到这个参数啊

@leioukupo
Copy link

torchrun --nproc_per_node=2 generate.py --task i2v-14B --size 1280*720 --ckpt_dir checkpoints/Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt “夏日海滩度假风格,一只戴着墨镜的白猫坐在冲浪板上。这只毛茸茸的猫咪以轻松的表情直视镜头。背景是模糊的海滩风光,清澈的海水、远处的绿色山丘和点缀着白云的蓝天。这只猫咪摆出自然放松的姿势,仿佛在享受海风和温暖的阳光。特写镜头突出了猫咪的精致细节和海边清新的氛围。”
运行be命令报错 RuntimeError: use_libuv was requests but PyTorch was build without libuv support 安装的是最新的torch
I2V-14B-720P需要大量的GPU内存才能运行,运行一次大概多长时间

6750xt 12g显存,运行fp8的720p 14b大概需要45分钟一次,默认参数

这个报错是什么原因啊,3090 24G的使用的是源码提供的命令,会报内存溢出,还要使用多GPU命令会报上面的错误,这是什么原因哦

不清楚,你的pytorch版本不行吧

我安装的是2.5.1的,但是我是windows系统 我使用3090 24G单卡的跑,会报内存超出 fp8怎么设置的,没看到这个参数啊

我用的linux rocm
你win试一下用绘世启动器加comfyui使用看一下

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