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

Torch not compiled with cuda enabled! #107

Open
TanvirHafiz opened this issue Jan 10, 2025 · 0 comments
Open

Torch not compiled with cuda enabled! #107

TanvirHafiz opened this issue Jan 10, 2025 · 0 comments

Comments

@TanvirHafiz
Copy link

File "F:\MagicClothing\gradio_generate.py", line 25, in
full_net = ClothAdapter(pipe, args.model_path, device, args.enable_cloth_guidance)
File "F:\MagicClothing\garment_adapter\garment_diffusion.py", line 20, in init
self.pipe = sd_pipe.to(self.device)
File "F:\MagicClothing\venv\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 869, in to
module.to(device, dtype)
File "F:\MagicClothing\venv\lib\site-packages\torch\nn\modules\module.py", line 1145, in to
return self._apply(convert)
File "F:\MagicClothing\venv\lib\site-packages\torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "F:\MagicClothing\venv\lib\site-packages\torch\nn\modules\module.py", line 797, in _apply
module._apply(fn)
File "F:\MagicClothing\venv\lib\site-packages\torch\nn\modules\module.py", line 820, in apply
param_applied = fn(param)
File "F:\MagicClothing\venv\lib\site-packages\torch\nn\modules\module.py", line 1143, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "F:\MagicClothing\venv\lib\site-packages\torch\cuda_init
.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

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

1 participant