Closed JZZZ1314 closed 5 months ago
No problem! We have updated the usage guide at https://github.com/sail-sg/CLoT?tab=readme-ov-file#-quickstart.
The packages transformers
and peft
are necessary. If you also want to use the web UI, you'll also need to install gradio
.
Traceback (most recent call last): File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 712, in urlopen self._prepare_proxy(conn) File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 1012, in _prepare_proxy conn.connect() File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connection.py", line 419, in connect self.sock = ssl_wrapsocket( File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket ssl_sock = _ssl_wrap_socketimpl( File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1071, in _create self.do_handshake() File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1007)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\adapters.py", line 486, in send resp = conn.urlopen( File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 799, in urlopen retries = retries.increment( File "c:\Users\orangecat\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='qianwen-res.oss-cn-beijing.aliyuncs.com', port=443): Max retries exceeded with url: /Qwen-VL/assets/SimSun.ttf (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1007)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\clot\CLoT\CLoT-cn\gradio_demo.py", line 367, in
PS D:\clot\CLoT\CLoT-cn> d:; cd 'd:\clot\CLoT\CLoT-cn'; & 'c:\Users\orangecat\AppData\Local\Programs\Python\Python310\python.exe' 'c:\Users\orangecat.vscode\extensions\ms-python.debugpy-2024.2.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '56983' '--' 'd:\clot\CLoT\CLoT-cn\gradio_demo.py'
Traceback (most recent call last):
File "d:\clot\CLoT\CLoT-cn\gradio_demo.py", line 367, in
(1) 443 ERROR is caused by the network issue.
(2) Try to download qwen.tiktoken and put it into the checkpoint dir. Maybe you can try to update the version of transformers pip install -U transformers
.
Can you provide a complete usage process? For example, the required dependency environment can be found in the published model weights related to qwen. How should we use this aspect