Closed huangxin1745 closed 10 months ago
可以给一下报错截图不。
我又下载了chat,然后又点了一次安装,现在点切换是这个样子…… 请按任意键继续. . . Running on local URL: http://127.0.0.1:8848
To create a public link, set share=True
in launch()
.
Retrying...
========Use torch type as:torch.bfloat16 with device:cuda========
A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' Please 'pip install apex' Retrying... False
===================================BUG REPORT=================================== D:\GPT4V-Image-Captioner\GPT4V-Image-Captioner\myenv\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
DEBUG: Possible options found for libcudart.so: set()
CUDA SETUP: PyTorch settings found: CUDA_VERSION=121, Highest Compute Capability: 8.9.
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md
CUDA SETUP: Loading binary D:\GPT4V-Image-Captioner\GPT4V-Image-Captioner\myenv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda121.so...
argument of type 'WindowsPath' is not iterable
CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable
CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null
CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.
CUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.sh
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local
Traceback (most recent call last):
File "D:\GPT4V-Image-Captioner\GPT4V-Image-Captioner\myenv\lib\site-packages\transformers\utils\import_utils.py", line 1382, in _get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\importlib__init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
python -m bitsandbytes
Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GPT4V-Image-Captioner\GPT4V-Image-Captioner\cog_openai_api.py", line 407, in
CUDA Setup failed despite GPU being available. Please run the following command to get more information:
python -m bitsandbytes
Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues
Retrying... Retrying... Retrying...
bitsandbytes没安装好,可以尝试再安装一下,如果不行我等会看看传一个bitsandbytes的包。
重装后问题已解决,谢谢
好的🎉
Update: OpenAI switched to a pay as you go billing system since I last used it. My account had $0 in it. I put $10 in and now it's working.
Thanks for your efforts! (here because of the reddit post btw).
== Having this problem as well. I've tried manually installing the requirements.txt file w/o luck. There was a new version of Bitsandbytes released on Jan 8 (the first update in years?) - Perhaps a version older than this new 0.42.0 is needed? I'm trying to verify that it's not something w/ my network blocking the connection...
用vqa报错