Closed michaeltran33 closed 2 months ago
git clone, setup + launch terminal shows : AssertionError: Torch not compiled with CUDA enabled.
C:\Users\User>pip list Package Version
pip 22.3.1 setuptools 65.5.0
(.lip-wise) D:\AIFace\Lip_Wise>pip list Package Version
absl-py 2.1.0 addict 2.4.0 aiofiles 23.2.1 altair 5.3.0 annotated-types 0.6.0 anyio 4.3.0 asttokens 2.4.1 attrs 23.2.0 audioread 3.0.1 basicsr 1.4.2 beautifulsoup4 4.12.3 certifi 2024.2.2 cffi 1.16.0 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 comm 0.2.2 contourpy 1.2.1 cycler 0.12.1 decorator 5.1.1 exceptiongroup 1.2.1 executing 2.0.1 facexlib 0.3.0 fastapi 0.110.2 ffmpy 0.3.2 filelock 3.13.4 filterpy 1.4.5 flatbuffers 24.3.25 fonttools 4.51.0 fsspec 2024.3.1 future 1.0.0 gdown 5.1.0 gfpgan 1.3.8 gradio 4.27.0 gradio_client 0.15.1 grpcio 1.62.2 h11 0.14.0 httpcore 1.0.5 httpx 0.27.0 huggingface-hub 0.22.2 idna 3.7 imageio 2.34.1 importlib_metadata 7.1.0 importlib_resources 6.4.0 ipython 8.23.0 ipywidgets 8.1.2 jax 0.4.26 jedi 0.19.1 Jinja2 3.1.3 joblib 1.4.0 jsonschema 4.21.1 jsonschema-specifications 2023.12.1 jupyterlab_widgets 3.0.10 kiwisolver 1.4.5 lazy_loader 0.4 librosa 0.10.1 llvmlite 0.42.0 lmdb 1.4.1 Markdown 3.6 markdown-it-py 3.0.0 MarkupSafe 2.1.5 matplotlib 3.8.4 matplotlib-inline 0.1.7 mdurl 0.1.2 mediapipe 0.10.11 ml-dtypes 0.4.0 mpmath 1.3.0 msgpack 1.0.8 networkx 3.3 numba 0.59.1 numpy 1.26.4 opencv-contrib-python 4.9.0.80 opencv-python 4.9.0.80 opt-einsum 3.3.0 orjson 3.10.1 packaging 24.0 pandas 2.2.2 parso 0.8.4 pillow 10.3.0 pip 22.3.1 platformdirs 4.2.1 pooch 1.8.1 prompt-toolkit 3.0.43 protobuf 3.20.3 pure-eval 0.2.2 pycparser 2.22 pydantic 2.7.1 pydantic_core 2.18.2 pydub 0.25.1 Pygments 2.17.2 pyparsing 3.1.2 PySocks 1.7.1 python-dateutil 2.9.0.post0 python-multipart 0.0.9 pytz 2024.1 PyYAML 6.0.1 realesrgan 0.3.0 referencing 0.35.0 requests 2.31.0 rich 13.7.1 rpds-py 0.18.0 ruff 0.4.1 scikit-image 0.23.2 scikit-learn 1.4.2 scipy 1.13.0 semantic-version 2.10.0 setuptools 65.5.0 shellingham 1.5.4 six 1.16.0 sniffio 1.3.1 sounddevice 0.4.6 soundfile 0.12.1 soupsieve 2.5 soxr 0.3.7 stack-data 0.6.3 starlette 0.37.2 sympy 1.12 tb-nightly 2.17.0a20240424 tensorboard-data-server 0.7.2 threadpoolctl 3.4.0 tifffile 2024.4.18 tomli 2.0.1 tomlkit 0.12.0 toolz 0.12.1 torch 2.1.2 torchvision 0.16.2 tqdm 4.66.2 traitlets 5.14.3 typer 0.12.3 typing_extensions 4.11.0 tzdata 2024.1 urllib3 2.2.1 uvicorn 0.29.0 wcwidth 0.2.13 websockets 11.0.3 Werkzeug 3.0.2 widgetsnbextension 4.0.10 yapf 0.40.2 zipp 3.18.1
Cuda version?
found the solution. uninstall torch then reinstall cu113 uninstall gradio then reinstall gradio==3.41.2 It works fine. Thanks.
git clone, setup + launch terminal shows : AssertionError: Torch not compiled with CUDA enabled.
C:\Users\User>pip list Package Version
pip 22.3.1 setuptools 65.5.0
(.lip-wise) D:\AIFace\Lip_Wise>pip list Package Version
absl-py 2.1.0 addict 2.4.0 aiofiles 23.2.1 altair 5.3.0 annotated-types 0.6.0 anyio 4.3.0 asttokens 2.4.1 attrs 23.2.0 audioread 3.0.1 basicsr 1.4.2 beautifulsoup4 4.12.3 certifi 2024.2.2 cffi 1.16.0 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 comm 0.2.2 contourpy 1.2.1 cycler 0.12.1 decorator 5.1.1 exceptiongroup 1.2.1 executing 2.0.1 facexlib 0.3.0 fastapi 0.110.2 ffmpy 0.3.2 filelock 3.13.4 filterpy 1.4.5 flatbuffers 24.3.25 fonttools 4.51.0 fsspec 2024.3.1 future 1.0.0 gdown 5.1.0 gfpgan 1.3.8 gradio 4.27.0 gradio_client 0.15.1 grpcio 1.62.2 h11 0.14.0 httpcore 1.0.5 httpx 0.27.0 huggingface-hub 0.22.2 idna 3.7 imageio 2.34.1 importlib_metadata 7.1.0 importlib_resources 6.4.0 ipython 8.23.0 ipywidgets 8.1.2 jax 0.4.26 jedi 0.19.1 Jinja2 3.1.3 joblib 1.4.0 jsonschema 4.21.1 jsonschema-specifications 2023.12.1 jupyterlab_widgets 3.0.10 kiwisolver 1.4.5 lazy_loader 0.4 librosa 0.10.1 llvmlite 0.42.0 lmdb 1.4.1 Markdown 3.6 markdown-it-py 3.0.0 MarkupSafe 2.1.5 matplotlib 3.8.4 matplotlib-inline 0.1.7 mdurl 0.1.2 mediapipe 0.10.11 ml-dtypes 0.4.0 mpmath 1.3.0 msgpack 1.0.8 networkx 3.3 numba 0.59.1 numpy 1.26.4 opencv-contrib-python 4.9.0.80 opencv-python 4.9.0.80 opt-einsum 3.3.0 orjson 3.10.1 packaging 24.0 pandas 2.2.2 parso 0.8.4 pillow 10.3.0 pip 22.3.1 platformdirs 4.2.1 pooch 1.8.1 prompt-toolkit 3.0.43 protobuf 3.20.3 pure-eval 0.2.2 pycparser 2.22 pydantic 2.7.1 pydantic_core 2.18.2 pydub 0.25.1 Pygments 2.17.2 pyparsing 3.1.2 PySocks 1.7.1 python-dateutil 2.9.0.post0 python-multipart 0.0.9 pytz 2024.1 PyYAML 6.0.1 realesrgan 0.3.0 referencing 0.35.0 requests 2.31.0 rich 13.7.1 rpds-py 0.18.0 ruff 0.4.1 scikit-image 0.23.2 scikit-learn 1.4.2 scipy 1.13.0 semantic-version 2.10.0 setuptools 65.5.0 shellingham 1.5.4 six 1.16.0 sniffio 1.3.1 sounddevice 0.4.6 soundfile 0.12.1 soupsieve 2.5 soxr 0.3.7 stack-data 0.6.3 starlette 0.37.2 sympy 1.12 tb-nightly 2.17.0a20240424 tensorboard-data-server 0.7.2 threadpoolctl 3.4.0 tifffile 2024.4.18 tomli 2.0.1 tomlkit 0.12.0 toolz 0.12.1 torch 2.1.2 torchvision 0.16.2 tqdm 4.66.2 traitlets 5.14.3 typer 0.12.3 typing_extensions 4.11.0 tzdata 2024.1 urllib3 2.2.1 uvicorn 0.29.0 wcwidth 0.2.13 websockets 11.0.3 Werkzeug 3.0.2 widgetsnbextension 4.0.10 yapf 0.40.2 zipp 3.18.1