-
Notifications
You must be signed in to change notification settings - Fork 396
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 #182
Comments
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121 |
that worked, but now this (echomimic) F:\EchoMimic>export FFMPEG_PATH=D:\Program Files\FFMPEG-Static why is export not a command? |
@TanvirHafiz Also some additional changes to get better results are explained here |
did all the things in the video and yet my problems not over, i get this (echomimic) F:\EchoMimic>python webgui.py --server_port=3000 looks like i still need to import diffusers. but i just imported like 63 gigabytes of stuff from huggingface! |
@TanvirHafiz
instead of WebUI.
|
right now I am reinstalling it using venv nad python instead of conda, as i am much more familiar with that. lets see. also your pretrained folder is 28GB, my one was 63 GB. i think maybe more things were added later since your video is 3 months old |
didnt work @nitinmukesh it si still looking for 2 diffusers. Here is the error (venv) F:\EchoMimic>python -u infer_audio2vid.py |
solved it, it had the wrong huggingface hub version, needed to add pip install huggingface_hub==0.23.2 |
I was having the same errors as you were facing and after installing hugginface_hub==0.23.2 I am having below errors. Did you do anything else? Traceback (most recent call last): |
So is it working now?
Yes and how to reduce folder size and what to delete is explained in (it is optional) |
You are using pinokio. I am not sure about that. |
I am using miniconda but the path its showing is under Pinokio installation. When I ran command for path in miniconda prompt it showed below result |
hey i didnt find any part where you say what to remove to reduce the size. you just show that your pretrained folder is 28GB whereas mine is 63 GB. can you give me the time stamp in the video where you discuss reducing the size? |
it is in the other video uploaded 2,3 days ago. Basically it reduces size from 63Gb to around 45gb |
@TanvirHafiz I think you guys are skipping the video and not watching it completely. I have explained the complete process in details. |
@nitinmukesh - thank you |
Okay I got it. In fact not I'm stuck with opencv error. Where is cannot
resize the image. Which version of open CV are you using?
…On Sat, 26 Oct 2024, 8:15 am Sugata Sanshiro, ***@***.***> wrote:
@nitinmukesh <https://github.com/nitinmukesh> - thank you
—
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3IB2HV2WAHEGJBSLYQ4PTTZ5L3MXAVCNFSM6AAAAABQQDX7S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE4DAMRVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Were you able to fix it? I am also getting similar error
Edit: Now I am getting below error File "C:\Users\a.hannan.conda\envs\echomimic\lib\subprocess.py", line 1327, in _execute_child |
i get this torch not compiled! error
C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
please download ffmpeg-static and export to FFMPEG_PATH.
For example: export FFMPEG_PATH=/musetalk/ffmpeg-4.4-amd64-static
Traceback (most recent call last):
File "webgui.py", line 70, in
vae = AutoencoderKL.from_pretrained(config.pretrained_vae_path).to("cuda", dtype=weight_dtype)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\nn\modules\module.py", line 1152, in to
return self._apply(convert)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\nn\modules\module.py", line 802, in _apply
module._apply(fn)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\nn\modules\module.py", line 802, in _apply
module._apply(fn)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\nn\modules\module.py", line 825, in apply
param_applied = fn(param)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\nn\modules\module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "C:\Users\steam\AppData\Local\Programs\Miniconda3\envs\echomimic\lib\site-packages\torch\cuda_init.py", line 293, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: