Skip to content

AssertionError: Torch not compiled with CUDA enabled #198

@Sambhav242005

Description

@Sambhav242005

Web capture_28-11-2023_195945_localhost
File "C:\Users\NPC\anaconda3\envs\genModelVideo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\Users\NPC\Desktop\AI\generative-models\video_sampling.py", line 137, in
img = load_img_for_prediction(W, H)
File "C:\Users\NPC\Desktop\AI\generative-models\scripts\demo\streamlit_helpers.py", line 848, in load_img_for_prediction
return image.to(device) * 2.0 - 1.0
File "C:\Users\NPC\anaconda3\envs\genModelVideo\lib\site-packages\torch\cuda_init
.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")

following this instruction https://pastebin.com/YpqNSHFy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions