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

text generation webui error on launch #16

Closed
angrysky56 opened this issue Apr 27, 2023 · 4 comments
Closed

text generation webui error on launch #16

angrysky56 opened this issue Apr 27, 2023 · 4 comments

Comments

@angrysky56
Copy link

text-generation-webui Instructed installation completed
Gradio HTTP request redirected to localhost :)
Traceback (most recent call last):
File "D:\seait_installers_version_0.1.2\text-generation-webui\server.py", line 44, in
from modules import chat, shared, training, ui
File "D:\seait_installers_version_0.1.2\text-generation-webui\modules\training.py", line 13, in
from peft import (LoraConfig, get_peft_model, prepare_model_for_int8_training,
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\peft_init_.py", line 22, in
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING, PEFT_TYPE_TO_CONFIG_MAPPING, get_peft_config, get_peft_model
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\peft\mapping.py", line 16, in
from .peft_model import (
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\peft\peft_model.py", line 31, in
from .tuners import (
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\peft\tuners_init_.py", line 21, in
from .lora import LoraConfig, LoraModel
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\peft\tuners\lora.py", line 40, in
import bitsandbytes as bnb
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes_init_.py", line 7, in
from .autograd.functions import (
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\autograd_init
.py", line 1, in
from ._functions import undo_layout, get_inverse_transform_indices
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\autograd_functions.py", line 9, in
import bitsandbytes.functional as F
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\functional.py", line 17, in
from .cextension import COMPILED_WITH_CUDA, lib
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cextension.py", line 13, in
setup.run_cuda_setup()
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 97, in run_cuda_setup
binary_name, cudart_path, cuda, cc, cuda_version_string = evaluate_cuda_setup()
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 403, in evaluate_cuda_setup
cudart_path = determine_cuda_runtime_lib_path()
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 264, in determine_cuda_runtime_lib_path
lib_ld_cuda_libs = find_cuda_lib_in(candidate_env_vars["PATH"])
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 202, in find_cuda_lib_in
return get_cuda_runtime_lib_paths(
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 186, in get_cuda_runtime_lib_paths
return {
File "D:\seait_installers_version_0.1.2\text-generation-webui\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 189, in
if (path / CUDA_RUNTIME_LIB).is_file()
File "C:\Users\angry\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1322, in is_file
return S_ISREG(self.stat().st_mode)
File "C:\Users\angry\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1097, in stat
return self._accessor.stat(self, follow_symlinks=follow_symlinks)
OSError: [WinError 1920] The file cannot be accessed by the system: 'C:\Users\angry\AppData\Local\Microsoft\WindowsApps\python.exe\cudart64_110.dll'

@angrysky56
Copy link
Author

@diStyApps
Copy link
Owner

diStyApps commented Apr 28, 2023

@angrysky56
Copy link
Author

angrysky56 commented Apr 28, 2023

I have version 12.1 for 11 (not 10 if that matters?) in my cuda path, sorry I don't know much about coding or computers.

I am absolutely loving comfyUI, which I may have never tried if not for you so thank you very much btw. I have a about 300 gb of models/loras in my D drive folders that I just call from the webuiuser.bat in automatic1111 with ckpt-dir "D:\modeloverflow" etc, it would be cool to keep a list that could be added as a general pointer for installed apps if possible.

@diStyApps
Copy link
Owner

Thank very much that's makes me happy, i have added symlink feature you can try it.
Reopen issue or open new one if problem not solved.

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