We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a similar issue as #7, with the current requirements.txt. I have an M1 Macbook Pro, ProductName: macOS, ProductVersion: 12.3.
DEBUG:root:Running: python3 -m llama_cpp.server --model /Users/daniel/models/mistral-7b-instruct-v0.1.Q5_K_M.gguf --n_ctx 4096 INFO: 127.0.0.1:64413 - "POST /set_target HTTP/1.1" 200 OK Successfully sent selection: Mistral-7b. DEBUG:root:Current state: {'url': 'https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q5_K_M.gguf', 'type': 'local', 'filename': 'mistral-7b-instruct-v0.1.Q5_K_M.gguf'} DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False DEBUG:httpx:load_verify_locations cafile='/Users/daniel/utils/localpilot/venv/lib/python3.10/site-packages/certifi/cacert.pem' DEBUG:httpcore.connection:connect_tcp.started host='localhost' port=8000 local_address=None timeout=30 socket_options=None DEBUG:httpcore.connection:connect_tcp.failed exception=ConnectError(OSError('All connection attempts failed')) INFO: 127.0.0.1:64424 - "POST /v1/engines/copilot-codex/completions HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application anyio._backends._asyncio.ExceptionGroup: 2 exceptions were raised in the task group: ERROR: Exception in ASGI application anyio._backends._asyncio.ExceptionGroup: 2 exceptions were raised in the task group: ---------------------------- Traceback (most recent call last): File "/Users/daniel/utils/localpilot/venv/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 167, in try_connect stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) File "/Users/daniel/utils/localpilot/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1627, in connect_tcp await get_running_loop().create_connection( File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1076, in create_connection raise exceptions[0] File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1060, in create_connection sock = await self._connect_sock( File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 969, in _connect_sock await self.sock_connect(sock, address) File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/selector_events.py", line 501, in sock_connect return await fut File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/selector_events.py", line 541, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 61] Connect call failed ('::1', 8000, 0, 0) ---------------------------- Traceback (most recent call last): File "/Users/daniel/utils/localpilot/venv/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 167, in try_connect stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) File "/Users/daniel/utils/localpilot/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1627, in connect_tcp await get_running_loop().create_connection( File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1076, in create_connection raise exceptions[0] File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1060, in create_connection sock = await self._connect_sock( File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 969, in _connect_sock await self.sock_connect(sock, address) File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/selector_events.py", line 501, in sock_connect return await fut File "/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/selector_events.py", line 541, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 61] Connect call failed ('127.0.0.1', 8000)
127.0.0.1:8000/docs seems to be working, though: I can query the Mistral model just fine there.
127.0.0.1:8000/docs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a similar issue as #7, with the current requirements.txt.
I have an M1 Macbook Pro, ProductName: macOS, ProductVersion: 12.3.
127.0.0.1:8000/docs
seems to be working, though: I can query the Mistral model just fine there.The text was updated successfully, but these errors were encountered: