oobabooga / text-generation-webui

A Gradio web UI for Large Language Models.
GNU Affero General Public License v3.0
39.67k stars 5.21k forks source link

OSError: [WinError 126] The specified module could not be found. Error loading "E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\torch\lib\cudnn_cnn_infer64_8.dll" or one of its dependencies. #5071

Closed invincibledinku closed 7 months ago

invincibledinku commented 9 months ago

Describe the bug

OSError: [WinError 126] The specified module could not be found. Error loading "E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\torch\lib\cudnn_cnn_infer64_8.dll" or one of its dependencies.

Is there an existing issue for this?

Reproduction

nil

Screenshot

image

Logs

*******************************************************************
* WARNING: You haven't downloaded any model yet.
* Once the web UI launches, head over to the "Model" tab and download one.
*******************************************************************

┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ E:\oobabooga\text-generation-webui-main\server.py:6 in <module>                                                     │
│                                                                                                                     │
│     5                                                                                                               │
│ >   6 import accelerate  # This early import makes Intel GPUs happy                                                 │
│     7                                                                                                               │
│                                                                                                                     │
│ E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\accelerate\__init__.py:3 in <module>  │
│                                                                                                                     │
│    2                                                                                                                │
│ >  3 from .accelerator import Accelerator                                                                           │
│    4 from .big_modeling import (                                                                                    │
│                                                                                                                     │
│ E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\accelerate\accelerator.py:32 in       │
│ <module>                                                                                                            │
│                                                                                                                     │
│     31                                                                                                              │
│ >   32 import torch                                                                                                 │
│     33 import torch.utils.hooks as hooks                                                                            │
│                                                                                                                     │
│ E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\torch\__init__.py:139 in <module>     │
│                                                                                                                     │
│    138                 err.strerror += f' Error loading "{dll}" or one of its dependencies.'                        │
│ >  139                 raise err                                                                                    │
│    140                                                                                                              │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
OSError: [WinError 126] The specified module could not be found. Error loading
"E:\oobabooga\text-generation-webui-main\installer_files\env\Lib\site-packages\torch\lib\cudnn_cnn_infer64_8.dll" or
one of its dependencies.
Press any key to continue . . .

System Info

OS Name Microsoft Windows 10 Home Single Language
Version 10.0.19045 Build 19045
Other OS Description    Not Available
OS Manufacturer Microsoft Corporation
System Name LAPTOP-I45T05AB
System Manufacturer HP
System Model    OMEN Laptop 15-en1xxx
System Type x64-based PC
System SKU  3W218PA#ACJ
Processor   AMD Ryzen 7 5800H with Radeon Graphics, 3201 Mhz, 8 Core(s), 16 Logical Processor(s)
BIOS Version/Date   AMI F.23, 9/4/2023
SMBIOS Version  3.3
Embedded Controller Version 75.75
BIOS Mode   UEFI
BaseBoard Manufacturer  HP
BaseBoard Product   88D1
BaseBoard Version   75.75
Platform Role   Mobile
Secure Boot State   Off
PCR7 Configuration  Elevation Required to View
Windows Directory   C:\WINDOWS
System Directory    C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale  United States
Hardware Abstraction Layer  Version = "10.0.19041.3636"
User Name   LAPTOP-I45T05AB\dinam
Time Zone   India Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory   15.3 GB
Available Physical Memory   9.32 GB
Total Virtual Memory    27.2 GB
Available Virtual Memory    13.3 GB
Page File Space 11.8 GB
Page File   C:\pagefile.sys
Kernel DMA Protection   On
Virtualization-based security   Not enabled
Device Encryption Support   Elevation Required to View
Hyper-V - VM Monitor Mode Extensions    Yes
Hyper-V - Second Level Address Translation Extensions   Yes
Hyper-V - Virtualization Enabled in Firmware    Yes
Hyper-V - Data Execution Protection Yes
github-actions[bot] commented 7 months ago

This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.

Luuminous commented 7 months ago

Do you have some solution on it? I got the same issue.