Skip to content

Any prompt "Torch not compiled with CUDA enabled" #29

Description

@ffdown

Fetching 16 files: 100%|█████████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 3181.27it/s]
Traceback (most recent call last):
File "unstablefusion.py", line 889, in handle_inpaint_button
inpainted_image = self.get_handler().inpaint(prompt,
File "unstablefusion.py", line 436, in get_handler
return self.stable_diffusion_manager.get_handler()
File "unstablefusion.py", line 318, in get_handler
return self.get_local_handler(self.get_huggingface_token())
File "unstablefusion.py", line 301, in get_local_handler
self.cached_local_handler = StableDiffusionHandler(token)
File "E:\AI\SD\SDUI\UnstableFusion-main\diffusionserver.py", line 27, in init
self.text2img = StableDiffusionPipeline.from_pretrained(
File "e:\Anaconda3\envs\ldm\lib\site-packages\diffusers\pipeline_utils.py", line 179, in to
module.to(torch_device)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 907, in to
return self._apply(convert)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
[Previous line repeated 1 more time]
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 601, in apply
param_applied = fn(param)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\nn\modules\module.py", line 905, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "e:\Anaconda3\envs\ldm\lib\site-packages\torch\cuda_init
.py", line 210, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions