Skip to content

Looking for CUDA enabled torch on Linux (cpu only) #19

Description

@altivero

On Linux (cpu only):

Traceback (most recent call last):
File "/username/pinokio/api/comfy.git/app/main.py", line 177, in
import execution
File "/username/pinokio/api/comfy.git/app/execution.py", line 15, in
import comfy.model_management
File "/username/pinokio/api/comfy.git/app/comfy/model_management.py", line 239, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
File "/username/pinokio/api/comfy.git/app/comfy/model_management.py", line 189, in get_torch_device
return torch.device(torch.cuda.current_device())
File "/username/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/torch/cuda/init.py", line 1069, in current_device
_lazy_init()
File "/username/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/torch/cuda/init.py", line 403, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
(env) <<PINOKIO_SHELL>>

Terminated Shell

local variables
{
"url": "{{input.event[1]}}"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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