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

Cannot get it to work #21

Open
mertkemal1131 opened this issue Dec 7, 2024 · 2 comments
Open

Cannot get it to work #21

mertkemal1131 opened this issue Dec 7, 2024 · 2 comments

Comments

@mertkemal1131
Copy link

(flux) C:\Users\USER\Desktop\catvton-flux>python app.py
Traceback (most recent call last):
File "C:\Users\USER\Desktop\catvton-flux\app.py", line 13, in
subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 87] Parametre hatalı

(flux) C:\Users\USER\Desktop\catvton-flux>python app_lora.py
Traceback (most recent call last):
File "C:\Users\USER\Desktop\catvton-flux\app_lora.py", line 13, in
subprocess.run("rm -rf /data-nvme/zerogpu-offload/*", env={}, shell=True)
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\USER\anaconda3\envs\flux\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 87] Parametre hatalı

(flux) C:\Users\USER\Desktop\catvton-flux>python app_n0_lora.py
python: can't open file 'C:\Users\USER\Desktop\catvton-flux\app_n0_lora.py': [Errno 2] No such file or directory

(flux) C:\Users\USER\Desktop\catvton-flux>python app_no_lora.py
CUDA installation found at: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6
Loading diffusion model ...
Fetching 3 files: 100%|██████████████████████████████████████████████████████████████████████████| 3/3 [00:00<?, ?it/s]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 15.84it/s]
You set add_prefix_space. The tokenizer needs to be converted from the slow tokenizers█| 2/2 [00:00<00:00, 15.97it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:00<00:00, 14.91it/s]
Traceback (most recent call last):
File "C:\Users\USER\Desktop\catvton-flux\app_no_lora.py", line 49, in
).to(device)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 460, in to
module.to(device, dtype)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\transformers\modeling_utils.py", line 2861, in to
return super().to(*args, **kwargs)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 1174, in to
return self._apply(convert)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 780, in _apply
module._apply(fn)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 805, in apply
param_applied = fn(param)
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\nn\modules\module.py", line 1160, in convert
return t.to(
File "C:\Users\USER\anaconda3\envs\flux\lib\site-packages\torch\cuda_init
.py", line 305, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

these are the problems i am facing

@nftblackmagic
Copy link
Owner

It looks like CUDA version issue. Didn't try it in windows env. It's hard to debug without specific env information.

@mertkemal1131
Copy link
Author

I was sble to get app_no_lora working but getting any results takes more than 3 hours, will be decreased?

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

2 participants