You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the requirements.txt file didn't specify a CUDA version, leading to the wrong CUDA version being installed. By default, CUDA 12.8 was installed, but the correct version for compatibility with the installed PyTorch version is CUDA 11.8.
Runtime Error:
torchvision::nms
Operator Doesn't ExistSystem Configuration
3.10.9
12.4
2 x RTX A6000
Error Message
After installing
torchvision
, I get the following error when trying to runsample_video.py
:Steps to Reproduce
python3 sample_video.py \ --video-size 720 1280 \ --video-length 129 \ --infer-steps 50 \ --prompt "A cat walks on the grass, realistic style." \ --flow-reverse \ --use-cpu-offload \ --save-path ./results
Debugging Attempts
torchvision
installation with:python -c "import torchvision; print(torchvision.__version__)"
0.19.0
torchvision.ops
:torchvision
:Expected Behavior
The
torchvision.ops.nms
function should work correctly without missing operator errors, allowingsample_video.py
to run successfully.Questions
torchvision==0.19.0
fully compatible withpytorch==2.4.0
on CUDA 12.4?torchvision
be compiled from source to fix this?nms
being omitted in recent builds?HunyuanVideo
require a specific torchvision version for proper functionality?Any insights or solutions would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: